/* ============================================
   PRODUCT PAGE STYLES
   Modern, Clean Ecommerce Design
   Palette: Slate/Charcoal + Emerald CTAs
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --brand-primary: #0f766e;      /* Teal-green - CTAs */
    --brand-primary-dark: #0d6460;
    --brand-primary-light: #14b8a6;
    --brand-accent: #f59e0b;       /* Amber - savings/badges */
    --brand-accent-dark: #d97706;

    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    --surface-white: #ffffff;
    --surface-light: #f9fafb;
    --surface-mid: #f3f4f6;
    --border-light: #e5e7eb;
    --border-mid: #d1d5db;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */

.product-page-container,
.product-hero,
.product-info,
.product-title,
.product-brand,
.product-category,
.product-pricing,
.price-was,
.price-now,
.price-savings,
.price-single,
.product-short-desc,
.btn-primary-cta,
.btn-secondary-cta,
.spec-badge,
.trust-signals,
.product-tab,
.product-tabs,
.product-section,
.section-title,
.product-full-description,
.product-bullets,
.specs-table,
.delivery-card,
.final-cta-section,
.mobile-sticky-cta {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}

/* ============================================
   SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ============================================
   PAGE CONTAINER
   ============================================ */

.product-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.product-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 8px 48px;
    margin: 12px 0 0 0;
    background: var(--surface-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

/* Title block: desktop — occupies right column, row 1 */
.product-title-block {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

/* Gallery: desktop — left column, spans both rows */
.product-gallery {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Info: desktop — right column, row 2 */
.product-info {
    grid-column: 2;
    grid-row: 2;
}

/* ============================================
   PRODUCT GALLERY
   ============================================ */

.product-gallery {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-light);
    display: block;
    align-self: start;
}

.product-gallery .owl-carousel {
    width: 100%;
}

.product-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
    max-height: 580px;
}

.product-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnail {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--brand-primary);
    transform: scale(1.05);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   PRODUCT INFO PANEL
   ============================================ */

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

/* Brand */
.product-brand {
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    display: block;
}

/* Title + fav group */
.product-title-fav-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.product-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Favourite button */
.btn-favorite {
    background: var(--surface-white);
    border: 1.5px solid var(--border-mid);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: var(--text-light);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: var(--shadow-sm);
}

.btn-favorite:hover {
    transform: scale(1.1);
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-favorite.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

/* Category pill */
.product-category {
    display: inline-block;
    background: var(--surface-mid);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    width: fit-content;
}

/* ============================================
   PRICING — CLEAN, ABOVE FOLD
   ============================================ */

.product-pricing {
    background: var(--surface-light);
    padding: 24px 24px 20px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.pricing-container {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.price-was {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 400;
}

.price-now {
    font-size: clamp(38px, 4.5vw, 52px);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1;
}

.price-savings {
    background: var(--brand-accent);
    color: white;
    padding: 5px 14px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2px;
}

.price-single {
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1;
}

/* ============================================
   CTA BUTTONS — DIRECTLY AFTER PRICE
   ============================================ */

.product-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin: auto;
}

.cta-button-wrapper a {

     box-sizing: border-box;
}

.btn-primary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: var(--brand-primary);
    color: white;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    width: 100%;
}

.btn-primary-cta:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.45);
    color: white;
}

.btn-secondary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--surface-white);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-mid);
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.btn-secondary-cta:hover {
    background: var(--surface-mid);
    border-color: var(--text-secondary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.merchant-name {
    font-size: 12pt;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    font-family: 'Roboto', sans-serif !important;
    width: 100% !important;
    display: block;
    margin: 10px 0 0 0;
    align-self: stretch;

}

.merchant-name-large {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* ============================================
   TRUST SIGNALS
   ============================================ */

.trust-signals {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: #f0fdf9;
    border-radius: var(--radius-sm);
    border: 1px solid #99f6e4;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #065f46;
    font-weight: 600;
}

.trust-icon {
    color: var(--brand-primary);
    font-size: 16px;
}

/* ============================================
   QUICK SPECS GRID
   ============================================ */

.product-quick-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.spec-badge {
    background: var(--surface-white);
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.spec-badge:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
    transform: translateY(-2px);
}

.spec-icon {
    font-size: 22px;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.spec-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.spec-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 800;
}

/* ============================================
   SHORT DESCRIPTION
   ============================================ */

.product-short-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 18px 20px;
    background: var(--surface-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-primary);
}

/* ============================================
   STICKY NAV TABS
   ============================================ */

.product-tabs-container {
    position: sticky;
    top: 0;
    background: var(--surface-white);
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    margin: 40px 0 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-tabs {
    display: flex;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-tabs::-webkit-scrollbar {
    height: 3px;
}

.product-tabs::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 2px;
}

.product-tab {
    padding: 18px 28px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.product-tab:hover {
    color: var(--text-primary);
    background: var(--surface-light);
}

.product-tab.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.product-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 20px;
}

.section-title {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 2px;
}

/* ============================================
   FULL DESCRIPTION
   ============================================ */

.product-full-description {
    background: var(--surface-white);
    padding: 36px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.product-full-description h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 28px 0 14px 0;
    font-weight: 700;
}

.product-full-description p {
    margin-bottom: 18px;
}

/* ============================================
   FEATURE BULLETS
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.feature-card {
    background: var(--surface-white);
    padding: 28px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--brand-primary);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--brand-primary);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: #f0fdf9;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 22px;
    margin-bottom: 14px;
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Bullet list */
.product-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--surface-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-bullets li:hover {
    border-left-color: var(--brand-primary);
    border-color: var(--border-light);
    border-left-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.product-bullets li::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #f0fdf9;
    border: 1.5px solid #6ee7d0;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 768px) {
    .product-bullets {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SPECIFICATIONS TABLE
   ============================================ */

.specs-table-container {
    background: var(--surface-white);
    padding: 36px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    border: 1px solid var(--border-light);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 18px 20px;
    font-size: 15px;
}

.specs-table td:first-child {
    font-weight: 700;
    color: var(--text-secondary);
    width: 32%;
}

.specs-table td:last-child {
    color: var(--text-muted);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--surface-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.1);
}

/* Button reset + layout */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 24px;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--surface-light);
}

.faq-item.active .faq-question {
    color: var(--brand-primary);
    background: #f0fdf9;
}

.faq-question-text {
    flex: 1;
    line-height: 1.4;
}

/* Chevron icon */
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-mid);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.35s ease;
    font-size: 13px;
}

.faq-item.active .faq-icon {
    background: var(--brand-primary);
    color: white;
    transform: rotate(180deg);
}

/* Answer panel — CSS-only smooth reveal using grid trick */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    transition: padding 0.35s ease;
}

.faq-item.active .faq-answer-inner {
    padding: 20px 24px 28px 24px;
}

/* Divider between question and answer */
.faq-item.active .faq-question {
    border-bottom: 1px solid #d1fae5;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 18px;
        font-size: 15px;
    }

    .faq-answer-inner {
        padding: 0 18px;
        font-size: 16px;
    }

    .faq-item.active .faq-answer-inner {
        padding: 18px 18px 24px 18px;
    }
}

/* ============================================
   DELIVERY CARDS
   ============================================ */

.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.delivery-card {
    background: var(--surface-white);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.2s ease;
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.delivery-icon {
    width: 56px;
    height: 56px;
    background: #f0fdf9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 24px;
    margin: 0 auto 18px auto;
}

.delivery-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.delivery-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta-section {
    background: var(--text-primary);
    color: white;
    padding: 72px 20px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(15,118,110,0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(20,184,166,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta-title {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
}

.final-cta-subtitle {
    font-size: clamp(15px, 2.5vw, 18px);
    margin-bottom: 36px;
    color: rgba(255,255,255,0.75);
}

.final-cta-price {
    font-size: clamp(40px, 5.5vw, 60px);
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 48px;
    background: var(--brand-primary);
    color: white;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-cta-large:hover {
    background: var(--brand-primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.5);
    color: white;
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-white);
    padding: 14px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    z-index: 999;
    border-top: 1px solid var(--border-light);
}

.mobile-sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-cta-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-primary);
}

.mobile-cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-cta-btn {
    padding: 13px 26px;
    background: var(--brand-primary);
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
    transition: all 0.2s ease;
}

.mobile-cta-btn:hover {
    background: var(--brand-primary-dark);
    color: white;
}

.mobile-merchant-name {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    font-family: 'Roboto', sans-serif !important;
}

/* ============================================
   UTILITY
   ============================================ */

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-40 { margin-top: 40px; }

.bg-light { background: var(--surface-light); }
.bg-white { background: var(--surface-white); }

/* ============================================
   OWL CAROUSEL OVERRIDES
   ============================================ */

#owlOne.owl-carousel {
    width: 100%;
    max-width: 100%;
    display: block !important;
}

/* Reserve gallery space before Owl loads (Owl hides itself via display:none
   until owl-loaded is added, which causes layout jump when it appears). */
#owlOne:not(.owl-loaded) {
    display: block !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-light);
}

#owlOne .owl-stage-outer {
    overflow: hidden;
    border-radius: var(--radius-md);
}

#owlOne .owl-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

#owlOne .owl-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: var(--surface-light);
}

#owlOne .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95) !important;
    color: var(--brand-primary) !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

#owlOne .owl-nav button:hover {
    background: var(--brand-primary) !important;
    color: white !important;
    box-shadow: 0 5px 18px rgba(15, 118, 110, 0.4);
}

#owlOne .owl-nav .owl-prev { left: 12px; }
#owlOne .owl-nav .owl-next { right: 12px; }

#owlOne .owl-dots {
    margin-top: 4px;
    text-align: center;
}

#owlOne .owl-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--border-mid);
    border-radius: 50%;
    margin: 0 4px;
    transition: all 0.25s ease;
}

#owlOne .owl-dot.active {
    background: var(--brand-primary);
    width: 28px;
    border-radius: 4px;
}

#owlOne .owl-dot:hover {
    background: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .product-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 28px;
        padding: 36px 28px;
    }

    .product-title-block {
        grid-column: 1;
        grid-row: 1;
        padding-bottom: 0;
    }

    .product-gallery {
        grid-column: 1;
        grid-row: 2;
        min-height: unset;
    }

    .product-info {
        grid-column: 1;
        grid-row: 3;
    }

    .product-tab {
        padding: 16px 20px;
        font-size: 14px;
    }

    .product-section {
        padding: 48px 20px;
    }

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

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

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block !important;
    }

    body {
        padding-bottom: 80px;
    }

    .product-brand {
        display: none;
    }

    /* On mobile: single column, title → gallery → info */
    .product-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 4px;
        padding: 16px 16px;
        margin: 8px 0 0 0;
        border-radius: var(--radius-md);
    }

    .product-title-block {
        grid-column: 1;
        grid-row: 1;
        padding-bottom: 0;
    }

    .product-gallery {
        grid-column: 1;
        grid-row: 2;
    }

    .product-info {
        grid-column: 1;
        grid-row: 3;
        gap: 14px;
    }

    .product-pricing {
        padding: 14px 16px;
        text-align: center;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .product-quick-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-badge {
        padding: 12px 10px;
        min-height: 80px;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        padding: 15px 24px;
        font-size: 15px;
    }

    .product-full-description {
        padding: 24px 20px;
    }

    .specs-table-container {
        padding: 20px;
    }

    .specs-table td {
        padding: 14px;
        font-size: 14px;
        display: block;
        width: 100%;
    }

    .specs-table td:first-child {
        padding-bottom: 4px;
        width: 100%;
        color: var(--text-muted);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .specs-table td:last-child {
        padding-top: 2px;
        font-weight: 600;
        color: var(--text-primary);
        font-size: 15px;
    }

    .final-cta-section {
        padding: 48px 20px;
        border-radius: var(--radius-md);
    }

    .delivery-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

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

    .product-quick-specs {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .trust-signals {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        padding: 10px 12px;
    }

    .trust-item {
        font-size: 11px;
        gap: 4px;
    }

    .trust-icon {
        font-size: 13px;
    }

    .product-tab {
        padding: 14px 14px;
        font-size: 13px;
    }

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

    .product-page-container {
        padding: 0 14px;
    }
}

/* ============================================
   BACK TO TOP
   ============================================ */
a.backToTop {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--text-primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    z-index: 998;
    transition: all 0.2s ease;
}

a.backToTop i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

a.backToTop:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
}

/* ============================================
   RELATED PRODUCTS SECTION
   ============================================ */

.related-products-section {
    padding-top: 0;
    padding-bottom: 28px;
    margin-top: 0;
}

.related-products-section .section-title {
    font-size: 20px;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 0;
}

.related-product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--text-primary);
}

.related-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.02em;
}

.related-product-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.related-product-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.related-product-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-size {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-product-size i {
    color: var(--brand-primary);
    font-size: 11px;
}

.related-product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.related-price-now {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-primary);
}

.related-price-was {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.related-product-cta {
    margin-top: auto;
    padding-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid var(--border-light);
}

.related-product-cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.related-product-card:hover .related-product-cta i {
    transform: translateX(3px);
}

/* Responsive: 3 columns on medium screens */
@media (max-width: 1100px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive: 2 columns on small tablets */
@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Responsive: 2 columns on mobile (keeps cards visible) */
@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-product-info {
        padding: 12px 14px 16px;
    }

    .related-price-now {
        font-size: 17px;
    }
}
