@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    direction: rtl;
    text-align: right;
    background: #ffffff;
    min-height: 100vh;
}

html {
    overflow-y: auto;
}

/* Loading State */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.loading-spinner.show {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
}

/* Announcement Bar */
#announcement-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
    overflow: hidden;
    width: 100%;
}

#announcement-bar .announcement-content {
    display: inline-block;
    white-space: nowrap;
    animation: slide 40s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Header */
header {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 24px;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    direction: ltr;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: translateX(-50%) scale(1.05);
}

.header-icons {
    display: flex;
    gap: 12px;
    visibility: hidden;
}

/* Hamburger Menu */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
    z-index: 101;
    margin-left: auto;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background: #667eea;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Dropdown */
nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav a {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: right 0.3s ease;
    z-index: -1;
}

nav a:hover::before {
    right: 0;
}

nav a:hover {
    color: #fff;
    transform: translateX(5px);
}

.header-icons a {
}

.header-icons a {
    font-size: 20px;
    text-decoration: none;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.slider-container {
    position: relative;
    width: 60%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 0 50px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.slide-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide-image {
    width: 280px;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateX(-100px) scale(0.9);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.slide.active .slide-image {
    transform: translateX(0) scale(1);
    opacity: 1;
    transition-delay: 0.2s;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
    max-width: 400px;
}

.slide-content .category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-content .category-badge {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide-content h2 {
    font-size: 38px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-content h2 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
}

.slide-content p {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-content p {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

.slide-content .price-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-content .price-container {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.6s;
}

.slide-content .price {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.slide-content .old-price {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.slide-content .discount-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #e91e63;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.slide-content .discount-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #e91e63;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.slide-content .btn-primary {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-content .btn-primary {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.7s;
}

.slider-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.hero-slider .dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-slider .dot.active {
    background: #fff;
    width: 40px;
    border-radius: 5px;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.6);
}

.btn-secondary {
    background: #fff;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-block {
    width: 100%;
}

/* Features */
.features {
    padding: 60px 20px;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-card h3 {
    color: #fff;
}

.feature-card p {
    color: #fff;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Collections */
.collections {
    padding: 60px 20px;
    background: #2F4F4F;
}

.collections h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #fff;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #000;
}

.collection-card:nth-child(1) {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.collection-card:nth-child(1):hover {
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
}

.collection-card:nth-child(2) {
    border-radius: 30% 70% 70% 30% / 50% 50% 50% 50%;
}

.collection-card:nth-child(2):hover {
    border-radius: 70% 30% 30% 70% / 50% 50% 50% 50%;
}

.collection-card:nth-child(3) {
    border-radius: 50% 50% 20% 80% / 80% 20% 50% 50%;
}

.collection-card:nth-child(3):hover {
    border-radius: 50% 50% 80% 20% / 20% 80% 50% 50%;
}

.collection-card:nth-child(4) {
    border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%;
}

.collection-card:nth-child(4):hover {
    border-radius: 30% 70% 50% 50% / 70% 30% 50% 50%;
}

.collection-card:hover {
    transform: translateY(-10px);
}

.collection-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.collection-card:hover .collection-image {
    transform: scale(1.1);
}

.collection-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 24px;
}

/* Top Sells */
.top-sells {
    padding: 60px 20px;
    background: #2F4F4F;
}

.top-sells h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #fff;
}

/* Products Grid */
.products-preview, .shop-section {
    padding: 60px 20px;
    background: #2F4F4F;
}

.products-preview h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-card {
    background: #000;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: #667eea;
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card-info {
    padding: 15px;
    background: #000;
}

.product-card-info h3 {
    margin-bottom: 10px;
    color: #fff;
}

.product-card-info .price {
    color: #4caf50;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.product-card-info .price .old-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    font-weight: normal;
    margin: 0;
    order: -1;
}

/* Product Detail */
.product-detail {
    padding: 40px 20px;
    background: #ADD8E6;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: clip;
}

.product-detail .container {
    background: #ADD8E6;
    max-width: 100%;
}

.product-layout {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
    position: relative;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.product-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    z-index: 10;
    height: fit-content;
}

.product-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.product-gallery {
    max-width: 100%;
    margin: 0;
}

.pricing-box {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 600px;
}

.main-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.thumbnail-gallery {
    display: flex;
    gap: 1px;
    margin-top: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #e91e63;
}

.product-price {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.product-price .old-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    margin: 0;
    font-weight: normal;
    order: -1;
}

.product-price .price-value {
    color: #4caf50;
    font-size: 32px;
    font-weight: bold;
}

.product-description {
    margin: 20px 0;
    line-height: 1.8;
}

.product-options {
    margin: 30px 0;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.color-options, .size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option, .size-option {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.color-option:hover, .size-option:hover {
    border-color: #e91e63;
}

.color-option.selected, .size-option.selected {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

#quantity {
    width: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* COD Checkout */
.cod-checkout-section {
    max-width: 600px;
    margin: 0;
    padding: 30px;
    background: #e3f2fd;
    border-radius: 10px;
    border: 3px dashed #667eea;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #495057;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.trust-item svg {
    color: #667eea;
    stroke-width: 2;
}

.cod-checkout-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #667eea;
    font-size: 1.5rem;
}

.cod-form .form-group {
    margin-bottom: 20px;
}

.cod-form .form-group.inline {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cod-form .form-group.inline label {
    min-width: 80px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.cod-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: right;
}

.cod-form input, .cod-form select, .cod-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.cod-form input:focus, .cod-form select:focus, .cod-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Size Buttons in Form */
.size-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
}

.size-option {
    flex: 0;
    min-width: 35px;
    padding: 6px 10px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-option:hover {
    border-color: #667eea;
    background: #f0f0f0;
}

.size-option.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Color Selector in Form */
.color-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.color-option {
    width: 40px;
    height: 30px;
    border: 3px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-option:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.color-option.selected {
    border-color: #667eea;
    border-width: 4px;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #667eea;
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.5);
    pointer-events: none;
}

.color-option[style*="background-color: #FFFFFF"].selected::after,
.color-option[style*="background-color: #F5F5DC"].selected::after,
.color-option[style*="background-color: #FFFFF"].selected::after {
    color: #333;
    text-shadow: 0 0 3px rgba(255,255,255,0.8);
}

.color-option[style*="background-color: #FFFFFF"],
.color-option[style*="background-color: #F5F5DC"] {
    border-color: #999;
}

.color-option[style*="background-color: #FFFFFF"].selected,
.color-option[style*="background-color: #F5F5DC"].selected {
    border-color: #667eea;
}

.submit-button {
    width: 100%;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.submit-button:hover {
    background: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .trust-item {
        flex-direction: row;
        justify-content: center;
    }
}

.order-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: bold;
    font-size: 18px;
    border-top: 2px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.order-success {
    text-align: center;
    padding: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

/* Reviews */
.reviews-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.review-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-rating {
    color: #ffc107;
}

/* Shop Filters */
.shop-filters {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.shop-filters select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Contact */
.contact-section, .about-section {
    padding: 60px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-method {
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 30px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.error-message {
    color: #f44336;
    margin-top: 10px;
    text-align: center;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer p {
    color: #fff;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        padding: 10px 16px;
    }
    
    nav {
        right: 16px;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    .hero-slider {
        padding: 20px 0;
    }
    
    .slider-container {
        width: 95%;
        height: auto;
        min-height: 500px;
    }
    
    .slide {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
        text-align: center;
    }
    
    .slide-content {
        order: 2;
        max-width: 100%;
        padding: 0;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .slide-content .price {
        font-size: 24px;
    }
    
    .slide-image-container {
        order: 1;
        height: auto;
    }
    
    .slide-image {
        width: 160px;
        height: 210px;
        transform: translateY(-30px) scale(0.9);
    }
    
    .slide.active .slide-image {
        transform: translateY(0) scale(1);
    }
    
    .slider-dots {
        bottom: -20px;
    }
    
    .slider-nav {
        display: none;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-left-column {
        position: relative;
        top: auto;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .product-right-column {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .product-detail {
        padding: 20px 15px;
        max-width: 100vw;
        overflow-x: clip;
    }
    
    .product-detail .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-box {
        max-width: calc(100vw - 30px);
        margin: 0 auto 20px;
        width: calc(100% - 30px);
    }
    
    .cod-checkout-section {
        max-width: calc(100vw - 30px);
        margin: 0 auto 20px;
        padding: 20px 15px;
        width: calc(100% - 30px);
    }
    
    .description-content {
        max-width: calc(100vw - 30px);
        padding: 15px;
        width: calc(100% - 30px);
        margin: 0 auto;
    }
    
    .product-description-full,
    .reviews-slider-section,
    .product-video-section,
    .product-features-section,
    .faq-section,
    .related-products-section {
        padding: 30px 0;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 15px;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .faq-container,
    .features-grid,
    .video-container,
    .reviews-slider {
        max-width: calc(100vw - 30px);
        width: calc(100% - 30px);
        margin: 0 auto;
    }
    
    .product-slider-container {
        max-width: 100%;
        width: 100%;
        justify-content: center;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }
    
    .products-grid {
        padding: 0;
        width: calc(100% - 30px);
        max-width: calc(100vw - 30px);
        margin: 0 auto;
    }
    
    .product-title-main {
        max-width: calc(100vw - 30px);
        margin: 20px auto;
        width: calc(100% - 30px);
    }
    
    .product-gallery {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .product-slider-container {
        padding: 20px;
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-slider {
        position: relative;
        width: 100%;
        max-width: 450px;
        height: 600px;
    }
    
    .thumbnail-container {
        width: 70px;
        height: 450px;
        overflow: visible;
        position: relative;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail.active {
        top: 195px;
    }
    
    .thumbnail.side-1.prev {
        top: 130px;
    }
    
    .thumbnail.side-2.prev {
        top: 65px;
    }
    
    .thumbnail.side-1.next {
        top: 260px;
    }
    
    .thumbnail.side-2.next {
        top: 325px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Keep featured products as 1 per line on mobile */
    .products-preview .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Make all product cards square when 2 per line on mobile */
    .products-grid .product-card {
        border-radius: 8px;
    }
    
    .products-grid .product-image {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }
    
    .products-grid .product-card-info {
        padding: 8px;
    }
    
    .products-grid .product-card-info h3 {
        font-size: 13px;
        margin-bottom: 5px;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .products-grid .product-card-info .price {
        font-size: 15px;
    }
    
    .products-grid .product-card-info .price .old-price {
        font-size: 12px;
    }
    
    /* Override for featured products (1 per line) - keep normal size */
    .products-preview .products-grid .product-image {
        height: 400px;
    }
    
    .products-preview .products-grid .product-card-info {
        padding: 15px;
    }
    
    .products-preview .products-grid .product-card-info h3 {
        font-size: 16px;
        margin-bottom: 10px;
        -webkit-line-clamp: unset;
    }
    
    .products-preview .products-grid .product-card-info .price {
        font-size: 20px;
    }
    
    .products-preview .products-grid .product-card-info .price .old-price {
        font-size: 16px;
    }
    
    .trust-badges {
        flex-direction: column;
    }
    
    .collections-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .collection-card {
        height: 200px;
    }
    
    .collection-card h3 {
        font-size: 18px;
        padding: 15px;
    }
}


/* Product Page Enhancements */
.product-title-main {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 20px auto;
    padding: 12px 20px;
    border: 2px solid #667eea;
    border-radius: 12px;
    max-width: 90%;
    box-shadow: 0 0 10px #667eea, 0 0 20px #667eea;
    letter-spacing: 0.5px;
}

/* Pricing Box */
.pricing-box {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.limited-offer-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.live-visitors {
    background: #f0f7ff;
    border: 1px solid #d0e4ff;
    color: #1a73e8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.visitor-count {
    font-weight: 700;
    color: #ff4444;
}

/* 3D Vertical Carousel */
.product-slider-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.thumbnail-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.thumbnail-container {
    position: relative;
    width: 100px;
    height: 600px;
    overflow: visible;
    flex-shrink: 0;
}

.thumbnail {
    position: absolute;
    left: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.6s ease-in-out;
    opacity: 0;
    transform: translateX(-50%) scale(0.6);
    pointer-events: none;
}

.thumbnail.active {
    opacity: 1;
    border-color: #667eea;
    border-width: 3px;
    transform: translateX(-50%) scale(1);
    z-index: 10;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
    top: 265px;
    pointer-events: auto;
}

.thumbnail.side-1 {
    opacity: 0.8;
    transform: translateX(-50%) scale(0.85);
    pointer-events: auto;
}

.thumbnail.side-2 {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.7);
    pointer-events: auto;
}

.thumbnail.side-1.prev {
    top: 190px;
}

.thumbnail.side-2.prev {
    top: 120px;
}

.thumbnail.side-1.next {
    top: 340px;
}

.thumbnail.side-2.next {
    top: 410px;
}

.product-slider {
    position: relative;
    width: 400px;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.main-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.slider-arrow, .thumb-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-arrow:hover, .thumb-arrow:hover {
    background: #667eea;
    color: white;
}

/* Reviews Slider */
.reviews-slider-section {
    padding: 40px 20px;
    background: #ADD8E6;
}

.reviews-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    min-height: 200px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    display: none;
}

.review-card.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.review-stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 15px;
}

.review-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.review-author {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: bold;
}

.reviews-slider-section .slider-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    text-align: center;
    margin-top: 20px;
}

.reviews-slider-section .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reviews-slider-section .dot.active {
    background-color: #667eea;
}

/* FAQ Section */
.faq-section {
    padding: 40px 20px;
    background: #ADD8E6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 20px;
    text-align: right;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px;
    color: #666;
    line-height: 1.8;
}

/* Product Description Full */
.product-description-full {
    padding: 0;
    background: transparent;
    margin-bottom: 0;
}

.description-content {
    max-width: 600px;
    margin: 0;
    text-align: right;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.description-content h2 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 15px;
}

.description-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

/* Product Video Section */
.product-video-section {
    padding: 40px 20px;
    background: #ADD8E6;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Mobile: Full width video with no padding */
@media (max-width: 768px) {
    .product-video-section {
        padding: 0;
        margin: 0;
    }
    
    .video-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .product-video-section .section-title {
        padding: 20px 15px 15px;
        margin: 0;
    }
}

/* Product Features Section */
.product-features-section {
    padding: 40px 20px;
    background: #ADD8E6;
}

/* Related Products Section */
.related-products-section {
    padding: 60px 20px;
    background: #ADD8E6;
}

.related-products-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

.related-products-section .products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #667eea #e0e0e0;
    padding-bottom: 10px;
}

.related-products-section .products-grid::-webkit-scrollbar {
    height: 8px;
}

.related-products-section .products-grid::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.related-products-section .products-grid::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.related-products-section .products-grid::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

.related-products-section .product-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

/* Mobile: Smaller cards for related products */
@media (max-width: 768px) {
    .related-products-section {
        padding: 40px 0;
    }
    
    .related-products-section .section-title {
        padding: 0 15px;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .related-products-section .products-grid {
        padding: 0 15px 10px;
        gap: 12px;
    }
    
    .related-products-section .product-card {
        flex: 0 0 160px;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* WhatsApp Help Button */
.whatsapp-help-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: all 0.3s;
    max-width: 60px;
    overflow: hidden;
}

.whatsapp-help-button:hover {
    max-width: 300px;
    padding-right: 25px;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-text {
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.3s 0.1s;
}

.whatsapp-help-button:hover .whatsapp-text {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s;
}

.back-to-top-button:hover {
    background: #5568d3;
    transform: translateY(-5px);
}

.back-to-top-button.show {
    display: flex;
}

@media (max-width: 768px) {
    .whatsapp-help-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
    }
    
    .back-to-top-button {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-slider-container {
        flex-direction: row;
        gap: 10px;
    }
    
    .thumbnail-nav-wrapper {
        flex-direction: column;
    }
    
    .thumbnail-container {
        width: 70px;
        height: 450px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail.active {
        top: 195px;
    }
    
    .thumbnail.side-1.prev {
        top: 130px;
    }
    
    .thumbnail.side-2.prev {
        top: 65px;
    }
    
    .thumbnail.side-1.next {
        top: 260px;
    }
    
    .thumbnail.side-2.next {
        top: 325px;
    }
    
    .product-slider {
        width: 320px;
        height: 450px;
    }
}

/* Order Confirmation Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.popup-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    text-align: center;
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.success-icon-large {
    width: 80px;
    height: 80px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.popup-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.popup-body {
    padding: 30px;
    text-align: center;
}

.order-id-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.order-id-text strong {
    color: #667eea;
    font-weight: 700;
}

.confirmation-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .popup-header {
        padding: 30px 20px 15px;
    }
    
    .success-icon-large {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .popup-header h2 {
        font-size: 20px;
    }
    
    .popup-body {
        padding: 20px;
    }
}

/* Loading spinner animation for submit button */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form validation error highlighting */
.field-error {
    animation: shake 0.5s ease-in-out, highlight 1s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes highlight {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
        border-color: #ff0000;
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.4);
        border-color: #ff0000;
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
        border-color: inherit;
    }
}

/* Error highlighting for color and size selectors */
.color-selector.field-error,
.size-buttons.field-error {
    padding: 10px;
    border: 2px solid #ff0000;
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.05);
}

/* Error highlighting for input fields */
input.field-error {
    border-color: #ff0000 !important;
    background: rgba(255, 0, 0, 0.05);
}

/* Skeleton Loading Animation */
.skeleton-card {
    pointer-events: none;
    cursor: default;
}

.skeleton-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-title {
    width: 80%;
    height: 18px;
}

.skeleton-price {
    width: 50%;
    height: 22px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {
    .skeleton-image {
        height: 180px;
    }
}

/* Fix mobile double-tap issue - Remove ALL hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    /* Disable all hover states */
    *:hover {
        /* Reset any hover effects */
    }
    
    .product-card:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: #333 !important;
    }
    
    .product-card:hover .product-image {
        transform: none !important;
    }
    
    .color-option:hover {
        border-color: inherit !important;
        transform: none !important;
    }
    
    .size-option:hover {
        border-color: inherit !important;
        background: inherit !important;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover,
    .submit-button:hover,
    button:hover,
    a:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    /* Make everything instantly clickable */
    .product-card,
    .color-option,
    .size-option,
    .thumbnail,
    a,
    button {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.3);
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Remove 300ms tap delay globally */
* {
    touch-action: manipulation;
}

a, button, input, select, textarea, 
.product-card, .color-option, .size-option, .thumbnail {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
}

/* Smooth swipe transitions for mobile */
@media (max-width: 768px) {
    .product-slider {
        touch-action: pan-y pinch-zoom;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .main-slider-image {
        transition: opacity 0.3s ease-in-out;
        pointer-events: none;
    }
    
    .thumbnail-container {
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .thumbnail {
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .reviews-slider {
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .review-card {
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    
    .review-card:not(.active) {
        pointer-events: none;
    }
    
    /* Related products horizontal scroll */
    .related-products-section .products-grid {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Prevent text selection during swipe */
.product-slider-container,
.reviews-slider-section,
.related-products-section {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection in review text */
.review-text,
.review-author {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Form inputs without labels */
#fullName, #phone, #address {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

#fullName:focus, #phone:focus, #address:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#fullName::placeholder, #phone::placeholder, #address::placeholder {
    color: #999;
}

/* Skeleton Loading */
.product-card.skeleton {
    pointer-events: none;
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

.skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin: 8px 0;
}

.skeleton-text.short {
    width: 60%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
