/* =========================================================================
   SINGLE PRODUCT WIDGET — Refined Premium Design
========================================================================= */

.ez-single-product {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 1300px;
    margin: 0 auto;
    color: #222;
    background-color: #fff;
    padding: 0 0 40px 0; /* Padding for the bottom only, hero covers top */
}

.ez-hidden {
    display: none !important;
}

/* ═══════════════════════════════════════
   HERO HEADER WIDGET
═══════════════════════════════════════ */
.ez-sp-hero-widget .ez-sp-hero {
    position: relative;
    height: 320px;
    background-color: #00414f; /* Requested default */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.ez-sp-hero-widget .ez-sp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ez-sp-hero-widget .ez-hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.ez-sp-hero-widget .ez-circle-1 { width: 300px; height: 300px; }
.ez-sp-hero-widget .ez-circle-2 { width: 450px; height: 450px; }
.ez-sp-hero-widget .ez-circle-3 { width: 650px; height: 650px; }

.ez-sp-hero-widget .ez-sp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.ez-sp-hero-widget .ez-sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}
.ez-sp-hero-widget .ez-badge-dot {
    width: 6px;
    height: 6px;
    background: #c9a764; /* Gold */
    border-radius: 50%;
}

.ez-sp-hero-widget .ez-sp-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    margin: 0 0 15px 0;
    line-height: 1.1;
    color: #fff;
}

.ez-sp-hero-widget .ez-sp-hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ═══════════════════════════════════════
   PAGE HERO WIDGET
   Reuses the same radial circle background
═══════════════════════════════════════ */
.ez-page-hero-widget .ez-page-hero {
    position: relative;
    min-height: 320px;
    background-color: #00414f;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.ez-page-hero-widget .ez-page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ez-page-hero-widget .ez-page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.ez-page-hero-widget .ez-page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.ez-page-hero-widget .ez-badge-dot {
    width: 6px;
    height: 6px;
    background: #c9a764; /* Gold */
    border-radius: 50%;
}

.ez-page-hero-widget .ez-page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 400;
    margin: 0 0 15px 0;
    line-height: 1.1;
    color: #fff;
}

.ez-page-hero-widget .ez-page-hero-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Share the same circle styles */
.ez-page-hero-widget .ez-hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.ez-page-hero-widget .ez-circle-1 { width: 300px; height: 300px; }
.ez-page-hero-widget .ez-circle-2 { width: 450px; height: 450px; }
.ez-page-hero-widget .ez-circle-3 { width: 650px; height: 650px; }

/* BREADCRUMBS */
.ez-sp-breadcrumbs {
    padding: 15px 0 25px 0;
    font-size: 13px;
    color: #888;
    letter-spacing: 0.2px;
}
.ez-sp-bc-nav { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    gap: 10px; 
}
.ez-sp-breadcrumbs a { 
    color: #888; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    white-space: nowrap;
}
.ez-sp-breadcrumbs a:hover { 
    color: #2c5855; 
}
.ez-bc-sep { 
    color: #ccc; 
    font-size: 11px; 
    display: flex;
    align-items: center;
}
.ez-sp-breadcrumbs .breadcrumb_last { 
    color: #333; 
    font-weight: 600; 
    white-space: nowrap;
}

/* GRID */
.ez-sp-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
    padding: 0 20px;
}

/* ═══════════════════════════════════════
   VERTICAL GALLERY
═══════════════════════════════════════ */
.ez-sp-gallery.vertical-gallery {
    display: flex;
    gap: 25px;
    position: sticky;
    top: 40px;
}

.ez-sp-thumbnails.vertical-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.ez-sp-thumb-btn.image-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    padding: 2px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.ez-sp-thumb-btn.image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.ez-sp-thumb-btn.image-thumb:hover {
    border-color: #2c5855;
}
.ez-sp-thumb-btn.image-thumb.active {
    border-color: #2c5855;
    box-shadow: 0 0 0 1px #2c5855;
}

/* Main Image Container */
.ez-sp-main-image-outer.zoom-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.ez-sp-main-image.zoom-inner {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
}

.ez-sp-main-img.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out; /* Base speed, JS will adjust scale */
}

/* Badge Overlay */
.ez-sp-badge-exclusive {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c5855;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 10;
}

/* ═══════════════════════════════════════
   DETAILS (RIGHT)
═══════════════════════════════════════ */
.ez-sp-details { display: flex; flex-direction: column; }

.ez-sp-collection {
    font-size: 11px;
    font-weight: 700;
    color: #c9a764;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.ez-sp-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 12px 0;
    color: #1a1a1a;
}

.ez-sp-sku {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.ez-sp-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 30px;
}
.ez-sp-price { font-size: 36px; font-weight: 500; color: #1a1a1a; }
.ez-sp-price-suffix { font-size: 13px; color: #888; }

.ez-sp-price-row {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Swatches */
.ez-sp-variation-group { margin-bottom: 25px; }
.ez-sp-variation-label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.ez-sp-active-option { color: #1a1a1a; font-weight: 700; }
.ez-sp-swatches { display: flex; gap: 12px; }

.ez-sp-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd; /* Visible border for all colors, especially white */
    cursor: pointer;
    padding: 3px;
    background-clip: content-box;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); /* Subtle inner shadow */
}
.ez-sp-color-swatch.active { border-color: #2c5855; box-shadow: 0 0 0 1px #2c5855; }

.ez-sp-pill-swatch {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ez-sp-pill-swatch.active { border-color: #2c5855; background: #fff; color: #2c5855; box-shadow: 0 0 0 1px #2c5855; }

/* Action Row */
.ez-sp-action-row { display: flex; align-items: center; gap: 15px; margin: 30px 0; }
.ez-sp-qty { display: flex; align-items: center; background: #FAFAFA; border-radius: 12px; padding: 4px; height: 54px; }
.ez-qty-btn { width: 44px; height: 100%; background: transparent; border: none; font-size: 20px; color: #666; cursor: pointer; }
.ez-qty-input { width: 40px; border: none; background: transparent; text-align: center; font-weight: 600; font-size: 16px; }

.ez-sp-cart-btn {
    flex: 1;
    height: 54px;
    background: #2c5855;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}
.ez-sp-cart-btn:hover { background: #214341; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(44, 88, 85, 0.15); }

/* Tech Pills */
.ez-sp-tech-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.ez-sp-tech-pill { padding: 8px 16px; background: #F5F5F5; border-radius: 100px; font-size: 12px; color: #666; font-weight: 500; }

/* Features Grid */
.ez-sp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #F0F0F0;
}
.ez-sp-feature-card { background: #FAFAFA; border: 1px solid #F0F0F0; border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 20px; }
.ez-sp-feature-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.ez-sp-feature-title { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.ez-sp-feature-subtitle { font-size: 11px; color: #888; margin-top: 2px; }

/* Description */
.ez-sp-description { margin-top: 40px; font-size: 15px; line-height: 1.7; color: #555; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ez-sp-grid { grid-template-columns: 1fr; gap: 50px; }
    .ez-sp-gallery.vertical-gallery { flex-direction: column-reverse; position: static; }
    .ez-sp-thumbnails.vertical-thumbs { flex-direction: row; width: 100%; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
    .ez-sp-thumbnails.vertical-thumbs::-webkit-scrollbar { display: none; }
    .ez-sp-hero-title { font-size: 48px; }
}

@media (max-width: 600px) {
    .ez-sp-hero { height: 280px; }
    .ez-sp-hero-title { font-size: 32px; }
    .ez-sp-features-grid { grid-template-columns: 1fr; }
    .ez-sp-action-row { flex-direction: column; align-items: stretch; }
    .ez-sp-qty { width: 100%; justify-content: center; }
}
/* ── TABS SECTION ── */
.ez-sp-tabs-section {
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
}
.ez-sp-tab-headers {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eef0f4;
}
.ez-sp-tab-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: #8a8a8a;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.ez-sp-tab-btn:hover { color: #1a1a1a; }
.ez-sp-tab-btn.active {
    color: #2c5855;
    font-weight: 700;
}
.ez-sp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2c5855;
}

/* Tab Content Visibility */
.ez-sp-tab-content { display: none; }
.ez-sp-tab-content.active { display: block; animation: ezFadeIn 0.4s ease forwards; }

@keyframes ezFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Tab: SPECIFICATIONS ── */
.ez-sp-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
}
.ez-sp-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14.5px;
}
.ez-spec-label { color: #888; }
.ez-spec-value { color: #111; font-weight: 500; }

/* ── Tab: FEATURES ── */
.ez-sp-features-tab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ez-sp-feature-tab-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ez-sp-feature-tab-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.ez-tab-feature-icon {
    font-size: 24px;
    color: #2c5855;
    margin-bottom: 20px;
}
.ez-tab-feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}
.ez-tab-feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ── Tab: DOWNLOADS ── */
.ez-sp-downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ez-sp-download-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.3s;
}
.ez-sp-download-item:hover { border-color: #2c5855; }
.ez-dl-type {
    width: 48px;
    height: 48px;
    background: #f5f7f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #2c5855;
    margin-right: 16px;
    flex-shrink: 0;
}
.ez-dl-info { flex: 1; }
.ez-dl-title { font-size: 14.5px; font-weight: 700; color: #111; margin-bottom: 4px; }
.ez-dl-meta { font-size: 12px; color: #aaa; }
.ez-dl-icon { color: #ccc; transition: color 0.3s; }
.ez-sp-download-item:hover .ez-dl-icon { color: #2c5855; }

@media (max-width: 768px) {
    .ez-sp-specs-grid { grid-template-columns: 1fr; gap: 0; }
    .ez-sp-tab-headers { gap: 20px; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════
   NEW: CONTACT INFO SECTION (Design Image 2)
═══════════════════════════════════════ */
.ez-sp-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
    padding: 25px;
    background: #00414f; /* Dark Teal from design */
    border-radius: 20px;
}

.ez-sp-ib-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ez-sp-ib-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.ez-sp-ib-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #c9a764; /* Gold accent */
    margin-bottom: 15px;
}

.ez-sp-ib-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.ez-sp-ib-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .ez-sp-contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ez-sp-contact-info-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    .ez-sp-ib-card {
        padding: 20px 10px;
    }
}
