:root {
    --ink: #241814;
    --muted: #6f625c;
    --line: #e5d7c8;
    --paper: #fffaf3;
    --panel: #ffffff;
    --spice: #b8331f;
    --spice-dark: #7f2117;
    --gold: #d9a441;
    --leaf: #2f6f4e;
    --shadow: 0 18px 45px rgba(58, 34, 22, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 164, 65, 0.18), transparent 32rem),
        linear-gradient(180deg, #fff7ec 0%, #fffaf3 42%, #ffffff 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
}

a {
    color: var(--spice);
}

.Logo,
.site-logo {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
    background: #120c09;
}

.navbar {
    position: sticky !important;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(25, 14, 10, 0.96) !important;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 8px 22px rgba(31, 18, 12, 0.18);
}

.navbar ul {
    width: min(1180px, 100%) !important;
    min-height: 46px;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    display: flex !important;
    justify-content: center;
    gap: 4px;
    overflow: visible !important;
    background: transparent !important;
    list-style: none !important;
}

.navbar li {
    float: none !important;
    width: auto !important;
    flex: 0 1 auto !important;
}

.navbar a {
    display: block;
    padding: 13px 16px !important;
    color: #fffaf3 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 0;
    transition: background 0.18s ease, color 0.18s ease;
}

.navbar a:hover,
.navbar a:focus {
    background: var(--spice) !important;
    color: #ffffff !important;
}

.page-shell,
main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 420px;
    display: grid;
    align-items: end;
    padding: 72px 0 42px;
    background:
        linear-gradient(90deg, rgba(32, 16, 9, 0.82), rgba(32, 16, 9, 0.38)),
        url("spices.jpg") center/cover;
    color: #fffaf3;
}

.hero-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 10px;
    color: #ffd987;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1,
.page-heading {
    margin: 0;
    font-size: clamp(34px, 7vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}

.hero p {
    max-width: 660px;
    margin: 18px 0 0;
    font-size: 20px;
}

.section {
    padding: 48px 0;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-header h1,
.section-header h2,
.page-title,
main h1 {
    margin: 0 0 10px;
    color: var(--spice-dark) !important;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.section-header p,
.lead {
    color: var(--muted);
    font-size: 18px;
}

.button,
button,
.buy-button,
.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px !important;
    border: 0 !important;
    border-radius: var(--radius) !important;
    background: var(--spice) !important;
    color: #ffffff !important;
    cursor: pointer;
    text-decoration: none !important;
    font: inherit;
    font-weight: 700;
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.button:hover,
button:hover,
.buy-button:hover {
    background: var(--spice-dark) !important;
    box-shadow: 0 10px 24px rgba(184, 51, 31, 0.22);
    transform: translateY(-1px);
}

.secondary {
    background: #2d211b !important;
}

.remove {
    background: #6e625c !important;
}

.content-card,
.card,
.summary,
.review {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: var(--shadow);
}

.card {
    overflow: hidden;
}

.feature-grid,
.products-container,
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.feature-card {
    min-height: 100%;
    padding: 22px;
}

.feature-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.products-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 80px !important;
}

.products-container .card {
    min-height: 100% !important;
}

.products-container .card h2,
.card h2 {
    color: var(--ink);
}

.price,
.total {
    color: var(--spice-dark) !important;
}

.description {
    color: var(--muted);
}

.form-panel,
form.mailing-list,
.product-form,
.payment-options {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffdf9;
}

label {
    color: var(--ink);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px !important;
    border: 1px solid #d6c4b1 !important;
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(217, 164, 65, 0.28);
    border-color: var(--gold) !important;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-height: 0;
    accent-color: var(--spice);
}

.quantity-row,
.payment-option,
.inline-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-option {
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.hint,
small {
    color: var(--muted) !important;
}

.message,
.cart-message,
.error {
    border-left: 5px solid var(--spice) !important;
    border-radius: var(--radius);
    background: #fff2e6 !important;
    color: var(--ink) !important;
    padding: 14px 16px !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
}

th {
    background: #2d211b;
    color: #fffaf3;
}

th,
td {
    padding: 12px !important;
    border-bottom: 1px solid var(--line) !important;
}

.footer {
    position: static !important;
    width: 100%;
    margin-top: 48px;
    padding: 18px !important;
    color: #fffaf3 !important;
    background: #190e0a !important;
    text-align: center;
}

.admin-page header {
    background: #190e0a !important;
    border-bottom: 3px solid var(--gold);
}

.admin-page main {
    width: min(1280px, calc(100% - 32px));
    padding: 28px 0 60px !important;
}

.admin-page section {
    padding: 22px !important;
}

.admin-page nav a {
    color: #fffaf3;
    font-weight: 700;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.admin-login main {
    width: min(420px, calc(100% - 32px));
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 28px 0;
}

.calendar-toolbar span {
    min-width: 220px;
    text-align: center;
    color: var(--spice-dark);
    font-size: 26px;
    font-weight: 700;
}

.container-calendar {
    overflow-x: auto;
    padding: 18px;
}

#calendar td {
    min-width: 120px;
    height: 100px;
    vertical-align: top;
}

#calendar .today {
    background: #fff2e6;
    box-shadow: inset 0 0 0 2px var(--gold);
}

@media (max-width: 780px) {
    .Logo,
    .site-logo {
        max-height: 150px;
    }

    .navbar ul {
        flex-wrap: wrap;
        padding: 4px 8px !important;
    }

    .navbar a {
        padding: 10px 9px !important;
        font-size: 13px;
    }

    .hero {
        min-height: 360px;
        padding: 54px 0 34px;
    }

    .layout {
        grid-template-columns: 1fr !important;
    }

    table {
        display: block;
        overflow-x: auto;
    }

    .product-form {
        grid-template-columns: 1fr !important;
    }

    .product-form .wide,
    .product-form .half {
        grid-column: auto !important;
    }
}
