:root {
    --bg: #f6f5f1;
    --surface: #ffffff;
    --surface-soft: #f1f2ee;
    --text: #121212;
    --muted: #69707d;
    --line: #e5e0d8;
    --brand: #0b5a61;
    --brand-dark: #083f45;
    --accent: #dcf53f;
    --hero-overlay: rgba(0, 0, 0, 0.45);
    --shadow: 0 20px 50px rgba(18, 28, 45, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #c6e63a;
    color: #000;
    font-size: 14px;
    padding: 8px 0;
    overflow: hidden;
    text-align: center;
}

.topbar-text {
    display: inline-block;
    white-space: nowrap;
    padding: 0 20px;
}

.site-header {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 35;
    padding: 16px 32px;
    background: #0d1117;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.page-home .site-header {
    top: 32px;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
}

.header-row,
.section-shell {
    max-width: 1320px;
    margin: 0 auto;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #fff;
}

.brand-name {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.nav-links a.is-active,
.nav-links a:hover {
    color: #fff;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    width: min(100%, 196px);
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243043;
    font-size: 0.92rem;
}

.search-submit,
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    border: 0;
}

.search-submit {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 8px;
    background: transparent;
    color: #4f5c70;
    font-size: 0.95rem;
    font-weight: 700;
}

.header-btn {
    position: relative;
    width: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.3rem;
}

.header-icon {
    line-height: 1;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 20px;
    min-height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-btn,
.search-toggle,
.mobile-search-panel,
.mobile-nav-overlay,
.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    color: #fff;
    min-height: 86vh;
    background: #121212;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-inner {
    position: relative;
    min-height: 86vh;
    max-width: 1320px;
    margin: 0 auto;
    padding: 132px 32px 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-copy {
    width: min(100%, 920px);
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.hero-copy h1,
.page-banner h1,
.empty-state h1,
.product-detail-copy h1,
.contact-copy h1 {
    margin: 0 0 12px;
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    font-size: clamp(28px, 6vw, 64px);
    line-height: 1.06;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero-copy p,
.page-banner p,
.empty-state p,
.product-description,
.contact-copy p {
    margin: 0;
    line-height: 1.6;
}

.hero-copy p {
    max-width: 640px;
    margin: 0 auto 24px;
    font-size: clamp(1rem, 2vw, 1.36rem);
    color: rgba(255, 255, 255, 0.92);
}

.hero-subtitle {
    margin-top: 12px;
    margin-bottom: 24px;
}

.hero-actions {
    display: inline-flex;
    justify-content: center;
}

.hero-btn,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 50px;
    background: #fff;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 2;
    width: 28px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    transform: translateX(-50%);
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 12px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
    animation: scrollHint 1.8s infinite;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 8px;
    z-index: 2;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
    background: #fff;
}

.collection-marquee {
    position: relative;
    z-index: 4;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 14, 0.78);
    backdrop-filter: blur(8px);
    color: #fff;
}

.collection-marquee::before,
.collection-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 88px;
    pointer-events: none;
}

.collection-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(7, 10, 14, 0.9), rgba(7, 10, 14, 0));
}

.collection-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(7, 10, 14, 0.9), rgba(7, 10, 14, 0));
}

.collection-marquee-track {
    display: flex;
    width: max-content;
    animation: collectionLoop 24s linear infinite;
}

.collection-marquee:hover .collection-marquee-track {
    animation-play-state: paused;
}

.collection-marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
    min-width: max-content;
    padding: 11px clamp(20px, 4vw, 54px);
}

.collection-marquee a {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.82rem, 1.45vw, 1.1rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
    transition: color 0.2s ease, transform 0.2s ease;
}

.collection-marquee a:hover,
.collection-marquee a:focus-visible {
    color: var(--accent);
    transform: translateY(-2px);
}

@keyframes scrollHint {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}

@keyframes collectionLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.section-shell {
    padding: 0 32px;
}

.categories {
    padding: 26px 0 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-row {
    display: flex;
    gap: 14px;
    min-width: max-content;
    padding-bottom: 12px;
}

.chip {
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--surface-soft);
    color: #2b3340;
    font-weight: 600;
    white-space: nowrap;
}

.chip.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px rgba(11, 90, 97, 0.18);
}

.shop-category-bar {
    display: flex;
    gap: 12px;
    margin: -8px 0 28px;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.shop-category-bar::-webkit-scrollbar {
    display: none;
}

.products {
    padding: 28px 0 86px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head h2,
.page-banner h1,
.product-detail-copy h1,
.contact-copy h1,
.empty-state h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-head h2 {
    margin: 0;
}

.section-head p,
.search-status,
.empty-state p,
.contact-list span,
.footer-bottom {
    color: var(--muted);
}

.section-head p {
    margin: 8px 0 0;
    max-width: 560px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 34px;
    border: 0;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(11, 90, 97, 0.18);
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.04);
    overflow: hidden;
}

.card[hidden] {
    display: none;
}

.card-media {
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    background: #f0ece5;
}

.card-media-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #f7f4ee;
    cursor: pointer;
}

.product-card img,
.product-image img,
.card img,
.card-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
    display: block;
}

.card-media-link img {
    transition: transform 0.2s ease;
}

.card-media-link:hover img,
.card-media-link:focus-visible img {
    transform: scale(1.02);
}

.card-media-link:focus-visible {
    outline: 3px solid rgba(11, 90, 97, 0.35);
    outline-offset: 3px;
}

.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 78px);
    z-index: 29;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #0d1117;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top-btn[hidden] {
    display: none;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
    transform: translateY(-2px);
    background: var(--brand);
}

.product-card,
.card {
    height: auto;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 2px 0;
}

.card-category {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card h3 {
    margin: 0 0 7px;
    font-size: 0.95rem;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.44em;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.price-old {
    color: #9c9aa0;
    text-decoration: line-through;
    font-weight: 600;
}

.price {
    color: var(--brand-dark);
    font-size: 0.92rem;
    font-weight: 800;
}

.meta {
    min-height: 18px;
    margin-bottom: 8px;
    color: #9a9ea7;
    font-size: 0.8rem;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: nowrap;
}

.card-link,
.card-btn,
.contact-form button,
.cart-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-weight: 700;
}

.card-link {
    flex: 1 1 0;
    border: 1px solid var(--line);
    background: #fff;
}

.card-btn,
.contact-form button,
.cart-panel-link {
    flex: 1 1 0;
    border: 0;
    background: var(--brand);
    color: #fff;
}

.card-btn.is-disabled {
    background: #d4d7dd;
    cursor: not-allowed;
}

.search-status {
    min-height: 28px;
    margin-top: 18px;
    font-size: 0.96rem;
}

.page-main {
    padding: 44px 0 86px;
}

.page-banner {
    padding: 20px 0 10px;
}

.page-banner .section-shell {
    padding-top: 20px;
    padding-bottom: 10px;
}

.product-detail,
.contact-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: start;
}

.product-detail-media {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
}

.product-gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f8f6f1;
}

.product-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 220ms ease;
}

.product-gallery-image.is-active {
    opacity: 1;
}

.product-gallery-arrow {
    position: absolute;
    top: calc(50% - 34px);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(13, 17, 23, 0.58);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.product-gallery-arrow--prev {
    left: 14px;
}

.product-gallery-arrow--next {
    right: 14px;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
    gap: 8px;
    padding: 12px;
}

.product-gallery-thumb {
    overflow: hidden;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #f8f6f1;
    cursor: pointer;
}

.product-gallery-thumb.is-active {
    border-color: var(--brand);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f6f1;
}

.product-options {
    display: grid;
    gap: 16px;
    margin: 18px 0;
}

.product-options label,
.product-options fieldset {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.product-options span,
.product-options legend {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-options select {
    width: min(100%, 340px);
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.product-color-swatches legend {
    display: grid;
    gap: 5px;
}

.product-color-swatches legend small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-color-swatches legend strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.product-swatch-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.product-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: var(--swatch-color, #111);
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--line);
    cursor: pointer;
}

.product-swatch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

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

.product-swatch:has(input:checked),
.product-swatch.is-active {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--ink);
}

.product-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-size-options label {
    display: inline-flex;
}

.product-size-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-size-options span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}

.product-size-options input:checked + span {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.product-detail-copy,
.contact-form,
.empty-state {
    padding: 10px 0;
}

.product-description {
    margin-bottom: 18px;
    line-height: 1.65;
}

.product-description p {
    margin: 0 0 14px;
}

.product-description p:last-child,
.product-description ul:last-child,
.product-description ol:last-child {
    margin-bottom: 0;
}

.product-description ul,
.product-description ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.product-description li {
    margin-bottom: 6px;
}

.product-description strong,
.product-description b {
    font-weight: 800;
}

.product-points {
    margin: 0 0 22px;
    padding-left: 20px;
    line-height: 1.7;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-accordions {
    display: grid;
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.product-accordion + .product-accordion {
    border-top: 1px solid var(--line);
}

.product-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
    padding: 0 18px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.product-accordion summary::-webkit-details-marker {
    display: none;
}

.product-accordion summary::after {
    content: "+";
    font-size: 1.35rem;
    line-height: 1;
}

.product-accordion[open] summary::after {
    content: "-";
}

.product-accordion .product-description {
    padding: 0 18px 18px;
    color: var(--muted);
}

.empty-state {
    max-width: 700px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 30px;
    align-items: start;
}

.cart-copy {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

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

.cart-item-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}

.cart-item-card--notice {
    grid-template-columns: 1fr;
}

.cart-item-card--notice h3 {
    margin: 0 0 8px;
}

.cart-item-card--notice p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.cart-item-media {
    overflow: hidden;
    border-radius: 18px;
    background: #f0ece5;
}

.cart-item-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cart-item-copy h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.cart-item-price {
    margin: 0 0 6px;
}

.cart-item-price {
    color: var(--brand-dark);
    font-weight: 800;
}

.cart-item-options {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.cart-item-controls {
    display: inline-grid;
    grid-template-columns: 38px 58px 38px;
    align-items: center;
    margin: 8px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.cart-qty-btn,
.cart-qty-input,
.cart-remove-btn,
.cart-clear-btn {
    border: 0;
    background: transparent;
    color: var(--text);
}

.cart-qty-btn {
    min-height: 40px;
    font-size: 1.12rem;
    font-weight: 800;
}

.cart-qty-btn:hover,
.cart-remove-btn:hover,
.cart-clear-btn:hover {
    color: var(--brand);
}

.cart-qty-input {
    width: 58px;
    min-height: 40px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    text-align: center;
    font-weight: 800;
    appearance: textfield;
}

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

.cart-item-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cart-item-link {
    display: inline-flex;
    color: var(--brand);
    font-weight: 700;
}

.cart-remove-btn,
.cart-clear-btn {
    padding: 0;
    color: #8f1d1d;
    font-weight: 800;
}

.cart-item-total {
    display: grid;
    gap: 4px;
    justify-items: end;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
}

.cart-item-total span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cart-summary-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
}

.cart-summary-card h2 {
    margin: 0 0 18px;
    font-size: 1.4rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    color: var(--muted);
}

.cart-summary-row strong {
    color: var(--text);
}

.cart-summary-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.cart-clear-btn {
    min-height: 48px;
    border: 1px solid rgba(143, 29, 29, 0.2);
    border-radius: 14px;
    background: rgba(143, 29, 29, 0.06);
}

.checkout-layout {
    margin-top: 34px;
}

.checkout-form-card,
.checkout-success-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
}

.checkout-form-card h2,
.checkout-success-card h2 {
    margin: 0 0 12px;
    font-size: 1.85rem;
    letter-spacing: -0.04em;
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.checkout-grid label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: var(--text);
}

.checkout-help {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.4;
}

.checkout-grid input,
.checkout-grid select,
.checkout-grid textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
}

.checkout-grid textarea {
    resize: vertical;
    min-height: 120px;
}

.checkout-grid-span {
    grid-column: 1 / -1;
}

.checkout-feedback {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    line-height: 1.6;
}

.checkout-feedback.is-info {
    border-color: rgba(11, 90, 97, 0.18);
    background: rgba(11, 90, 97, 0.08);
    color: var(--brand-dark);
}

.checkout-feedback.is-error {
    border-color: rgba(183, 44, 44, 0.18);
    background: rgba(183, 44, 44, 0.08);
    color: #8f1d1d;
}

.checkout-actions,
.checkout-success-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.checkout-submit {
    min-width: 210px;
}

.checkout-submit:disabled,
.primary-link.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.checkout-success-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 24px 0;
}

.checkout-success-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-soft);
    color: var(--muted);
}

.checkout-success-row strong {
    color: var(--text);
    text-align: right;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 68px 0 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.7fr;
    gap: 48px;
    align-items: start;
}

.footer-logo {
    display: inline-flex;
    width: min(100%, 320px);
    margin-bottom: 26px;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    object-position: left center;
}

.newsletter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 470px;
}

.newsletter input {
    flex: 1 1 230px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.newsletter button {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #111d3a;
    color: #fff;
    font-weight: 700;
}

.footer-column h4 {
    margin: 6px 0 14px;
    font-size: 1.05rem;
}

.footer-column a,
.footer-column span {
    display: block;
    margin-bottom: 10px;
    color: #202938;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    font-size: 0.98rem;
}

.cart-panel {
    position: fixed;
    top: 108px;
    right: 24px;
    z-index: 40;
    width: min(360px, calc(100vw - 28px));
    padding: 18px 18px 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

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

.cart-panel h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.cart-panel p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.5;
}

.contact-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    font-weight: 700;
}
