/* ==========================================
   PRODUCT V3 — Premium Ecommerce Redesign
   ========================================== */

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

:root {
    --v3-bg: #f8f7f4;
    --v3-card-bg: #ffffff;
    --v3-text: #1a1a2e;
    --v3-text-muted: #6b7280;
    --v3-accent: #e8590c;
    --v3-accent-hover: #d9480f;
    --v3-green: #16a34a;
    --v3-green-light: #dcfce7;
    --v3-green-dark: #15803d;
    --v3-gold: #d97706;
    --v3-gold-light: #fef3c7;
    --v3-red: #dc2626;
    --v3-red-light: #fef2f2;
    --v3-blue: #2563eb;
    --v3-border: #e5e7eb;
    --v3-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --v3-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --v3-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
    --v3-shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
    --v3-radius: 16px;
    --v3-radius-sm: 10px;
    --v3-radius-xs: 6px;
    --v3-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
.v3-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--v3-bg);
    color: var(--v3-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

.v3-page * {
    box-sizing: border-box;
}

/* Top Announcement Bar */
.v3-announcement {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    letter-spacing: 0.3px;
    overflow: hidden;
}

.v3-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: v3-slideIn 0.6s ease;
}

.v3-announcement .v3-countdown {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.v3-countdown-box {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

/* Navigation */
.v3-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 38px;
    z-index: 999;
}

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

.v3-nav .v3-logo img {
    height: 36px;
    width: auto;
}

.v3-nav .v3-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.v3-nav .v3-phone:hover {
    color: var(--v3-accent);
}

.v3-nav .v3-phone img {
    filter: brightness(0) invert(1);
}

/* Main Container */
.v3-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.v3-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ====== Gallery ====== */
.v3-gallery {
    position: sticky;
    top: 100px;
}

.v3-gallery-main {
    position: relative;
    border-radius: var(--v3-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--v3-shadow-md);
}

.v3-gallery-main img,
.v3-gallery-main video {
    width: 100%;
    height: auto;
    display: block;
}

.v3-gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--v3-red) 0%, #ef4444 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(220,38,38,0.3);
    animation: v3-pulse 2s infinite;
}

@keyframes v3-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.v3-gallery-carousel {
    position: relative;
}

.v3-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    box-shadow: var(--v3-shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--v3-transition);
    color: var(--v3-text);
    font-size: 18px;
}

.v3-gallery-nav:hover {
    background: #fff;
    box-shadow: var(--v3-shadow-lg);
    transform: translateY(-50%) scale(1.08);
}

.v3-gallery-prev { left: 12px; }
.v3-gallery-next { right: 12px; }

.v3-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: center;
}

.v3-gallery-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--v3-radius-xs);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--v3-transition);
    opacity: 0.7;
}

.v3-gallery-thumbs img:hover,
.v3-gallery-thumbs img.active {
    border-color: var(--v3-accent);
    opacity: 1;
    transform: scale(1.05);
}

/* ====== Product Details Column ====== */
.v3-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Live viewers */
.v3-live-viewers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--v3-text-muted);
    background: var(--v3-red-light);
    padding: 6px 14px;
    border-radius: 30px;
    width: fit-content;
}

.v3-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v3-red);
    animation: v3-blink 1.5s ease-in-out infinite;
}

@keyframes v3-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Product Title */
.v3-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--v3-text);
    margin: 0;
    letter-spacing: -0.5px;
}

.v3-gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    margin-top: 8px;
    width: fit-content;
}

/* Rating */
.v3-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.v3-rating-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 16px;
}

.v3-rating-score {
    font-weight: 700;
    color: var(--v3-text);
}

.v3-rating-count {
    color: var(--v3-text-muted);
}

/* Description */
.v3-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
}

.v3-description p {
    margin: 0;
}

/* Features List */
.v3-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v3-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.v3-features li .emoji {
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 1px;
}

/* ====== Price Card ====== */
.v3-price-section {
    background: var(--v3-card-bg);
    border-radius: var(--v3-radius);
    box-shadow: var(--v3-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--v3-border);
}

.v3-price-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 14px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.v3-qty-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px;
}

.v3-qty-card {
    position: relative;
    border: 2px solid var(--v3-border);
    border-radius: var(--v3-radius-sm);
    padding: 16px 12px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--v3-transition);
    background: #fff;
    overflow: visible;
}

.v3-qty-card:hover {
    border-color: #d1d5db;
    box-shadow: var(--v3-shadow-sm);
}

.v3-qty-card.active {
    border-color: var(--v3-accent);
    background: #fff7ed;
    box-shadow: 0 0 0 3px rgba(232,89,12,0.12);
}

.v3-qty-card .v3-qty-ribbon {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--v3-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.v3-qty-card .v3-qty-ribbon.red {
    background: var(--v3-red);
}

.v3-qty-card .v3-qty-ribbon.gold {
    background: var(--v3-gold);
}

.v3-qty-img {
    max-width: 70px;
    height: auto;
    mix-blend-mode: multiply;
    margin: 0 auto 6px;
    display: block;
}

.v3-qty-label {
    font-size: 22px;
    font-weight: 800;
    color: var(--v3-text);
}

.v3-qty-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--v3-text);
    margin: 4px 0 2px;
}

.v3-qty-unit {
    font-size: 12px;
    color: var(--v3-text-muted);
    font-weight: 500;
}

.v3-qty-discount {
    display: inline-block;
    background: var(--v3-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 6px;
}

/* Price Summary */
.v3-price-summary {
    padding: 20px 24px;
    border-top: 1px solid var(--v3-border);
}

.v3-old-price {
    font-size: 15px;
    color: var(--v3-text-muted);
}

.v3-old-price del {
    margin-left: 4px;
}

.v3-current-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 4px;
}

.v3-current-price .v3-price-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--v3-text);
    letter-spacing: -1px;
    line-height: 1;
}

.v3-current-price .v3-price-badge {
    background: var(--v3-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
}

/* Benefits row */
.v3-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.v3-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.v3-benefit.green {
    color: var(--v3-green-dark);
}

.v3-benefit .v3-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.v3-benefit.green .v3-icon {
    background: var(--v3-green-light);
    color: var(--v3-green);
}

/* CTA Button */
.v3-cta-wrapper {
    padding: 0 24px 20px;
}

.v3-cta-btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--v3-accent) 0%, #c2410c 100%);
    border: none;
    border-radius: var(--v3-radius-sm);
    cursor: pointer;
    transition: var(--v3-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(232,89,12,0.35);
    position: relative;
    overflow: hidden;
}

.v3-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.v3-cta-btn:hover::before {
    left: 100%;
}

.v3-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,89,12,0.4);
}

.v3-cta-btn:active {
    transform: translateY(0);
}

.v3-cta-btn.disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    box-shadow: none;
    cursor: not-allowed;
}

.v3-cta-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Timer */
.v3-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--v3-text-muted);
}

.v3-timer-unit {
    background: #1a1a2e;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 16px;
}

.v3-timer-sep {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 18px;
}

/* Guarantee */
.v3-guarantee {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--v3-green-light);
    border-top: 1px solid #bbf7d0;
}

.v3-guarantee img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.v3-guarantee-text h5 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--v3-green-dark);
}

.v3-guarantee-text p {
    margin: 0;
    font-size: 12px;
    color: #166534;
    line-height: 1.4;
}

/* ====== Trust Badges ====== */
.v3-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 24px 0;
}

.v3-trust-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.v3-trust-item img {
    width: 36px;
    height: 36px;
    opacity: 0.85;
}

.v3-trust-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--v3-text-muted);
    line-height: 1.3;
}

/* ====== Social Proof Bar ====== */
.v3-social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--v3-radius-sm);
    box-shadow: var(--v3-shadow-sm);
    border: 1px solid var(--v3-border);
}

.v3-avatars {
    display: flex;
}

.v3-avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    object-fit: cover;
}

.v3-avatars img:first-child {
    margin-left: 0;
}

.v3-social-text {
    font-size: 14px;
    color: var(--v3-text);
    line-height: 1.4;
}

.v3-social-text strong {
    font-weight: 700;
    color: var(--v3-accent);
}

.v3-social-text .v3-stars {
    color: #f59e0b;
    margin-left: 4px;
}

/* ====== Urgency Alerts ====== */
.v3-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--v3-radius-xs);
    font-size: 14px;
    font-weight: 600;
}

.v3-alert.danger {
    background: var(--v3-red-light);
    color: var(--v3-red);
    border: 1px solid #fecaca;
}

.v3-alert.info {
    background: #eff6ff;
    color: var(--v3-blue);
    border: 1px solid #bfdbfe;
}

/* ====== Reviews Section ====== */
.v3-reviews-header {
    text-align: center;
    padding: 40px 0 24px;
}

.v3-reviews-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--v3-text);
    margin: 0 0 4px;
}

.v3-reviews-header p {
    color: var(--v3-text-muted);
    font-size: 15px;
    margin: 0;
}

.v3-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding-bottom: 40px;
}

.v3-review-card {
    background: #fff;
    border-radius: var(--v3-radius-sm);
    overflow: hidden;
    box-shadow: var(--v3-shadow-sm);
    border: 1px solid var(--v3-border);
    transition: var(--v3-transition);
}

.v3-review-card:hover {
    box-shadow: var(--v3-shadow-md);
    transform: translateY(-2px);
}

.v3-review-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

.v3-review-body {
    padding: 12px;
}

.v3-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.v3-review-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--v3-text);
}

.v3-review-city {
    font-size: 11px;
    color: var(--v3-text-muted);
    font-weight: 500;
}

.v3-review-stars {
    color: #f59e0b;
    font-size: 12px;
    margin-bottom: 6px;
}

.v3-review-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    background: #f9fafb;
    padding: 8px 10px;
    border-radius: 6px;
}

/* ====== Testimonial Carousel ====== */
.v3-testimonial-strip {
    background: #fff;
    border-radius: var(--v3-radius-sm);
    padding: 20px 24px;
    box-shadow: var(--v3-shadow-sm);
    border: 1px solid var(--v3-border);
    text-align: center;
}

.v3-testimonial-text {
    font-style: italic;
    font-size: 15px;
    color: #374151;
    margin: 0 0 8px;
    font-weight: 500;
}

.v3-testimonial-author {
    font-size: 14px;
    color: var(--v3-text-muted);
}

/* ====== Product Content / Full Description ====== */
.v3-content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.v3-content-section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--v3-radius-sm);
}

.v3-content-section h2,
.v3-content-section h3 {
    font-weight: 700;
    color: var(--v3-text);
}

/* ====== Product Options (Colors) ====== */
.v3-color-options {
    padding: 0 24px 16px;
}

.v3-color-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--v3-text-muted);
    margin-bottom: 8px;
}

/* ====== Order Form ====== */
.v3-order-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 0;
}

.v3-order-card {
    background: #fff;
    border-radius: var(--v3-radius);
    box-shadow: var(--v3-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--v3-border);
}

.v3-order-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 18px 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.v3-order-body {
    padding: 24px;
}

.v3-step-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v3-accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--v3-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.v3-form-group {
    margin-bottom: 14px;
}

.v3-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--v3-border);
    border-radius: var(--v3-radius-xs);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--v3-transition);
    background: #fafafa;
    color: var(--v3-text);
}

.v3-form-control:focus {
    outline: none;
    border-color: var(--v3-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232,89,12,0.1);
}

.v3-form-control::placeholder {
    color: #9ca3af;
}

.v3-form-hint {
    font-size: 12px;
    color: var(--v3-text-muted);
    margin-top: 4px;
}

.v3-form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--v3-border);
    border-radius: var(--v3-radius-xs);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: var(--v3-text);
    cursor: pointer;
    transition: var(--v3-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.v3-form-select:focus {
    outline: none;
    border-color: var(--v3-accent);
    box-shadow: 0 0 0 3px rgba(232,89,12,0.1);
}

.v3-form-divider {
    border: none;
    height: 1px;
    background: var(--v3-border);
    margin: 20px 0;
}

/* Order total */
.v3-order-total {
    text-align: center;
    padding: 16px 0;
    border-top: 2px solid var(--v3-border);
    margin-top: 16px;
}

.v3-order-total-label {
    font-size: 13px;
    color: var(--v3-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v3-order-total-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--v3-text);
    letter-spacing: -1px;
}

.v3-order-shipping {
    font-size: 14px;
    color: var(--v3-green-dark);
    font-weight: 600;
    margin-top: 4px;
}

/* Submit button */
.v3-submit-btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--v3-green) 0%, var(--v3-green-dark) 100%);
    border: none;
    border-radius: var(--v3-radius-sm);
    cursor: pointer;
    transition: var(--v3-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(22,163,74,0.35);
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}

.v3-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.v3-submit-btn:hover::before {
    left: 100%;
}

.v3-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}

/* ====== Upsell Cards ====== */
.v3-upsell-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 2px solid var(--v3-border);
}

.v3-upsell-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--v3-text);
}

.v3-upsell-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #fffbeb;
    border: 2px solid #fde68a;
    border-radius: var(--v3-radius-sm);
    margin-bottom: 10px;
    transition: var(--v3-transition);
}

.v3-upsell-card:hover {
    box-shadow: var(--v3-shadow-sm);
}

.v3-upsell-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.v3-upsell-info {
    flex: 1;
    min-width: 0;
}

.v3-upsell-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--v3-text);
    margin-bottom: 4px;
}

.v3-upsell-desc {
    font-size: 12px;
    color: var(--v3-text-muted);
    line-height: 1.4;
    margin-bottom: 6px;
}

.v3-upsell-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-upsell-prices del {
    color: var(--v3-red);
    font-size: 13px;
}

.v3-upsell-prices strong {
    font-size: 15px;
    color: var(--v3-text);
}

.v3-upsell-add-btn {
    padding: 8px 18px;
    background: var(--v3-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--v3-transition);
    flex-shrink: 0;
    white-space: nowrap;
}

.v3-upsell-add-btn:hover {
    background: var(--v3-green-dark);
}

.v3-upsell-add-btn.added {
    background: #6b7280;
}

/* ====== Gift Section ====== */
.v3-gift-section {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 2px solid #fde68a;
    border-radius: var(--v3-radius);
    padding: 24px;
    text-align: center;
    max-width: 420px;
    margin: 0 auto 32px;
}

.v3-gift-section h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: #92400e;
}

.v3-gift-section p {
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
    margin: 0 0 14px;
}

.v3-gift-section img {
    max-width: 100%;
    border-radius: var(--v3-radius-sm);
    box-shadow: var(--v3-shadow-md);
}

/* ====== FAQ Section ====== */
.v3-faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 40px;
}

/* ====== Footer Buy Now Sticky ====== */
.v3-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.v3-sticky-bottom.visible {
    transform: translateY(0);
}

.v3-sticky-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.v3-sticky-price del {
    font-size: 13px;
    color: var(--v3-text-muted);
}

.v3-sticky-price ins {
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--v3-text);
}

.v3-sticky-btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--v3-accent) 0%, #c2410c 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--v3-transition);
    box-shadow: 0 4px 12px rgba(232,89,12,0.3);
}

.v3-sticky-btn:hover {
    transform: scale(1.03);
}

.v3-sticky-badge {
    background: var(--v3-green);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* ====== Toast (reuse existing) ====== */

/* ====== Animations ====== */
@keyframes v3-slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes v3-fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.v3-fade-in {
    animation: v3-fadeInUp 0.6s ease forwards;
}

/* ====== Delivery date highlight ====== */
.v3-delivery-date {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e40af;
    text-align: center;
    font-weight: 500;
    margin: 12px 24px;
}

.v3-delivery-date b {
    font-weight: 700;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .v3-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .v3-gallery {
        position: static;
    }

    .v3-title {
        font-size: 24px;
    }

    .v3-nav {
        top: 30px;
    }
}

@media (max-width: 768px) {
    .v3-container {
        padding: 16px 14px 80px;
    }

    .v3-product-layout {
        gap: 16px;
    }

    .v3-title {
        font-size: 22px;
    }

    .v3-current-price .v3-price-value {
        font-size: 28px;
    }

    .v3-qty-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 14px;
    }

    .v3-qty-card {
        padding: 12px 8px 10px;
    }

    .v3-qty-label {
        font-size: 18px;
    }

    .v3-qty-price {
        font-size: 15px;
    }

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

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

    .v3-announcement {
        font-size: 11px;
        padding: 8px 12px;
    }

    .v3-nav {
        top: 32px;
    }

    .v3-cta-btn,
    .v3-submit-btn {
        font-size: 16px;
        padding: 16px 24px;
    }
}

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

    .v3-gallery-thumbs img {
        width: 56px;
        height: 56px;
    }

    .v3-qty-label {
        font-size: 16px;
    }

    .v3-qty-price {
        font-size: 14px;
    }

    .v3-current-price .v3-price-value {
        font-size: 26px;
    }

    .v3-price-summary {
        padding: 14px 16px;
    }

    .v3-cta-wrapper {
        padding: 0 16px 16px;
    }

    .v3-timer-unit {
        min-width: 38px;
        font-size: 14px;
        padding: 4px 8px;
    }

    /* Upsell cards - smaller on mobile */
    .v3-upsell-card {
        flex-direction: row;
        padding: 10px;
        gap: 10px;
    }

    .v3-upsell-card img {
        width: 56px;
        height: 56px;
        border-radius: 6px;
    }

    .v3-upsell-name {
        font-size: 13px;
    }

    .v3-upsell-desc {
        font-size: 11px;
    }

    .v3-upsell-prices {
        font-size: 12px;
    }

    .v3-upsell-add-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .v3-gift-section {
        padding: 16px;
    }

    .v3-gift-section h3 {
        font-size: 16px;
    }

    .v3-gift-section p {
        font-size: 13px;
    }

    .v3-gift-section img {
        min-height: auto !important;
        max-height: 200px;
        object-fit: contain;
    }

    .v3-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .v3-review-card img {
        height: 140px;
    }

    .v3-sticky-bottom {
        gap: 12px;
        padding: 8px 14px;
    }

    .v3-sticky-price ins {
        font-size: 18px;
    }

    .v3-sticky-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .v3-order-body {
        padding: 16px;
    }
}

/* ====== Product options container styling ====== */
#v3ProductOptionsContainer .v3-option-group {
    margin-bottom: 14px;
}

#v3ProductOptionsContainer .v3-option-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--v3-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Spinner for submit button */
.v3-spinner {
    display: none;
}

.v3-spinner svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.v3-spinner .v3-spin-path {
    transform-origin: center;
    animation: v3-spin 0.75s infinite linear;
}

@keyframes v3-spin {
    100% { transform: rotate(360deg); }
}

/* Show more button */
.v3-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--v3-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--v3-transition);
    margin: 12px auto;
}

.v3-show-more-btn:hover {
    background: #1d4ed8;
}

/* Autocomplete overrides */
.v3-order-body .autocomplete-container {
    position: relative;
}

.v3-order-body .autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid var(--v3-border);
    border-radius: 0 0 6px 6px;
    box-shadow: var(--v3-shadow-md);
    max-height: 200px;
    overflow-y: auto;
}

/* ====== Email Popup v3 overrides ====== */
.v3-page .popup-overlay {
    backdrop-filter: blur(4px);
}

/* Invalid form field */
.v3-form-control.is-invalid {
    border-color: var(--v3-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.v3-form-error {
    font-size: 12px;
    color: var(--v3-red);
    margin-top: 4px;
    display: none;
}

.v3-form-control.is-invalid + .v3-form-error {
    display: block;
}

/* Separator */
.v3-section-sep {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--v3-border), transparent);
    margin: 32px 0;
}

/* Breadcrumb style delivery info */
.v3-delivery-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--v3-text-muted);
    margin: 4px 0 0 24px;
    padding-bottom: 4px;
}

.v3-delivery-strip img {
    width: 16px;
    height: 16px;
}

/* ====== Rating strip in form ====== */
.v3-form-rating-strip {
    background: var(--v3-green-light);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: var(--v3-green-dark);
    font-weight: 600;
    margin: 16px 0;
}

.v3-form-rating-strip .heartBeats {
    animation: v3-heartbeat 1.5s ease-in-out infinite;
}

@keyframes v3-heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ====== Upsell Details Link ====== */
.v3-upsell-details-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--v3-accent);
    text-decoration: none;
    margin: 4px 0 6px;
    transition: var(--v3-transition);
}

.v3-upsell-details-link:hover {
    color: #c85a00;
    text-decoration: underline;
}

/* ====== Upsell Detail Modal (v3-udm) ====== */
.v3-udm-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.v3-udm-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 28px 12px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.v3-udm-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2e7d32;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.v3-udm-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.v3-udm-close {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--v3-transition);
}

.v3-udm-close:hover {
    background: #f5f5f5;
    color: #333;
}

.v3-udm-body {
    display: flex;
    gap: 28px;
    padding: 24px 28px !important;
    background: #fff;
}

/* Gallery (left) */
.v3-udm-gallery {
    flex: 0 0 45%;
    max-width: 45%;
}

.v3-udm-carousel {
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.v3-udm-main-img {
    max-height: 400px;
    object-fit: contain;
    background: #f5f5f5;
}

.v3-udm-nav {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    opacity: 1;
    border: 1px solid #ddd;
}

.v3-udm-nav:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.v3-udm-nav-icon {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    line-height: 1;
}

.v3-udm-nav.carousel-control-prev { left: 8px; }
.v3-udm-nav.carousel-control-next { right: 8px; }

/* Thumbnails */
.v3-udm-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.v3-udm-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--v3-transition);
    flex-shrink: 0;
}

.v3-udm-thumb:hover {
    opacity: 0.9;
}

.v3-udm-thumb.active {
    border-color: var(--v3-accent);
    opacity: 1;
}

/* Info panel (right) */
.v3-udm-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.v3-udm-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
}

.v3-udm-desc p {
    margin: 0;
}

/* Features card */
.v3-udm-features {
    background: #f8faf8;
    border: 1px solid #e0e8e0;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
    flex: 1;
}

.v3-udm-features h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
    margin: 0 0 14px;
}

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

.v3-udm-features ul li {
    padding: 8px 0;
    font-size: 13.5px;
    color: #444;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.v3-udm-features ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Price + CTA row */
.v3-udm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #eee;
    margin-top: auto;
    gap: 16px;
}

.v3-udm-price-block {
    display: flex;
    flex-direction: column;
}

.v3-udm-price-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #666;
    text-transform: uppercase;
}

.v3-udm-old-price {
    font-size: 13px;
    color: #999;
}

.v3-udm-new-price {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.v3-udm-add-btn {
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--v3-transition);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.v3-udm-add-btn:hover {
    background: #256928;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .v3-udm-body {
        flex-direction: column;
        padding: 16px !important;
        gap: 16px;
    }

    .v3-udm-gallery {
        flex: none;
        max-width: 100%;
    }

    .v3-udm-main-img {
        max-height: 300px;
    }

    .v3-udm-header {
        padding: 16px 18px 10px;
    }

    .v3-udm-title {
        font-size: 17px;
    }

    .v3-udm-price-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .v3-udm-add-btn {
        width: 100%;
        text-align: center;
    }

    .v3-udm-thumb {
        width: 52px;
        height: 52px;
    }

    #upsellDetailModal .modal-dialog {
        margin: 10px;
    }
}

