/* ===================================
   Modern CSS Boilerplate
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #0066cc;
    --secondary-color: #f0f0f0;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-secondary: 'Georgia', serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 1000;
    --z-fixed: 1020;
    --z-modal: 1040;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    background-color: #ffffff;
    background-image: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-sm);
    text-decoration: none;
    z-index: var(--z-modal);
}

.skip-link:focus {
    top: 0;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-tight);
    font-weight: 600;
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: darken(var(--primary-color), 10%);
}

button, input, textarea, select {
    font-family: inherit;
}

/* ===================================
   Layout
   =================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    /* padding: 0 var(--spacing-md); */
}

/* ===================================
   Page Structure (Header + 4 Sections + Footer)
   =================================== */

:root {
    --header-height: 72px;
}

body {
    background-color: #ffffff;
    background-image: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    position: relative;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.brand img {
    display: block;
    height: calc(var(--header-height) - 20px);
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-nav a {
    display: inline-block;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    letter-spacing: 0.04em;
    line-height: 1.1;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid transparent;
}

.site-nav a.active {
    border-bottom: 2px solid #000000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: var(--spacing-md);
}

.action-btn {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.action-btn img {
    width: 18px;
    height: 18px;
    display: block;
}

.action-btn-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: #e02020;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    pointer-events: none;
}

.action-btn:hover {
    opacity: 0.7;
}

.action-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   Header Panels (dropdowns)
   =================================== */

.header-panel-wrap {
    position: relative;
}

.header-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.header-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.panel-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #111111;
}

.panel-badge {
    background: #111111;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2em 0.5em;
    border-radius: 20px;
}

.panel-footer {
    border-top: 1px solid #f0f0f0;
    padding: 0.65rem 1rem;
    text-align: center;
}

.panel-footer-link {
    font-size: 0.78rem;
    color: #888888;
    text-decoration: none;
}

.panel-footer-link:hover {
    color: #111111;
}

/* Updates panel */
.panel-updates {
    width: 280px;
}

.updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.update-item:last-child {
    border-bottom: none;
}

.update-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cccccc;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.update-item.is-new .update-dot {
    background: #111111;
}

.update-msg {
    font-size: 0.82rem;
    color: #111111;
    margin: 0 0 0.2rem;
    line-height: 1.4;
}

.update-time {
    font-size: 0.7rem;
    color: #999999;
}

/* Language panel */
.panel-lang {
    width: 170px;
}

.lang-list {
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
}

.lang-option {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-primary);
    color: #444444;
    cursor: pointer;
    transition: background 0.15s;
}

.lang-option:hover {
    background: #f5f5f5;
    color: #111111;
}

.lang-option.active {
    font-weight: 700;
    color: #111111;
}

/* Cart panel */
.panel-cart {
    width: 300px;
}

.cart-count {
    font-size: 0.75rem;
    color: #999999;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem 1.5rem;
    text-align: center;
}

.cart-empty p {
    font-size: 0.88rem;
    color: #999999;
    margin: 0;
}

.cta-small {
    font-size: 0.78rem !important;
    padding: 0.5rem 1.3rem !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-section {
    min-height: 100vh;
    scroll-margin-top: var(--header-height);
    display: flex;
    align-items: flex-start;
    padding: var(--header-height) 0 var(--spacing-2xl);
}

.philosophy-section, .people-section {
    padding-top:50px ;
}
.shop-section{
    padding-top: 0;
    padding-top: 0;
}
.welcome-section{
    padding-top: 20px;
}

.section-content {
    width: 100%;
}

.site-section:nth-of-type(odd) {
    background-color: #ffffff;
}

.site-section:nth-of-type(even) {
    background-color: #ffffff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 560px);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.welcome-left h1 {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    line-height: 0.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-weight: 800;
}

.welcome-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 1.75rem;
    max-width: 40ch;
    line-height: 1.4rem;
    font-family: 'Ubuntu', sans-serif;
    font-style: italic;
}

.welcome-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 560px;
}

.feature-card {
    border: 1px solid #808080;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem;
}

.feature-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-card p {
    margin: 0;
    margin-left: 30px;
    margin-top: 12px;
    font-size: 0.78rem;
    line-height: 1.25;
    color: #808080;
}

.welcome-right {
    width: 100%;
    display: flex;
    justify-content: center;
}

@keyframes illustration-hover-colors {
    0%   { background-color: #1a1a1a; }
    40%  { background-color: #cc0000; }
    100% { background-color: #c0c0c0; }
}

.welcome-illustration {
    width: min(100%, 560px);
    aspect-ratio: 1 / 1;
    background-color: #1a1a1a;
    background-image: url('../assets/images/products_illustration.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

.welcome-illustration:hover {
    animation: illustration-hover-colors 1.4s ease infinite alternate;
}

.shop-filters,
.shop-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.shop-filters {
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
}

.shop-categories {
    margin-bottom: 2.2rem;
}

.filter-chip,
.category-link {
    border: none;
    background: transparent;
    color: #4a4a4a;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 0.15rem 0.25rem;
}

.filter-chip.active,
.category-link.active {
    font-weight: 700;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.4rem 1.6rem;
}

.product-card {
    text-align: center;
    cursor: pointer;
}

.product-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 0.55rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.product-card:hover .product-hover-info {
    transform: translateY(0);
    opacity: 1;
    margin-top: 0;
    /* height: 100%; */
    padding: 20px 70px;
}

.product-colors {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0.45rem;
}

.color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #d0d0d0;
    transition: transform 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.color-dot:hover {
    transform: scale(1.25);
    border-color: #555555;
}

.product-sizes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.size-chip {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #555555;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 1px 5px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.size-chip:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.1rem;
}

.price-original {
    font-size: 0.7rem;
    color: #aaaaaa;
    text-decoration: line-through;
    font-weight: 400;
}

.price-sale {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111111;
}

.price-discount-badge {
    font-size: 0.6rem;
    font-weight: 700;
    background: #e02020;
    color: #ffffff;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.add-to-cart-btn {
    width: 100%;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.42rem 0;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 0.1rem;
}

.add-to-cart-btn:hover {
    background: #333333;
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h3 {
    margin-top: 0.85rem;
    margin-bottom: 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #222222;
}

.shop-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 0.75rem 2.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: opacity var(--transition-fast);
    text-align:center;
    
    width: -webkit-fill-available;
}

.cta-button:hover {
    color: whitesmoke;
}

.philosophy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2.2rem;
    align-items: end;
}

.philosophy-main h2 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    margin-bottom: 0.1rem;
    font-family: var(--font-primary);
    font-weight: 800;
}

.philosophy-subtitle {
    font-size: 2.8rem !important;
    font-family: 'Ubuntu', sans-serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    color: #111111 !important;
    margin-bottom: 1.3rem !important;
    margin-top: -16px;
}

.philosophy-main p {
    margin-bottom: 0.85rem;
    color: #3f3f3f;
    font-size: 0.95rem;
}

.philosophy-contact {
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    padding: 1.1rem;
    background: #f5f3f3;
}

/* Category hero (used on category pages: history, community, djs) */
.category-hero {
    min-height: 320px;
    background-position: center;
    background-size: cover;
}

/* Section heading for standalone pages */
.site-section h1 {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-family: var(--font-primary);
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.site-section .philosophy-subtitle {
    font-size: 1.35rem !important;
    font-style: italic;
    color: #333 !important;
    margin-top: -8px !important;
}

/* Archives grid styles */
.archives-container h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.archives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.archive-card {
    background: #ffffff;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid #000;
}

.archive-card a { display: block; color: inherit; text-decoration: none; }

.archive-image {
    width: 100%;
    height: 140px;
    background-position: center;
    background-size: cover;
}

.archive-meta {
    padding: 0.6rem 0.7rem 0.9rem;
}

.archive-meta time {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.35rem;
}

.archive-meta h3 {
    font-size: 0.95rem;
    margin: 0;
    color: #111;
    font-weight: 700;
}

@media (max-width: 900px) {
    .archives-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .archives-grid { grid-template-columns: 1fr; }
}

/* Post page styles */
.post-article .post-header {
    margin-bottom: 1rem;
}

.post-header h1 {
    margin: 0 0 0.4rem 0;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.post-header time {
    color: #777;
    font-size: 0.9rem;
}

.post-hero {
    width: 100%;
    height: 360px;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.post-content {
    max-width: 760px;
}

.video-wrap {
    margin-top: 0.8rem;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrap iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Ecommerce flow pages: cart, checkout, payment, tracking */
.ecom-page {
    padding-top: calc(var(--header-height) + 1rem);
}

.ecom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.2rem;
    align-items: start;
}

.ecom-main h1,
.tracking-card h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.cart-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.9rem;
    padding: 0.8rem;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.cart-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.cart-item h3 {
    margin: 0 0 0.2rem 0;
    font-size: 0.95rem;
}

.cart-item p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.82rem;
}

.cart-line-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.cart-line-meta label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
}

.cart-line-meta input {
    width: 56px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.25rem 0.4rem;
}

.line-price {
    font-weight: 700;
    font-size: 0.95rem;
}

.ecom-summary {
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 1rem;
    background: #fafafa;
}

.ecom-summary h2 {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
}

.summary-row.total {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid #ddd;
    font-size: 1rem;
}

.checkout-form {
    display: grid;
    gap: 0.75rem;
}

.checkout-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
}

.checkout-form input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    font-family: var(--font-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.method-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
}

.pay-note {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: #777;
}

.tracking-card {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 1.2rem;
    background: #fafafa;
}

.tracking-id {
    margin-top: -0.2rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.88rem;
}

.tracking-steps {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.tracking-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #777;
    font-size: 0.9rem;
}

.tracking-step span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
}

.tracking-step.done span,
.tracking-step.active span {
    background: #111;
}

.tracking-step.active {
    color: #111;
    font-weight: 700;
}

.tracking-note {
    margin-bottom: 1rem;
    color: #666;
}

@media (max-width: 900px) {
    .ecom-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods,
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Product page */
.product-page {
    padding-top: calc(var(--header-height) + 1rem);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #8a8a8a;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.product-breadcrumb a {
    color: #707070;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 1.4rem;
    align-items: start;
}

.product-gallery {
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 0.9rem;
    background: #fcfcfc;
}

.product-main-image {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.product-main-image img {
    width: 100%;
    height: min(58vh, 520px);
    object-fit: contain;
    display: block;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.7rem;
}

.thumb {
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    padding: 0.35rem;
    cursor: pointer;
}

.thumb.active,
.thumb:hover {
    border-color: #111;
}

.thumb img {
    width: 100%;
    height: 70px;
    object-fit: contain;
}

.product-details {
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.product-details h1 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    margin-bottom: 0.4rem;
}

.product-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.55rem;
}

.product-subtitle {
    color: #666;
    margin-bottom: 0.75rem;
}

.product-price-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.product-options {
    display: grid;
    gap: 0.8rem;
}

.option-label {
    margin: 0 0 0.35rem 0;
    font-size: 0.82rem;
    color: #666;
}


.option-colors .color-dot,
.option-sizes .size-chip {
    cursor: pointer;
}

.option-colors .color-dot.selected,
.option-sizes .size-chip.selected {
    background: #000000;
    color: white;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-control button {
    width: 34px;
    height: 34px;
    border: 0;
    background: #f5f5f5;
    cursor: pointer;
}

.qty-control input {
    width: 58px;
    height: 34px;
    text-align: center;
    border: 0;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1rem;
}

.cta-button.secondary {
    background: #fff;
    color: #111;
    border: 1px solid #111;
    text-align: center;
}

.product-highlights {
    margin: 1rem 0 0 1.1rem;
    color: #444;
    font-size: 0.9rem;
}

.delivery-info-form {
    margin-top: 0.9rem;
    padding: 0.8rem;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fafafa;
    display: grid;
    gap: 0.55rem;
}

.delivery-pin-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
}

.delivery-pin-row input,
.delivery-fields input {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    font-family: var(--font-primary);
    font-size: 0.84rem;
}

.delivery-pin-row button {
    border: 1px solid #111;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 0.9rem;
    cursor: pointer;
}

.delivery-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.delivery-note {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.product-info-block,
.related-products {
    margin-top: 1.3rem;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.product-info-block h2,
.related-products h2 {
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.related-item {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 0.6rem;
    color: #111;
    text-decoration: none;
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 0.45rem;
}

.related-item h3 {
    margin: 0;
    font-size: 0.86rem;
}

.related-item p {
    margin: 0.15rem 0 0;
    color: #666;
    font-size: 0.8rem;
}

@media (max-width: 980px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .delivery-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Alternate product design: clean left info, right gallery */
.alt-main{
    height: calc(100vh - 72px);
    overflow: hidden;
}
.product-alt {
    height: 100%;
}
.product-alt .container{
    height: calc(100% - 85px);
}
.alt-gallery{
    height: 100%;
}
.alt-cta-button{
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: unset;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 60px;
    background: #000000;
}
.alt-cta-button img{
    margin: 0 auto;
    display: block;
    height: 20px;
    margin: 15px 13px;
}
.product-alt .alt-title { font-size: 1.6rem; margin: 0.4rem 0; }
.alt-product-tag { display: block; width: fit-content; margin: 0 auto; margin-bottom: 0.5rem;  margin-top: 4px;
    margin-bottom: 0;}
.alt-product-title{display: block; margin: 0; padding: 0; margin-top: 24px;}
.product-alt .alt-sub { 
    display:block;
    margin: 0;
    color: #666;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin-top :5px;
 }
.product-alt .alt-price { display:block; text-align: center; }
.product-alt .alt-price .price-sale { 
    display: block;
    font-size: 24px !important;
    line-height: 24px;
    height: 24px;
    margin-bottom: 0;
    font-weight: 800;
    width: -webkit-fill-available;
}
.product-alt .alt-price .price-original { 
    display: block;
    font-size: 12px;
    line-height: 12px;
    height: 12px;
    margin-bottom: 5px;
    color:#a0a0a0; 
    text-decoration:line-through;
    width: -webkit-fill-available;
}

/* Layout three inline blocks: sizes, price, colors */
.product-alt .alt-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    height: 45px;
}

.product-alt .alt-product-sizes,
.product-alt .alt-price,
.product-alt .alt-product-colors {
    flex: 0 0 auto;
    min-width: 120px;
}

.product-alt .alt-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 720px) {
    .product-alt .alt-info {
        flex-direction: column;
        align-items: stretch;
    }
    .product-alt .alt-product-sizes,
    .product-alt .alt-price,
    .product-alt .alt-product-colors {
        min-width: 0;
        width: 100%;
    }
}
.product-alt .option-label span { 
    display: block;
    font-size: 12px;
    line-height: 12px;
    height: 12px;
    margin-bottom: 5px;
    color:#a0a0a0; 
    text-decoration:line-through 
}

.alt-product-sizes{
    text-align: left;
}
.alt-product-colors{
    text-align: right;
}
.alt-product .option-sizes{
    display: block;
}
.option-sizes button{
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 4px;
    cursor: pointer;
    height: 16px;
    line-height: 12px;
    background: transparent;
    margin: 0 3px;
}
.option-colors button{
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 20px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    line-height: 12px;
    background: transparent;
    margin: 0 3px;
}

.product-alt .alt-cta { display:flex; gap:0.6rem; margin-bottom:0.85rem }
.product-alt .alt-keypoints p{ margin:0 0 0.45rem; color:#444 }

.product-alt .alt-main-image { height:calc(100% - 15px); overflow:hidden}
.product-alt .alt-main-image img{     display: block;
    height: 100%;
    margin: 0 auto;
}
.product-alt .alt-thumbs { display:none; gap:0.6rem; margin-top:0.2rem }
.product-alt .alt-thumbs img{ width:86px; height:86px; object-fit:cover; border-radius:8px; cursor:pointer; border:1px solid #e6e6e6 }

.product-alt .alt-details { margin-top:1.2rem; padding:1rem; background:#fff; border:1px solid #eee; border-radius:10px }

@media (max-width: 980px) {
    .product-alt .alt-layout { grid-template-columns: 1fr }
    .product-alt .alt-main-image img { height: 100% }
}

/* product-alt interactive helpers */
.product-alt .see-more-btn {
    background: transparent;
    border: 1px dashed #d0d0d0;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    font-size: 0.86rem;
    cursor: pointer;
}

.product-alt .alt-main-image { position: relative }
.product-alt .slider-nav {
    font-size: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.alt-option-label{
    display: block;
    font-size: 12px;
    line-height: 12px;
    height: 12px;
    margin: 5px;
    margin-top: 0;
    color: #a0a0a0;
}

.product-alt .slider-prev { left: 12px }
.product-alt .slider-next { right: 12px }

.product-alt .alt-thumbs img.active { outline: 2px solid #111; outline-offset: 2px }
.product-alt .alt-dots {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 5px;
}

.product-alt .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8d8d8;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.product-alt .dot.active {
    background: #111;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

.alt-layout{
    width: fit-content;
    margin: 0 auto;
    margin-top: 15px;
}

/* Slide container and slide items for animated sliding */
.product-alt .slide-container {
    position: relative;
    width: 100%;
    height: min(64vh, 520px);
    overflow: hidden;
}

.product-alt .slide-container img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width:100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: contain !important;
    transform: translateX(0);
}

/* initial state for next slides will be set inline by JS */

.philosophy-contact h3 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1;
}

.contact-subtitle {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 600;
}

.contact-note {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1rem;
    font-style: italic;
    padding-bottom: 20px;
    border-bottom: 1px solid #000000;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #111111;
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
}

.contact-link img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-link span {
    flex: 1;
}

.contact-link-blank {
    width: 10px !important;
    height: 10px !important;
}

.people-header h2 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    margin-bottom: 0;
    font-family: var(--font-primary);
    font-weight: 800;
}

.people-header p {
    font-size: 2.8rem !important;
    font-family: 'Ubuntu', sans-serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    color: #111111 !important;
    margin-bottom: 1.3rem !important;
    margin-top: -16px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.person-card {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.person-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-footer {
    background: #111111;
    color: #f5f5f5;
}

.footer-inner {
    min-height: 170px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    padding-top: 4.2rem;
    padding-bottom: 3.2rem;
}

.footer-brand h3 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    letter-spacing: 0.03em;
}

.footer-brand p {
    margin: 0;
    color: #c8c8c8;
    font-size: 0.78rem;
    line-height: 1.45;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 2.5rem;
}

.footer-links h4 {
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    color: #d8d8d8;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

/* ===================================
   Shop page header
   =================================== */

.shop-header-inner {
    justify-content: space-between;
}

/* ===================================
   Legal pages
   =================================== */

.legal-section {
    min-height: calc(100vh - var(--header-height));
}

.legal-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding-top: var(--spacing-xl);
}

.legal-header {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.legal-header h1 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.legal-meta {
    font-size: 0.82rem;
    color: #999;
    margin: 0;
}

.legal-body h2 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: var(--spacing-xl);
    margin-bottom: 0.55rem;
    letter-spacing: 0.01em;
}

.legal-body p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.75rem;
}

.legal-body ul {
    margin: 0 0 0.75rem 1.2rem;
    padding: 0;
    list-style: disc;
}

.legal-body ul li {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.25rem;
}

.legal-body a {
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-body a:hover {
    opacity: 0.65;
}

.legal-footer-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e8e8e8;
    padding-bottom: var(--spacing-2xl);
}

.legal-footer-links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: #999;
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.15s ease;
}

.legal-footer-links a:hover {
    color: var(--text-dark);
}

.shop-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--text-dark);
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.shop-back-btn:hover {
    background: #f0f0f0;
    color: var(--text-dark);
}

.shop-page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .header-inner {
        gap: var(--spacing-sm);
    }

    .site-nav {
        position: static;
        transform: none;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-nav a {
        font-size: 0.75rem;
    }

    .header-actions {
        gap: 0.5rem;
        margin-left: 0;
    }

    .action-btn {
        width: 32px;
        height: 32px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .welcome-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .welcome-illustration {
        width: min(100%, 420px);
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem 1rem;
    }

    .philosophy-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .people-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
