/* 
   DCM E-Commerce Concept Styles
   Premium Dutch E-Commerce Design
*/

:root {
    /* Palette */
    --color-primary: #0f172a;
    /* Slate 900 */
    --color-secondary: #334155;
    /* Slate 700 */
    --color-accent: #3b82f6;
    /* Blue 500 */
    --color-accent-dark: #2563eb;
    --color-background: #f8fafc;
    /* Slate 50 */
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-danger: #ef4444;
    --color-success: #10b981;
    --color-warning: #f59e0b;

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-heading);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: var(--color-background);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-border);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-text);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--color-secondary);
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.filter-chip:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.filter-chip:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.filter-chip .chip-close {
    border: 1px solid transparent;
    background: #e2e8f0;
    color: var(--color-secondary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-chip .chip-close:hover {
    background: #cbd5e1;
    color: var(--color-primary);
    border-color: #94a3b8;
}

.filter-chip .chip-close:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.active-filters-label {
    font-weight: 600;
    color: var(--color-secondary);
}

.clear-all-filters-btn {
    border: none;
    background: transparent;
    color: var(--color-accent);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.clear-all-filters-btn:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

.clear-all-filters-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Topbar */
/* Components */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

/* Premium Form Elements */
.select-wrapper {
    position: relative;
    display: inline-block;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px 40px 10px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 220px;
}

.sort-select:hover {
    border-color: var(--color-accent);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.topbar {
    background-color: var(--color-primary);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 8px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}

.topbar span,
.topbar a {
    margin-right: 20px;
}

.topbar-left i {
    margin-right: 6px;
    color: var(--color-accent);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: white;
}

/* Header */
.main-header {
    background: var(--color-surface);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--color-border);
}

.header-grid {
    display: grid;
    grid-template-columns: 150px 1fr 200px;
    align-items: center;
    height: 100%;
    gap: 40px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--color-accent);
}

.search-bar {
    width: 100%;
    max-width: 600px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-background);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: white;
}

.search-input-wrapper button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-light);
    padding: 8px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-text);
}

.action-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.action-item .label {
    font-size: 0.75rem;
    font-weight: 500;
}

.action-item .count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-accent);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Mini Cart Dropdown Styles */
.cart-wrapper {
    position: relative;
    padding-bottom: 20px;
    /* Bridge for hover stability */
    margin-bottom: -20px;
}

.minicart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    z-index: 1001;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: perspective(1000px) rotateX(-20deg) translateY(-10px);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
}

.cart-wrapper:hover .minicart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

.minicart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.minicart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-background);
}

.minicart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.minicart-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    flex-shrink: 0;
}

.minicart-info {
    flex: 1;
}

.minicart-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--color-primary);
}

.minicart-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.minicart-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
}

.minicart-summary {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
}

.minicart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-full {
    width: 100%;
    padding: 10px !important;
    font-size: 0.85rem !important;
}

/* Nav */
.main-nav {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item a {
    display: block;
    padding: 16px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-secondary);
    position: relative;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--color-accent);
}

.category-trigger>a {
    background: var(--color-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 4px 4px 0 0;
    /* Tab look if needed, or just block */
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-trigger>a:hover {
    color: white;
    background: var(--color-text);
    /* Slightly lighter black */
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 20px;
    width: calc(100% - 40px);
    background: white;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 30px;
    display: block;
    /* Always block to allow transition */
    opacity: 0;
    visibility: hidden;
    transform: perspective(1000px) rotateX(-15deg) translateY(-10px);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

@media (min-width: 1025px) {
    .category-trigger:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: perspective(1000px) rotateX(0deg) translateY(0);
    }
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
}

.mega-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.mega-col ul li {
    margin-bottom: 12px;
}

.mega-col ul li a {
    padding: 0 !important;
    font-size: 0.95rem;
    color: var(--color-text);
}

.mega-col ul li a:hover {
    color: var(--color-accent);
}

.mega-promo {
    display: flex;
}

.promo-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.promo-overlay span {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.promo-overlay p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-mini-white {
    background: white;
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-mini-white:hover {
    background: var(--color-accent);
    color: white;
}

/* Hero Section */
.hero {
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #fce7f3;
    /* soft pink fallback */
    background-image: url('../images/cosmetic-hero.png');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.hero-content {
    max-width: 550px;
}

.badge-new {
    display: inline-block;
    background: var(--color-primary);
    /* luxury black/slate */
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    /* sharper edges for luxury feel */
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    /* thinner weight for elegance */
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-family: 'Outfit', sans-serif;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
}

/* Brand Slider */
.brand-section {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.brand-slider {
    display: flex;
    width: max-content;
    animation: scrollBrands 96s linear infinite;
}

.brand-section:hover .brand-slider {
    animation-play-state: paused;
}

.brand-item {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    margin: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: white;
}

.brand-item:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Features */
.features {
    background: white;
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.feature-card .icon-box {
    font-size: 2rem;
    color: var(--color-accent);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Products */
.products-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.link-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-accent);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: shadow 0.2s;
    position: relative;
    border: 1px solid var(--color-border);
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.product-card:hover .placeholder-img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.badge-new {
    background: var(--color-accent);
}

.badge-sale {
    background: var(--color-danger);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    transition: bottom 0.3s ease;
    z-index: 20;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-actions button:hover {
    background: var(--color-accent);
    color: white;
}

.product-card .product-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

/* Category Visual Grid */
.category-v-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.cat-v-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    color: white;
}

.cat-v-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: background 0.3s;
}

.cat-v-card:hover .overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.cat-v-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cat-v-card .btn-text {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonial-section {
    background: #f8fafc;
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}



.testimonial-card .stars {
    color: var(--color-warning);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.testimonial-card .user {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Insta Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.insta-item {
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.insta-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.insta-item:hover i {
    opacity: 1;
}

.insta-item:hover img {
    filter: brightness(0.7);
    transform: scale(1.1);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

/* High Impact Newsletter */
.newsletter-banner {
    background: var(--color-primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    opacity: 0.8;
    margin-bottom: 30px;
}

.newsletter-box {
    display: flex;
    gap: 10px;
}

.newsletter-box input {
    flex: 1;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 1rem;
}

.newsletter-box .btn {
    padding: 15px 30px;
}

/* Banner */
.promo-banner {
    background: url('../images/banner-bg.jpg') no-repeat center;
    background-color: var(--color-primary);
    /* fallback */
    color: white;
    text-align: center;
    padding: 80px 0;
    margin: 60px 0;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    background: var(--color-primary);
    color: #e2e8f0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: white;
    text-decoration: underline;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.socials a:hover {
    background: var(--color-accent);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    border: none;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #cbd5e1;
}

/* PRODUCT PAGE SPECIFIC */

.breadcrumbs {
    padding: 20px 0;
    background: var(--color-background);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.thumbnails {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb.active {
    border-color: var(--color-accent);
}

.product-title-large {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rating {
    color: var(--color-warning);
}

.rating span {
    color: var(--color-text-light);
    margin-left: 5px;
    font-size: 0.9rem;
}

.sku {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.short-desc {
    margin-bottom: 30px;
    color: var(--color-secondary);
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    cursor: pointer;
    padding: 0;
    position: relative;
}

.swatch.active {
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.swatch.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid white;
    border-radius: 50%;
    box-sizing: border-box;
}

.add-to-cart-area {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.qty-selector {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.qty-selector button {
    width: 40px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
}

.btn-large {
    flex: 1;
    font-size: 1.1rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.product-extra-info .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-success);
    font-weight: 500;
}

/* Variation Table Concept */
.variation-table-section {
    background: white;
}

.variation-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.variation-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.variation-table th,
.variation-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.variation-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--color-secondary);
}

.variation-table tr:last-child td {
    border-bottom: none;
}

.var-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.stock-status {
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-status.in-stock {
    color: var(--color-success);
}

.stock-status.low-stock {
    color: var(--color-warning);
}

.qty-mini input {
    width: 50px;
    padding: 5px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.btn-mini {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: none;
    background: var(--color-accent);
    color: white;
    cursor: pointer;
}

/* Tabs */
.tab-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 30px;
}

.tab-nav button {
    background: none;
    border: none;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-light);
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.tab-nav button.active {
    color: var(--color-primary);
}

.tab-nav button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

/* Sticky Bar */
.sticky-product-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 900;
    transition: bottom 0.3s ease;
    padding: 10px 0;
}

.sticky-product-bar.visible {
    bottom: 0;
}

.bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.bar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bar-actions .price {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: 1fr auto;
        gap: 20px;
    }

    .search-bar,
    .nav-item {
        display: none;
        /* simplified for concept mobile */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-items {
    padding: 24px;
}

.cart-item-row {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.cart-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-thumb {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.cart-details {
    flex: 1;
}

.cart-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.cart-meta {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.remove-link {
    font-size: 0.9rem;
    color: var(--color-danger);
    cursor: pointer;
}

.remove-link:hover {
    text-decoration: underline;
}

.cart-summary {
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
}

/* Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}



.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.step-title.completed .step-number {
    background: var(--color-success);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.payment-methods {
    display: grid;
    gap: 15px;
}

.payment-method-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method-card:hover {
    border-color: var(--color-accent);
    background: #f8fafc;
}

.payment-method-card.active {
    border-color: var(--color-accent);
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.pm-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.payment-method-card.active .pm-radio {
    border-color: var(--color-accent);
}

.payment-method-card.active .pm-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
}

.pm-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    color: var(--color-secondary);
}

.pm-label {
    font-weight: 500;
}

/* Animation for Cart Bump */
@keyframes bump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.bump {
    animation: bump 0.3s ease-out;
}

/* Active Category Filter */
.cat-link.active-filter {
    font-weight: 700;
    color: var(--color-accent) !important;
}

/* Extracted Utility Classes */
.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-14 {
    gap: 14px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.gap-40 {
    gap: 40px;
}

.gap-50 {
    gap: 50px;
}

.gap-60 {
    gap: 60px;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: 4px;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.p-0 {
    padding: 0 !important;
}

.p-6 {
    padding: 6px;
}

.p-8 {
    padding: 8px;
}

.p-10 {
    padding: 10px;
}

.p-12 {
    padding: 12px;
}

.p-15 {
    padding: 15px;
}

.p-16 {
    padding: 16px;
}

.p-20 {
    padding: 20px;
}

.p-25 {
    padding: 25px;
}

.p-30 {
    padding: 30px;
}

.p-40 {
    padding: 40px;
}

.px-6 {
    padding-left: 6px;
    padding-right: 6px;
}

.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.px-16 {
    padding-left: 16px;
    padding-right: 16px;
}

.py-8 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-12 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-16 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.pt-20 {
    padding-top: 20px !important;
}

.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-24 {
    width: 24px;
}

.w-40 {
    width: 40px;
}

.w-50 {
    width: 50px;
}

.w-70 {
    width: 70px;
}

.h-24 {
    height: 24px;
}

.h-40 {
    height: 40px;
}

.h-full {
    height: 100%;
}

.min-h-checkout {
    min-height: calc(100vh - 60px);
}

.max-w-600 {
    max-width: 600px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-900 {
    max-width: 900px;
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--color-text-light);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.text-success {
    color: var(--color-success);
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-normal {
    font-weight: 400;
}

.font-small {
    font-size: 0.8rem;
}

.font-9 {
    font-size: 0.9rem;
}

.font-95 {
    font-size: 0.95rem;
}

.font-15 {
    font-size: 1.5rem;
}

.font-2 {
    font-size: 2rem;
}

.font-25 {
    font-size: 2.5rem;
}

.border-none {
    border: none !important;
}

.border-thin {
    border: 1px solid var(--color-border);
}

.m-0 {
    margin: 0 !important;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-surface {
    background-color: var(--color-surface);
}

.bg-background {
    background-color: var(--color-background);
}

.bg-f8fafc {
    background-color: #f8fafc;
}

.bg-white {
    background-color: white;
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: 999px;
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-y-auto {
    overflow-y: auto;
}

.list-none {
    list-style: none;
}

.no-underline {
    text-decoration: none;
}

.underline {
    text-decoration: underline;
}

.sticky-top-20 {
    position: sticky;
    top: 20px;
}

/* Page Specific Extracted Classes */
.catalog-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.catalog-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.results-count {
    color: var(--color-text-light);
    font-weight: 500;
}

@media (max-width: 640px) {
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-header .select-wrapper,
    .catalog-header .sort-select {
        width: 100%;
    }
}

.brand-suggestion-tag {
    background: #f3f4f6;
    border: 1px solid #e2e3e7;
    border-radius: 999px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.brand-suggestion-close {
    color: #999;
    text-decoration: none;
    font-weight: bold;
}

.brand-suggestion-close:hover {
    color: var(--color-danger);
}

.minimal-header-h {
    height: 60px;
}

.minimal-footer {
    padding: 40px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.swatch-all-colors {
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
    border: 1px solid #ccc;
}

.textarea-contact {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
}

/* Login Grid System */
.login-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

@media (min-width: 768px) {
    .login-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Missing Button Style */
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline-primary:hover {
    background: var(--color-accent);
    color: white;
}