/* =======================================================
   AURA E-COMMERCE PLATFORM — SHOP & COMMERCE STYLES
   ======================================================= */

/* Product Cards Common Container */
.product-card {
    background: var(--theme-card-bg, #ffffff);
    border-radius: var(--theme-radius, 8px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-thumb-wrap {
    position: relative;
    aspect-ratio: 1 / 1.15;
    background: #f1f5f9;
    overflow: hidden;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-thumb {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-actions-floating {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.btn-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.btn-icon-circle:hover {
    background: var(--theme-primary, #0f172a);
    color: #ffffff;
    transform: scale(1.1);
}

.btn-icon-circle.is-wishlisted {
    background: #ef4444;
    color: #ffffff;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--theme-secondary, #64748b);
    margin-bottom: 4px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--theme-text, #0f172a);
    margin-bottom: 6px;
    line-height: 1.35;
}

.product-title a:hover {
    color: var(--theme-accent, #0284c7);
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 8px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-primary, #0f172a);
}

.price-original {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-discount-tag {
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    padding: 1px 6px;
    border-radius: 4px;
}

/* Shop Layout with Sidebar Filters */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    padding: 40px 0 80px;
}

.shop-sidebar {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    height: fit-content;
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.filter-link:hover, .filter-link.is-active {
    color: var(--theme-primary, #0f172a);
    font-weight: 600;
}

.filter-badge-count {
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Shop Controls Bar */
.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-count {
    font-size: 14px;
    color: #64748b;
}

.shop-sort-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 14px;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0 80px;
}

.gallery-main-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    aspect-ratio: 1 / 1.1;
    margin-bottom: 16px;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f1f5f9;
}

.thumb-item.is-active {
    border-color: var(--theme-primary, #0f172a);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}

.detail-price-box {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 18px 0;
}

.detail-price-main {
    font-size: 28px;
    font-weight: 800;
    color: var(--theme-primary, #0f172a);
}

.detail-price-del {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
}

.variant-selector-group {
    margin: 24px 0;
}

.variant-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
}

.variant-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-pill-label {
    cursor: pointer;
}

.variant-pill-label input {
    display: none;
}

.variant-pill-label span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.variant-pill-label input:checked + span {
    border-color: var(--theme-primary, #0f172a);
    background: var(--theme-primary, #0f172a);
    color: #ffffff;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.stepper-btn {
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border: none;
}

.stepper-input {
    width: 50px;
    height: 44px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Cart & Checkout */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.cart-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
}

.order-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
}

.summary-total {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-top: 1px solid #cbd5e1;
    padding-top: 14px;
    margin-top: 14px;
}

/* ==========================================================================
   UNIVERSAL ABOUT & ATELIER PAGE STYLES
   ========================================================================== */
.about-page-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
}
.about-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 32px;
}
.about-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
}
.about-breadcrumbs .sep {
    color: #cbd5e1;
}
.about-breadcrumbs .current {
    color: #1e293b;
    font-weight: 600;
}
.about-hero-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 52px;
}
.about-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #fee2e2;
    color: #dc2626;
    margin-bottom: 16px;
}
.about-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 16px;
}
.about-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}
.about-editorial-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16 / 9;
}
.about-atelier-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
    color: #ffffff;
    padding: 24px 30px;
    font-size: 13.5px;
    font-weight: 600;
}
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}
.about-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.about-pillar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.about-pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}
.about-pillar-text {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}
.about-cta-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 56px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.about-cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
}
.about-cta-desc {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0 0 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.btn-about-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: #ffffff;
    padding: 13px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-about-shop:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-title {
        font-size: 32px;
    }
    .about-cta-box {
        padding: 36px 20px;
    }
}
