:root {
    --bp-gold: #c9a227;
    --bp-gold-light: #e8d48b;
    --bp-gold-dark: #9a7b1a;
    --bp-silver: #b8b8b8;
    --bp-silver-light: #e8e8e8;
    --bp-chrome: linear-gradient(135deg, #f5f5f5 0%, #d4d4d4 50%, #f0f0f0 100%);
    --bp-text: #1a1a1a;
    --bp-text-muted: #666;
    --bp-white: #ffffff;
    --bp-border: #e0e0e0;
    --font-display: 'Cormorant Garamond', 'Noto Sans Thai', serif;
    --font-body: 'Noto Sans Thai', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--bp-text);
    background: var(--bp-white);
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--bp-gold);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 9999;
}
.skip-link:focus { top: 0; }

/* Header */
.top-bar {
    background: var(--bp-chrome);
    border-bottom: 1px solid var(--bp-border);
    font-size: 0.8rem;
    color: var(--bp-text-muted);
}
.top-bar-brand { color: var(--bp-gold-dark); font-weight: 500; }

.site-header { background: #fff; border-bottom: 1px solid var(--bp-border); }

.main-nav { padding: 0.75rem 0; }

.brand-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--bp-text);
    text-decoration: none;
}
.brand-accent { color: var(--bp-gold); }

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--bp-text) !important;
    padding: 0.5rem 1rem !important;
}
.nav-link:hover, .nav-link.active { color: var(--bp-gold) !important; }

.header-actions .search-form { min-width: 180px; }

.cart-link {
    position: relative;
    color: var(--bp-text);
    font-size: 1.25rem;
    text-decoration: none;
}
.cart-link:hover { color: var(--bp-gold); }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--bp-gold);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--bp-gold-light), var(--bp-gold), var(--bp-gold-dark));
    border: 1px solid var(--bp-gold-dark);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}
.btn-gold:hover, .btn-gold:focus {
    background: linear-gradient(135deg, var(--bp-gold), var(--bp-gold-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-outline-gold {
    border: 1px solid var(--bp-gold);
    color: var(--bp-gold-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    background: transparent;
}
.btn-outline-gold:hover {
    background: var(--bp-gold);
    color: #fff;
    border-color: var(--bp-gold);
}

/* Hero */
.hero-carousel { margin-bottom: 0; }
.hero-slide {
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.3) 100%);
    display: flex;
    align-items: center;
}
.hero-content { max-width: 600px; padding: 2rem 0; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--bp-text);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--bp-text-muted);
    margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
    width: 40px;
    height: 3px;
    border-radius: 0;
    background-color: var(--bp-silver);
}
.carousel-indicators .active { background-color: var(--bp-gold); }

/* Sections */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--bp-gold), var(--bp-silver));
    margin: 1rem auto 0;
}
.bg-light-subtle { background: #fafafa; }

.page-header {
    background: var(--bp-chrome);
    border-bottom: 1px solid var(--bp-border);
}
.page-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.page-subtitle { color: var(--bp-text-muted); margin: 0; }

/* Product Cards */
.product-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    transition: all 0.3s ease;
    overflow: hidden;
}
.product-card:hover {
    border-color: var(--bp-gold-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f8f8;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
}
.badge-new { background: var(--bp-gold); color: #fff; }

.product-card-body { padding: 1.25rem; text-align: center; }
.product-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.product-card-desc {
    font-size: 0.85rem;
    color: var(--bp-text-muted);
    margin-bottom: 0.75rem;
}
.product-card-price .price-current,
.product-card-price .price-sale {
    font-weight: 600;
    color: var(--bp-gold-dark);
    font-size: 1rem;
}
.price-original {
    text-decoration: line-through;
    color: var(--bp-text-muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Article Cards */
.article-card {
    background: #fff;
    border: 1px solid var(--bp-border);
    transition: all 0.3s ease;
    overflow: hidden;
}
.article-card:hover {
    border-color: var(--bp-gold-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.article-card-link {
    text-decoration: none;
    color: inherit;
}
.article-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8f8f8;
}
.article-card-horizontal .article-card-image {
    width: 200px;
    aspect-ratio: auto;
    min-height: 160px;
}
.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-card-body { padding: 1.25rem; }
.article-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0.5rem 0;
}
.article-card-excerpt {
    font-size: 0.9rem;
    color: var(--bp-text-muted);
}
.article-card-more {
    font-size: 0.85rem;
    color: var(--bp-gold-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.article-date { font-size: 0.8rem; }

/* Product Detail */
.product-detail-image {
    border: 1px solid var(--bp-border);
    background: #f8f8f8;
}
.product-detail-image img { width: 100%; }
.product-detail-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
}
.price-sale.fs-3 { color: var(--bp-gold-dark); font-weight: 600; }

/* Cart */
.cart-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    border-bottom-width: 2px;
}
.cart-item-image {
    object-fit: cover;
    border: 1px solid var(--bp-border);
}
.checkout-summary {
    background: #fafafa;
    border: 1px solid var(--bp-border);
}

/* Brand Statement */
.section-brand {
    background: var(--bp-chrome);
    border-top: 1px solid var(--bp-border);
    border-bottom: 1px solid var(--bp-border);
}
.brand-statement-th {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--bp-text);
    margin-bottom: 0.5rem;
}
.brand-statement-en {
    font-size: 1rem;
    color: var(--bp-text-muted);
    font-style: italic;
}
.brand-statement-brand {
    margin-top: 1rem;
    color: var(--bp-gold-dark);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--bp-border); }
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}
.footer-desc, .footer-exhibition { font-size: 0.9rem; color: var(--bp-text-muted); }
.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--bp-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--bp-gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--bp-text-muted);
}
.footer-bottom {
    background: #fafafa;
    border-top: 1px solid var(--bp-border);
    font-size: 0.85rem;
    color: var(--bp-text-muted);
}
.footer-brand-line { color: var(--bp-gold-dark); }

/* Success */
.success-icon { font-size: 4rem; }

/* Pagination */
.pagination .page-link {
    color: var(--bp-gold-dark);
    border-color: var(--bp-border);
}
.pagination .page-item.active .page-link {
    background: var(--bp-gold);
    border-color: var(--bp-gold);
}

/* Article Detail */
.article-detail-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    margin-top: 0.5rem;
}
.article-detail-content {
    font-size: 1.05rem;
    line-height: 1.8;
}
.article-detail-content p { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 991.98px) {
    .hero-slide { height: 50vh; min-height: 350px; }
    .article-card-horizontal .article-card-image { width: 100%; min-height: 200px; }
    .header-actions { margin-top: 1rem; width: 100%; }
    .header-actions .search-form { flex: 1; }
}

@media (max-width: 575.98px) {
    .hero-overlay { background: rgba(255,255,255,0.85); }
    .top-bar-text { display: none; }
}

/* WCAG focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--bp-gold);
    outline-offset: 2px;
}
