:root {
    --green: #08783f;
    --green-dark: #046735;
    --green-light: #eaf7f0;
    --green-soft: #f4faf7;
    --yellow: #f4c746;
    --text: #16231c;
    --muted: #738078;
    --border: #e8ece9;
    --background: #f7f9f8;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(23, 55, 39, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0 0 92px;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--background);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

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

.topbar {
    background:
        linear-gradient(
            145deg,
            #08783f 0%,
            #066d39 60%,
            #045b30 100%
        );
    padding: 18px 0 24px;
    color: white;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: white;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 900;
    box-shadow: 0 7px 20px rgba(0,0,0,.12);
}

.brand-name {
    font-size: 20px;
    line-height: 20px;
    font-weight: 900;
    letter-spacing: .4px;
}

.brand-subtitle {
    font-size: 12px;
    margin-top: 2px;
    opacity: .85;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.icon-button {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    background: #f2c94c;
    color: #174328;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
}

.search-box {
    height: 50px;
    border-radius: 15px;
    background: white;
    display: flex;
    align-items: center;
    padding: 0 7px 0 15px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.search-icon {
    color: #849087;
    font-size: 23px;
    margin-right: 8px;
}

.search-box input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    outline: none;
    color: var(--text);
    background: transparent;
}

.search-box input::placeholder {
    color: #9aa39d;
}

.search-box button {
    border: 0;
    border-radius: 11px;
    background: var(--green);
    color: white;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.hero-wrap {
    padding-top: 20px;
}

.hero {
    min-height: 235px;
    padding: 27px 24px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255,255,255,.24),
            transparent 35%
        ),
        linear-gradient(
            130deg,
            #0a8548,
            #08783f 55%,
            #056535
        );
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.hero-content {
    width: 68%;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255,255,255,.15);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(26px, 6vw, 42px);
    line-height: 1.08;
    margin: 0;
    max-width: 550px;
}

.hero h1 strong {
    color: #f8d668;
}

.hero p {
    max-width: 430px;
    margin: 12px 0 20px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255,255,255,.85);
}

.hero-button {
    display: inline-flex;
    padding: 11px 17px;
    border-radius: 12px;
    background: white;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.hero-visual {
    position: absolute;
    right: -18px;
    bottom: -28px;
}

.hero-circle {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 18px solid rgba(255,255,255,.08);
    display: grid;
    place-items: center;
    font-size: 72px;
    transform: rotate(-5deg);
}

.section {
    margin-top: 28px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 17px;
}

.section-heading h2 {
    margin: 0;
    font-size: 19px;
}

.section-heading > a {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
}

.eyebrow {
    color: var(--green);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .7px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 9px;
}

.category-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 650;
}

.category-icon {
    width: 57px;
    height: 57px;
    border-radius: 18px;
    background: white;
    display: grid;
    place-items: center;
    font-size: 25px;
    box-shadow: 0 5px 18px rgba(23,55,39,.07);
    border: 1px solid var(--border);
}

.promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

.mini-promo {
    min-width: 0;
    padding: 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-promo-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--green-light);
}

.mini-promo strong {
    display: block;
    font-size: 11px;
}

.mini-promo span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    margin-top: 3px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.product-card {
    min-width: 0;
    background: white;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 20px rgba(23,55,39,.05);
}

.product-image {
    position: relative;
    height: 145px;
    display: grid;
    place-items: center;
}

.product-green {
    background: linear-gradient(145deg, #d7f1df, #eff9f2);
}

.product-gold {
    background: linear-gradient(145deg, #fff0bd, #fff9e7);
}

.product-brown {
    background: linear-gradient(145deg, #e8d6c4, #f8eee5);
}

.product-yellow {
    background: linear-gradient(145deg, #ffe898, #fff7d8);
}

.product-blue {
    background: linear-gradient(145deg, #dcecf9, #f0f7fc);
}

.product-coffee {
    background: linear-gradient(145deg, #e4d5c7, #f4ece5);
}

.product-emoji {
    font-size: 58px;
    filter: drop-shadow(0 8px 9px rgba(0,0,0,.08));
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--green);
    color: white;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 9px;
    font-weight: 800;
}

.product-info {
    padding: 13px;
}

.product-info h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}

.product-unit {
    color: var(--muted);
    font-size: 10px;
    margin-top: 4px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 13px;
}

.price {
    color: var(--green-dark);
    font-weight: 900;
    font-size: 14px;
}

.add-cart {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 0;
    background: var(--green);
    color: white;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.membership {
    margin-top: 28px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 20px;
    background: #fff5cc;
    display: flex;
    align-items: center;
    gap: 13px;
}

.membership-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: white;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.membership-content {
    min-width: 0;
    flex: 1;
}

.membership-content > span {
    color: #806710;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .5px;
    font-weight: 800;
}

.membership h2 {
    margin: 3px 0;
    font-size: 13px;
}

.membership p {
    margin: 0;
    color: #776d50;
    font-size: 9px;
}

.membership > a {
    flex: 0 0 auto;
    border-radius: 10px;
    padding: 9px 12px;
    background: #1c4c31;
    color: white;
    font-weight: 800;
    font-size: 10px;
}

.bottom-nav {
    height: 72px;
    padding:
        8px max(10px, env(safe-area-inset-right))
        calc(8px + env(safe-area-inset-bottom))
        max(10px, env(safe-area-inset-left));
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(24,58,40,.07);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #87928b;
}

.nav-item > span {
    font-size: 20px;
}

.nav-item small {
    font-size: 9px;
    font-weight: 650;
}

.nav-item.active {
    color: var(--green);
}

.cart-nav {
    position: relative;
    color: var(--green);
}

.nav-cart-circle {
    width: 48px;
    height: 48px;
    margin-top: -25px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    border: 5px solid white;
    box-shadow: 0 5px 16px rgba(8,120,63,.25);
    color: white;
    font-size: 18px;
}

.desktop-footer {
    display: none;
}

@media (min-width: 700px) {

    body {
        padding-bottom: 30px;
    }

    .topbar {
        padding: 20px 0;
    }

    .header-inner {
        margin-bottom: 14px;
    }

    .search-box {
        max-width: 720px;
    }

    .hero {
        min-height: 310px;
        padding: 45px;
    }

    .hero-content {
        width: 70%;
    }

    .hero-visual {
        right: 50px;
        bottom: 10px;
    }

    .hero-circle {
        width: 220px;
        height: 220px;
        font-size: 90px;
    }

    .category-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-image {
        height: 190px;
    }

    .bottom-nav {
        display: none;
    }

    .desktop-footer {
        display: block;
        margin-top: 50px;
        padding: 24px 0;
        background: #083b23;
        color: rgba(255,255,255,.7);
        font-size: 12px;
    }
}

@media (min-width: 1024px) {

    .product-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .product-image {
        height: 160px;
    }
}


/* =========================================================
   KOPSA FUNCTIONAL UI V2
   ========================================================= */

button {
    -webkit-tap-highlight-color: transparent;
}

.category-item,
.text-action,
.nav-item,
.membership-action {
    font-family: inherit;
}

.category-item {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
}

.category-icon i {
    color: var(--green);
    font-size: 22px;
}

.category-item.category-active .category-icon {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-2px);
}

.category-item.category-active .category-icon i {
    color: #fff;
}

.category-item.category-active span {
    color: var(--green);
    font-weight: 800;
}

.category-icon {
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.brand-mark {
    font-size: 18px;
}

.hero-label {
    gap: 7px;
    align-items: center;
}

.hero-button {
    gap: 8px;
    align-items: center;
}

.hero-circle i {
    font-size: 72px;
}

.search-fa {
    color: #8b958f;
    margin-right: 10px;
    font-size: 15px;
}

.text-action {
    padding: 5px;
    border: 0;
    background: transparent;
    color: var(--green);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.mini-promo-icon {
    color: var(--green);
}

.product-symbol {
    font-size: 50px;
    color: var(--green-dark);
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .08));
}

.product-card[hidden] {
    display: none !important;
}

.add-cart {
    display: grid;
    place-items: center;
    transition:
        transform .15s ease,
        background .15s ease;
}

.add-cart:active {
    transform: scale(.9);
}

.add-cart i {
    font-size: 13px;
}

.membership-icon {
    color: var(--green);
}

.membership-action {
    flex: 0 0 auto;
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    background: #1c4c31;
    color: white;
    cursor: pointer;
    font-weight: 800;
    font-size: 10px;
}

.bottom-nav button.nav-item {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-item > i {
    font-size: 18px;
}

.nav-cart-count {
    display: inline-flex;
    min-width: 16px;
    height: 16px;
    margin-left: 2px;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--green-light);
    color: var(--green);
    font-size: 8px;
    font-weight: 900;
}

.empty-products {
    padding: 42px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    text-align: center;
}

.empty-products i {
    display: block;
    margin-bottom: 13px;
    color: #a6b0aa;
    font-size: 38px;
}

.empty-products strong {
    display: block;
    font-size: 14px;
}

.empty-products span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}


/* CART */

body.cart-open {
    overflow: hidden;
}

.cart-overlay {
    position: fixed;
    z-index: 199;
    inset: 0;
    background: rgba(6, 24, 15, .46);
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
    backdrop-filter: blur(2px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    z-index: 200;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(430px, 94vw);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -20px 0 60px rgba(0,0,0,.14);
    transform: translateX(105%);
    transition: transform .25s ease;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h2 {
    margin: 3px 0 0;
    font-size: 22px;
}

.close-cart {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    color: #606b64;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px 18px 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 54px 1fr 30px;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--green-light);
    color: var(--green);
    font-size: 20px;
}

.cart-item-content {
    min-width: 0;
}

.cart-item-content > strong {
    display: block;
    font-size: 13px;
}

.cart-item-content > span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.cart-item-price {
    margin-top: 6px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.quantity-control {
    display: inline-grid;
    grid-template-columns: 28px 30px 28px;
    align-items: center;
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.quantity-control button {
    width: 28px;
    height: 28px;
    border: 0;
    background: #f6f8f7;
    color: var(--green);
    cursor: pointer;
}

.quantity-control button i {
    font-size: 9px;
}

.quantity-control span {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
}

.remove-cart-item {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #b56b6b;
    cursor: pointer;
}

.cart-empty {
    flex: 1;
    display: flex;
    padding: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.cart-empty[hidden] {
    display: none;
}

.cart-empty-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 27px;
}

.cart-empty strong {
    font-size: 15px;
}

.cart-empty span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.cart-summary {
    padding: 18px 20px 22px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.cart-summary-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-row span {
    color: var(--muted);
    font-size: 12px;
}

.cart-summary-row strong {
    color: var(--green-dark);
    font-size: 17px;
}

.checkout-button {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.checkout-button:disabled {
    background: #bdc6c0;
    cursor: not-allowed;
}


/* TOAST */

.toast {
    position: fixed;
    z-index: 300;
    left: 50%;
    bottom: 92px;
    width: max-content;
    max-width: calc(100% - 34px);
    padding: 11px 15px;
    border-radius: 12px;
    display: flex;
    gap: 9px;
    align-items: center;
    background: #153d29;
    color: #fff;
    box-shadow: 0 10px 35px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 15px);
    transition: .22s ease;
    font-size: 11px;
    font-weight: 700;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.toast i {
    color: #7cdda5;
}

@media (min-width: 700px) {
    .toast {
        bottom: 30px;
    }
}


/* KOPSA PRODUCT PHOTO V3 */

.product-image {
    position: relative;
    height: 190px;
    padding: 0;
    overflow: hidden;
    background: #f4f6f5;
}

.product-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition:
        transform .32s ease,
        filter .32s ease;
}

.product-card:hover .product-photo {
    transform: scale(1.045);
}

.product-card:hover .product-image {
    background: #f4f6f5;
}

.product-badge {
    z-index: 3;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.cart-item-icon {
    overflow: hidden;
    padding: 0;
    background: #f4f6f5;
}

.cart-item-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.photo-credit-note {
    margin-top: 12px;
    margin-bottom: 24px;
    color: #98a099;
    text-align: center;
    font-size: 9px;
}

@media (max-width: 699px) {
    .product-image {
        height: 160px;
    }
}

@media (min-width: 700px) {
    .product-image {
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .product-image {
        height: 180px;
    }
}


/* KOPSA STORE V5 */

.product-photo-link {
    width: 100%;
    height: 100%;
    display: block;
}

.product-info h3 a:hover {
    color: var(--green);
}

.cart-item-name {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.cart-item-name:hover {
    color: var(--green);
}

.toast.toast-error {
    background: #7d2929;
}

.product-topbar {
    padding: 14px 0;
    background: var(--green);
    color: #fff;
}

.product-topbar-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
    align-items: center;
}

.product-topbar .brand {
    justify-self: center;
    color: #fff;
}

.detail-back,
.detail-cart-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    color: #fff;
    background: rgba(255,255,255,.13);
}

.detail-cart-button span {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f6cf54;
    color: #174328;
    font-size: 9px;
    font-weight: 900;
}

.product-detail-page {
    padding-top: 22px;
    padding-bottom: 35px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.product-detail-image {
    min-height: 350px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #f4f6f5;
    border: 1px solid var(--border);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: block;
    object-fit: cover;
}

.product-detail-badge {
    position: absolute;
    z-index: 3;
    top: 17px;
    left: 17px;
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.product-detail-info {
    padding: 5px 2px;
}

.product-detail-category {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .7px;
    font-size: 10px;
    font-weight: 900;
}

.product-detail-info h1 {
    margin: 7px 0 4px;
    font-size: clamp(27px, 6vw, 40px);
    line-height: 1.1;
}

.product-detail-unit {
    color: var(--muted);
    font-size: 13px;
}

.product-detail-price {
    margin-top: 20px;
    color: var(--green-dark);
    font-size: 28px;
    font-weight: 900;
}

.product-stock-status {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 11px;
}

.product-description {
    margin-top: 28px;
    padding-top: 21px;
    border-top: 1px solid var(--border);
}

.product-description h2 {
    margin: 0 0 9px;
    font-size: 16px;
}

.product-description p {
    margin: 0;
    color: #667169;
    font-size: 13px;
    line-height: 1.7;
}

.detail-buy-box {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
}

.detail-qty {
    height: 52px;
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.detail-qty button {
    border: 0;
    background: #f7f9f8;
    color: var(--green);
    cursor: pointer;
}

.detail-qty input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    text-align: center;
    background: #fff;
    font-weight: 800;
    appearance: textfield;
}

.detail-qty input::-webkit-inner-spin-button,
.detail-qty input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.detail-add-button {
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.detail-add-button:disabled {
    background: #abb5af;
    cursor: not-allowed;
}

@media (min-width: 800px) {

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr);
        gap: 55px;
        align-items: center;
    }

    .product-detail-image {
        min-height: 560px;
    }

    .product-detail-image img {
        min-height: 560px;
    }

    .product-detail-info {
        padding-right: 30px;
    }
}


/* KOPSA CHECKOUT V6 */

.checkout-topbar {
    padding: 15px 0;
    background: var(--green);
    color: #fff;
}

.checkout-topbar-inner {
    display: flex;
    gap: 14px;
    align-items: center;
}

.checkout-topbar-inner > div:last-child {
    display: flex;
    flex-direction: column;
}

.checkout-topbar strong {
    font-size: 17px;
}

.checkout-topbar span {
    margin-top: 2px;
    opacity: .8;
    font-size: 10px;
}

.checkout-page {
    padding-top: 25px;
    padding-bottom: 55px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(23,55,39,.05);
}

.checkout-card-title {
    margin-bottom: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.checkout-card-title > i {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--green-light);
    color: var(--green);
}

.checkout-card-title h2 {
    margin: 0;
    font-size: 16px;
}

.checkout-card-title span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group > span {
    font-size: 11px;
    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dfe5e1;
    border-radius: 12px;
    outline: none;
    background: #fff;
    padding: 12px 13px;
    color: var(--text);
    transition: border .15s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.checkout-option {
    min-height: 56px;
    padding: 12px 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    display: flex;
    gap: 11px;
    align-items: center;
    cursor: pointer;
}

.checkout-option input {
    display: none;
}

.option-radio {
    width: 19px;
    height: 19px;
    border: 2px solid #a6b0aa;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
}

.checkout-option input:checked
+ .option-radio {
    border-color: var(--green);
}

.checkout-option input:checked
+ .option-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--green);
}

.checkout-option:has(input:checked) {
    border-color: #9ed1b5;
    background: #f7fcf9;
}

.option-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.option-text strong {
    font-size: 12px;
}

.option-text span {
    color: var(--muted);
    font-size: 11px;
}

.checkout-alert {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 14px;
    display: flex;
    gap: 10px;
    background: #fff0f0;
    color: #8c3131;
    font-size: 11px;
    line-height: 1.5;
}

.checkout-products {
    margin-top: 15px;
}

.checkout-product {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
}

.checkout-product img {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    object-fit: cover;
}

.checkout-product strong {
    display: block;
    font-size: 11px;
}

.checkout-product span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.checkout-product b {
    color: var(--green);
    font-size: 10px;
}

.summary-lines {
    margin-top: 18px;
}

.summary-lines > div {
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 11px;
}

.summary-lines span {
    color: var(--muted);
}

.summary-total {
    margin-top: 7px;
    padding-top: 15px !important;
    border-top: 1px solid var(--border);
}

.summary-total span {
    color: var(--text);
    font-weight: 800;
}

.summary-total strong {
    color: var(--green);
    font-size: 18px;
}

.place-order-button {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border: 0;
    border-radius: 14px;
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.checkout-secure {
    margin-top: 12px;
    color: var(--muted);
    text-align: center;
    font-size: 9px;
    line-height: 1.5;
}

.checkout-secure i {
    color: var(--green);
}


/* ORDER SUCCESS */

.success-body {
    min-height: 100vh;
    padding: 30px 15px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            #f2faf5,
            #f7f9f8
        );
}

.order-success-page {
    width: min(580px, 100%);
}

.order-success-card {
    padding: 30px 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.success-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-size: 31px;
}

.success-eyebrow {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .8px;
    font-size: 9px;
    font-weight: 900;
}

.order-success-card h1 {
    margin: 7px 0;
    font-size: 24px;
}

.order-success-card > p {
    margin: 0 auto 20px;
    max-width: 350px;
    color: var(--muted);
    font-size: 11px;
}

.order-number-box {
    margin: 20px 0;
    padding: 15px;
    border-radius: 14px;
    background: var(--green-light);
}

.order-number-box span {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.order-number-box strong {
    display: block;
    margin-top: 4px;
    color: var(--green-dark);
    letter-spacing: .6px;
    font-size: 16px;
}

.success-order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    text-align: left;
}

.success-order-info > div {
    padding: 11px;
    border-radius: 11px;
    background: #f7f9f8;
}

.success-order-info span {
    display: block;
    color: var(--muted);
    font-size: 8px;
}

.success-order-info strong {
    display: block;
    margin-top: 3px;
    font-size: 10px;
}

.success-products {
    margin-top: 20px;
    text-align: left;
}

.success-product {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 10px;
    align-items: center;
}

.success-product img {
    width: 45px;
    height: 45px;
    border-radius: 9px;
    object-fit: cover;
}

.success-product strong {
    display: block;
    font-size: 10px;
}

.success-product span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
}

.success-product b {
    color: var(--green);
    font-size: 9px;
}

.success-total {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.success-total span {
    font-size: 11px;
    font-weight: 800;
}

.success-total strong {
    color: var(--green);
    font-size: 19px;
}

.success-status {
    margin-top: 17px;
    padding: 11px;
    border-radius: 11px;
    background: #fff7da;
    color: #786118;
    font-size: 10px;
}

.success-status i {
    margin-right: 5px;
}

.success-actions {
    margin-top: 20px;
}

.success-primary {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 13px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}


@media (min-width: 800px) {

    .checkout-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(330px, 420px);

        gap: 25px;
        align-items: start;
    }

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

    .form-group.full {
        grid-column: 1 / -1;
    }

    .sticky-summary {
        position: sticky;
        top: 22px;
    }
}
