:root {
    --bg: #f4f3f1;
    --panel: #f3efe7;
    --panel-strong: #e9e2d6;
    --card: #ffffff;
    --line: #dfe3e7;
    --ink: #183b5f;
    --muted: #647488;
    --brand: #00b3aa;
    --green: #00b3aa;
    --green-deep: #00998f;
    --coral: var(--brand);
    --coral-strong: #00998f;
    --shadow: rgba(29, 53, 85, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }

.site-header,
.header-top,
.header-bottom {
    color: #1b2333;
    background: #f7f7f6;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(27, 35, 51, 0.12);
}

.header-top,
.header-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top {
    position: relative;
    min-height: 64px;
    gap: 18px;
    background: #f5f5f3;
}

.utility-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utility-nav a,
.header-contact a,
.site-header a,
.site-header a:visited {
    color: #1b2333;
}

.utility-nav a {
    border: 1px solid rgba(27, 35, 51, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.6);
    color: #1b2333;
    padding: 10px 17px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.site-search {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    border: 1px solid rgba(27, 35, 51, 0.12);
    background: #ffffff;
    border-radius: 999px;
    min-height: 34px;
    width: min(280px, 30vw);
    padding: 0 0 0 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
}

.site-search input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #1b2333;
}

.site-search input::placeholder {
    color: #7b8395;
}

.site-search button {
    width: 42px;
    background: #1b2333;
    border: 0;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #1b2333;
    margin-left: auto;
}

.header-contact span {
    line-height: 1.35;
}

.whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    font-size: 16px;
}

.country-pill {
    border: 1px solid rgba(27, 35, 51, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: #1b2333;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
}

.header-bottom {
    min-height: 76px;
    background: #f4f0e4;
    color: #231f20;
}

.header-bottom a,
.header-bottom a:visited {
    color: #231f20;
}

.brand {
    display: inline-flex;
    align-items: center;
    background: transparent;
    padding: 9px 14px;
}

.header-logo {
    display: block;
    width: 154px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    font-weight: 600;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 600;
}

.sign-in {
    color: #df7b61;
    border: 1px solid rgba(35, 31, 32, 0.16);
    border-radius: 999px;
    padding: 9px 14px;
}

.cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(29,53,85,0.06);
}

.cart-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 24px 80px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs span {
    color: #8a96a5;
}

h1 {
    margin: 0 0 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 4vw, 5rem);
    letter-spacing: -0.06em;
    line-height: 0.94;
    color: var(--ink);
}

.cart-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) 360px;
    gap: 28px;
    align-items: start;
}

.cart-main {
    background: transparent;
}

.cart-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
    color: var(--ink);
}

.cart-banner p {
    margin: 0;
    font-size: 15px;
    color: var(--ink);
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(76, 155, 120, 0.18);
}

.checkout-btn span {
    font-size: 20px;
    line-height: 1;
}

.cart-items {
    display: grid;
    gap: 22px;
}

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 18px 14px;
    background: rgba(255,255,255,0.38);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cart-item::before,
.cart-item::after,
.suggestion-item::before,
.suggestion-item::after {
    content: none;
}

.product-thumb {
    width: 120px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid rgba(29, 53, 85, 0.08);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-copy {
    min-width: 0;
}

.product-copy h2 {
    margin: 0 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    line-height: 1.2;
    color: var(--ink);
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.quantity-row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.quantity-row select {
    min-width: 94px;
    min-height: 38px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    padding: 0 10px;
    color: var(--ink);
}

.price-row {
    font-weight: 700;
    font-size: 18px;
    color: var(--ink);
}

.cart-actions {
    align-self: flex-start;
    justify-self: end;
    margin-top: 12px;
}

.delete-btn {
    border: 0;
    background: transparent;
    color: var(--coral-strong);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.product-specs {
    padding: 0 0 10px;
    margin-top: -8px;
    border-bottom: 1px solid var(--line);
}

.product-specs h3 {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--ink);
    font-weight: 700;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding-bottom: 10px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.spec-row strong {
    color: var(--ink);
    font-weight: 600;
}

.add-more-btn {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 24px auto 0;
    border: 2px dashed rgba(29, 53, 85, 0.5);
    background: transparent;
    color: var(--ink);
    border-radius: 8px;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.suggested-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px 16px;
}

.suggested-header {
    font-size: 14px;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 10px;
}

.suggestions {
    display: grid;
    gap: 12px;
}

.suggestion-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid rgba(29, 53, 85, 0.12);
}

.suggestion-item:first-child {
    border-top: 0;
}

.suggestion-thumb {
    width: 82px;
    height: 82px;
    background: #fff;
    border: 1px solid rgba(29,53,85,.08);
    border-radius: 8px;
    overflow: hidden;
}

.suggestion-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggestion-info {
    min-width: 0;
}

.suggestion-info h3 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--ink);
    font-weight: 600;
}

.suggestion-info span {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.suggestion-button {
    min-width: 96px;
    min-height: 36px;
    border: 1px solid var(--coral);
    background: transparent;
    color: var(--coral-strong);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.empty-cart {
    background: rgba(255,255,255,.4);
    border: 1px dashed var(--line);
    border-radius: 10px;
    padding: 34px 18px;
    text-align: center;
}

.empty-cart h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-family: 'Space Grotesk', sans-serif;
}

.empty-cart p {
    margin: 0 0 18px;
    color: var(--muted);
}

.empty-cart a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--coral);
    color: #fff;
    font-weight: 700;
}

@media (max-width: 980px) {
    .cart-shell {
        grid-template-columns: 1fr;
    }

    .suggested-panel {
        order: 2;
    }
}

@media (max-width: 680px) {
    .utility-bar { display: none; }

    .main-bar {
        min-height: 72px;
        padding: 0 18px;
    }

    .top-search-wrap {
        width: 100%;
    }

    .cart-page {
        padding: 18px 16px 70px;
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
    }

    .cart-actions {
        grid-column: 2;
        justify-self: start;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .suggestion-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .suggestion-button {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}
