@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* Ves Boutiques - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #ff7675;
    --accent-color: #0984e3;
    --dark-bg: #2d3436;
    --light-bg: #f5f6fa;
    --text-dark: #2f3640;
    --text-light: #718093;
    --border-color: #dcdde1;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8f9fa;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.urgency-banner {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a6f 50%, #ff6b6b 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    padding: 0.75rem 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 997;
}

.banner-content {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 2rem;
}

.banner-text {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 1rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a:hover {
    color: var(--accent-color);
}

.logo-text-luxury {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(255, 118, 117, 0.4);
}

/* Navigation Search Bar */
.nav-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-search:hover {
    background-color: #f8f9fa;
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    outline: none;
    width: 150px;
    transition: var(--transition);
}

.search-input::placeholder {
    color: #95a5a6;
}

.search-input:focus {
    width: 200px;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.search-btn:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Banner (Typewriter) */
.hero-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 40px;
    margin: 40px auto 20px auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.typewriter-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
    color: white;
    min-height: clamp(1.8rem, 3.8vw, 2.8rem);
    display: inline-block;
}
.tw-cursor {
    display: inline-block;
    width: 4px;
    height: 0.9em;
    background-color: #ff6b9d;
    vertical-align: text-bottom;
    animation: tw-blink 1s step-end infinite;
    margin-left: 2px;
    border-radius: 2px;
}
@keyframes tw-blink {
    50% { opacity: 0; }
}

/* Hero Section - Slideshow */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--dark-bg);
    color: white;
    text-align: center;
}



.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide Navigation */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.slide-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-indicator.active {
    background-color: white;
}

.slide-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Slideshow Control (Play/Pause) */
.slideshow-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid white;
    font-size: 1.2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.slideshow-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 90%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #fd79a8);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 118, 117, 0.4);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 118, 117, 0.6);
    background: linear-gradient(135deg, #fd79a8, var(--secondary-color));
}

/* Products Grid */

.product-filters {
    margin: 2rem 0 1.5rem 0;
    display: flex;
    justify-content: flex-start;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.platform-select {
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.platform-select:hover {
    border-color: var(--accent-color);
}

.platform-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-image {
    position: relative;
    width: 100%;
}

.slide-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-indicator.active {
    background-color: white;
}

.slide-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Slideshow Control (Play/Pause) */
.slideshow-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid white;
    font-size: 1.2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.slideshow-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 90%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Products Grid */

.product-filters {
    margin: 2rem 0 1.5rem 0;
    display: flex;
    justify-content: flex-start;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.platform-select {
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.platform-select:hover {
    border-color: var(--accent-color);
}

.platform-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-media-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.product-image-overlay.fade-out {
    opacity: 0;
}

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

.product-card:hover .product-video {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--danger-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 10;
    pointer-events: auto;
}

.coupon-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--success-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
    z-index: 10;
    pointer-events: auto;
}

/* Buyer Intent & Ranking Indicators */
.buyer-intent-indicator {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 4px 8px;
    background-color: #e3f2fd;
    border-left: 3px solid var(--accent-color);
    border-radius: 2px;
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
}

.ranking-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #3498db 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 9;
    pointer-events: auto;
}

/* Category Group Header */
.category-group-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-color);
}

.category-group-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
}

.category-product-count {
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Buyer Intent Message */
.buyer-intent-message {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.buyer-intent-message p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.buyer-intent-message .intent-icon {
    margin-right: 0.5rem;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--accent-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.original-price {
    margin-left: 0.5rem;
    text-decoration: line-through;
    color: var(--text-light);
}

.product-rating {
    color: var(--warning-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Amazon Star Rating Style */
.product-rating.amazon-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.product-rating.amazon-rating .star-rating {
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    color: #FF9900;
}

.product-rating.amazon-rating .rating-value {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Amazon Rating on Product Detail Page */
.amazon-rating-stars {
    font-size: 1.3rem;
    letter-spacing: 0.25rem;
    color: #FF9900;
    display: inline-block;
}

.amazon-rating-count {
    font-weight: 600;
    color: var(--secondary-color);
    margin-left: 0.5rem;
}

/* Amazon Review Section Styling */
.avg-rating-value.amazon-review-rating {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF9900;
}

.avg-rating-stars.amazon-review-stars {
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    color: #FF9900;
    display: block;
    margin: 0.5rem 0;
}

/* AliExpress Review Section Styling - Percentage Design */
.avg-rating-value.aliexpress-review-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E82E04;
    border: 3px solid #E82E04;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 46, 4, 0.1) 0%, rgba(232, 46, 4, 0.05) 100%);
    margin: 0 auto;
}

.avg-rating-stars.aliexpress-review-percentage-bar {
    display: block;
    margin: 1rem 0;
    width: 100%;
}

.aliexpress-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.aliexpress-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E82E04 0%, #FF4500 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.product-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    font-weight: 600;
}

.product-btn:hover {
    background-color: #2980b9;
}

/* Skeleton Loading */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1s infinite;
}

.skeleton-text {
    height: 12px;
    margin: 8px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1s infinite;
    border-radius: 4px;
}

.skeleton-text.short {
    width: 60%;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    background-color: white;
}

.featured-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--primary-color);
}

/* 🎯 Your Store - Personalized Section */
.your-store-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-top: 3px solid var(--primary-color);
}

.your-store-header {
    margin-bottom: 3rem;
    animation: fadeInDown 0.6s ease;
}

.your-store-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.your-store-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.your-store-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.your-store-category-section {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.your-store-category-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.your-store-subsection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.your-store-subsection-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.your-store-subsection-header .view-all-link {
    white-space: nowrap;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
}

.your-store-subsection-header .view-all-link:hover {
    color: var(--accent-color);
}

.your-store-description {
    color: #777;
    margin: 0;
    font-size: 0.95rem;
}

.your-store-products-grid {
    gap: 1.5rem;
}

.your-store-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.your-store-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.your-store-product-card .product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.your-store-product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.your-store-product-card .discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.your-store-product-card .product-info {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.your-store-product-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.your-store-product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

@media (max-width: 768px) {
    .your-store-section {
        padding: 2rem 0;
    }

    .your-store-header h2 {
        font-size: 1.8rem;
    }

    .your-store-subsection-header {
        flex-direction: column;
        gap: 1rem;
    }

    .your-store-subsection-header .view-all-link {
        align-self: flex-start;
    }

    .your-store-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* Women's Fashion Section */
.womens-fashion {
    padding: 4rem 0;
    background-color: #fff5f7;
}

.womens-fashion h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--primary-color);
}

/* Section Header with View All Link */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
}

.view-all-link {
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.view-all-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Section Title Link */
.section-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.3s ease;
}

.section-title-link h2 {
    margin: 0;
    display: inline-block;
    position: relative;
}

.section-title-link h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.section-title-link:hover h2::after {
    width: 100%;
}

.section-title-link:hover {
    color: var(--secondary-color);
}

/* Men's Wardrobe Section */
.mens-wardrobe {
    padding: 4rem 0;
    background-color: #f0f4f8;
}

.mens-wardrobe h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--primary-color);
}

/* Blowout Sale Section */
.blowout-sale {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8c42 100%);
}

.blowout-sale h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Newest Arrivals Section */
.newest-arrivals {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.newest-arrivals h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--primary-color);
}

/* Search Section */
.search-section {
    background-color: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.search-controls {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.search-box {
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.filter-group select,
.filter-group input {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.refresh-btn {
    align-self: flex-end;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.refresh-btn:hover {
    background-color: #2980b9;
}

.refresh-btn:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
}

.results-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.info-message a {
    color: #155724;
    text-decoration: underline;
}

.no-products,
.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.similar-products-header {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #e8f4f8;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.similar-products-header p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3rem 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
}

/* Pagination */
.pagination-section {
    padding: 2rem 0;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background-color: #2980b9;
}

.pagination-btn:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
}

/* About Section */
.about-section {
    padding: 3rem 0;
}

.about-card {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    text-align: center;
}

.stat h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info,
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #2980b9;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3rem 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 20px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Styling */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .utility-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .utility-left,
    .utility-right {
        width: 100%;
        justify-content: center;
    }

    .utility-link,
    .utility-cta {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .banner-text {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .filters-row {
        grid-template-columns: 1fr;
    }

    .refresh-btn {
        width: 100%;
    }

    .nav-search {
        display: flex;
        width: 100%;
        order: 3;
        margin-top: 0.5rem;
    }

    .search-input {
        width: 100%;
    }

    .search-input:focus {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .slide-nav {
        font-size: 1.5rem;
        padding: 10px 15px;
    }

    .slide-prev {
        left: 10px;
    }

    .slide-next {
        right: 10px;
    }

    .slideshow-control {
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
        padding: 8px 12px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .filters-row {
        grid-template-columns: 1fr;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .banner-text {
        font-size: 0.8rem;
        padding: 0 0.3rem;
    }

    @keyframes scroll {
        0% {
            transform: translateX(100%);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    .utility-bar {
        padding: 0.5rem 0;
    }

    .utility-container {
        padding: 0 15px;
    }

    .nav-search {
        justify-content: center;
    }

    .search-input {
        width: 100%;
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    /* Truncate product names on mobile to 3 lines max */
    .product-name {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.95rem;
    }

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

    .page-header h1 {
        font-size: 1.5rem;
    }

    .about-card,
    .contact-info,
    .contact-form-wrapper {
        padding: 1rem;
    }
}

/* Product Detail Page Styles */
.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 60vh;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.spinner {
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

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

.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--danger-color);
}

.error-message p {
    margin-bottom: 1rem;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-detail-btn,
.product-purchase-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.product-detail-btn {
    background-color: #ff6b9d;
    color: white;
}

.product-detail-btn:hover {
    background-color: #ff5588;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-purchase-btn {
    background-color: var(--primary-color);
    color: white;
}

.product-purchase-btn:hover {
    background-color: #1a5f7a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Image Viewer Modal */
.image-viewer-modal {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Product Detail */
@media (max-width: 768px) {
    .product-detail-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-detail-btn,
    .product-purchase-btn {
        width: 100%;
    }
}

/* AppScript-Generated HTML Integration */
#productDetailContent {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure AppScript HTML renders properly */
#productDetailContent html,
#productDetailContent body {
    width: 100%;
    margin: 0;
    padding: 0;
}

#productDetailContent .amazon-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Fix for style container in detail page */
#productDetailContent {
    font-family: "Amazon Ember", Arial, sans-serif;
    background: white;
    color: #0F1111;
}

#productDetailContent img,
#productDetailContent video {
    max-width: 100%;
    height: auto;
}

#productDetailContent a {
    color: #0066c0;
    text-decoration: none;
}

#productDetailContent a:hover {
    text-decoration: underline;
}

#productDetailContent .action-btn {
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#productDetailContent .action-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#productDetailContent .btn-buy:hover {
    background-color: #F59200 !important;
}

/* Responsive adjustments for AppScript HTML */
@media (max-width: 1000px) {
    #productDetailContent .amazon-container {
        padding: 0 10px;
    }
}

@media (max-width: 600px) {
    #productDetailContent .amazon-container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    #productDetailContent .product-title {
        font-size: 18px !important;
    }

    #productDetailContent .price-row {
        margin: 10px 0 !important;
    }

    #productDetailContent .current-price {
        font-size: 22px !important;
    }

    #productDetailContent .specs-table {
        font-size: 12px !important;
    }

    #productDetailContent .spec-label,
    #productDetailContent .spec-value {
        padding: 8px !important;
    }
}

/* ========== PRODUCT DETAIL PAGE STYLES ========== */

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* New Breadcrumbs Navigation (Blog) */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 1rem 2rem;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 0.75rem;
    color: var(--text-light);
}

/* Product Detail Section */
.product-detail-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

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

.loading-state p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.error-state h2 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.error-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Product Detail Container */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    position: relative;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.main-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Thumbnails */
.thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover {
    border-color: var(--secondary-color);
}

.thumbnail.active {
    border-color: var(--secondary-color);
    background-color: #fff8f8;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}

/* Video Thumbnail */
.thumbnail.video-thumbnail {
    background-color: #000 !important;
}

.thumbnail.video-thumbnail.active {
    background-color: #000 !important;
    border-color: var(--secondary-color);
}

.thumbnail.video-thumbnail:hover {
    background-color: #000 !important;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-overlay.video-only {
    position: static;
    transform: none;
    background-color: rgba(0, 0, 0, 0.8);
    width: 60px;
    height: 60px;
}

.thumbnail:hover .video-play-overlay {
    background-color: rgba(0, 0, 0, 0.8);
    width: 60px;
    height: 60px;
}

.thumbnail.video-thumbnail:hover .video-play-overlay.video-only {
    background-color: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
}

.video-play-icon {
    font-size: 1.5rem;
    color: white;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badges */
.product-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-discount {
    background-color: #fee;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.badge-coupon {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.badge-use-coupon:hover {
    background-color: #c3e6cb;
    border-color: #1e7e34;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
}

.badge-use-coupon:active {
    transform: scale(0.95);
}

/* Product Title */
.product-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

/* Rating Section */
.rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.stars {
    font-size: 1.2rem;
    color: #ff9900;
    letter-spacing: 2px;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Price Section */
.price-section {
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 2rem;
    color: var(--danger-color);
    font-weight: 700;
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-percentage {
    background-color: var(--danger-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Product Details Box */
.product-details-box {
    padding: 1rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.product-details-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
}

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

.details-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-value {
    color: var(--text-light);
}

/* Description Section */
.description-section {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.description-section h3 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.description-section p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features-section {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.features-section h3 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

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

.features-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Coupon Section */
.coupon-section {
    padding: 1rem;
    background-color: #fff3cd;
    border-radius: 4px;
    border: 1px solid #ffc107;
}

.coupon-section h3 {
    margin-top: 0;
    color: #856404;
    font-size: 1rem;
}

.coupon-code-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.coupon-code {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    color: var(--text-dark);
    border: 1px solid #ffc107;
    flex: 1;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background-color: #ffc107;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.copy-btn:hover {
    background-color: #e0a800;
}

/* Additional Info */
.additional-info {
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.info-label {
    color: var(--text-dark);
    font-weight: 600;
}

.info-value {
    color: var(--text-light);
}

/* Related Products Section */
.related-products-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.related-products-section h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.related-products-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.related-product-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
    transition: var(--transition);
}

.related-product-card-link:hover {
    color: inherit;
}

.related-product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.related-product-card-link:hover .related-product-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.related-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.related-product-image {
    position: relative;
    background-color: #f5f5f5;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.related-discount-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--danger-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.related-product-info {
    padding: 1rem;
}

.related-product-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.related-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.related-link {
    display: none;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.related-link:hover {
    text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reviews-section h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.avg-rating {
    text-align: center;
    padding: 1.5rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.avg-rating-value {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.avg-rating-stars {
    font-size: 1.3rem;
    color: #ff9900;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.avg-rating p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .related-products-carousel {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .product-detail-section {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 0.5rem;
        gap: 1.5rem;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .current-price {
        font-size: 1.3rem;
    }

    .zoom-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

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

    .action-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Newsletter Subscription Section */
.newsletter-subscription {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem 0;
    color: white;
}

.subscription-content {
    text-align: center;
}

.subscription-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.subscription-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.subscription-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subscription-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.subscription-form input::placeholder {
    color: #ccc;
}

.subscription-btn {
    padding: 0.9rem 2rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscription-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subscription-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#subscriptionStatus {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

#subscriptionStatus.success {
    color: #4CAF50;
}

#subscriptionStatus.error {
    color: #f44336;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #45a049;
}

.cookie-btn.reject {
    background-color: #555;
    color: white;
}

.cookie-btn.reject:hover {
    background-color: #666;
}

/* Footer Legal Info */
.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: white;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.license-info {
    font-weight: 600;
    color: #f5f5f5;
}

.separator {
    color: #999;
}

.cookie-link,
.google-reviews a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-link:hover,
.google-reviews a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Social Media Links */
.social-media-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.social-media-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(245, 245, 245, 0.1);
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-media-links a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.social-media-links a.youtube:hover {
    background-color: #FF0000;
}

.social-media-links a.facebook:hover {
    background-color: #1877F2;
}

.social-media-links a.instagram:hover {
    background-color: #E4405F;
}

.social-media-links a.linkedin:hover {
    background-color: #0A66C2;
}

.social-media-links a.tiktok:hover {
    background-color: #000000;
}

.social-media-links a.x:hover {
    background-color: #000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-subscription {
        padding: 2rem 0;
    }

    .subscription-content h2 {
        font-size: 1.4rem;
    }

    .subscription-form {
        flex-direction: column;
    }

    .subscription-form input {
        min-width: 100%;
    }

    .subscription-btn {
        width: 100%;
    }

    .cookie-content {
        gap: 1rem;
    }

    .cookie-content p {
        min-width: 100%;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .footer-legal {
        font-size: 0.75rem;
    }
}

/* ============================================================================
   PRIVACY POLICY PAGE STYLES
   ============================================================================ */

.privacy-policy-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.policy-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

.policy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    margin-top: 20px;
}

.policy-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    margin-top: 16px;
}

.policy-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
    font-style: italic;
    padding: 20px;
    background: #f0f8ff;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.effective-date {
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 16px;
}

.policy-toc {
    background: #fafafa;
    padding: 20px 40px;
    border-radius: 8px;
    list-style: none;
}

.policy-toc li {
    margin-bottom: 10px;
    font-size: 15px;
}

.policy-toc a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-toc a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.policy-subsection {
    margin-bottom: 24px;
    padding-left: 0;
}

.policy-list {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.policy-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    color: #555;
}

.policy-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.policy-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #555;
    font-size: 15px;
}

.policy-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-info {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid var(--accent-color);
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 15px;
}

.policy-footer {
    text-align: center;
    color: #999;
    font-size: 13px;
    border: none;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

/* Privacy Policy Responsive Design */
@media (max-width: 768px) {
    .policy-content {
        padding: 20px;
    }

    .policy-section {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .policy-section h2 {
        font-size: 20px;
    }

    .policy-section h3 {
        font-size: 14px;
    }

    .policy-intro {
        padding: 15px;
        font-size: 14px;
    }

    .policy-toc {
        padding: 15px 20px;
    }

    .policy-list li {
        padding-left: 20px;
        font-size: 14px;
    }

    .contact-info {
        padding: 15px;
    }

    .policy-section p {
        font-size: 14px;
    }
}

/* ============================================================================
   TERMS & CONDITIONS PAGE STYLES
   ============================================================================ */

.terms-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.terms-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8e8e8;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    background: #f0f8ff;
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    font-style: italic;
}

.terms-section-box {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e8e8e8;
}

.terms-section-box:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section-box h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    margin-top: 10px;
}

.terms-section-box p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.terms-toc {
    background: #fafafa;
    padding: 20px 40px;
    border-radius: 8px;
    list-style: none;
    margin: 0;
}

.terms-toc li {
    margin-bottom: 12px;
    font-size: 15px;
}

.terms-toc a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.terms-toc a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.terms-highlight {
    background: #fff9e6;
    padding: 20px;
    border-left: 4px solid var(--warning-color);
    border-radius: 4px;
    margin: 16px 0;
}

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

.terms-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}

.terms-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.nested-list {
    list-style: none;
    margin: 12px 0 0 0;
    padding-left: 24px;
}

.nested-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    font-size: 14px;
}

.nested-list li:before {
    content: "◦";
    position: absolute;
    left: 4px;
}

.terms-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-box {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid var(--accent-color);
}

.contact-box p {
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-box strong {
    color: var(--primary-color);
}

.terms-footer {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
}

/* Terms & Conditions Responsive Design */
@media (max-width: 768px) {
    .terms-content {
        padding: 20px;
    }

    .terms-section-box {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }

    .terms-section-box h2 {
        font-size: 18px;
    }

    .intro-text {
        padding: 15px;
        font-size: 14px;
    }

    .terms-toc {
        padding: 15px 20px;
    }

    .terms-toc li {
        font-size: 14px;
    }

    .terms-highlight {
        padding: 15px;
    }

    .terms-list li {
        padding-left: 20px;
        font-size: 14px;
    }

    .contact-box {
        padding: 15px;
    }

    .terms-section-box p {
        font-size: 14px;
    }
}

/* ============================================================================
   CONTACT FORM TIMESTAMP STYLES
   ============================================================================ */

.timestamp-display {
    background: #f0f8ff;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.timestamp-display label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.timestamp-box {
    background: white;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 12px 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.timestamp-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timestamp-info strong {
    color: var(--accent-color);
    font-size: 15px;
}

.timestamp-info small {
    color: #7f8c8d;
    font-size: 12px;
    font-style: italic;
}

/* Form Status Enhancement */
.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-content strong {
    font-size: 15px;
}

.status-content p {
    margin: 0;
    font-size: 13px;
}

/* Responsive Timestamp Styles */
@media (max-width: 768px) {
    .timestamp-display {
        padding: 12px;
        margin-bottom: 15px;
    }

    .timestamp-box {
        padding: 10px 12px;
        font-size: 13px;
    }

    .timestamp-info strong {
        font-size: 13px;
    }

    .timestamp-info small {
        font-size: 11px;
    }

    .form-status {
        margin-top: 15px;
        padding: 12px;
        font-size: 13px;
    }
}

/* ============================================================================
   CANONICAL URL DISPLAY STYLES (DISABLED - Removed per user request)
   ============================================================================ */

.canonical-url-display {
    display: none;
    /* Hidden - URL display removed from product page */
    background: #e8f4f8;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.url-display-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.url-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.url-content {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.canonical-url-text {
    background: white;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 13px;
    color: var(--accent-color);
    word-break: break-all;
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.url-copy-btn {
    padding: 8px 14px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
}

.url-copy-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.url-copy-btn:active {
    transform: translateY(0);
}

/* Responsive Canonical URL Display */
@media (max-width: 768px) {
    .canonical-url-display {
        padding: 12px;
        margin-bottom: 15px;
    }

    .url-label {
        font-size: 12px;
    }

    .canonical-url-text {
        padding: 8px 10px;
        font-size: 12px;
    }

    .url-copy-btn {
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* ============================================================================
   AUTHENTICATION STYLES
   ============================================================================ */

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-y: auto;
    box-sizing: border-box;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-bg);
}

.auth-tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.auth-tab-btn:hover {
    color: var(--accent-color);
}

/* Tab Content */
.auth-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-tab-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 14px;
}

/* Auth Messages */
.auth-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border-left: 4px solid;
}

.auth-message-error {
    background-color: #fee;
    color: var(--danger-color);
    border-left-color: var(--danger-color);
}

.auth-message-success {
    background-color: #efe;
    color: var(--success-color);
    border-left-color: var(--success-color);
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-error {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 4px;
}

.form-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.forgot-password-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Auth Buttons */
.auth-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.auth-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer p {
    margin: 0;
}

.auth-switch-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-switch-link:hover {
    text-decoration: underline;
}

/* Auth Footer Legal Links */
.auth-footer-legal {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    background-color: #f8f9fa;
    font-size: 13px;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-links .separator {
    color: var(--border-color);
}

/* ============================================================================
   ACCOUNT PAGE STYLES
   ============================================================================ */

.account-container {
    min-height: 80vh;
    padding: 40px 20px;
    background: var(--light-bg);
}

.account-header {
    text-align: center;
    margin-bottom: 40px;
}

.account-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.account-header p {
    font-size: 18px;
    color: var(--text-light);
}

.account-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Account Sidebar */
.account-sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-menu-item {
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
    cursor: pointer;
}

.account-menu-item:hover {
    background: var(--light-bg);
    color: var(--accent-color);
}

.account-menu-item.active {
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.account-menu-item.danger:hover {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

/* Account Main */
.account-main {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.account-section {
    display: none;
}

.account-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.account-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Account Message */
.account-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border-left: 4px solid;
}

.account-message-error {
    background-color: #fee;
    color: var(--danger-color);
    border-left-color: var(--danger-color);
}

.account-message-success {
    background-color: #efe;
    color: var(--success-color);
    border-left-color: var(--success-color);
}

/* Profile Card */
.profile-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.profile-field {
    background: white;
    padding: 15px;
    border-radius: 6px;
}

.profile-field label {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.profile-field p {
    color: var(--text-dark);
    font-size: 16px;
}

/* Edit Profile Form */
.profile-form {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.profile-form h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Settings Card */
.settings-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 6px;
    margin-bottom: 15px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.setting-info p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--success-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

/* Security Card */
.security-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.security-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.security-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.danger-card {
    background: rgba(231, 76, 60, 0.05);
    border: 2px solid var(--danger-color);
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Empty state styling with improved button spacing */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.empty-state p:last-of-type {
    margin-bottom: 20px;
}

.empty-state .btn-primary {
    margin-top: 30px;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* User Display */
.user-info-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(52, 152, 219, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.user-greeting {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
}

.user-profile-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.user-profile-link:hover {
    text-decoration: underline;
}

/* Responsive Auth */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-tab-btn {
        font-size: 14px;
        padding: 10px 15px;
    }

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

    .account-sidebar {
        order: 2;
    }

    .account-main {
        order: 1;
    }

    .account-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .account-menu-item {
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 8px 10px;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .toggle {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {

    /* Login/Auth Container Optimizations */
    .auth-container {
        min-height: 100vh;
        padding: 20px 10px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        overflow-y: auto;
        box-sizing: border-box;
    }

    .auth-card {
        padding: 20px;
        max-width: 100%;
        border-radius: 16px;
        width: 100%;
    }

    /* Tabs Optimizations */
    .auth-tabs {
        margin-bottom: 20px;
        gap: 8px;
    }

    .auth-tab-btn {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Form Content */
    .auth-tab-content h1 {
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .auth-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .auth-form {
        gap: 16px;
    }

    .form-group {
        gap: 6px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        padding: 11px 12px;
        font-size: 16px;
        border-radius: 6px;
    }

    .form-error {
        font-size: 11px;
        margin-top: 3px;
    }

    .form-remember {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
    }

    .checkbox {
        gap: 6px;
    }

    .checkbox input {
        width: 16px;
        height: 16px;
    }

    /* Auth Button */
    .auth-btn {
        padding: 11px 16px;
        font-size: 14px;
        margin-top: 8px;
        width: 100%;
    }

    /* Auth Footer */
    .auth-footer {
        font-size: 13px;
        margin-top: 16px;
    }

    .auth-footer-legal {
        padding: 16px;
        margin-top: 20px;
        font-size: 12px;
    }

    .legal-links {
        gap: 10px;
        flex-wrap: wrap;
    }

    .legal-links a {
        font-size: 11px;
    }

    .legal-links .separator {
        margin: 0 2px;
    }

    /* Social Media Links */
    .social-media-links {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
    }

    .social-media-links a img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Email Verification Prompt */
    .email-verification-prompt {
        padding: 20px;
        border-radius: 12px;
        width: 100%;
    }

    .verification-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .verification-content h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .verification-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .resend-btn,
    .back-btn {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }

    /* Account Page Mobile */
    .account-header h1 {
        font-size: 22px;
    }

    .account-header p {
        font-size: 14px;
    }

    .account-main {
        padding: 15px;
    }
}

/* ====================================
   BLOG PAGE STYLES (blog.html)
   ==================================== */

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.blog-card-link-wrapper:hover .blog-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.blog-card-author {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card-link {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.blog-card-link:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.blog-card-read-more {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.blog-card-link-wrapper:hover .blog-card-read-more {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.blog-loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.blog-error {
    background-color: #fee;
    color: var(--danger-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--danger-color);
    margin: 2rem 0;
}

.blog-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.blog-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Blog Pagination Styling */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #d9534f);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pagination-btn:active:not(:disabled) {
    transform: translateY(0);
}

.pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.pagination-btn.prev::before {
    content: '←';
    margin-right: 0.3rem;
}

.pagination-btn.next::after {
    content: '→';
    margin-left: 0.3rem;
}

.pagination-info {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    white-space: nowrap;
}

.featured-posts-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.featured-posts-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .blog-pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .pagination-info {
        width: 100%;
        order: 3;
    }

    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   BLOG DETAIL PAGE STYLES (blog-detail.html)
   ==================================== */

.blog-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-detail-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.blog-detail-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-detail-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.blog-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail-meta-item strong {
    color: var(--text-dark);
}

.blog-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: block;
}

.blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-detail-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-detail-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.blog-detail-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.blog-detail-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.blog-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

.blog-detail-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.blog-detail-content a:hover {
    color: var(--text-dark);
    background-color: #f0f0f0;
    padding: 0 2px;
}

.blog-detail-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-detail-share {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-detail-share-label {
    font-weight: 600;
    color: var(--text-dark);
}

.blog-detail-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.blog-detail-share-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.blog-back-link:hover {
    color: #d9534f;
    transform: translateX(4px);
}

.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-posts h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.related-post-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-post-link:hover {
    gap: 0.5rem;
}

.loading-state {
    text-align: center;
    padding: 3rem 1rem;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

.error-state {
    text-align: center;
    padding: 2rem;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
}

/* Navigation Buttons Styling */
.blog-navigation {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.nav-button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #d9534f);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-button:active:not(:disabled) {
    transform: translateY(0);
}

.nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.nav-button.prev::before {
    content: '←';
    margin-right: 0.3rem;
}

.nav-button.next::after {
    content: '→';
    margin-left: 0.3rem;
}

@media (max-width: 768px) {
    .blog-detail-header h1 {
        font-size: 1.8rem;
    }

    .blog-detail-content {
        font-size: 1rem;
    }

    .blog-detail-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .blog-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-button-group {
        width: 100%;
        flex-direction: column;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }
}

/* ====================================
   DATA DELETION REQUEST PAGE STYLES (data-deletion-request.html)
   ==================================== */

.data-deletion-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.data-deletion-header {
    text-align: center;
    margin-bottom: 40px;
}

.data-deletion-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.data-deletion-header p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.form-section {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    color: #333;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    color: #555;
}

.dataTypes-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 10px;
    display: none;
}

.agreement-section {
    background-color: #f0f8ff;
    padding: 20px;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    margin-bottom: 20px;
}

.agreement-section .checkbox-item {
    margin: 0;
}

.agreement-section label {
    margin: 0;
    font-weight: normal;
    color: #555;
}

.required-note {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 20px;
    text-align: center;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.button-group button,
.button-group a {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.button-group button[type="submit"] {
    background-color: #dc3545;
    color: white;
}

.button-group button[type="submit"]:hover:not(:disabled) {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.button-group button[type="submit"]:disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.button-group a {
    background-color: #6c757d;
    color: white;
}

.button-group a:hover {
    background-color: #5a6268;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.info-section {
    background-color: #e7f3ff;
    padding: 20px;
    border-left: 4px solid #2196F3;
    border-radius: 4px;
    margin-bottom: 30px;
}

.info-section h3 {
    color: #1565c0;
    margin-top: 0;
}

.info-section ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #555;
}

.info-section li {
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .data-deletion-container {
        margin: 40px 0;
        padding: 20px 15px;
    }

    .data-deletion-header h1 {
        font-size: 1.8rem;
    }

    .form-section {
        padding: 20px;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group button,
    .button-group a {
        width: 100%;
    }
}

/* ===== CONTACT FORM AUTHENTICATION UI ===== */

.auth-required-message {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid #4a5568;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-message-content {
    max-width: 500px;
    margin: 0 auto;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.auth-required-message h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 600;
}

.auth-required-message p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.auth-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.auth-actions .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-subtext {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0;
}

.auth-subtext a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-subtext a:hover {
    text-decoration: underline;
}

/* Authenticated User Banner */
.authenticated-user-banner {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border: 2px solid #4a5568;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.4s ease;
}

.user-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
}

.user-icon {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2d5016;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Auth UI */
@media (max-width: 768px) {
    .auth-required-message {
        padding: 30px 15px;
    }

    .auth-required-message h3 {
        font-size: 1.2rem;
    }

    .auth-required-message p {
        font-size: 0.95rem;
    }

    .auth-actions .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Email Verification Prompt */
.email-verification-prompt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.4s ease;
}

.verification-content {
    max-width: 450px;
    margin: 0 auto;
}

.verification-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.email-verification-prompt h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.email-verification-prompt p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    line-height: 1.6;
}

#verificationEmail {
    color: #fff;
    font-weight: 600;
    word-break: break-all;
}

.verification-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px !important;
}

.verification-actions {
    margin: 25px 0;
}

.resend-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.resend-btn:hover:not(:disabled) {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.resend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.verification-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

.verification-divider {
    color: rgba(255, 255, 255, 0.6);
    margin: 20px 0;
    font-size: 0.9rem;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive email verification prompt */
@media (max-width: 768px) {
    .email-verification-prompt {
        padding: 30px 20px;
    }

    .email-verification-prompt h2 {
        font-size: 1.4rem;
    }

    .resend-btn,
    .back-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Social Auth Divider */
.social-divider {
    display: flex;
    align-items: center;
    margin: 25px 0 20px;
    gap: 10px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.social-divider span {
    color: #95a5a6;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Google Sign In/Up Button */
.google-signin-btn,
.google-signup-btn {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #f0f0f0;
    background: white;
    color: #2c3e50;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.google-signin-btn:hover,
.google-signup-btn:hover {
    background: #f8f9fa;
    border-color: #e74c3c;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
    transform: translateY(-2px);
}

.google-signin-btn:active,
.google-signup-btn:active {
    transform: translateY(0);
}

.google-signin-btn:disabled,
.google-signup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.google-signin-btn svg,
.google-signup-btn svg {
    width: 20px;
    height: 20px;
    stroke: #e74c3c;
}

/* Modal Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

/* Modal Container */
.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    animation: slideInUp 0.4s ease;
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
}

/* Modal Header */
.modal-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: #2c3e50;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 25px;
}

.modal-description {
    color: #95a5a6;
    font-size: 0.95rem;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-form .form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.modal-form .form-group input {
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.modal-form .form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.modal-form .form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: -3px;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #ecf0f1;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn-cancel {
    padding: 12px 25px;
    border: 2px solid #ecf0f1;
    background: white;
    color: #2c3e50;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn-cancel:hover {
    background: #f8f9fa;
    border-color: #bdc3c7;
}

.modal-btn-submit {
    padding: 12px 30px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.modal-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.modal-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: 100%;
    }

    .modal-header {
        padding: 20px 20px 15px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .modal-btn-cancel,
    .modal-btn-submit {
        flex: 1;
        min-width: 120px;
    }

    .google-signin-btn,
    .google-signup-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}


/* Follow Us on Social Media Section */
.social-media {
    background: #f8f9fa;
    padding: 3rem 0;
}

.social-media-content {
    text-align: center;
}

.social-media-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.social-media-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: nowrap;
    width: 100%;
}

.social-media-item {
    flex: 1;
    min-width: 0;
    max-width: 540px;
    width: 50%;
}

.social-media-item.facebook {
    display: flex;
    justify-content: center;
}

.social-media-item.instagram {
    display: flex;
    justify-content: center;
}

/* Force Instagram blockquote to fit container */
.social-media-item.instagram .instagram-media {
    max-width: 100% !important;
    width: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .social-media-grid {
        gap: 1.5rem;
    }

    .social-media-item {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .social-media-grid {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-media-item {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .social-media {
        padding: 2rem 0;
    }

    .social-media-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .social-media-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .social-media-item {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* Amazon Product Details Styling */
.detail-item.amazon-field {
    background-color: rgba(255, 153, 0, 0.05);
    border-left: 4px solid #FF9900;
    padding-left: 12px;
    margin-left: -16px;
    padding-left: 16px;
}

.detail-item.amazon-field .detail-label {
    font-weight: 700;
    color: #FF9900;
}

.detail-item.amazon-field .detail-value {
    color: var(--text-dark);
    font-weight: 500;
}


/* --- Auto-extracted CSS --- */

/* Extracted from 404.html */

.error-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 20px;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-message {
    font-size: 32px;
    margin: 20px 0;
    font-weight: 600;
}

.error-description {
    font-size: 18px;
    margin: 20px 0;
    opacity: 0.9;
    line-height: 1.6;
}

.error-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.error-btn-primary {
    background-color: white;
    color: #667eea;
}

.error-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.error-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.error-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.error-icon {
    font-size: 80px;
    margin-bottom: 20px;
}


/* Extracted from coupon-codes.html */

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.coupon-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.coupon-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: #ffffff;
}

.coupon-content {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.coupon-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.coupon-desc {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.coupon-btn {
    display: inline-block;
    background: #FF6B9D;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.coupon-btn:hover {
    background: #ff4d88;
}


/* Extracted from create-account.html */

.page-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    margin-bottom: 20px;
    color: #333;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #FF6B9D;
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.create-btn {
    display: inline-block;
    background-color: #FF6B9D;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.create-btn:hover {
    background-color: #ff4d88;
    transform: scale(1.05);
    text-decoration: none;
}


/* Extracted from menu.html */

.menu-slideshow {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #f4f4f4;
    margin-bottom: 2rem;
    margin-top: 60px;
    /* Account for navbar */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.menu-header {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: #fff;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    border-top: 1px solid #eee;
}


/* Extracted from shipping-returns.html */

.page-content {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.policy-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.policy-section h2 {
    color: #FF6B9D;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.policy-section h3 {
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section p {
    margin-bottom: 15px;
    color: #555;
}

.policy-section a {
    color: #FF6B9D;
    text-decoration: none;
    font-weight: bold;
}

.policy-section a:hover {
    text-decoration: underline;
}

.policy-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}


/* Extracted from subscriptions.html */

.hero-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.subscription-benefits {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    padding: 2rem;
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.benefit-desc {
    color: #666;
    line-height: 1.6;
}

.newsletter-subscription {
    background-color: #f4f6f9;
}

.error-subtext {
    margin-top: 60px;
    opacity: 0.8;
    font-size: 14px;
}

.error-link {
    color: white;
    text-decoration: underline;
}

.mt-10 {
    margin-top: 10px;
}

.bg-light-gray-padding {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.section-header-blue {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.text-danger {
    color: #dc3545;
}

.section-header-blue-mt {
    margin-top: 30px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.page-header-clean {
    background: none;
    border-bottom: 1px solid #eee;
}

.text-dark {
    color: #333;
}

.text-muted {
    color: #666;
}

.py-5rem {
    padding: 5rem 0;
}

.form-input-rounded {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.btn-large-rounded {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.mt-1rem {
    margin-top: 1rem;
}

.empty-state-padding {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* --- Modern Create Account Page Styles --- */
.account-creation-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.account-creation-header {
    text-align: center;
    margin-bottom: 4rem;
}

.modern-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.modern-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.modern-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.modern-benefit-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: #fff;
}

.modern-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

.modern-benefit-card:hover .benefit-img {
    transform: scale(1.05);
}

.benefit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #fff;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.benefit-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.benefit-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.account-cta-section {
    text-align: center;
    margin-top: 2rem;
}

.modern-create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #ffffff !important;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modern-create-btn:hover {
    background-color: #FF6B9D;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.3);
}

.btn-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.modern-create-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* --- Modern Coupon Codes Page Styles --- */
.modern-coupons-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.modern-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.modern-coupon-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.modern-coupon-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.coupon-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.coupon-img-wrapper .coupon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-coupon-card:hover .coupon-image {
    transform: scale(1.08);
}

.coupon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 107, 157, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.modern-coupon-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.modern-coupon-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.modern-coupon-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.modern-coupon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background-color: #f4f6f9;
    color: #1a1a1a;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-coupon-card:hover .modern-coupon-btn {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* MOBILE RESPONSIVENESS ADDITIONS */
@media (max-width: 768px) {

    /* Navbar */
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .hamburger .bar {
        height: 3px;
        width: 100%;
        background-color: #fff;
        border-radius: 3px;
    }

    /* Grids */
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }

    .footer-legal,
    .social-media-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Hero Banner Fixes */
.hero-banner {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Coupon Image Fixes */
.coupon-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 250px;
    background-color: #f8f9fa;
    overflow: hidden;
    position: relative;
}

.coupon-image {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

@media (max-width: 768px) {
    .hero-banner {
        max-height: 250px;
    }

    .coupon-img-wrapper {
        height: 200px;
    }
}

/* Footer Social Media Horizontal Fix */
@media (max-width: 768px) {

    .footer-bottom .social-media-links,
    .social-media-links {
        flex-direction: row !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Hero Banner Fixes - Show Entire Image */
.hero-banner {
    width: 100%;
    height: auto;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
    background-color: #f8f9fa;
    /* In case there is empty space on sides */
}

@media (max-width: 768px) {
    .hero-banner {
        /* Allow mobile to scale naturally too */
        max-height: none !important;
    }
}

/* Force Footer Social Media Links Horizontal */
@media (max-width: 768px) {

    .footer-bottom .social-media-links,
    .footer-bottom .social-media-links *,
    .social-media-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .footer-bottom .social-media-links a,
    .social-media-links a {
        display: inline-flex !important;
        flex-direction: row !important;
        width: auto !important;
        margin: 5px !important;
        flex: 0 0 auto !important;
    }
}

/* Contact Us - Hours Section Spacing Fix */
.contact-info .info-item p {
    margin-bottom: 8px;
}

/* Re-adjust Hero Banner Desktop Height */
@media (min-width: 769px) {
    .hero-banner {
        max-height: 500px !important;
        /* Cap the maximum height on desktop */
        height: 500px !important;
        /* Force height constraint */
        width: 100% !important;
        object-fit: contain !important;
        /* Scale to show entire image */
        background-color: #f8f9fa;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        max-height: 350px !important;
        /* Cap height on mobile */
        height: 350px !important;
        width: 100% !important;
        object-fit: contain !important;
        /* Scale to show entire image */
    }
}

/* ==========================================================================
   TOP-TIER SELLING MACHINE UPGRADES
   ========================================================================== */

/* Enhanced Hero - Glassmorphism */
.enhanced-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto !important; /* Override fixed height from .hero */
    min-height: auto;
    overflow: visible !important;
}

.hero-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    color: #111;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-scroll-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.05);
}

.hero-scroll-btn.prev-btn {
    left: 10px;
}

.hero-scroll-btn.next-btn {
    right: 10px;
}

.hero-cards-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 20px 20px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero-cards-container::-webkit-scrollbar {
    display: none;
}

.hero-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Clips the image cleanly to the rounded corners */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-card h3 {
    font-size: 1.5rem;
    color: #0f1111;
    margin: 20px 20px 15px 20px;
    font-weight: 700;
}

.hero-card > a:not(.hero-card-link) {
    display: block;
    width: 100%;
    flex-grow: 1;
}

.hero-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5; /* Enforce portrait 4:5 ratio */
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.6s ease;
}

.hero-card:hover img {
    transform: scale(1.08);
}

.card-multi-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.hero-card-link {
    color: #007185;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: auto; /* Push to bottom */
    padding: 15px 20px 20px 20px;
}

.hero-card-link:empty {
    display: none;
}

.hero-card-link:hover {
    color: #c45500;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .hero-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .hero-card {
        flex: 0 0 calc(85% - 20px);
    }
    .hero-scroll-btn {
        display: none !important;
    }
}

.glass-card {
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translate(-50%, calc(-50% - 5px));
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.pulse-btn {
    animation: pulseBtn 2s infinite;
    background: #e74c3c !important;
    color: white !important;
    font-weight: 800;
    letter-spacing: 1px;
}

@keyframes pulseBtn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Product Card Hover Enhancements */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Floating Coupon Widget */
.floating-coupon-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(238, 90, 111, 0.4);
    z-index: 990;
    transition: transform 0.3s ease;
    animation: bounce 3s infinite;
}

.floating-coupon-widget:hover {
    transform: scale(1.05) translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px 5px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #95a5a6;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bottom-nav-item.active {
    color: #2c3e50;
}

.bottom-nav-item.highlight {
    color: #e74c3c;
}

.bottom-nav-item .nav-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-between;
    }

    body {
        /* Add padding so content doesn't get hidden behind the nav */
        padding-bottom: 70px;
    }
    
    .floating-coupon-widget {
        bottom: 80px; /* Above the mobile nav */
        right: 15px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Full Width Promo Video Layout */
.full-width-promo-video {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    display: block;
    line-height: 0;
}

.promo-video-el {
    width: 100vw;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

@media (max-width: 768px) {
    .promo-video-el {
        /* Ensure video is tall enough on mobile to fit the text overlay */
        min-height: 400px;
    }
}

/* VIP Promo Overlay */
.vip-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.vip-promo-content {
    max-width: 800px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.vip-promo-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.vip-promo-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.vip-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--warning-color));
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vip-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
    color: white;
}

@media (max-width: 768px) {
    .vip-promo-content h2 {
        font-size: 1.8rem;
    }
    .vip-promo-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .vip-promo-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}


/* Typewriter Effect */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.typewriter-cursor {
    animation: blink 1s step-end infinite;
}
.mobile-break {
    display: none;
}
@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
    /* Mobile Hero Cards Snapping Highlights */
    .hero-card {
        flex: 0 0 95%;
        scroll-snap-align: center;
        opacity: 0.6;
        transform: scale(0.95);
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .hero-card.active-mobile {
        opacity: 1;
        transform: scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }
    .hero-cards-container {
        padding: 10px 5% 30px 5%;
        scroll-padding: 0 5%;
    }
}
