/**
 * Product Page Redesign Styles
 * Grid layout matching SanMar style with enhanced header
 */

/* Enhanced Header Styles */
.enhanced-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #2d5f3f;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-item i {
    font-size: 12px;
}

.header-main {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.enhanced-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-button {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    padding: 0 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
}

.search-button:hover {
    background: var(--primary-dark);
}

/* Header Search Results */
.header-search .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Section - Enhanced like Sanmar */
.product-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

/* Product Grid Layout - Enhanced (55/45 Split for Better Content Balance) */
.product-layout {
    display: grid;
    grid-template-columns: 1.22fr 1fr;
    gap: 3rem;
}

/* Product Images Section - Left Column */
.product-images-section {
    position: relative;
}

/* Thumbnails - Horizontal Strip Below Main Image */
.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-thumbnails .thumbnail {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0.6;
}

.product-thumbnails .thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.product-thumbnails .thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.product-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Gallery - Enhanced like Sanmar (Taller for Better Display) */
.product-gallery .gallery-main {
    background: #fafafa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 750px;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-lg);
}

.product-gallery .main-image {
    max-width: 100%;
    max-height: 750px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
    will-change: transform;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

/* Image Navigation Dots - Overlay on Main Image */
.image-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.4;
}

.image-dot.active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

.image-dot:hover {
    opacity: 0.7;
}


/* Product Info Column - Modern 2025 Spacing with Overflow Fix */
.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.product-info-column > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Product Badge - Modern Subtle Style */
.product-badge {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Product Header - Enhanced Modern Hierarchy */
.product-info .product-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.product-info .product-header-text {
    flex: 1;
}

.product-info .brand-logo {
    flex-shrink: 0;
    max-width: 120px;
}

.product-info .brand-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-info .product-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary, #1f2937);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.product-info .product-style {
    color: var(--text-secondary, #6b7280);
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.product-info .product-sizes {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

/* Product Features List */
.product-features {
    background: var(--bg-color, #f8f9fa);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.product-features h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Product Details Grid */
.product-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Inventory Button Container - Below Thumbnails */
.inventory-button-container {
    margin-top: 1.5rem;
    padding: 0;
}

/* Inventory Button - Northwest Green Action Button */
.inventory-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a9940 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(47, 102, 30, 0.15),
                0 2px 4px rgba(47, 102, 30, 0.1);
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

/* Subtle shine effect */
.inventory-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.inventory-button:hover::before {
    left: 100%;
}

.inventory-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d7a33 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 102, 30, 0.25),
                0 3px 8px rgba(47, 102, 30, 0.15);
}

.inventory-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(47, 102, 30, 0.2);
}

.inventory-button i {
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

/* Responsive text for smaller buttons */
@media (max-width: 480px) {
    .inventory-button {
        font-size: 0.9375rem;
        padding: 0.875rem 1.25rem;
    }
}

/* Color Swatches - Modern Section Spacing with Overflow Fix */
.color-swatches {
    background: transparent;
    padding: 0;
    margin-top: 0;
    max-width: 100%;
    overflow: hidden;
}

.color-swatches h3 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    letter-spacing: -0.025em;
    max-width: 100%;
    box-sizing: border-box;
}

/* Selected Color Display - SanMar Style */
.selected-color-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7f0;
    border: 1px solid #d4e8d4;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-color);
}

.selected-color-display .checkmark {
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

.selected-color-display .selected-label {
    color: var(--text-light);
    font-weight: 400;
}

.selected-color-display .selected-name {
    font-weight: 600;
    color: var(--text-color);
}

.swatches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 1rem;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.color-swatch {
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
}

.color-swatch:hover {
    transform: translateY(-3px);
}

.color-swatch .swatch-image {
    width: 70px;
    height: 70px;
    margin: 0 auto 4px;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    transition: all 0.2s;
    position: relative;
    box-shadow: var(--shadow);
}

.color-swatch.selected .swatch-image {
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(76, 179, 84, 0.2);
}

.color-swatch:hover .swatch-image {
    border-color: #999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.color-swatch .swatch-name {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.3;
    font-weight: 500;
    max-width: 80px;
    margin: 0 auto;
}

.color-swatch.selected .swatch-name {
    color: var(--primary-color);
    font-weight: 600;
}

.color-swatch .fallback-color {
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

/* Show All Colors Button with Overflow Fix */
.show-all-colors-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    margin-top: 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
}

.show-all-colors-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(47, 102, 30, 0.2);
}

.show-all-colors-btn i {
    font-size: 0.875rem;
}

/* ==========================================
   DECORATION SELECTOR BANNER - 2025 HERO DESIGN
   ========================================== */

.decoration-selector-banner {
    background: linear-gradient(135deg,
        rgba(47, 102, 30, 0.02) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(76, 179, 84, 0.02) 100%
    );
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg,
        transparent 0%,
        var(--border-color) 20%,
        var(--border-color) 80%,
        transparent 100%
    ) 1;
    padding: 3.5rem 0;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle animated background pattern */
.decoration-selector-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(47, 102, 30, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(76, 179, 84, 0.03) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.decoration-selector-banner .banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.decoration-selector-banner .banner-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg,
        var(--primary-dark) 0%,
        var(--primary-color) 50%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 0 0 2.5rem 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(47, 102, 30, 0.1);
}

/* Add decorative element under title */
.decoration-selector-banner .banner-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%
    );
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Horizontal Decoration Selector */
.decoration-selector-horizontal {
    background: transparent;
    padding: 0;
    border: none;
    margin: 0;
    box-shadow: none;
}

.decoration-selector-horizontal h3 {
    display: none; /* Hide the h3 since we have banner-title */
}

/* Decoration Selector - Modern 2025 Style (NO GREEN GRADIENT!) */
.decoration-selector {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    margin-bottom: 2rem;
    margin-top: 0;
    box-shadow: var(--shadow);
}

.decoration-selector h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    text-align: left;
    letter-spacing: -0.025em;
}

/* Horizontal Method Cards Grid */
.decoration-methods-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Horizontal banner specific styling */
.decoration-selector-horizontal .decoration-methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium 2025 Method Cards */
.method-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04),
                0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer effect on card background */
.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
}

.method-card:hover::before {
    left: 100%;
}

/* Premium hover state with glow */
.method-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(47, 102, 30, 0.12),
                0 4px 12px rgba(47, 102, 30, 0.08),
                0 0 0 1px rgba(76, 179, 84, 0.2);
    border-color: rgba(76, 179, 84, 0.4);
}

/* Glass-morphism active state */
.method-card.active {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg,
        rgba(47, 102, 30, 0.04) 0%,
        rgba(76, 179, 84, 0.08) 100%
    );
    backdrop-filter: blur(10px);
    box-shadow: 0 0 0 4px rgba(76, 179, 84, 0.15),
                0 12px 32px rgba(47, 102, 30, 0.16),
                0 4px 12px rgba(47, 102, 30, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.method-card.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 0%,
        rgba(76, 179, 84, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* Premium Icon with Bounce Animation */
.method-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.method-card:hover .method-icon {
    transform: scale(1.15) translateY(-4px);
    animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.15) translateY(-4px); }
    50% { transform: scale(1.2) translateY(-8px); }
}

.method-card.active .method-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(76, 179, 84, 0.25));
}

/* Premium Typography */
.method-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.method-card:hover .method-name {
    color: var(--primary-dark);
}

.method-card.active .method-name {
    background: linear-gradient(135deg,
        var(--primary-dark) 0%,
        var(--primary-color) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Badge */
.method-feature {
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: #6b7280;
    background: rgba(107, 114, 128, 0.06);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.method-card:hover .method-feature {
    background: rgba(76, 179, 84, 0.12);
    color: var(--primary-dark);
}

.method-card.active .method-feature {
    background: linear-gradient(135deg,
        rgba(47, 102, 30, 0.15) 0%,
        rgba(76, 179, 84, 0.2) 100%
    );
    color: var(--primary-dark);
    font-weight: 700;
}

.method-feature i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.method-card:hover .method-feature i {
    transform: scale(1.1);
}

/* Method Content - Modern 2025 Style */
.method-content {
    background: transparent;
    padding: 1.5rem 0 0 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.method-info {
    margin-bottom: 1rem;
    text-align: left;
}

.method-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.method-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary, #6b7280);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.method-details {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.method-details .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary, #1f2937);
    font-weight: 500;
}

.method-details .detail-item i {
    font-size: 1rem;
    opacity: 0.8;
}

/* CTA Button - Modern Primary Action Style */
.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.cta-button i {
    font-size: 1.125rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Product Description - Modern Readability with Overflow Fix */
.product-description-text {
    color: var(--text-secondary, #4b5563);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-size: 1rem;
    letter-spacing: 0.01em;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.product-description-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.product-description-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.product-description-section p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Hide old sections */
.pricing-section,
.inventory-section {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images-section {
        order: 1;
    }

    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        overflow-x: auto;
    }

    .product-gallery .gallery-main {
        min-height: 500px;
    }

    .product-gallery .main-image {
        max-height: 500px;
    }

    .product-info-column {
        order: 2;
    }

    .swatches-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .product-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .enhanced-header .header-content {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        flex: 0 0 100%;
        margin-top: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
    }

    .nav-links {
        display: none;
    }

    .decoration-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .method-icon {
        font-size: 2rem;
    }

    .method-name {
        font-size: 0.8rem;
    }

    .swatches-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .method-details {
        flex-direction: column;
        gap: 5px;
    }

    .product-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .decoration-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-card {
        padding: 0.75rem 0.25rem;
    }

    .method-icon {
        font-size: 1.75rem;
    }

    .method-feature {
        font-size: 0.65rem;
    }

    .swatches-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .color-swatch .swatch-image {
        width: 40px;
        height: 40px;
    }
}

/* Simple Image Zoom Modal - SanMar Style */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button - Top Right */
.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.zoom-close svg {
    color: white;
}

/* Content Container */
.zoom-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loader */
.zoom-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.image-zoom-modal.loading .zoom-loader {
    display: block;
}

.image-zoom-modal.loading .zoom-image {
    opacity: 0;
}

.zoom-loader .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Main Image */
.zoom-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: default;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gallery Cursor */
.gallery-main {
    cursor: pointer;
}

.main-image {
    cursor: zoom-in;
}

/* Loading State */
.gallery-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.gallery-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Smooth Image Transitions */
.product-gallery .main-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-gallery .main-image.loading {
    opacity: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .zoom-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .zoom-content {
        width: 95%;
        height: auto;
    }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS - DECORATION BANNER
   ========================================== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .decoration-selector-banner {
        padding: 3rem 0;
    }

    .decoration-selector-banner .banner-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .decoration-selector-horizontal .decoration-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .method-card {
        padding: 1.75rem 1.25rem;
    }

    .method-icon {
        font-size: 3rem;
    }

    .method-name {
        font-size: 1rem;
    }
}

/* Mobile Landscape: 480px - 767px */
@media (max-width: 767px) {
    .decoration-selector-banner {
        padding: 2.5rem 0;
        margin-bottom: 2rem;
    }

    .decoration-selector-banner .banner-content {
        padding: 0 1.5rem;
    }

    .decoration-selector-banner .banner-title {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
    }

    .decoration-selector-banner .banner-title::after {
        width: 60px;
        height: 3px;
    }

    .decoration-selector-horizontal .decoration-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        max-width: 100%;
    }

    .method-card {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }

    .method-icon {
        font-size: 2.75rem;
    }

    .method-name {
        font-size: 0.9375rem;
    }

    .method-feature {
        font-size: 0.75rem;
        padding: 0.3125rem 0.625rem;
    }

    /* Reduce animations on mobile for performance */
    .method-card:hover {
        transform: translateY(-3px) scale(1.01);
    }

    .method-card:hover .method-icon {
        animation: none;
        transform: scale(1.08) translateY(-2px);
    }
}

/* Mobile Portrait: Below 480px */
@media (max-width: 480px) {
    .decoration-selector-banner {
        padding: 2rem 0;
        margin-bottom: 1.5rem;
    }

    .decoration-selector-banner .banner-content {
        padding: 0 1rem;
    }

    .decoration-selector-banner .banner-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
    }

    .decoration-selector-banner .banner-title::after {
        width: 50px;
        height: 3px;
        margin-top: 0.75rem;
    }

    .decoration-selector-horizontal .decoration-methods-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .method-card {
        padding: 1.25rem 1rem;
        gap: 0.625rem;
        border-radius: 12px;
    }

    .method-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(47, 102, 30, 0.1),
                    0 3px 8px rgba(47, 102, 30, 0.06);
    }

    .method-icon {
        font-size: 2.5rem;
    }

    .method-card:hover .method-icon {
        animation: none;
        transform: scale(1.05) translateY(-2px);
    }

    .method-name {
        font-size: 0.875rem;
    }

    .method-feature {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }

    .method-feature i {
        font-size: 0.75rem;
    }

    /* Disable shimmer effect on mobile for performance */
    .method-card::before {
        display: none;
    }

    /* Simplify active state */
    .method-card.active {
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .zoom-close {
        background: rgba(0, 0, 0, 0.7);
    }

    .zoom-image {
        box-shadow: none;
    }
}