/* =============================================================================
   Ceramics & Marble Public — Professional Design System
   ============================================================================= */

/* --- Design Tokens -------------------------------------------------------- */
:root {
    --color-primary:        #8b7355;   /* warm stone brown */
    --color-primary-dark:   #6f5a41;
    --color-primary-light:  #f5f0e8;
    --color-primary-soft:   #ede6d8;
    --color-accent:         #2d5a54;   /* deep teal - marble vein */
    --color-accent-dark:    #1f423d;
    --color-accent-light:   #e8efee;
    --color-gold:           #c9a227;
    --color-success:        #2f8f63;
    --color-warning:        #d97706;
    --color-danger:         #dc2626;
    --color-text:           #1f2937;
    --color-text-secondary: #4b5563;
    --color-text-muted:     #6b7280;
    --color-text-subtle:    #9ca3af;
    --color-border:         #e5e7eb;
    --color-border-light:   #f1f1ef;
    --color-bg:             #ffffff;
    --color-surface:        #ffffff;
    --color-surface-alt:    #faf8f4;
    --color-dark:           #14110d;
    --color-dark-soft:      #1f1a14;
    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    22px;
    --radius-xl:    30px;
    --shadow-sm:    0 1px 3px rgba(20, 17, 13, 0.06), 0 1px 2px rgba(20, 17, 13, 0.04);
    --shadow-md:    0 6px 16px -4px rgba(20, 17, 13, 0.12), 0 2px 6px -2px rgba(20, 17, 13, 0.06);
    --shadow-lg:    0 20px 50px -12px rgba(20, 17, 13, 0.22);
    --shadow-gold:  0 8px 30px -8px rgba(201, 162, 39, 0.4);
    --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --gradient-dark: linear-gradient(140deg, #1f1a14 0%, #2d2418 55%, #14110d 100%);
    --gradient-primary: linear-gradient(135deg, #8b7355 0%, #6f5a41 100%);
}

/* --- Reset & Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
::selection { background: var(--color-primary); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-size: 0.9rem; font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.82rem; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 6px 18px -6px rgba(139, 115, 85, 0.5); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px -8px rgba(139, 115, 85, 0.6); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-text-secondary); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); }
.btn-dark { background: var(--color-dark); color: #fff; }
.btn-dark:hover { background: var(--color-dark-soft); color: #fff; }
.btn-light { background: #fff; color: var(--color-text); }
.btn-light:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }
.btn-gold {
    background: linear-gradient(135deg, #d4a72c 0%, #b08a1e 100%);
    color: #fff; box-shadow: var(--shadow-gold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-gold:hover {
    color: #fff; box-shadow: 0 12px 30px -8px rgba(201, 162, 39, 0.55);
    background: linear-gradient(135deg, #e0b235 0%, #c09a22 100%);
}
.nav-cta .btn {
    padding: 0.55rem 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.nav-cta.nav-admin .btn {
    width: 40px; height: 40px;
    padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
}
.nav-cta.nav-admin .btn svg { display: block; }

/* --- Header --------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 1px 0 rgba(20, 17, 13, 0.02);
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(20, 17, 13, 0.08);
    border-bottom-color: var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; transition: padding var(--transition); }
.site-header.scrolled .header-inner { padding: 0.7rem 0; }
.site-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--color-text); }
.site-logo:hover { color: var(--color-text); }
.site-logo img { height: 44px; width: auto; transition: height var(--transition); }
.site-header.scrolled .site-logo img { height: 36px; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--gradient-dark);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--color-gold); font-size: 1.2rem;
    transition: width var(--transition), height var(--transition);
}
.site-header.scrolled .logo-mark { width: 36px; height: 36px; }
.main-nav ul { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
    color: var(--color-text-secondary); font-weight: 500; font-size: 0.92rem;
    transition: color var(--transition); position: relative; padding: 0.35rem 0;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--color-primary);
    transition: width var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: var(--color-primary-dark); text-decoration: none; }
.nav-cta { margin-left: 0.5rem; }
.mobile-toggle {
    display: none; background: none; border: 1px solid var(--color-border);
    width: 42px; height: 42px; border-radius: 10px;
    font-size: 1.3rem; cursor: pointer; color: var(--color-text);
    align-items: center; justify-content: center;
}
.mobile-toggle:hover { background: var(--color-surface-alt); }

/* --- Hero Slider ---------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 560px;
    background: var(--gradient-dark);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0;
    background-size: cover; background-position: center;
    transition: opacity 1s ease;
    z-index: 1;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,17,13,0.55) 0%, rgba(20,17,13,0.25) 50%, rgba(20,17,13,0.1) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    min-height: 560px;
    padding-bottom: 6rem;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--color-gold); font-weight: 600; margin-bottom: 1rem;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--color-gold); }
.hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.1; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 460px; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.hero .btn-light { background: #fff; color: var(--color-text); border: 1px solid rgba(255,255,255,0.3); }
.hero .btn-light:hover { background: #f5f0e8; color: var(--color-primary-dark); }
.hero-slider-nav {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem; z-index: 3;
}
.hero-slider-dot {
    width: 10px; height: 10px; border-radius: 999px;
    background: rgba(255,255,255,0.3); border: none; cursor: pointer;
    transition: all var(--transition);
}
.hero-slider-dot.active { background: var(--color-gold); width: 28px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--color-gold); border-color: var(--color-gold); }
.hero-arrow-prev { left: 2rem; }
.hero-arrow-next { right: 2rem; }

/* --- Search Bar ----------------------------------------------------------- */
.search-strip { padding: 2.5rem 0; margin-top: -2.5rem; position: relative; z-index: 10; }
.search-card {
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 1.5rem;
    display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
    border: 1px solid var(--color-border-light);
}
.search-card h3 { font-size: 1rem; color: var(--color-text); margin-right: 0.5rem; min-width: 120px; }
.search-card select, .search-card input {
    padding: 0.75rem 1rem; border: 1px solid var(--color-border);
    border-radius: 10px; font-size: 0.9rem; background: var(--color-surface);
    flex: 1; min-width: 150px; color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.search-card select:focus, .search-card input:focus {
    outline: none; border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.12);
}

/* --- Section Headers ------------------------------------------------------ */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-surface-alt); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--color-primary); font-weight: 600; margin-bottom: 0.85rem;
}
.section-title { font-size: 2.4rem; font-weight: 700; margin-bottom: 0.85rem; color: var(--color-text); letter-spacing: -0.02em; }
.section-subtitle { color: var(--color-text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-head-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 2.5rem; gap: 1rem; flex-wrap: wrap;
}
.section-head-row .section-title { margin-bottom: 0; }

/* --- Product Cards -------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px -16px rgba(20, 17, 13, 0.18);
    border-color: var(--color-border);
}
.product-card-image {
    aspect-ratio: 4/3; overflow: hidden; background: var(--color-surface-alt);
    position: relative;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .product-card-image img { transform: scale(1.1); }
.product-card-badges { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; gap: 0.4rem; z-index: 2; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.28rem 0.7rem; border-radius: 999px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}
.badge-featured { background: rgba(201, 162, 39, 0.92); color: #fff; }
.badge-top { background: rgba(45, 90, 84, 0.92); color: #fff; }
.product-card-body { padding: 1.35rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card-category {
    font-size: 0.72rem; color: var(--color-primary); text-transform: uppercase;
    letter-spacing: 0.1em; font-weight: 600; margin-bottom: 0.4rem;
}
.product-card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; font-family: var(--font-body); }
.product-card-title a { color: var(--color-text); }
.product-card-title a:hover { color: var(--color-primary-dark); text-decoration: none; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.85rem; }
.product-card-price { font-size: 1.2rem; font-weight: 700; color: var(--color-primary-dark); font-family: var(--font-heading); }
.product-card-link { font-size: 0.8rem; font-weight: 600; color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.3rem; transition: all var(--transition); }
.product-card-link:hover { color: var(--color-accent-dark); transform: translateX(3px); }

/* --- Page Hero (inner pages) ---------------------------------------------- */
.page-hero {
    background: var(--gradient-dark);
    color: #fff; padding: 5rem 0 4rem;
    position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(201,162,39,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(45,90,84,0.18) 0%, transparent 45%);
}
.page-hero h1 { font-size: 2.6rem; font-weight: 700; position: relative; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 520px; margin: 0.75rem auto 0; position: relative; }
.breadcrumb-nav {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; position: relative;
}
.breadcrumb-nav a { color: var(--color-gold); }
.breadcrumb-nav .sep { opacity: 0.5; }

/* --- Listing / Filters ---------------------------------------------------- */
.listing-section { padding: 3rem 0 5rem; }
.filters-bar {
    display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center;
    margin-bottom: 2rem; padding: 1.1rem 1.25rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}
.filters-bar select, .filters-bar input {
    padding: 0.6rem 0.85rem; border: 1px solid var(--color-border);
    border-radius: 10px; font-size: 0.88rem; background: var(--color-surface);
    color: var(--color-text); transition: border-color var(--transition), box-shadow var(--transition);
}
.filters-bar select:focus, .filters-bar input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139,115,85,0.1); }
.filters-bar label { font-weight: 500; font-size: 0.85rem; color: var(--color-text-muted); }
.filter-group { display: flex; align-items: center; gap: 0.4rem; }

/* --- Category Tabs -------------------------------------------------------- */
.category-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.category-tab {
    padding: 0.55rem 1.25rem; border-radius: 999px;
    border: 1px solid var(--color-border); background: var(--color-surface);
    color: var(--color-text-secondary); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.category-tab:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.category-tab.active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: 0 4px 12px -4px rgba(139,115,85,0.4); }

/* --- Product Details ------------------------------------------------------ */
.product-detail { padding: 3.5rem 0; }
.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
    border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem;
    background: var(--color-surface-alt); aspect-ratio: 4/3; position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 0.6rem; }
.gallery-thumb {
    width: 78px; height: 78px; border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; border: 2px solid transparent; opacity: 0.55;
    transition: all var(--transition); background: var(--color-surface-alt);
}
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--color-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* --- Lightbox Zoom -------------------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15, 13, 10, 0.92);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: zoom-out;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 92vw; max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.25s ease;
    background: #fff;
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 1.25rem; right: 1.5rem;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.lightbox-close:hover { background: var(--color-gold); border-color: var(--color-gold); transform: rotate(90deg); }
.product-info .product-category { font-size: 0.78rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 0.6rem; }
.product-info h1 { font-size: 2.1rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.2; }
.product-info .price-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.product-info .price { font-size: 1.9rem; font-weight: 700; color: var(--color-primary-dark); font-family: var(--font-heading); }
.product-info .meta { color: var(--color-text-muted); margin-bottom: 1.5rem; font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.product-info .meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.product-description { margin-bottom: 2rem; }
.product-description h3 { font-size: 1.1rem; margin-bottom: 0.85rem; }
.product-description { line-height: 1.85; color: var(--color-text-secondary); }

/* --- Request Form --------------------------------------------------------- */
.request-form {
    background: var(--color-surface-alt);
    padding: 1.75rem; border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}
.request-form h3 { font-size: 1.2rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.request-form .form-group { margin-bottom: 0.9rem; }
.request-form label { display: block; font-weight: 500; margin-bottom: 0.3rem; font-size: 0.88rem; color: var(--color-text-secondary); }
.request-form label .required { color: var(--color-danger); }
.request-form input, .request-form textarea {
    width: 100%; padding: 0.65rem 0.9rem;
    border: 1px solid var(--color-border); border-radius: 10px;
    font-size: 0.9rem; transition: all var(--transition); background: var(--color-surface);
}
.request-form input:focus, .request-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139,115,85,0.1); }
.request-form textarea { min-height: 90px; resize: vertical; }
.request-form button { width: 100%; margin-top: 0.5rem; }
.request-form button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* --- Related Products ----------------------------------------------------- */
.related-section { background: var(--color-surface-alt); padding: 4rem 0; }

/* --- About Page ----------------------------------------------------------- */
.about-content { padding: 4rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 4rem; }
.about-grid .about-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-grid .about-text p { color: var(--color-text-secondary); margin-bottom: 1rem; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-values { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--color-border-light); }
.about-values .section-header { margin-bottom: 2.25rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 0; }
.value-card {
    background: var(--color-surface); border-radius: var(--radius-md);
    padding: 1.75rem; border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm); text-align: center;
    transition: all var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-border); }
.value-icon {
    width: 56px; height: 56px; margin: 0 auto 1rem;
    border-radius: 16px; background: var(--color-primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--color-primary);
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.value-card-body { font-size: 0.92rem; color: var(--color-text-secondary); line-height: 1.7; text-align: left; }
.value-card-body p { font-size: 0.92rem; color: var(--color-text-secondary); margin-bottom: 0.75rem; }
.value-card-body p:last-child { margin-bottom: 0; }
.value-card-body strong { color: var(--color-text); font-weight: 600; }
.value-card-body ul, .value-card-body ol { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.value-card-body li { font-size: 0.92rem; color: var(--color-text-secondary); margin-bottom: 0.3rem; }
.value-card-body ul { list-style: disc; }
.value-card-body ol { list-style: decimal; }
.value-card-body a { color: var(--color-primary); text-decoration: underline; }
.about-block { margin-bottom: 3rem; }
.about-block h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.about-block .about-block-body { line-height: 1.85; color: var(--color-text-secondary); }
.about-block .about-block-body p { margin-bottom: 1rem; }

/* --- Blog ----------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.75rem; }
.blog-card {
    background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--color-border-light);
    transition: all var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-border); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--color-surface-alt); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: 0.78rem; color: var(--color-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.blog-card-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; font-family: var(--font-body); }
.blog-card-title a { color: var(--color-text); }
.blog-card-title a:hover { color: var(--color-primary-dark); text-decoration: none; }
.blog-card-excerpt { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; flex: 1; }
.blog-card-link { font-size: 0.85rem; font-weight: 600; color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-card-link:hover { color: var(--color-accent-dark); }
.blog-detail { max-width: 820px; margin: 0 auto; padding: 3.5rem 0; }
.blog-detail h1 { font-size: 2.3rem; margin-bottom: 0.75rem; line-height: 1.2; }
.blog-detail .meta { color: var(--color-text-muted); margin-bottom: 2rem; font-size: 0.9rem; display: flex; gap: 1rem; }
.blog-detail .featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow-md); }
.blog-detail .content { line-height: 1.9; font-size: 1.02rem; color: var(--color-text-secondary); }
.blog-detail .content img { border-radius: var(--radius-md); margin: 1.5rem 0; max-width: 100%; }
.blog-detail .content h2, .blog-detail .content h3 { margin: 1.5rem 0 0.75rem; color: var(--color-text); }
.blog-detail .content p { margin-bottom: 1.25rem; }

/* --- Contact -------------------------------------------------------------- */
.contact-section { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; }
.contact-form-wrap { background: var(--color-surface); padding: 2.25rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); box-shadow: var(--shadow-sm); }
.contact-form-wrap h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--color-text-muted); margin-bottom: 1.5rem; font-size: 0.92rem; }
.contact-form-wrap .form-group { margin-bottom: 1rem; }
.contact-form-wrap label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.88rem; color: var(--color-text-secondary); }
.contact-form-wrap label .required { color: var(--color-danger); }
.contact-form-wrap input, .contact-form-wrap textarea {
    width: 100%; padding: 0.7rem 0.95rem;
    border: 1px solid var(--color-border); border-radius: 10px;
    font-size: 0.92rem; transition: all var(--transition);
}
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139,115,85,0.1); }
.contact-form-wrap textarea { min-height: 130px; resize: vertical; }
.form-message { padding: 0.85rem 1.1rem; border-radius: 10px; margin-top: 1rem; font-size: 0.9rem; font-weight: 500; }
.form-message.success { background: #e7f4ec; color: #1e6f4d; border: 1px solid #bfe3cd; }
.form-message.error { background: #fdecec; color: #a11f1f; border: 1px solid #f6caca; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--color-border-light); box-shadow: var(--shadow-sm); }
.contact-info-card h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.contact-info-item { display: flex; gap: 0.85rem; margin-bottom: 1.15rem; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item .icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    background: var(--color-primary-light); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.contact-info-item .text { color: var(--color-text-secondary); font-size: 0.92rem; line-height: 1.5; }
.contact-info-item .text strong { display: block; color: var(--color-text); font-size: 0.85rem; }
.social-links { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.social-links a {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--color-surface-alt); color: var(--color-text-secondary);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition); border: 1px solid var(--color-border-light);
    padding: 9px;
}
.social-links a svg {
    width: 100%; height: 100%; display: block;
}
.social-links a:hover { background: var(--color-primary); color: #fff; text-decoration: none; transform: translateY(-2px); border-color: var(--color-primary); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--color-dark); color: #a8a096; padding: 4.5rem 0 0; position: relative; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .site-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.footer-links a { display: block; color: #a8a096; font-size: 0.88rem; margin-bottom: 0.5rem; transition: all var(--transition); }
.footer-links a:hover { color: var(--color-gold); padding-left: 4px; text-decoration: none; }
.footer-contact p { display: flex; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.88rem; align-items: flex-start; }
.footer-contact .icon { color: var(--color-gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0;
    text-align: center; font-size: 0.82rem; color: #7a7268;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom-right { display: flex; align-items: center; gap: 1rem; }
.back-to-top {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    color: #a8a096; font-size: 0.82rem; padding: 0.45rem 1rem;
    border-radius: 999px; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
}
.back-to-top:hover { background: var(--color-gold); color: #fff; border-color: var(--color-gold); text-decoration: none; }
.back-to-top-arrow { display: inline-block; font-size: 0.9rem; transition: transform var(--transition); }
.back-to-top:hover .back-to-top-arrow { transform: translateY(-2px); }

/* --- Alerts --------------------------------------------------------------- */
.alert { padding: 0.85rem 1.1rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.alert-success { background: #e7f4ec; color: #1e6f4d; border: 1px solid #bfe3cd; }
.alert-error { background: #fdecec; color: #a11f1f; border: 1px solid #f6caca; }
.alert-warning { background: #fef7e7; color: #92580c; border: 1px solid #f9e4b4; }

/* --- Pagination ----------------------------------------------------------- */
.pagination-wrap {
    display: flex; flex-direction: column; align-items: center;
    gap: 0.6rem; margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light); width: 100%;
}
.pagination-info {
    font-size: 0.8rem; color: var(--color-text-muted); font-weight: 500;
    background: var(--color-surface-alt); padding: 0.35rem 0.9rem;
    border-radius: 999px; border: 1px solid var(--color-border-light);
}
.pagination {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 0.35rem;
    list-style: none; padding: 0; margin: 0; max-width: 100%;
}
.pagination li { flex-shrink: 0; }
.pagination .page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.4rem; height: 2.4rem; padding: 0 0.6rem;
    border-radius: 10px; border: 1px solid var(--color-border);
    background: var(--color-surface); color: var(--color-text-secondary);
    font-size: 0.88rem; font-weight: 500;
    transition: all var(--transition);
}
.pagination .page-link:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-light); }
.pagination .page-link-active { background: var(--gradient-primary); border-color: transparent; color: #fff; font-weight: 600; cursor: default; box-shadow: 0 4px 12px -4px rgba(139,115,85,0.5); }
.pagination .page-link-active:hover { background: var(--gradient-primary); color: #fff; }
.pagination .page-link-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; background: var(--color-surface-alt); }
.pagination .pagination-ellipsis { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 2.4rem; color: var(--color-text-muted); font-size: 0.9rem; user-select: none; }

/* --- Toast / Misc --------------------------------------------------------- */
#toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 99999; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
#toast-container .alert { pointer-events: auto; animation: slideInRight 0.3s ease; box-shadow: var(--shadow-lg); min-width: 260px; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.empty-state { text-align: center; padding: 4rem 1.5rem; color: var(--color-text-muted); }
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.3; }
.empty-state p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn .spinner { width: 16px; height: 16px; border-width: 2px; }
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s; }
img[loading="lazy"].loaded { opacity: 1; }
.skeleton { background: linear-gradient(90deg, #f1f1ef 25%, #e5e3de 50%, #f1f1ef 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Scroll Animations ---------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* --- Button Press Effect --------------------------------------------------- */
.btn:active, .social-links a:active, .category-tab:active {
    transform: scale(0.96);
    transition-duration: 0.1s;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 992px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-gallery { position: static; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--color-surface); padding: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md); flex-direction: column; gap: 0.25rem;
    }
    .main-nav ul.active { display: flex; }
    .main-nav ul li { width: 100%; }
    .main-nav a { display: block; padding: 0.7rem 0.5rem; border-radius: 8px; }
    .main-nav a::after { display: none; }
    .nav-cta { margin-left: 0; margin-top: 0.5rem; }
    .nav-cta .btn { display: flex; width: 100%; justify-content: center; }
    .nav-cta.nav-admin .btn { width: 40px; height: 40px; }
    .mobile-toggle { display: inline-flex; }
    .hero { min-height: 520px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-content { min-height: 520px; padding-bottom: 5rem; }
    .hero-arrow { display: none; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.7rem; }
    .page-hero { padding: 3.5rem 0; }
    .page-hero h1 { font-size: 1.9rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .search-card { flex-direction: column; align-items: stretch; }
    .search-card h3 { min-width: 0; }
    .blog-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
    .filters-bar { flex-direction: column; align-items: stretch; }
    .product-card-title { font-size: 1rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .product-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
}
