:root {
    --swiper-theme-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: .6;
    --swiper-navigation-size: 36px;
}

body {
    background-color: #EDEADE;
    font-family: 'Barlow', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}


/* ---- Comparison Table ---- */

.compare-table th,
.compare-table td {
    padding: 12px 8px;
    text-align: center;
    font-family: 'Antonio', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.compare-table td {
    border: 1px solid #5B3D37;
}

.compare-table th.friday-col,
.compare-table td.friday-col {
    background: #5B3D37;
    color: #F0EDE0;
}


/* ---- 3 Promo Cards ---- */

.promo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-right: 1px solid #c8c4b0;
    background: #1a1a14;
}

.promo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%);
}


/* ---- Melt Free ---- */

.frozen-img {
    min-height: 420px;
    background: linear-gradient(135deg, #6a4870 0%, #3a2848 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* ---- Discount Form ---- */

.discount-left {
    padding: 64px 60px 64px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid #c8c4b0;
}

.discount-right {
    padding: 64px 80px 64px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #1A1A18;
    background: transparent;
    padding: 8px 0;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    color: #1A1A18;
    outline: none;
    transition: border-color 0.15s;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-select:focus {
    outline: none;
    border-color: #5C3D2E;
}


/* ---- Marquee Animation ---- */

.marquee {
    display: flex;
    gap: 0;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee:hover {
    animation-play-state: paused;
}


/* form  */

.form-input:focus {
    border-color: #5C3D2E;
}

.field {
    width: 100%;
    background: #EDEADE;
    border: 1.5px solid #c8c4b0;
    padding: 13px 16px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    color: #1A1A18;
    outline: none;
    transition: border-color 0.15s;
}

.field::placeholder {
    color: #b8b4a2;
}

.field:focus {
    border-color: #1A1A18;
}

select.field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A18' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1A1A18;
    margin-bottom: 8px;
    display: block;
}

.form-field {
    transition: border-color 0.15s;
}

.form-field:focus {
    border-color: #1A1A18;
}


/* Input focus ring */

.phone-input:focus {
    outline: none;
    border-color: #5C3D2E;
    box-shadow: 0 0 0 2px rgba(92, 61, 46, 0.15);
}


/* ---- FAQ ---- */

.accordion-item {
    border-bottom: 1px solid #c8c4b0;
}

.accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #1A1A18;
}

.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-body {
    max-height: 100%;
}


/* ---- Collaborations ---- */

.collab-section {
    background-color: #3d2318;
    border-top: 1px solid #c8c4b0;
}

.collab-cell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #2a1810;
}

.collab-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: opacity 0.25s, transform 0.35s;
}

.collab-cell:hover img {
    opacity: 0.9;
    transform: scale(1.03);
}


/* ---- Available At ---- */

.available-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}


/* ---- Img placeholder ---- */

.img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc9ba;
}

.img-ph svg {
    opacity: 0.2;
}


/* image panels */

.img-top {
    background: #e8e4d8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* dashboard sub link */

.subnav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 20px;
    transition: color 0.15s;
    position: relative;
}

.subnav-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: #c8c4b0;
}

.subnav-link:first-child {
    padding-left: 0;
}

@media (max-width: 991px) {
    .subnav-link {
        padding: 8px 0;
    }
    .subnav-link:first-child {
        padding-left: inherit;
    }
}


/* dashboard account */

.address-card {
    border: 1.5px solid #c8c4b0;
    padding: 20px 20px 20px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.add-new-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1A1A18;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.15s;
}

.add-new-link:hover {
    opacity: 0.55;
}

.btn-primary {
    background: #5B3D37;
    color: #EDEADE;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 14px 28px;
    cursor: pointer;
    transition: background 0.15s, letter-spacing 0.2s;
    border: none;
}

.btn-primary:hover {
    background: #1A1A18;
    letter-spacing: 0.02em;
}

.btn-address-remove {
    background: transparent;
    color: #1A1A18;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 11px 16px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border: 1.5px solid #1A1A18;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-address-remove:hover {
    background: #5B3D37;
    color: #EDEADE;
}

.btn-address-edit {
    background: #5B3D37;
    color: #EDEADE;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 11px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-address-edit:hover {
    background: #333;
}


/* shop detail */

.size-card {
    opacity: .5;
    border: 1.5px solid #1A1A18;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.size-card.selected {
    opacity: 1;
    border: 1.5px solid #5B3D37;
    background-color: #5B3D37;
    color: #F0EDE0;
}

.size-card.selected .price-original {
    color: #aaa;
}

.qty-control {
    opacity: .5;
}

.qty-control.selected {
    opacity: 1;
}

.btn-add {
    border: 1.5px solid #1A1A18;
    background: transparent;
    color: #1A1A18;
    transition: background 0.15s, color 0.15s;
}

.btn-add:hover {
    background: #1A1A18;
    color: #F0EDE0;
}

.btn-buy {
    background: #5C3D2E;
    color: #F0EDE0;
    transition: background 0.15s;
}

.btn-buy:hover {
    background: #4a2e20;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 2px solid #1A1A18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}

.qty-btn:hover {
    background: #1A1A18;
    color: #F0EDE0;
}

.qty-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #d8d4c4;
    border: 1px solid #1A1A18;
    color: #1A1A18;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ---- Cart Overlay ---- */

#cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(26, 24, 20, 0.45);
    backdrop-filter: blur(2px);
}

#cart-overlay.open {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

#cart-overlay.open #cart-panel {
    transform: translateY(0);
    opacity: 1;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #1A1A18;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    background: transparent;
    color: #1A1A18;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.cart-qty-btn:hover {
    background: #1A1A18;
    color: #F0EDE0;
}


/* Button hover */

.btn-continue {
    transition: background-color 0.2s ease, letter-spacing 0.2s ease;
}

.btn-continue:hover {
    background-color: #4a2e20;
    letter-spacing: 0.2em;
}

.btn-continue:active {
    transform: scale(0.99);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.5s ease both;
}

.fade-up-1 {
    animation: fadeUp 0.5s ease both;
}

.fade-up-2 {
    animation: fadeUp 0.5s 0.1s ease both;
}

.fade-up-3 {
    animation: fadeUp 0.5s 0.2s ease both;
}

.fade-up-4 {
    animation: fadeUp 0.5s 0.35s ease both;
}

.delay-1 {
    animation-delay: 0.08s;
}

.delay-2 {
    animation-delay: 0.16s;
}

.delay-3 {
    animation-delay: 0.24s;
}

.delay-4 {
    animation-delay: 0.28s;
}

@keyframes marquee {
    0% {
        transform: translate(0)
    }
    to {
        transform: translate(-50%)
    }
}

@keyframes bounceDown {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.swiper-pagination.custom-choco {
    --swiper-pagination-bullet-inactive-opacity: .3;
    --swiper-pagination-bullet-inactive-color: #5B3D37;
    --swiper-pagination-bullet-border-radius: 16px;
    --swiper-pagination-bullet-width: 8px;
    --swiper-pagination-bullet-height: 8px;
    --swiper-pagination-color: #5B3D37;
}