header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(149, 117, 135, 0.1);
    border-bottom: 1px solid #e8dce1;
    padding: 10px 73px;
}
.cart-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    border-radius: 15px;
}
.cart-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d4a6b5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.cart-modal .modal-content {
    position: relative;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.shop-development-notice {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #d4a6b5;
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.development-content h3 {
    color: #8c6b7a;
    margin-bottom: 15px;
    font-size: 1.5em;
}
.manager-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}
.contact-phone {
    font-size: 1.2em;
    font-weight: bold;
    color: #5a4a4f;
}
.contact-socials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}
.social-btn:hover {
    transform: translateY(-2px);
}
.social-btn.whatsapp {
    background: #25D366;
    color: white;
}
.social-btn.telegram {
    background: #0088cc;
    color: white;
}
.social-btn img {
    width: 20px;
    height: 20px;
}
@media (max-width: 768px) {
    .shop-development-notice {
        margin: 15px;
        padding: 20px;
    }
    .contact-socials {
        flex-direction: column;
        width: 100%;
    }
    .social-btn {
        justify-content: center;
    }
}
.new-products {
    padding: 30px 0;
    background-color: #ffffff;
}
.shop-main {
    overflow: hidden !important;
}
.new-products h2 {
    text-align: center;
    color: #8c6b7a;
    font-size: 32px;
    margin: 0 0 20px 0;
    padding: 0;
}
.shop-main {
    padding: 5px;
    background-color: #f2e9ed;
}
.shop-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.filters-sidebar {
    width: 280px;
    background: white !important;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(149, 117, 135, 0.1);
    border: 1px solid #e8dce1;
    height: fit-content;
    transition: all 0.3s ease;
    z-index: 100;
}
.filters-sidebar h3 {
    color: #8c6b7a;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8dce1;
    padding-bottom: 10px;
}
.filter-group {
    margin-bottom: 20px;
}
.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #5a4a4f;
}
.filter-group select,
.filter-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e8dce1;
    border-radius: 5px;
    background-color: #ffffff;
}
.price-range {
    display: flex;
    gap: 10px;
}
.price-range input {
    flex: 1;
}
.filter-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}
.products-area {
    flex: 1;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}
.product-card {
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 230px;
    height: 350px;
    justify-content: space-between;
}
.product-card:hover {
    border-color: #8a737a;
    transform: none !important;
    box-shadow: 0 8px 25px rgba(138, 115, 122, 0.15);
}
.product-card .product-image img {
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.1);
}
.product-card:active {
    transform: scale(0.98);
}
.product-image {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f8f8;
    margin-bottom: 10px;
}
.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-brand-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #8c6b7a;
    font-weight: 600;
    z-index: 2;
}
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    border-radius: 8px;
}
.product-brand {
    font-size: 12px;
    color: #8c6b7a;
    text-align: left;
    margin-bottom: 5px;
    padding: 0 5px;
    white-space: pre-line;
}
.product-name {
    font-size: 0.95em;
    margin: 0 0 8px 0;
    line-height: 1.3;
    min-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}
.product-price {
    font-weight: bold;
    color: #8a737a;
    font-size: 1.1em;
    white-space: nowrap;
}
.new-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}
.add-to-cart-btn {
    background: #8a737a;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.add-to-cart-btn:hover {
    background: #c895a6;
}
.add-to-cart-btn:hover:not(:disabled) {
    background: #7a636a;
    transform: translateY(-1px);
}
.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.cart-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #d4a6b5 0%, #c895a6 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(212, 166, 181, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    min-width: 140px;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: none;
}
.cart-fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(212, 166, 181, 0.5);
}
.cart-icon {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}
#cart-total {
    font-weight: bold;
}
.cart-modal {
    max-width: 500px;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
}
.cart-modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #8c6b7a;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cart-modal .close:hover {
    background: white;
    color: #d4a6b5;
}
.cart-modal h2 {
    background: linear-gradient(135deg, #d4a6b5 0%, #c895a6 100%);
    color: white;
    margin: 0;
    padding: 20px;
    font-size: 24px;
    text-align: center;
}
.cart-items {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
}
.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #faf7f8;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.cart-item:hover {
    border-color: #e8dce1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-weight: 600;
    color: #5a4a4f;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.cart-item-price {
    color: #d4a6b5;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity-btn {
    background: white;
    border: 1px solid #e8dce1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #8c6b7a;
    transition: all 0.3s ease;
}
.quantity-btn:hover {
    background: #f2e9ed;
    border-color: #d4a6b5;
}
.cart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffe6ea;
    color: #ff6b81;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}
.cart-item:hover .cart-item-remove {
    opacity: 1;
}
.cart-item-remove:hover {
    background: #ff6b81;
    color: white;
}
.cart-total {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e8dce1;
    margin-top: 10px;
}
.cart-total strong {
    font-size: 20px;
    color: #5a4a4f;
}
#cart-total-price {
    color: #d4a6b5;
    font-weight: bold;
    font-size: 24px;
}
.cart-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-top: 1px solid #e8dce1;
}
.cart-actions button {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #d4a6b5 0%, #c895a6 100%);
    color: white;
}
.btn-secondary {
    background: white;
    color: #8c6b7a;
    border: 2px solid #e8dce1;
}
.btn-secondary:hover {
    background: #faf7f8;
    border-color: #d4a6b5;
}
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #8c6b7a;
    font-size: 16px;
}
.empty-cart::before {
    content: '🛒';
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}
.btn-primary:disabled {
    background: #e8dce1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #c895a6 0%, #b88495 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 166, 181, 0.3);
}
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(90, 74, 79, 0.9);
    z-index: 1002;
    overflow: hidden;
}
.product-modal-content {
    position: fixed;
    background: #fff;
    border-radius: 0;
    padding: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    gap: 0;
}
.product-modal-left {
    width: 60%;
    height: 100%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e8dce1;
}
.product-modal-right {
    width: 40%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.product-modal .close {
    color: #8c6b7a;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1003;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}
.product-modal .close:hover {
    color: #d4a6b5;
    background: rgba(255, 255, 255, 1);
}
.product-modal-images {
    flex: 1;
    position: relative;
}
.slider-wrapper::-webkit-scrollbar {
    display: none;
}
#new-products-slider {
    display: flex;
    gap: 15px;
}
.product-modal-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
}
.slider-arrow-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}
.slider-arrow-btn:hover {
    background: rgba(255, 255, 255, 1);
}
.slider-arrow-btn img {
    width: 20px;
    height: 20px;
}
.product-modal-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    z-index: 10;
}
.product-modal-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}
.product-modal-slide {
    min-width: 100%;
    height: 100%;
}
.product-modal-slide img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8f8f8;
}
.product-modal-slider-nav {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.product-modal-slider-nav-wrapper {
    width: auto;
    padding: 4px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 6px;
    border-radius: 6px;
}
.product-modal-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.product-modal-slider-dot.active {
    background: white;
}
.product-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-modal-brand {
    font-size: 14px;
    color: #8c6b7a;
    margin-bottom: 5px;
}
.product-modal-name {
    font-size: 26px;
    margin: 0 0 15px 0;
    font-weight: 500;
    line-height: 25px;
    color: #000;
    background: #fff;
    width: 90%;
}
.product-modal-description {
    flex: 1;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 10px;
    height: calc(100% + 5vh);
}
.product-modal-left .product-modal-slider {
    width: 100%;
    height: 100%;
}
.product-modal-left .product-modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-modal-price-section {
    background: #f8f9fa;
    padding: 10px 0 5px 20px;
    border-radius: 8px;
    border-left: 4px solid #d4a6b5;
}
.product-modal-price {
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 600;
    line-height: 22px;
    color: #000;
    background: #fff;
    width: 100%;
}
.secondary-subcategories-container {
    width: 100%;
}
.secondary-subcategories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    justify-content: center;
}
.secondary-subcategory-item {
    flex-shrink: 0;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    background: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 200px;
}
.secondary-subcategory-item.color-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    height: 50px;
}
.secondary-subcategory-item.color-item .color-swatch {
    width: 100%;
    min-height: 0;
    height: 30px;
}
.secondary-subcategory-item.color-item .color-label {
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #e8dce1;
}
.secondary-subcategory-item.color-item.active {
    border-color: #d4a6b5;
    box-shadow: 0 0 0 2px #d4a6b5;
}
.secondary-subcategories.wrap {
    flex-wrap: wrap;
    overflow-x: visible;
}
.secondary-subcategories.wrap .secondary-subcategory-item {
    width: 60px;
}
.secondary-subcategory-color {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: 11px;
    font-weight: bold;
    padding: 4px;
}
.secondary-subcategory-item.active {
    border-color: #d4a6b5;
    background-color: #f8f9fa;
}
.product-modal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0;
}
.primary-subcategory-select {
    width: 60%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
}
.selected-color-display {
    width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.selected-color-name {
    font-weight: 600;
    color: #d4a6b5;
}
.color-swatches {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: #d4a6b5 #f0f0f0;
    width: auto;
    flex-wrap: wrap;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
}
.color-swatches::-webkit-scrollbar {
    width: 6px;
}
.color-swatches::-webkit-scrollbar-track {
    background: #f0f0f0;
}
.color-swatches::-webkit-scrollbar-thumb {
    background-color: #d4a6b5;
    border-radius: 3px;
}
.color-swatch {
    width: 28px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #e8dce1;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s, border-color 0.2s;
}

.color-swatch.active {
    border-color: #d4a6b5;
    box-shadow: 0 0 0 2px #d4a6b5;
}
.product-modal-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}
.quantity-controls button {
    width: 30px;
    height: 30px;
    border: none;
    background: #f2e9ed;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-controls span {
    font-size: 16px;
    font-weight: 500;
    min-width: 30px;
    text-align: center;
}
.product-modal-add-btn {
    width: 100%;
    padding: 15px;
    background: #d4a6b5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}
.product-modal-add-btn:hover:not(:disabled) {
    background: #c895a6;
}
.product-modal-add-btn:disabled {
    background: #e8dce1;
    cursor: not-allowed;
}
.product-modal-add-btn:hover {
    background: #c895a6;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1001;
    padding: 80px 20px 20px;
    overflow-y: auto;
}
.mobile-nav.active {
    display: block;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.mobile-nav li {
    border-bottom: 1px solid #e8dce1;
}
.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: #5a4a4f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: left;
}
.mobile-nav a:hover {
    background: #f8f9fa;
    color: #d4a6b5;
}
.mobile-nav-contacts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8dce1;
}
.mobile-contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.mobile-contacts-left,
.mobile-contacts-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-phone {
    font-weight: bold;
    color: #5a4a4f;
    font-size: 14px;
    cursor: pointer;
}
.mobile-social-icons {
    display: flex;
    gap: 10px;
}
.mobile-social-icons img {
    width: 20px;
    height: 20px;
}
.mobile-address,
.mobile-hours {
    font-size: 13px;
    color: #5a4a4f;
    line-height: 1.4;
}
.close-filters {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8c6b7a;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2e9ed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.shop-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-content {
    text-align: center;
}
.preloader-logo h1 {
    font-family: 'Kalleco', serif;
    font-size: 48px;
    color: #d4a6b5;
    margin: 0 0 10px 0;
    animation: pulse 2s infinite;
}
.preloader-logo span {
    font-size: 16px;
    color: #8c6b7a;
    display: block;
    font-family: 'Tilda';
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e8dce1;
    border-top: 4px solid #d4a6b5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}
.product-modal-sku {
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #e8dce1;
    font-family: monospace;
    width: 200px;
    margin-right: 70px;
}
.product-subcategories {
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}
.product-subcategories h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}
.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.subcategory-item {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 80px;
}
.subcategory-item:hover {
    border-color: #007bff;
}
.subcategory-item.active {
    border-color: #007bff;
    background-color: #e3f2fd;
}
.subcategory-name {
    font-weight: 500;
    color: #333;
}
.subcategory-price {
    font-weight: bold;
    color: #28a745;
    margin-left: 10px;
}
.cart-item-subcategory {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}
.new-products .slider-container {
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 !important;
}
.new-products .slider-wrapper {
    overflow: hidden;
    width: 100%;
}
.new-products #new-products-slider {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    width: max-content;
}
.new-products .product-card {
    flex: 0 0 auto;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.new-products .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d4a6b5;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background-color 0.3s ease;
}
.new-products .slider-arrow:hover {
    background-color: #c895a6;
}
.new-products .slider-arrow-left {
    left: 25px;
}
.new-products .slider-arrow-right {
    right: 25px;
}
.new-products .slider-arrow img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
.new-products .slider-container.hide-arrows .slider-arrow {
    display: none;
}
@media (max-width: 768px) {
    .product-modal-sku {
        font-size: 12px;
        padding: 3px 6px;
        margin-bottom: 10px;
        width: 150px;
    }
}
@media (min-width: 769px) {
    .filters-sidebar {
        position: sticky;
        left: calc(50% - 700px + 20px);
        width: 280px;
        z-index: 100;
        height: calc(100vh - 105px);
        overflow-y: auto;
        align-self: flex-start;
        height: auto;
    }
    .shop-container {
        position: relative;
    }
    .cart-modal {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        max-width: 500px !important;
        width: auto !important;
    }
}
@media (max-width: 768px) {
    .cart-modal {
        width: 90%;
        max-height: 80vh;
        margin: 10vh auto;
    }
    .cart-items {
        max-height: 50vh;
        padding: 15px;
    }
    .cart-item {
        padding: 12px;
    }
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    .cart-item-name {
        font-size: 13px;
    }
    .cart-item-remove {
        opacity: 1;
        position: relative;
        top: auto;
        right: auto;
        margin-left: 10px;
        flex-shrink: 0;
    }
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .filters-ghost {
        display: none;
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@media (max-width: 768px) {
    .product-card-footer {
        flex-direction: column;
        gap: 5px;
        margin-top: 5px;
    }
}
@media (min-width: 769px) {
    .close-filters {
        display: none;
    }
}
@media (max-width: 768px) {
    .slider-arrow-btn {
        width: 35px;
        height: 35px;
    }
    .slider-arrow-btn img {
        width: 16px;
        height: 16px;
    }
    header {
        padding: 10px 20px;
    }
    .product-modal .close {
        z-index: 1003;
        position: fixed;
        top: 20px;
        right: 20px;
    }
    .shop-container {
        flex-direction: column;
        gap: 15px;
    }
    .filters-sidebar {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        max-height: 80vh;
        z-index: 1003;
        display: none;
        overflow-y: auto;
        background: white;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    .filters-sidebar.active {
        display: block;
    }
    .filters-sidebar::before {
        display: none !important;
    }
    .filters-toggle {
        position: fixed;
        bottom: 30px;
        right: 20px;
        left: auto;
        background: #d4a6b5;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 25px;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 4px 15px rgba(149, 117, 135, 0.3);
        font-weight: bold;
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .filters-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(90, 74, 79, 0.9);
        z-index: 1002;
    }
    .filters-overlay.active {
        display: block;
    }
    .filters-toggle:hover {
        transform: scale(1.05);
    }
    .filters-toggle {
        position: fixed;
        bottom: 30px;
        right: 20px;
        background: #d4a6b5;
        color: white;
        border: none;
        padding: 0 20px;
        border-radius: 25px;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 4px 15px rgba(149, 117, 135, 0.3);
        font-weight: bold;
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .mobile-nav.active {
        display: block;
    }
    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav li {
        border-bottom: 1px solid #e8dce1;
    }
    .mobile-nav a {
        display: block;
        padding: 15px 20px;
        color: #5a4a4f;
        text-decoration: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 0 10px;
    }
    .product-card {
        padding: 8px;
        height: auto;
    }
    .product-image {
        height: 160px;
        margin-bottom: 8px;
        flex-shrink: 0;
        padding-bottom: 0;
    }
    .product-brand {
        font-size: 11px;
        margin-bottom: 3px;
    }
    .product-name {
        font-size: 13px;
        min-height: 2.8em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        margin-bottom: 10px;
        flex-grow: 1;
    }
    .product-price {
        font-size: 14px;
        text-align: center;
        width: 100%;
    }
    .add-to-cart-btn {
        width: 100%;
        font-size: 11px;
        padding: 6px 8px;
    }
    .product-brand-overlay {
        font-size: 8px;
        padding: 2px 6px;
    }
    .new-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
    .product-modal-content {
        flex-direction: column;
    }
    .product-modal-left {
        width: 100%;
        height: 40%;
        border-right: none;
        border-bottom: 1px solid #e8dce1;
    }
    .product-modal-right {
        width: 100%;
        height: 60%;
        padding: 15px;
    }
    .product-modal-images {
        order: 1;
    }
    .product-modal-info {
        order: 2;
        display: flex;
        flex-direction: column;
    }
    .product-modal-price-section {
        order: 1;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    .product-modal-add-btn {
        padding: 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
    .product-modal-description {
        font-size: 13px;
    }
    .product-modal .close {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1004;
        background: rgba(255, 255, 255, 0.9);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    .product-modal-slide img {
        height: 300px;
    }
    .product-modal-slider {
        height: 300px;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-block {
        text-align: center;
    }
    body.product-modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}
@media (max-width: 480px) {
    .slider-container button {
        position: absolute;
        top: 40%;
    }
    .slider-arrow-left {
        left: 2px;
    }
    .slider-arrow-right {
        right: 2px;
    }
    .product-modal-slide img {
        height: 250px;
    }
    .product-modal-slider {
        height: 250px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-card {
        height: 100%;
        padding: 10px;
    }
    .product-image {
        height: 240px;
        padding-bottom: 0;
    }
    .cart-fab {
        bottom: 80px;
        right: 20px;
    }
    .product-modal .close {
        top: 8px;
        right: 12px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}
@media (min-width: 769px) {
    .mobile-nav-toggle,
    .mobile-nav,
    .filters-toggle {
        display: none !important;
    }
    .filters-sidebar {
        display: block !important;
    }
}
@media (max-width: 768px) {
    .desktop-contacts {
        display: none !important;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .filters-sidebar {
        display: none;
    }
    .filters-toggle {
        display: flex;
    }
}
@media (max-width: 768px) {
    body.modal-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}
@media (max-width: 768px) {
    .product-card-main {
        padding: 8px;
        height: 36vh;
        width: 40vw;
    }
    .product-card-main .product-image {
        margin-bottom: 6px;
        height: 165px !important;
        width: 100%;
    }
    .product-card-main .product-name {
        font-size: 11px;
        min-height: 2.8em;
        margin-bottom: 5px;
    }
    .product-card-main .product-card-footer {
        flex-direction: column;
        gap: 5px;
        margin-top: 5px;
    }
    .product-card-main .product-price {
        font-size: 14px;
        text-align: center;
        width: 100%;
    }
    .product-card-main .add-to-cart-btn {
        width: 100%;
        font-size: 11px;
        padding: 6px 8px;
    }
}
@media (max-width: 768px) {
    .product-modal-name {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    .product-modal-price {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .secondary-subcategory-item {
        font-size: 14px;
        padding: 6px 10px;
        max-width: 150px;
    }
    .product-modal-controls {
        margin: 15px 0;
    }
    .primary-subcategory-select {
        width: 55%;
        font-size: 14px;
        padding: 8px;
    }
    .product-modal-quantity {
        margin: 0;
    }
    .quantity-controls button {
        width: 30px;
        height: 30px;
    }
    .slider-container {
        position: relative;
        overflow: hidden;
        width: 100%;
    }
    .slider-wrapper {
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }
    .slider-wrapper::-webkit-scrollbar {
        display: none;
    }
    #new-products-slider {
        display: flex;
        flex-direction: row;
        width: max-content;
        gap: 15px;
        padding: 0 10px;
    }
    #new-products-slider .product-card {
        width: 75vw;
        flex-shrink: 0;
        margin: 0;
        border: 1px solid rgba(0, 0, 0, 0.1);
        height: 320px;
    }
}
@supports (-webkit-touch-callout: none) {
    .phone,
    .mobile-phone,
    .mobile-header-contacts,
    .contact-phone,
    .footer-block p {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    .products-grid {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 10px;
    }
    .product-card {
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
    }
    * {
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-menu.active {
        -webkit-overflow-scrolling: touch;
    }
    header {
        position: -webkit-sticky;
        position: sticky;
    }
}
.phone span,
.mobile-phone,
.contact-phone span,
.mobile-header-contacts .mobile-contact-phone {
    color: inherit !important;
    text-decoration: none !important;
}
.search-container {
    display: flex;
    gap: 10px;
    margin: 20px auto;
    max-width: 500px;
}
.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e8dce1;
    border-radius: 4px;
    font-size: 16px;
}
.search-btn {
    padding: 12px 20px;
    background: #d4a6b5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.search-btn:hover {
    background: #c395a6;
}
.pagination-container {
    margin: 40px 0;
    text-align: center;
}
.pagination {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.pagination button {
    padding: 8px 12px;
    border: 1px solid #e8dce1;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}
.pagination button:hover:not(.active) {
    background: #f5f5f5;
}
.pagination button.active {
    background: #d4a6b5;
    color: white;
    border-color: #d4a6b5;
}
.pagination span {
    padding: 8px;
    color: #666;
}
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
#apply-filters-btn {
    background: #d4a6b5;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}
#apply-filters-btn:hover {
    background: #c395a6;
}
#reset-filters-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e8dce1;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
}
#reset-filters-btn:hover {
    background: #f1f3f4;
}
@media (max-width: 768px) {
    .search-container {
        margin: 15px;
        max-width: 100%;
    }
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pagination button {
        padding: 6px 10px;
        font-size: 13px;
    }
}
.breadcrumbs {
    font-size: 13px;
    color: #8c6b7a;
    margin: 10px auto;
    padding: 0 10px;
    max-width: 1400px;
}
.breadcrumbs a {
    color: #8c6b7a;
    text-decoration: none;
    border-bottom: 1px dotted #8c6b7a;
}
.breadcrumbs a:hover {
    color: #d4a6b5;
    border-bottom-color: #d4a6b5;
}
.product-modal-breadcrumbs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #8c6b7a;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e8dce1;
}
.breadcrumbs-left a {
    color: #8c6b7a;
    text-decoration: none;
    border-bottom: 1px dotted #8c6b7a;
    margin-right: 5px;
}
.breadcrumbs-left a:hover {
    color: #d4a6b5;
    border-bottom-color: #d4a6b5;
}
.breadcrumbs-left span {
    color: #5a4a4f;
    font-weight: normal;
}
.product-sku {
    font-family: monospace;
    color: #666;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}
.filters-sidebar .search-container {
    margin: 0 0 15px 0;
    max-width: 100%;
    display: flex;
    gap: 5px;
}
.filters-sidebar .search-input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
}
.filters-sidebar .search-btn {
    padding: 10px 15px;
    font-size: 14px;
}
@media (max-width: 768px) {
    .breadcrumbs {
        margin: 10px 15px;
        font-size: 12px;
    }
    .product-modal-breadcrumbs {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .breadcrumbs-left {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .product-sku {
        align-self: flex-end;
    }
}
#product-modal .modal-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    transform: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
#product-modal .product-modal-left,
#product-modal .product-modal-right {
    height: 100%;
}
#product-modal .product-modal-left {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
}
#product-modal .product-modal-right {
    overflow-y: auto;
}
#product-modal .product-modal-left .product-modal-slider,
#product-modal .product-modal-left .product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}
#product-modal .product-modal-left .product-modal-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
#product-modal .product-modal-left .product-modal-slide img,
#product-modal .product-modal-left .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#product-modal .product-modal-description {
    overflow-y: visible;
    max-height: none;
}
#product-modal .close {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1004;
}
@media (max-width: 768px) {
    #product-modal .modal-content {
        flex-direction: column;
    }
    #product-modal .product-modal-left {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid #e8dce1;
        margin-top: 20px;
    }
    #product-modal .product-modal-right {
        width: 100%;
        height: auto;
        flex: 1;
        overflow-y: auto;
        padding: 15px;
    }
    #product-modal .product-modal-left .product-modal-slide img,
    #product-modal .product-modal-left .product-image img {
        width: 300px;
        height: 300px;
        max-width: 300px;
        max-height: 300px;
        object-fit: contain;
    }
}
body.product-modal-open {
    overflow: hidden;
}
#product-modal .modal-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    height: 100vh;
    overflow-y: auto;
}
#product-modal .product-modal-content {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
}
.product-modal-row1 {
    overflow: hidden;
    display: flex;
}
.product-modal-left {
    float: left;
    max-width: 560px;
    width: calc(50% - 40px);
    margin: 0 20px;
    position: relative;
}
.product-modal-right {
    float: right;
    max-width: 560px;
    width: calc(50% - 40px);
    margin: 0 20px;
    color: #000;
    text-align: center;
}
.product-modal-left .slider-arrow-btn,
.product-modal-left .product-modal-slider-nav {
    opacity: 0;
    transition: opacity 0.3s;
}
.product-modal-left:hover .slider-arrow-btn,
.product-modal-left:hover .product-modal-slider-nav {
    opacity: 1;
}
.product-modal-name {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: #000;
    text-align: center;
}
.product-modal-price {
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    box-sizing: content-box;
    text-align: center;
    color: #000;
}
.color-title {
    font-family: Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.55;
    margin: 10px 0 5px;
    text-align: center;
}
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin: 10px 0;
}
.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #e8dce1;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}
.color-swatch:hover {
    transform: scale(1.1);
    border-color: #d4a6b5;
}
.color-swatch.active {
    border-color: #d4a6b5;
    box-shadow: 0 0 0 2px #d4a6b5;
}
.product-modal-add-btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    padding: 10px 20px;
    background: #d4a6b5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin: 10px auto;
}
.slide-counter {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}
.product-modal-description-row {
    clear: both;
    padding-top: 20px;
}
.product-modal-description {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
}
@media (max-width: 768px) {
    .product-modal-left,
    .product-modal-right {
        float: none;
        width: 100%;
        margin: 0;
        max-width: none;
    }
    .product-modal-left {
        margin-bottom: 20px;
    }
    .product-modal-row1 {
        display: flex;
        flex-direction: column;
    }
    .product-modal-name {
        font-size: 20px;
    }
    .product-modal-price {
        font-size: 18px;
    }
    .product-modal-add-btn {
        width: 100%;
    }
}
.modal{
    margin-top: 90px;
}





























#product-modal {
  background: rgba(10, 8, 7, 0.75);
  backdrop-filter: blur(12px) saturate(180%);
}

#product-modal .modal-content {
  background: transparent !important;
  box-shadow: none;
  max-width: 1440px;
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  padding: 0;
}

.product-modal-content {
  display: block !important;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 40px 20px !important;
  background: #fbf8f5;
  background-image: 
    repeating-linear-gradient(45deg, rgba(220, 200, 190, 0.02) 0px, rgba(220, 200, 190, 0.02) 2px, transparent 2px, transparent 6px),
    radial-gradient(circle at 30% 40%, rgba(255, 245, 240, 0.6) 0%, transparent 50%),
    url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.04" /%3E%3C/svg%3E');
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(210, 180, 170, 0.15), 0 20px 40px -10px rgba(0,0,0,0.2);
  position: relative;
  min-height: 100vh;
}

.product-modal-row1 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  margin-bottom: 30px;
  position: relative;
}


.product-modal-left {
  margin-left: -40px;
  margin-top: -40px;
  width: auto;
  max-width: none;
  float: none;
  position: relative;
  height: calc(100vh - 120px);
  min-height: 550px;
  overflow: hidden;
  background: #e8ddd6;
  box-shadow: 2px 0 30px rgba(0,0,0,0.05);
}

.product-modal-left .product-image,
.product-modal-left .product-modal-slider {
  height: 100%;
  width: 100%;
}

.product-modal-left .product-modal-slide img,
.product-modal-left .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-modal-left:hover img {
  transform: scale(1.02);
}


.product-quote {
  position: absolute;
  bottom: 40px;
  left: 30px;
  right: 30px;
  z-index: 5;
  color: rgba(255, 250, 245, 0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  pointer-events: none;
}

.product-quote blockquote {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  border-left: 3px solid #d4a6b5;
  padding-left: 25px;
  backdrop-filter: blur(2px);
  max-width: 80%;
}

.product-quote cite {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.8;
}

.product-modal-right {
  padding: 20px 0 20px 50px;
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
}


.product-modal-breadcrumbs {
  display: flex;
  justify-content: space-between;
  border-bottom: none;
  margin-bottom: 25px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7a6a63;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(180, 160, 150, 0.2);
}

.breadcrumbs-left a {
  color: #7a6a63;
  text-decoration: none;
  border-bottom: 1px dotted #b8a49c;
  transition: color 0.2s;
}

.breadcrumbs-left a:hover {
  color: #d4a6b5;
  border-bottom-color: #d4a6b5;
}

.product-sku {
  background: none;
  border: none;
  font-family: 'SF Mono', 'Menlo', monospace;
  color: #9a8a82;
  font-size: 11px;
  padding: 0;
}


.product-modal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 15px 0;
  color: #2c2420;
  text-align: left;
  letter-spacing: -0.01em;
}


.product-story {
  margin: 10px 0 30px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #3a322e;
  position: relative;
  padding-left: 20px;
  border-left: 1px solid #d4a6b5;
}

.product-story p {
  margin: 0;
}

.product-story .dropcap {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 70px;
  line-height: 0.8;
  margin-right: 12px;
  color: #d4a6b5;
  font-weight: 300;
}


.product-modal-price-section {
  background: transparent;
  border-left: none;
  padding: 0;
  margin: 20px 0 25px;
}

#modal-product-price {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #2c2420;
  margin: 0 0 15px 0;
  text-align: left;
}

.delivery-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 250, 245, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(210, 180, 170, 0.25);
  border-radius: 0;
  margin: 15px 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #2c2420;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.delivery-icon {
  width: 28px;
  height: 28px;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4a6b5"%3E%3Cpath d="M18 18.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM4 4h3l2.6 13h9.8l2.2-7H14V7h6.6l1.4 5H14v-2h6.6L18 5H5.2l-.6-3H2v2h2v12h2v-2H4V4z"/%3E%3C/svg%3E') no-repeat center;
  background-size: contain;
  opacity: 0.8;
}


.texture-selector {
  margin: 10px 0 20px;
}

.texture-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7a6a63;
  margin-bottom: 12px;
}

.texture-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.texture-option {
  width: 60px;
  height: 60px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
  background-size: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}

.texture-option.active {
  border: 2px solid #d4a6b5;
  box-shadow: 0 0 0 3px rgba(212, 166, 181, 0.15);
}

.texture-option[data-texture="leather"] {
  background-image: repeating-linear-gradient(45deg, #4a3a32 0px, #4a3a32 2px, #5c4a42 2px, #5c4a42 6px);
}

.texture-option[data-texture="fabric"] {
  background-image: repeating-linear-gradient(0deg, #c0b0a0 0px, #c0b0a0 1px, #d8c8b8 1px, #d8c8b8 3px);
}

.texture-option[data-texture="metal"] {
  background: linear-gradient(135deg, #9e8e84 0%, #b8a89e 50%, #d0c0b6 100%);
  position: relative;
}

.texture-option[data-texture="metal"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,240,0.4) 0%, transparent 70%);
}

.texture-label {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(30,25,22,0.6);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 9px;
  text-transform: uppercase;
  padding: 2px 4px;
  text-align: center;
  letter-spacing: 0.5px;
  border-radius: 2px;
}


.product-modal-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0 25px;
  flex-wrap: wrap;
}

.primary-subcategory-select {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid rgba(180, 160, 150, 0.3);
  background: rgba(255, 250, 245, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2c2420;
  border-radius: 0;
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%237a6a63" stroke-width="1.5"%3E%3Cpath d="M6 9l6 6 6-6"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  cursor: pointer;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid rgba(180, 160, 150, 0.3);
  background: rgba(255, 250, 245, 0.5);
  padding: 0;
  border-radius: 0;
}

.quantity-controls button {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 300;
  color: #5c4e46;
  cursor: pointer;
  transition: background 0.2s;
}

.quantity-controls button:hover {
  background: rgba(212, 166, 181, 0.1);
  color: #d4a6b5;
}

.quantity-controls span {
  min-width: 40px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #2c2420;
}

.product-modal-add-btn {
  width: 100%;
  padding: 16px;
  background: #2c2420;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 15px 0 10px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-modal-add-btn:hover:not(:disabled) {
  background: #d4a6b5;
  color: #1a1412;
  box-shadow: 0 8px 20px rgba(212, 166, 181, 0.25);
}


.product-modal-description-row {
  clear: both;
  margin-top: 30px;
  border-top: 1px solid rgba(180, 160, 150, 0.2);
  padding-top: 30px;
}

.product-modal-description {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #3a322e;
  background: transparent;
  border: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}


.floating-checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 24, 22, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1010;
  border-top: 1px solid rgba(212, 166, 181, 0.3);
  box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
}

.floating-checkout-bar.visible {
  transform: translateY(0);
}

.floating-price {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.floating-checkout-btn {
  background: #d4a6b5;
  color: #1a1412;
  border: none;
  padding: 14px 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(212, 166, 181, 0.3);
}

.floating-checkout-btn:hover {
  background: #e6c0ce;
  transform: scale(1.02);
}


.view-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1020;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 18, 16, 0.6);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,240,0.15);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #e8ddd6;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
}

.view-toggle:hover {
  background: rgba(30, 25, 22, 0.8);
}

.cinematic-mode .product-modal-left img {
  filter: brightness(1.1) contrast(1.05) saturate(1.1);
  box-shadow: 0 0 0 2px rgba(212, 166, 181, 0.5), 0 0 30px rgba(212, 166, 181, 0.3);
  transition: all 0.4s;
}


@media (max-width: 1024px) {
  .product-modal-row1 {
    grid-template-columns: 1fr 1fr;
  }
  .product-modal-left {
    margin-left: -20px;
    margin-top: -20px;
    height: auto;
    min-height: 450px;
  }
  .product-modal-name {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .product-modal-content {
    padding: 20px 20px 0 !important;
  }
  .product-modal-row1 {
    display: flex;
    flex-direction: column;
  }
  .product-modal-left {
    margin: -20px -20px 0;
    width: auto;
    height: 350px;
  }
  .product-modal-right {
    padding: 25px 0 0;
  }
  .product-quote blockquote {
    font-size: 20px;
  }
  .product-modal-name {
    font-size: 30px;
  }
  .floating-checkout-bar {
    padding: 10px 20px;
  }
  .floating-checkout-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .view-toggle {
    bottom: 80px;
    left: 15px;
  }
}

@media (min-width: 769px) {
  #product-modal .close {
    top: 25px;
    right: 35px;
    background: rgba(255,250,245,0.85);
    backdrop-filter: blur(8px);
    color: #2c2420;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-weight: 300;
    font-size: 28px;
    transition: all 0.2s;
    border: 1px solid rgba(210,180,170,0.2);
  }
  #product-modal .close:hover {
    background: #fff;
    color: #d4a6b5;
    transform: rotate(90deg);
  }
}


.product-modal-content .product-modal-left,
.product-modal-content .product-modal-right {
  max-width: none;
  margin: 0;
}