/* ==========================================================================
   THE FINITE CO. — SHOP, CATEGORIES & PRODUCT DETAIL LUXURY STYLESHEET
   ========================================================================== */

/* Inner Page Hero & Breadcrumbs */
.page-hero-banner {
    position: relative;
    background: #111111;
    color: #ffffff;
    padding: 130px 5% 65px;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: brightness(0.7) contrast(1.1);
    z-index: 1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.92) 100%);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #c5a059;
    text-transform: uppercase;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.page-hero-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff !important;
    margin: 0 0 16px 0;
}

.page-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 24px;
}

.breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.breadcrumb-custom a:hover {
    color: #c5a059;
}

.breadcrumb-custom .active {
    color: #c5a059;
    font-weight: 600;
}


/* ==========================================================================
   CATEGORIES SHOWCASE PAGE
   ========================================================================== */
.categories-section {
    padding: 60px 5% 90px;
    background-color: var(--bg-main, #f9f8f5);
    transition: background 0.35s ease;
}

body.dark-theme .categories-section {
    background-color: #111111;
}

.category-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.cat-pill-btn {
    background: var(--bg-card, #ffffff);
    color: var(--text-title, #111111);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

body.dark-theme .cat-pill-btn {
    background: #1e1e1e;
    color: #f7f6f2;
    border-color: rgba(255, 255, 255, 0.1);
}

.cat-pill-btn:hover,
.cat-pill-btn.active {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

body.dark-theme .cat-pill-btn:hover,
body.dark-theme .cat-pill-btn.active {
    background: #c5a059;
    color: #111111 !important;
    border-color: #c5a059;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
}

.category-card {
    background: var(--bg-card, #ffffff);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

body.dark-theme .category-card {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.14);
    border-color: rgba(197, 160, 89, 0.4);
}

.cat-card-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.cat-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .cat-card-img-wrap img {
    transform: scale(1.08);
}

.cat-card-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.cat-card-body {
    padding: 25px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-title, #111111);
    margin: 0 0 10px 0;
    transition: color 0.25s ease;
}

body.dark-theme .cat-card-title {
    color: #ffffff;
}

.category-card:hover .cat-card-title {
    color: #c5a059 !important;
}

.cat-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-body, #666666);
    margin-bottom: 20px;
    flex: 1;
}

body.dark-theme .cat-card-desc {
    color: #aaaaaa;
}

.cat-card-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-title, #111111);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

body.dark-theme .cat-card-link {
    color: #ffffff;
}

.cat-card-link i {
    transition: transform 0.25s ease;
}

.category-card:hover .cat-card-link {
    color: #c5a059 !important;
}

.category-card:hover .cat-card-link i {
    transform: translateX(5px);
}


/* ==========================================================================
   SHOP / PRODUCTS LISTING PAGE
   ========================================================================== */
.shop-section {
    padding: 50px 5% 90px;
    background-color: var(--bg-main, #f9f8f5);
    transition: background 0.35s ease;
}

body.dark-theme .shop-section {
    background-color: #111111;
}

.shop-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 35px;
}

/* Sidebar Filters */
.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.filter-card {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
}

body.dark-theme .filter-card {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title, #111111);
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-theme .filter-title {
    color: #ffffff;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.filter-list li:last-child {
    margin-bottom: 0;
}

.filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-body, #555555);
    text-decoration: none !important;
    transition: color 0.25s ease;
}

body.dark-theme .filter-list a {
    color: #aaaaaa;
}

.filter-list a:hover,
.filter-list li.active a {
    color: #c5a059 !important;
    font-weight: 600;
}

.filter-count {
    font-size: 12px;
    color: #888888;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 12px;
}

body.dark-theme .filter-count {
    background: rgba(255, 255, 255, 0.08);
    color: #aaaaaa;
}

/* Material Checkboxes */
.checkbox-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-body, #555555);
    cursor: pointer;
}

body.dark-theme .checkbox-item {
    color: #aaaaaa;
}

.checkbox-item input[type="checkbox"] {
    accent-color: #c5a059;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Swatch Color Filter */
.color-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

.color-swatch-btn:hover,
.color-swatch-btn.active {
    transform: scale(1.18);
    border-color: #c5a059;
}

.swatch-gold { background: #c5a059; }
.swatch-onyx { background: #111111; }
.swatch-beige { background: #e3d5c5; }
.swatch-white { background: #ffffff; border-color: #ddd; }
.swatch-emerald { background: #2b4c3f; }
.swatch-wood { background: #8b5a2b; }

/* Price Range Slider */
.price-range-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-range-slider {
    width: 100%;
    accent-color: #c5a059;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-title, #111111);
}

body.dark-theme .price-range-labels {
    color: #ffffff;
}

.btn-filter-apply {
    width: 100%;
    background: #111111;
    color: #ffffff !important;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-filter-apply:hover {
    background: #c5a059;
    color: #111111 !important;
}

/* Shop Main Grid */
.shop-main {
    flex: 1;
}

.shop-top-bar {
    background: var(--bg-card, #ffffff);
    border-radius: 14px;
    padding: 16px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    flex-wrap: wrap;
    gap: 15px;
}

body.dark-theme .shop-top-bar {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
}

.shop-results-count {
    font-size: 14px;
    color: var(--text-body, #666666);
    font-weight: 500;
}

body.dark-theme .shop-results-count {
    color: #aaaaaa;
}

.shop-top-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sort-dropdown-select {
    background: var(--bg-main, #f9f8f5);
    color: var(--text-title, #111111);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

body.dark-theme .sort-dropdown-select {
    background: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.view-toggle-btns {
    display: flex;
    gap: 6px;
}

.view-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.dark-theme .view-btn {
    border-color: rgba(255,255,255,0.15);
    color: #aaaaaa;
}

.view-btn.active,
.view-btn:hover {
    background: #c5a059;
    color: #111111;
    border-color: #c5a059;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
    margin-bottom: 45px;
}

.product-card {
    background: var(--bg-card, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

body.dark-theme .product-card {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
}

.prod-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
    background: #f4f3ef;
}

.prod-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .prod-card-img-wrap img {
    transform: scale(1.08);
}

.prod-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #111111;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.prod-badge.badge-sale {
    background: #c5a059;
    color: #111111;
}

.prod-quick-actions {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .prod-quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #111111;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.quick-action-btn:hover {
    background: #c5a059;
    color: #111111;
    transform: scale(1.1);
}

.prod-card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c5a059;
    margin-bottom: 6px;
}

.prod-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title, #111111);
    margin: 0 0 10px 0;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

body.dark-theme .prod-title {
    color: #ffffff;
}

.prod-title a {
    color: inherit;
    text-decoration: none !important;
}

.product-card:hover .prod-title {
    color: #c5a059 !important;
}

.prod-rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #c5a059;
    margin-bottom: 12px;
}

.prod-rating-count {
    font-size: 12px;
    color: #888888;
    margin-left: 4px;
}

.prod-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-theme .prod-price-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.prod-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title, #111111);
}

body.dark-theme .prod-price {
    color: #ffffff;
}

.prod-old-price {
    font-size: 13px;
    color: #999999;
    text-decoration: line-through;
    margin-left: 6px;
}

.btn-add-cart {
    background: #111111;
    color: #ffffff !important;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-add-cart:hover {
    background: #c5a059;
    color: #111111 !important;
}

/* Custom Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-link-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card, #ffffff);
    color: var(--text-title, #111111);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

body.dark-theme .page-link-btn {
    background: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.page-link-btn:hover,
.page-link-btn.active {
    background: #c5a059;
    color: #111111 !important;
    border-color: #c5a059;
}


/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-section {
    padding: 60px 5% 90px;
    background-color: var(--bg-main, #f9f8f5);
    transition: background 0.35s ease;
}

body.dark-theme .product-detail-section {
    background-color: #111111;
}

.product-detail-container {
    max-width: 1440px;
    margin: 0 auto;
}

.detail-main-row {
    display: flex;
    gap: 50px;
    margin-bottom: 70px;
    align-items: flex-start;
}

/* Gallery Left Column */
.detail-gallery-col {
    flex: 1 1 50%;
    max-width: 640px;
}

.detail-main-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .detail-main-img-wrap {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.detail-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.detail-main-img-wrap:hover img {
    transform: scale(1.04);
}

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

.thumb-item {
    width: 90px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.7;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #c5a059;
    opacity: 1;
    transform: translateY(-2px);
}

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

/* Detail Content Right Column */
.detail-info-col {
    flex: 1 1 50%;
}

.detail-tag-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #c5a059;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.detail-product-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-title, #111111);
    margin: 0 0 16px 0;
}

body.dark-theme .detail-product-title {
    color: #ffffff;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-stars {
    color: #c5a059;
    font-size: 14px;
}

.detail-review-count {
    font-size: 13px;
    color: var(--text-body, #666666);
    font-weight: 500;
}

body.dark-theme .detail-review-count {
    color: #aaaaaa;
}

.detail-price-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-current-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-title, #111111);
}

body.dark-theme .detail-current-price {
    color: #ffffff;
}

.detail-old-price {
    font-size: 18px;
    color: #999999;
    text-decoration: line-through;
}

.stock-status-pill {
    background: rgba(43, 76, 63, 0.12);
    color: #2b4c3f;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.dark-theme .stock-status-pill {
    background: rgba(197, 160, 89, 0.18);
    color: #c5a059;
}

.detail-short-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body, #555555);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 24px;
}

body.dark-theme .detail-short-desc {
    color: #aaaaaa;
    border-bottom-color: rgba(255,255,255,0.1);
}

/* Interactive Options */
.option-group {
    margin-bottom: 24px;
}

.option-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-title, #111111);
    margin-bottom: 10px;
    display: block;
}

body.dark-theme .option-label {
    color: #ffffff;
}

.option-swatches {
    display: flex;
    gap: 10px;
}

.swatch-option-btn {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--bg-card, #ffffff);
    color: var(--text-title, #111111);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.dark-theme .swatch-option-btn {
    background: #1a1a1a;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.swatch-option-btn:hover,
.swatch-option-btn.active {
    background: #c5a059;
    color: #111111 !important;
    border-color: #c5a059;
}

.qty-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.qty-picker-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-card, #ffffff);
}

body.dark-theme .qty-picker-wrap {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.15);
}

.qty-btn {
    width: 40px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-title, #111111);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

body.dark-theme .qty-btn {
    color: #ffffff;
}

.qty-btn:hover {
    background: rgba(197, 160, 89, 0.2);
}

.qty-input {
    width: 45px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-title, #111111);
    background: transparent;
    outline: none;
}

body.dark-theme .qty-input {
    color: #ffffff;
}

.btn-add-to-cart-large {
    flex: 1;
    min-width: 200px;
    background: #111111;
    color: #ffffff !important;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(17, 17, 17, 0.2);
    text-decoration: none !important;
}

.btn-add-to-cart-large:hover {
    background: #c5a059;
    color: #111111 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.35);
}

.btn-quote-large {
    background: #c5a059;
    color: #111111 !important;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
}

.btn-quote-large:hover {
    background: #111111;
    color: #ffffff !important;
}

/* Feature Checkmarks */
.detail-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(0, 0, 0, 0.02);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-theme .detail-highlights {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-title, #111111);
}

body.dark-theme .highlight-item {
    color: #ffffff;
}

.highlight-item i {
    color: #c5a059;
    font-size: 15px;
}

/* Tabs & Accordion Section */
.product-tabs-wrapper {
    background: var(--bg-card, #ffffff);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

body.dark-theme .product-tabs-wrapper {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.nav-tabs-custom {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    padding-bottom: 12px;
}

body.dark-theme .nav-tabs-custom {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.tab-link-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #888888;
    cursor: pointer;
    padding-bottom: 12px;
    position: relative;
    transition: color 0.25s ease;
}

.tab-link-btn:hover,
.tab-link-btn.active {
    color: var(--text-title, #111111);
}

body.dark-theme .tab-link-btn:hover,
body.dark-theme .tab-link-btn.active {
    color: #ffffff;
}

.tab-link-btn.active::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c5a059;
    border-radius: 2px;
}

.tab-content-pane {
    display: none;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body, #555555);
}

body.dark-theme .tab-content-pane {
    color: #aaaaaa;
}

.tab-content-pane.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

body.dark-theme .specs-table td {
    border-bottom-color: rgba(255,255,255,0.08);
}

.specs-table td:first-child {
    font-weight: 700;
    color: var(--text-title, #111111);
    width: 35%;
}

body.dark-theme .specs-table td:first-child {
    color: #ffffff;
}


/* ==========================================================================
   CUSTOM QUOTE & ENQUIRY FORM (NON-WALLPANEL PRODUCTS)
   ========================================================================== */
.enquire-form-card {
    background: var(--bg-card, #ffffff);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    margin-top: 25px;
}

body.dark-theme .enquire-form-card {
    background: #1a1a1a;
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.enquire-form-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-title, #111111);
    margin: 0 0 8px 0;
}

body.dark-theme .enquire-form-title {
    color: #ffffff;
}

.enquire-form-subtitle {
    font-size: 13px;
    color: var(--text-body, #666666);
    margin-bottom: 20px;
}

body.dark-theme .enquire-form-subtitle {
    color: #aaaaaa;
}

.enquire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.enquire-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.enquire-input-wrap.full-width {
    grid-column: span 2;
}

.enquire-input-wrap label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-title, #111111);
}

body.dark-theme .enquire-input-wrap label {
    color: #ffffff;
}

.enquire-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--bg-main, #f9f8f5);
    color: var(--text-title, #111111);
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease;
}

body.dark-theme .enquire-input {
    background: #111111;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.enquire-input:focus {
    border-color: #c5a059;
}

.btn-enquire-submit {
    width: 100%;
    background: #c5a059;
    color: #111111 !important;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
    margin-top: 10px;
}

.btn-enquire-submit:hover {
    background: #111111;
    color: #ffffff !important;
}

body.dark-theme .btn-enquire-submit:hover {
    background: #ffffff;
    color: #111111 !important;
}


/* ==========================================================================
   CART & CHECKOUT PAGES
   ========================================================================== */
.cart-section,
.checkout-section {
    padding: 60px 5% 90px;
    background-color: var(--bg-main, #f9f8f5);
    transition: background 0.35s ease;
}

body.dark-theme .cart-section,
body.dark-theme .checkout-section {
    background-color: #111111;
}

.cart-container,
.checkout-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cart-main-col,
.checkout-main-col {
    flex: 1;
}

.cart-summary-col,
.checkout-order-col {
    width: 400px;
    flex-shrink: 0;
}

/* Cart Table Styling */
.cart-table-card {
    background: var(--bg-card, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

body.dark-theme .cart-table-card {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: rgba(0, 0, 0, 0.02);
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-title, #111111);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme .cart-table th {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: middle;
}

body.dark-theme .cart-table td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

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

.cart-item-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-item-info h4 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title, #111111);
    margin: 0 0 4px 0;
}

body.dark-theme .cart-item-info h4 {
    color: #ffffff;
}

.cart-item-info p {
    font-size: 12px;
    color: #888888;
    margin: 0;
}

.cart-remove-btn {
    background: transparent;
    border: none;
    color: #cc0000;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-remove-btn:hover {
    transform: scale(1.2);
}

/* Order Summary Box */
.summary-card {
    background: var(--bg-card, #ffffff);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

body.dark-theme .summary-card {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.summary-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-title, #111111);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
}

body.dark-theme .summary-title {
    color: #ffffff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-body, #555555);
    margin-bottom: 14px;
}

body.dark-theme .summary-row {
    color: #aaaaaa;
}

.summary-row.total-row {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title, #111111);
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 14px;
}

body.dark-theme .summary-row.total-row {
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.1);
}

.btn-checkout-proceed {
    width: 100%;
    background: #111111;
    color: #ffffff !important;
    border: none;
    padding: 15px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    margin-top: 15px;
}

.btn-checkout-proceed:hover {
    background: #c5a059;
    color: #111111 !important;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.35);
}

/* Payment Methods */
.payment-methods-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.payment-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-main, #f9f8f5);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

body.dark-theme .payment-radio-item {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.payment-radio-item input[type="radio"] {
    accent-color: #c5a059;
}


/* Responsive Styles */
@media (max-width: 991px) {
    .page-hero-banner {
        padding: 110px 4% 50px;
    }
    
    .page-hero-title {
        font-size: 34px;
    }
    
    .shop-container,
    .cart-container,
    .checkout-container {
        flex-direction: column;
    }

    .shop-sidebar,
    .cart-summary-col,
    .checkout-order-col {
        width: 100%;
    }

    .detail-main-row {
        flex-direction: column;
        gap: 35px;
    }

    .detail-gallery-col,
    .detail-info-col {
        max-width: 100%;
        width: 100%;
    }

    .detail-product-title {
        font-size: 30px;
    }

    .enquire-grid {
        grid-template-columns: 1fr;
    }

    .enquire-input-wrap.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .detail-highlights {
        grid-template-columns: 1fr;
    }

    .nav-tabs-custom {
        gap: 15px;
        overflow-x: auto;
    }

    .tab-link-btn {
        font-size: 14px;
        white-space: nowrap;
    }

    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) {
        display: none;
    }
}


/* ==========================================================================
   MOBILE SHOPPING EXPERIENCE (MYNTRA-STYLE LUXURY THEME)
   ========================================================================== */

/* 1. Mobile Story Circle Category Avatar Bar */
.mobile-story-bar-wrap {
    display: none;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-story-bar-wrap::-webkit-scrollbar {
    display: none;
}

.mobile-story-scroll {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 15px;
    white-space: nowrap;
}

.story-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.story-circle-item:active {
    transform: scale(0.94);
}

.story-avatar-ring {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
    transition: all 0.3s ease;
}

body.dark-theme .story-avatar-ring {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.story-circle-item.active .story-avatar-ring,
.story-circle-item:hover .story-avatar-ring {
    background: linear-gradient(135deg, #c5a059, #e6c88b, #c5a059);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.story-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #ffffff;
}

.story-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-title, #111111);
    letter-spacing: 0.3px;
    text-align: center;
}

body.dark-theme .story-label {
    color: #e0e0e0;
}

.story-circle-item.active .story-label {
    color: #c5a059;
    font-weight: 700;
}

/* 2. Floating Mobile Rating Badge */
.mobile-rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-rating-badge i {
    color: #c5a059;
    font-size: 10px;
}

/* 3. Sticky Mobile Bottom Action Bar (SORT | FILTER) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background: #111111;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(197, 160, 89, 0.25);
}

body.dark-theme .mobile-bottom-bar {
    background: #090909;
    border-top-color: rgba(197, 160, 89, 0.35);
}

.mobile-action-btn {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-action-btn i {
    color: #c5a059;
    font-size: 14px;
}

.mobile-action-btn:active {
    background: rgba(197, 160, 89, 0.15);
}

.mobile-bar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.18);
}

.mobile-filter-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-backdrop.active {
    display: block;
    opacity: 1;
}

.mobile-sidebar-close {
    display: none;
}

/* Mobile Sidebar Drawer Adjustments */
@media (max-width: 991px) {
    .mobile-story-bar-wrap {
        display: block;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 55px;
    }

    .shop-sidebar {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        background: var(--bg-card, #ffffff);
        z-index: 1050;
        border-radius: 24px 24px 0 0;
        padding: 25px 20px 40px;
        transition: bottom 0.35s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.3);
    }

    body.dark-theme .shop-sidebar {
        background: #171717;
    }

    .shop-sidebar.active {
        bottom: 0;
    }

    .mobile-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 18px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.06);
        border: none;
        font-size: 20px;
        color: var(--text-title, #111111);
        cursor: pointer;
    }

    body.dark-theme .mobile-sidebar-close {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
}

/* Mobile 2-Column Product Grid (< 767px) */
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .product-card {
        border-radius: 12px;
    }

    .prod-card-body {
        padding: 12px 10px 14px;
    }

    .prod-category {
        font-size: 10px;
    }

    .prod-title {
        font-size: 13px;
        line-height: 1.35;
        height: 34px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 6px;
    }

    .prod-rating-stars {
        display: none;
    }

    .prod-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 8px;
    }

    .btn-add-cart {
        width: 100%;
        text-align: center;
        padding: 6px 10px;
        font-size: 11px;
        justify-content: center;
    }

    .prod-price {
        font-size: 14px;
    }
}
