:root {
    --bg: #101820;
    --surface: #17242f;
    --surface-strong: #1f3342;
    --surface-soft: #243b4b;
    --text: #f4f7f9;
    --muted: #b6c3cc;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #ffd447;
    --accent-strong: #ff7a00;
    --danger: #e85d5d;
    --success: #34c759;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.24), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 212, 71, 0.12), transparent 26%),
        linear-gradient(180deg, #0a1117 0%, #101820 100%);
    line-height: 1.6;
}

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

img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius-sm);
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.container,
.container-e,
.container-2,
.small-container {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 0 20px;
}

.page-shell {
    padding: 24px 0 72px;
}

.nav-wrapper,
.nav-wrapper-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 22px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(23, 36, 47, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.left-side,
.left-side-1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.right-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nav-link-wrapper a,
.nav-1 a,
.menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-link-wrapper a:hover,
.nav-1 a:hover,
.menu-toggle:hover,
.nav-link-wrapper a:focus-visible,
.nav-1 a:focus-visible,
.menu-toggle:focus-visible {
    color: var(--text);
    border-color: rgba(255, 212, 71, 0.55);
    transform: translateY(-1px);
}

.Brand div {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.cart-link {
    position: relative;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    margin-left: 8px;
    border-radius: 999px;
    background: var(--accent);
    color: #0a1117;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero,
.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
    margin-bottom: 42px;
}

.store-showcase {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    align-items: stretch;
}

.hero-card,
.info-card,
.feature-card,
.product-card,
.cart-card,
.summary-card,
.story-card,
.gallery-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(23, 36, 47, 0.78);
    box-shadow: var(--shadow);
}

.hero-copy,
.info-card,
.story-card,
.summary-card,
.cart-card,
.product-copy {
    padding: 28px;
}

.hero-copy,
.img-text-wrapper,
.story-card .copy,
.product-card .card-copy,
.info-card,
.footer-grid > div {
    overflow-wrap: anywhere;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    color: var(--muted);
}

.hero-copy h1,
.product-copy h1 {
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    line-height: 1.12;
}

.hero-copy p,
.img-text-wrapper p,
.story-card .copy p,
.product-card .card-copy p,
.info-card p {
    font-size: 0.96rem;
}

.img-text-wrapper h3,
.story-card h3,
.product-card h3,
.footer h3 {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.22;
}

.hero-copy p,
.product-copy p,
.story-card p {
    max-width: 58ch;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.btn,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn {
    color: #0a1117;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 12px 24px rgba(255, 122, 0, 0.24);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
}

.btn-ghost {
    color: var(--accent);
    background: transparent;
    border: 1px solid rgba(255, 212, 71, 0.35);
}

.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.hero-media,
.gallery-frame {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.hero-media img,
.gallery-frame img,
.portfolio-img-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-showcase .info-card,
.store-showcase .hero-media {
    height: 100%;
}

.store-showcase .hero-media {
    min-height: 360px;
}

.store-showcase .hero-media img {
    min-height: 100%;
}

.stat-grid,
.info-grid,
.product-grid,
.story-grid,
.footer-grid {
    display: grid;
    gap: 18px;
}

.stat-grid,
.info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 22px 0 0;
}

.info-card {
    padding: 22px;
}

.info-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1.15rem;
    overflow-wrap: normal;
    word-break: normal;
}

.section {
    margin-bottom: 44px;
}

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

.section-header p {
    max-width: 58ch;
}

.portfolio-items-wrapper,
.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.portfolio-items-wrapper,
.story-grid {
    display: grid;
    gap: 18px;
}

.portfolio-item-wrapper,
.feature-card,
.product-card {
    overflow: hidden;
}

.portfolio-img-background {
    min-height: 260px;
    background-position: center;
    background-size: cover;
}

.img-text-wrapper {
    padding: 20px;
}

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

.feature-card img,
.product-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.product-card .card-copy,
.feature-card .card-copy {
    padding: 18px;
}

.product-card h3,
.feature-card h3 {
    margin-bottom: 8px;
}

.product-card .price-row {
    align-items: stretch;
    flex-direction: column;
}

.product-card .price {
    display: block;
    margin-bottom: 10px;
}

.product-card .button-row {
    width: 100%;
    margin-top: 0;
}

.product-card .button-row .btn,
.product-card .button-row .btn-secondary {
    width: 100%;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.price {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.rating {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    color: var(--accent);
}

.gallery-layout,
.cart-layout,
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
}

.gallery-card,
.product-copy {
    padding: 22px;
}

.small-img-row,
.small-img-row-2,
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.small-img,
.thumb-button img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.thumb-button {
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
}

.thumb-button.is-active {
    border-color: rgba(255, 212, 71, 0.6);
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.meta-pill,
.tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.88rem;
}

.purchase-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 18px 0 22px;
}

.qty-input,
select {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.story-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.story-card {
    overflow: hidden;
}

.story-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.story-card .copy {
    padding: 20px;
}

.cart-layout {
    align-items: start;
}

.cart-card,
.summary-card {
    padding: 24px;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-item h3 {
    margin-bottom: 6px;
}

.cart-item p {
    font-size: 0.94rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
}

.remove-btn {
    color: var(--danger);
    background: transparent;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.summary-row:last-of-type {
    border-bottom: 0;
}

.empty-state {
    padding: 32px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.footer {
    margin-top: 52px;
    padding: 28px 0 52px;
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 24px;
}

.footer .footer-grid,
.footer-note {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(23, 36, 47, 0.78);
    box-shadow: var(--shadow);
}

.footer h3 {
    margin-bottom: 10px;
}

.footer-note {
    margin-top: 16px;
    padding: 16px 24px;
    color: var(--muted);
    text-align: center;
}

.hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .hero,
    .hero-grid,
    .gallery-layout,
    .cart-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .store-showcase .hero-media {
        min-height: 300px;
    }

    .stat-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .page-shell {
        padding-top: 18px;
    }

    .nav-wrapper,
    .nav-wrapper-1 {
        flex-direction: column;
        align-items: start;
    }

    .left-side,
    .left-side-1,
    .hero-actions,
    .button-row,
    .purchase-panel {
        width: 100%;
    }

    .nav-link-wrapper,
    .nav-1 {
        width: 100%;
    }

    .nav-link-wrapper a,
    .nav-1 a,
    .menu-toggle {
        width: 100%;
        justify-content: center;
    }

    .small-img-row,
    .small-img-row-2,
    .thumbnail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .cart-item img {
        width: 100%;
        height: auto;
    }

    .cart-item-actions {
        align-items: start;
    }
}
