/* Shop Page Specific Styles – aligned with home aesthetic */
body.shop-page {
    background: #F9F9F9;
    color: #070707;
}

.shop-container {
    min-height: 100vh;
    padding: 40px 5% 60px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    color: #aaa;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--gold-medium);
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: var(--gold-light);
}

.breadcrumb .separator {
    margin: 0 10px;
    font-size: 12px;
    color: #666;
}

.breadcrumb .current {
    color: #7a6e58;
    font-weight: 500;
}

/* Shop Header */
.shop-header {
    margin-bottom: 32px;
}

.shop-title {
    font-size: 32px;
    font-weight: 700;
    color: #070707;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.shop-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid rgba(175, 144, 68, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.total-products {
    font-size: 0.9rem;
    color: #7a6e58;
    font-weight: 500;
}

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

.search-control {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 250px;
}

.search-input-header {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(175, 144, 68, 0.3);
    color: #070707;
    padding: 10px 45px 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input-header:focus {
    outline: none;
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 2px rgba(255, 238, 193, 0.1);
}

.search-btn-header {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: transparent;
    border: none;
    color: var(--gold-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border-radius: 0 5px 5px 0;
}

.search-btn-header:hover {
    color: var(--gold-light);
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #7a6e58;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.view-btn.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.view-btn:hover:not(.active) {
    border-color: var(--gold-medium);
    color: var(--gold-medium);
}

.sort-options {
    position: relative;
}

.sort-select {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #070707;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    min-width: 200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 2px rgba(255, 238, 193, 0.1);
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    width: 100%;
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

.mobile-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 238, 193, 0.3);
}

/* Shop Content */
.shop-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    position: relative;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    border: 1px solid rgba(160, 115, 53, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-title {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #070707;
    margin: 0;
}

.clear-filters {
    background: transparent;
    border: 1px solid var(--gold-medium);
    color: var(--gold-medium);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.clear-filters:hover {
    background: var(--gold-medium);
    color: black;
}

.filter-section {
    margin-bottom: 25px;
}

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

.filter-section-title {
    font-size: 0.9rem;
    color: #070707;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Filter Actions (Apply Button) */
.filter-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apply-filters-btn {
    width: 100%;
    background: var(--gold);
    border: none;
    color: #fff;
    padding: 14px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.apply-filters-btn:active {
    transform: translateY(0);
}

/* Search Filter */
.search-filter {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(175, 144, 68, 0.3);
    color: #070707;
    padding: 12px 45px 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 2px rgba(255, 238, 193, 0.1);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: transparent;
    border: none;
    color: var(--gold-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--gold-light);
}



/* Price Filter */
.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-input-group label {
    font-size: 12px;
    color: var(--gold-medium);
    font-weight: 500;
}

.price-input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(175, 144, 68, 0.3);
    color: #070707;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 2px rgba(255, 238, 193, 0.1);
}

.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
}

/* apply-price-btn removed - now using single Apply Filters button at bottom */

/* Checkbox & Radio Filters */
.checkbox-filter,
.radio-filter,
.rating-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

.checkbox-filter::-webkit-scrollbar,
.radio-filter::-webkit-scrollbar {
    width: 4px;
}

.checkbox-filter::-webkit-scrollbar-track,
.radio-filter::-webkit-scrollbar-track {
    background: transparent;
}

.checkbox-filter::-webkit-scrollbar-thumb,
.radio-filter::-webkit-scrollbar-thumb {
    background: #d4a93a;
    border-radius: 4px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #7a6e58;
    font-size: 14px;
    transition: 0.3s;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #7a6e58;
    flex-wrap: wrap;
    transition: 0.3s;
}

.checkbox-item:hover,
.radio-item:hover,
.rating-item:hover {
    color: var(--gold-medium);
}

.checkmark,
.radiomark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    transition: 0.3s;
}

.radiomark {
    border-radius: 50%;
}

.checkbox-item input:checked~.checkmark {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-item input:checked~.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 12px;
    font-weight: bold;
}

.radio-item input:checked~.radiomark {
    border-color: var(--gold-medium);
}

.radio-item input:checked~.radiomark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gold-medium);
    border-radius: 50%;
}

.stars {
    font-size: 13px;
    color: var(--gold-medium);
    margin-right: 0;
}

.rating-text {
    font-size: 13px;
    white-space: nowrap;
}

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

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: var(--gold-medium);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 238, 193, 0.5);
}

/* Product Grid Section */
.product-grid-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.active-filters {
    background: transparent;
    padding: 0 4px 4px;
    border-radius: 999px;
    border: none;
    color: #7a6e58;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.category-chip-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7a6e58;
}

.category-chip {
    border: 1px solid rgba(175, 144, 68, 0.35);
    background: #fff;
    color: #7a6e58;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.category-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
}

.category-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* Product Grid - responsive layout only */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.shop-product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(175, 144, 68, 0.18);
    position: relative;
    display: flex;
    flex-direction: column;
}
.shop-product-card .product-link--info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shop-product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(175, 144, 68, 0.5);
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.stock-badge.in-stock {
    background: #228B22;
    color: white;
}

.stock-badge.low-stock {
    background: #FFA500;
    color: black;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link--media {
    display: block;
    height: 100%;
}

.product-link--media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-link--info {
    text-decoration: none;
    color: inherit;
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f2f2f2;
}

.product-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.product-image img[loading="lazy"] {
    opacity: 0;
}

.product-image img.loaded {
    opacity: 1;
}

/* Prevent layout shift - Images already have inline aspect-ratio styles */
/* Note: attr() doesn't work with aspect-ratio in CSS, so we rely on inline styles */

.shop-product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.shop-product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.shop-product-card:focus-within .product-actions {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .shop-product-card .product-actions {
        opacity: 1;
        transform: none;
    }
}

.quick-view-btn,
.wishlist-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.quick-view-btn:hover {
    background: var(--gold-gradient-horizontal);
    color: black;
    border-color: transparent;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: #ff4444;
    color: white;
    border-color: transparent;
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 12px;
    color: var(--gold-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    color: #070707;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
}

.product-rating {
    color: var(--gold-medium);
    margin-bottom: 10px;
    font-size: 14px;
}

.rating-count {
    color: #aaa;
    margin-left: 5px;
    font-size: 12px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.original-price {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.product-stock {
    font-size: 12px;
    color: #7a6e58;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #7a6e58;
    margin-top: 10px;
}

.product-color,
.product-strap {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-color i,
.product-strap i {
    font-size: 10px;
}

.rating-value {
    color: #aaa;
    font-size: 12px;
    margin-left: 5px;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    z-index: 2;
}

.low-stock-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #f59e0b;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.02em;
}

.product-buttons {
    display: flex;
    gap: 10px;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--gold);
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 238, 193, 0.3);
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-products i {
    font-size: 60px;
    color: var(--gold-medium);
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    color: #070707;
    margin-bottom: 10px;
}

.no-products p {
    color: #aaa;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.page-btn {
    background: #111;
    border: 1px solid rgba(160, 115, 53, 0.3);
    color: #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 14px;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--gold-medium);
    color: var(--gold-medium);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    background: #111;
    border: 1px solid rgba(160, 115, 53, 0.3);
    color: #ddd;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 14px;
}

.page-number.active {
    background: var(--gold-gradient-horizontal);
    color: black;
    border-color: transparent;
}

.page-number:hover:not(.active) {
    border-color: var(--gold-medium);
    color: var(--gold-medium);
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    display: none;
}

.loading-spinner.active {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(175, 144, 68, 0.15);
    border-top: 4px solid var(--gold-medium);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Quick View Modal */
.modal.quick-view-modal.is-open {
    display: block;
}

body.quick-view-open {
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: 50px auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    border: 1px solid rgba(175, 144, 68, 0.2);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #7a6e58;
    cursor: pointer;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
    border: none;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #070707;
}

.quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quick-view-image {
    position: relative;
}

.quick-view-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(175, 144, 68, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: block;
}

.quick-view-details h2 {
    font-size: 28px;
    color: #070707;
    margin-bottom: 10px;
    font-weight: 700;
}

.quick-view-brand {
    font-size: 12px;
    color: var(--gold-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    font-weight: 600;
}

.quick-view-rating {
    color: var(--gold-medium);
    margin-bottom: 20px;
    font-size: 15px;
}

.quick-view-rating .rating-value {
    color: #7a6e58;
    font-size: 13px;
}

.quick-view-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 25px;
}

.quick-view-price .original-price {
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
}

.quick-view-price .current-price {
    font-size: 30px;
    font-weight: 700;
    background: var(--gold-gradient-horizontal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quick-view-description h4,
.quick-view-features h4 {
    font-size: 13px;
    color: #7a6e58;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.quick-view-description p {
    color: #444;
    line-height: 1.65;
    margin-bottom: 20px;
    font-size: 14px;
}

.quick-view-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.quick-view-features li {
    color: #444;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.quick-view-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-medium);
}

.quick-view-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    margin-bottom: 25px;
    background: #F9F9F9;
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(175, 144, 68, 0.12);
}

.spec {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.spec:last-child,
.spec:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.spec-label {
    color: #7a6e58;
    font-size: 13px;
}

.spec-value {
    color: #070707;
    font-weight: 500;
    font-size: 13px;
}

.spec-value.in-stock {
    color: #2e7d32;
}

.spec-value.low-stock {
    color: #e65100;
}

.quick-view-modal .text-warning {
    color: var(--gold-medium);
}

.quick-view-loading-msg,
.quick-view-error-msg {
    color: #7a6e58;
    text-align: center;
    padding: 48px 24px;
    margin: 0;
    font-size: 1rem;
}

.quick-view-error-msg {
    color: #c0392b;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-view-actions .qv-add-to-cart.large {
    flex: 1;
    min-width: 140px;
    padding: 15px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: var(--gold-gradient-horizontal);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.quick-view-actions .qv-add-to-cart.large:hover:not(:disabled) {
    transform: translateY(-1px);
}

.quick-view-actions .qv-add-to-cart.large:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.quick-view-actions .qv-full-details.large {
    flex: 1;
    min-width: 140px;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(175, 144, 68, 0.4);
    color: #070707;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-view-actions .qv-full-details.large:hover {
    background: rgba(175, 144, 68, 0.06);
    border-color: var(--gold-medium);
}

.quick-view-actions .add-to-cart-btn.large,
.quick-view-actions .wishlist-btn.large {
    flex: 1;
    padding: 15px;
    font-size: 16px;
}

.quick-view-actions .wishlist-btn.large {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.quick-view-actions .wishlist-btn.large:hover {
    background: #ff4444;
    border-color: #ff4444;
}

/* Quick View — Color & Quantity */
.qv-variant-section {
    margin-bottom: 20px;
}

.qv-variant-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #7a6e58;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.qv-color-select-wrap {
    max-width: 100%;
}

.qv-color-select {
    display: block;
    width: 100%;
    max-width: 280px;
    padding: 11px 42px 11px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #070707;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
    border: 1px solid rgba(175, 144, 68, 0.3);
    border-radius: 5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qv-color-select:hover {
    border-color: var(--gold-medium);
}

.qv-color-select:focus {
    outline: none;
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 2px rgba(175, 144, 68, 0.2);
}

.qv-qty-controls {
    display: flex;
    align-items: center;
    width: fit-content;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(175, 144, 68, 0.2);
}

.qv-qty-btn {
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    color: var(--gold-medium);
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.qv-qty-btn:hover:not(:disabled) {
    background: rgba(175, 144, 68, 0.1);
}

.qv-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qv-qty-input {
    width: 54px;
    height: 42px;
    text-align: center;
    border: none;
    border-left: 1px solid rgba(175, 144, 68, 0.16);
    border-right: 1px solid rgba(175, 144, 68, 0.16);
    background: transparent;
    color: #070707;
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qv-qty-input::-webkit-inner-spin-button,
.qv-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .shop-content {
        grid-template-columns: 250px 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-view-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quick-view-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .mobile-filter-btn {
        display: block;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        overflow-y: auto;
        transition: 0.3s;
    }

    .filter-sidebar.active {
        left: 0;
    }

    .shop-content {
        grid-template-columns: 1fr;
    }

    .shop-tools {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .shop-controls {
        width: 100%;
        justify-content: space-between;
    }

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

@media (max-width: 480px) {
    .shop-title {
        font-size: 28px;
    }

    .shop-controls {
        flex-direction: column;
        gap: 15px;
    }

    .search-control {
        min-width: 100%;
        width: 100%;
    }

    .sort-select {
        min-width: 100%;
    }

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

    .modal-content {
        padding: 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }

    .quick-view-specs {
        grid-template-columns: 1fr;
    }

    .quick-view-actions {
        flex-direction: column;
    }

    .pagination {
        flex-wrap: wrap;
    }
}