/**
 * Eco Plastic Theme — Single Product Page & Archive Product Styles
 * Premium Design System Integration
 */

/* ─────────────────────────────────────────────
   BREADCRUMB NAVIGATION
───────────────────────────────────────────── */
.eco-sp-breadcrumb {
    background: #f7faf8;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 67, 33, 0.05);
}

.eco-sp-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--eco-charcoal-muted);
}

.eco-sp-breadcrumb-inner a {
    color: var(--eco-charcoal-muted);
    text-decoration: none;
    transition: var(--eco-transition);
    font-weight: 500;
}

.eco-sp-breadcrumb-inner a:hover {
    color: var(--eco-green);
}

.eco-sp-bc-sep {
    display: inline-flex;
    align-items: center;
    color: var(--eco-gray-mid);
    opacity: 0.8;
}

.eco-sp-bc-current {
    color: var(--eco-charcoal);
    font-weight: 600;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────
   SINGLE PRODUCT PAGE CONTAINER
───────────────────────────────────────────── */
.eco-sp-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

.eco-sp-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}

/* ── 1. Left Column: Gallery ── */
.eco-sp-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.eco-sp-main-viewer {
    position: relative;
    border-radius: var(--eco-radius-lg);
    background: #ffffff;
    border: 1px solid rgba(0, 67, 33, 0.08);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.eco-sp-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
}

.eco-sp-main-viewer:hover .eco-sp-main-img {
    transform: scale(1.03);
}

/* Zoom / Expand overlay button */
.eco-sp-zoom-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eco-charcoal);
    transition: var(--eco-transition);
    z-index: 5;
    opacity: 0;
    transform: scale(0.85);
}

.eco-sp-main-viewer:hover .eco-sp-zoom-btn {
    opacity: 1;
    transform: scale(1);
}

.eco-sp-zoom-btn:hover {
    background: var(--eco-green);
    color: #ffffff;
    border-color: var(--eco-green);
}

/* Gallery Viewer Arrow Buttons */
.eco-sp-viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eco-charcoal);
    transition: var(--eco-transition);
    z-index: 5;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.eco-sp-main-viewer:hover .eco-sp-viewer-arrow {
    opacity: 1;
}

.eco-sp-viewer-prev {
    left: 12px;
}

.eco-sp-viewer-next {
    right: 12px;
}

.eco-sp-viewer-arrow:hover {
    background: var(--eco-green);
    color: #ffffff;
    border-color: var(--eco-green);
    transform: translateY(-50%) scale(1.05);
}

.eco-sp-no-image {
    text-align: center;
    color: var(--eco-gray-mid);
}

.eco-sp-no-image p {
    margin-top: 8px;
    font-size: 14px;
}

/* Badges */
.eco-sp-badge {
    position: absolute;
    top: 16px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--eco-radius-sm);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.eco-sp-badge-new {
    left: 16px;
    background: var(--eco-green-light);
}

.eco-sp-badge-featured {
    left: 16px;
    background: #e65100; /* Amber shade for premium featured */
}

/* Image Count Pill */
.eco-sp-img-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(38, 50, 56, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--eco-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.eco-sp-img-count svg {
    opacity: 0.85;
}

/* Thumbnail Filmstrip */
.eco-sp-thumb-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 67, 33, 0.15) transparent;
}

.eco-sp-thumb-strip::-webkit-scrollbar {
    height: 4px;
}

.eco-sp-thumb-strip::-webkit-scrollbar-track {
    background: transparent;
}

.eco-sp-thumb-strip::-webkit-scrollbar-thumb {
    background: rgba(0, 67, 33, 0.15);
    border-radius: 10px;
}

.eco-sp-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--eco-radius-md);
    border: 2px solid var(--eco-light-gray);
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
    transition: var(--eco-transition);
}

.eco-sp-thumb:hover {
    border-color: var(--eco-green-light);
    transform: translateY(-2px);
}

.eco-sp-thumb.active {
    border-color: var(--eco-green);
    box-shadow: 0 0 0 3px rgba(0, 67, 33, 0.1);
}

.eco-sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── 2. Right Column: Info Card ── */
.eco-sp-info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 67, 33, 0.06);
    border-radius: var(--eco-radius-lg);
    padding: 40px;
    box-shadow: var(--eco-shadow-md);
}

.eco-sp-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.eco-sp-cat-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--eco-green);
    background: rgba(0, 67, 33, 0.06);
    padding: 4px 12px;
    border-radius: var(--eco-radius-full);
    text-decoration: none;
    transition: var(--eco-transition);
}

.eco-sp-cat-tag:hover {
    background: var(--eco-green);
    color: #ffffff;
}

.eco-sp-id-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--eco-charcoal-muted);
    background: var(--eco-light-gray);
    padding: 4px 10px;
    border-radius: var(--eco-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.eco-sp-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--eco-charcoal);
    line-height: 1.25;
    margin: 0 0 12px;
}

.eco-sp-model {
    font-family: var(--eco-font-sans);
    font-size: 13px;
    color: var(--eco-green-light);
    font-weight: 600;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eco-sp-divider {
    height: 1px;
    background: rgba(0, 67, 33, 0.06);
    margin: 24px 0;
}

.eco-sp-short-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--eco-charcoal-light);
    margin: 0;
}

/* Key Features inside Card */
.eco-sp-features-block {
    background: #fcfdfe;
    border: 1px solid rgba(0, 67, 33, 0.05);
    border-radius: var(--eco-radius-md);
    padding: 20px;
    margin-top: 24px;
}

.eco-sp-features-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--eco-charcoal);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eco-sp-features-heading svg {
    color: var(--eco-green-light);
}

.eco-sp-features-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.eco-sp-features-block ul li {
    font-size: 13.5px;
    color: var(--eco-charcoal-light);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.eco-sp-features-block ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 3px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337F3F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* CTA buttons inside Card */
.eco-sp-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eco-sp-whatsapp-wrap .eco-cta-wrapper {
    margin: 0;
}

.eco-sp-whatsapp-wrap .eco-whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: var(--eco-radius-md) !important;
    background: var(--eco-whatsapp-btn, #25d366) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px var(--eco-whatsapp-btn-shadow, rgba(37, 211, 102, 0.25)) !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.eco-sp-whatsapp-wrap .eco-whatsapp-btn:hover {
    background: var(--eco-whatsapp-btn-hover, #1da851) !important;
    box-shadow: 0 8px 24px var(--eco-whatsapp-btn-shadow, rgba(37, 211, 102, 0.45)) !important;
    transform: translateY(-2px) !important;
}

.eco-sp-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 67, 33, 0.04);
    color: var(--eco-green) !important;
    border: 1px dashed rgba(0, 67, 33, 0.25);
    padding: 12px 24px;
    border-radius: var(--eco-radius-md);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--eco-transition);
}

.eco-sp-call-btn:hover {
    background: var(--eco-green);
    color: #ffffff !important;
    border-color: var(--eco-green);
}

/* Share Row */
.eco-sp-share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 67, 33, 0.05);
}

.eco-sp-share-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--eco-charcoal-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 4px;
}

.eco-sp-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--eco-gray-border);
    background: #ffffff;
    color: var(--eco-charcoal-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--eco-transition);
    padding: 0;
}

.eco-sp-share-fb:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
}

.eco-sp-share-wa:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

.eco-sp-share-copy:hover {
    background: var(--eco-charcoal);
    color: #ffffff;
    border-color: var(--eco-charcoal);
}

/* ─────────────────────────────────────────────
   DETAIL TABS SECTION
───────────────────────────────────────────── */
.eco-sp-tabs-section {
    background: #ffffff;
    border: 1px solid rgba(0, 67, 33, 0.06);
    border-radius: var(--eco-radius-lg);
    overflow: hidden;
    margin-bottom: 56px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

/* Tab Nav Bar */
.eco-sp-tab-nav {
    display: flex;
    background: #f7faf8;
    border-bottom: 1px solid rgba(0, 67, 33, 0.06);
    gap: 2px;
}

.eco-sp-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--eco-charcoal-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 28px;
    cursor: pointer;
    position: relative;
    transition: var(--eco-transition);
}

.eco-sp-tab-btn:hover {
    color: var(--eco-green);
    background: rgba(0, 67, 33, 0.02);
}

.eco-sp-tab-btn.active {
    color: var(--eco-green);
    background: #ffffff;
}

.eco-sp-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--eco-green);
}

/* Tab Panels */
.eco-sp-tab-panels {
    padding: 40px;
}

.eco-sp-tab-panel {
    display: none;
}

.eco-sp-tab-panel.active {
    display: block;
    animation: ecoFadeIn 0.35s ease;
}

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

.eco-sp-tab-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--eco-charcoal-light);
}

.eco-sp-tab-content p {
    margin-bottom: 16px;
}

.eco-sp-tab-content p:last-child {
    margin-bottom: 0;
}

/* Specifications Table */
.eco-sp-specs-wrap .eco-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    border: 1px solid var(--eco-light-gray);
    border-radius: var(--eco-radius-md);
    overflow: hidden;
}

.eco-sp-specs-wrap .eco-specs-table tr {
    transition: var(--eco-transition);
}

.eco-sp-specs-wrap .eco-specs-table tr:hover {
    background: rgba(0, 67, 33, 0.015);
}

.eco-sp-specs-wrap .eco-specs-table tr:nth-child(even) {
    background: #fafcfb;
}

.eco-sp-specs-wrap .eco-specs-table th,
.eco-sp-specs-wrap .eco-specs-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--eco-light-gray);
}

.eco-sp-specs-wrap .eco-specs-table tr:last-child th,
.eco-sp-specs-wrap .eco-specs-table tr:last-child td {
    border-bottom: none;
}

.eco-sp-specs-wrap .eco-specs-table th {
    font-weight: 700;
    color: var(--eco-charcoal);
    width: 30%;
    border-right: 1px solid var(--eco-light-gray);
}

.eco-sp-specs-wrap .eco-specs-table td {
    color: var(--eco-charcoal-light);
}

/* ─────────────────────────────────────────────
   RELATED PRODUCTS SECTION
───────────────────────────────────────────── */
.eco-sp-related-section {
    margin-top: 56px;
}

.eco-sp-section-header {
    margin-bottom: 32px;
}

.eco-sp-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--eco-charcoal);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.eco-sp-section-pill {
    width: 4px;
    height: 24px;
    background: var(--eco-green-light);
    border-radius: var(--eco-radius-full);
}

/* ── Overrides for Related shortcode output ── */
.eco-sp-related-grid .eco-section-heading {
    display: none !important;
}

.eco-sp-related-grid .eco-home-products-grid,
.eco-sp-related-grid .eco-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
}

@media (max-width: 1024px) {
    .eco-sp-related-grid .eco-home-products-grid,
    .eco-sp-related-grid .eco-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .eco-sp-related-grid .eco-home-products-grid,
    .eco-sp-related-grid .eco-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .eco-sp-related-grid .eco-home-products-grid,
    .eco-sp-related-grid .eco-products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Related Product Cards Layout Design Styling */
.eco-sp-related-grid .eco-product-card {
    background: var(--eco-bg-card);
    border-radius: var(--eco-radius-lg);
    overflow: hidden;
    box-shadow: var(--eco-shadow-sm);
    border: 1px solid var(--eco-light-gray);
    transition: var(--eco-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.eco-sp-related-grid .eco-product-card:hover {
    box-shadow: var(--eco-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--eco-green-light);
}

.eco-sp-related-grid .eco-card-badge {
    display: none !important;
}

.eco-sp-related-grid .eco-product-badge-new,
.eco-sp-related-grid .eco-product-badge-featured {
    position: absolute;
    top: 12px;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--eco-radius-sm);
    color: #ffffff;
    z-index: 5;
}

.eco-sp-related-grid .eco-product-badge-new {
    left: 12px;
    background: var(--eco-green-light);
}

.eco-sp-related-grid .eco-product-badge-featured {
    left: 12px;
    background: #e65100;
}

.eco-sp-related-grid .eco-product-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--eco-light-gray);
    width: 100%;
}

.eco-sp-related-grid .eco-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.eco-sp-related-grid .eco-product-content {
    padding: 16px 18px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.eco-sp-related-grid .eco-product-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--eco-green-light);
    background: var(--eco-green-subtle);
    padding: 2px 8px;
    border-radius: var(--eco-radius-full);
    display: inline-block;
    width: fit-content;
}

.eco-sp-related-grid .eco-product-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.eco-sp-related-grid .eco-product-title a {
    color: var(--eco-charcoal);
    text-decoration: none;
    transition: var(--eco-transition);
}

.eco-sp-related-grid .eco-product-title a:hover {
    color: var(--eco-green);
}

.eco-sp-related-grid .eco-product-excerpt {
    font-size: 13px;
    color: var(--eco-text-secondary);
    line-height: 1.55;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.1em;
}

.eco-sp-related-grid .eco-product-footer {
    padding: 12px 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--eco-light-gray);
    margin-top: auto;
}

.eco-sp-related-grid .eco-product-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: var(--eco-radius-md);
    font-weight: 600;
    transition: var(--eco-transition);
    border: 1px solid var(--eco-gray-border);
    color: var(--eco-charcoal-light);
    text-decoration: none;
    background: #ffffff;
}

.eco-sp-related-grid .eco-product-link:hover {
    background: var(--eco-light-gray);
    color: var(--eco-charcoal);
}

.eco-sp-related-grid .eco-whatsapp-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: var(--eco-radius-md);
    background: var(--eco-whatsapp-btn, #25d366);
    box-shadow: 0 3px 8px var(--eco-whatsapp-btn-shadow, rgba(37, 211, 102, 0.2));
}

.eco-sp-related-grid .eco-whatsapp-btn:hover {
    background: var(--eco-whatsapp-btn-hover, #1da851);
    box-shadow: 0 6px 14px var(--eco-whatsapp-btn-shadow, rgba(37, 211, 102, 0.3));
}
/* ─────────────────────────────────────────────
   PRODUCT ARCHIVE & TAXONOMY PAGES
───────────────────────────────────────────── */
.eco-taxonomy-container {
    padding-top: 48px;
    padding-bottom: 80px;
}

.eco-taxonomy-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--eco-light-gray);
}

.eco-taxonomy-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--eco-charcoal);
}

.eco-taxonomy-desc {
    color: var(--eco-text-secondary);
    max-width: 600px;
    margin: 0;
}

/* ─────────────────────────────────────────────
   MAIN CONTENT AREA (page.php / single.php / index.php)
───────────────────────────────────────────── */
.main-content-area {
    padding-top: 48px;
    padding-bottom: 80px;
}

.entry-header .entry-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--eco-charcoal);
}

.entry-thumbnail {
    margin-bottom: 32px;
    border-radius: var(--eco-radius-lg);
    overflow: hidden;
}

.entry-thumbnail img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.entry-meta {
    color: var(--eco-gray-mid);
    font-size: 13px;
    margin-bottom: 24px;
}

.entry-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--eco-charcoal-light);
}

/* ─── 404 ─── */
.error-404-page {
    text-align: center;
    max-width: 540px;
    margin: 80px auto;
}

.error-404-page .page-title {
    font-size: 2rem;
    color: var(--eco-gray-mid);
    margin-bottom: 16px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — PREMIUM SINGLE PRODUCT
───────────────────────────────────────────── */
@media (max-width: 992px) {
    .eco-sp-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .eco-sp-gallery-col {
        position: static;
    }

    .eco-sp-info-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .eco-sp-tab-nav {
        flex-direction: column;
        gap: 0;
    }

    .eco-sp-tab-btn {
        width: 100%;
        text-align: left;
        padding: 14px 20px;
    }

    .eco-sp-tab-btn.active::after {
        bottom: 0;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
    }

    .eco-sp-tab-panels {
        padding: 24px;
    }

    .eco-sp-specs-wrap .eco-specs-table th {
        width: 40%;
    }
}

@media (max-width: 480px) {
    .eco-sp-container {
        padding-top: 24px;
    }

    .eco-sp-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .eco-sp-tab-panels {
        padding: 16px;
    }

    .eco-sp-specs-wrap .eco-specs-table th,
    .eco-sp-specs-wrap .eco-specs-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}


/* ─────────────────────────────────────────────
   PREMIUM PRODUCT CATALOG STYLES
───────────────────────────────────────────── */

/* ── 1. Hero Header ── */
.eco-catalog-hero {
    background: linear-gradient(135deg, #003016 0%, #004d26 50%, #006030 100%);
    position: relative;
    padding: 60px 0 70px;
    color: #ffffff !important;
    overflow: hidden;
}

.eco-catalog-hero h1,
.eco-catalog-hero h2,
.eco-catalog-hero h3,
.eco-catalog-hero h4,
.eco-catalog-hero h5,
.eco-catalog-hero h6,
.eco-catalog-hero-title,
.eco-catalog-hero-subtitle {
    color: #ffffff !important;
}

.eco-catalog-bc {
    color: rgba(255, 255, 255, 0.75) !important;
}

.eco-catalog-bc a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.eco-catalog-bc a:hover {
    color: var(--eco-green-light, #337f3f) !important;
}

.eco-catalog-bc span {
    color: #ffffff !important;
}

.eco-catalog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(37, 211, 102, 0.06) 0%, transparent 45%);
    z-index: 1;
}

.eco-catalog-hero-inner {
    position: relative;
    z-index: 2;
}

/* Hero Breadcrumbs */
.eco-catalog-bc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 28px;
    opacity: 0.85;
}

.eco-catalog-bc a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--eco-transition);
    font-weight: 500;
}

.eco-catalog-bc a:hover {
    color: var(--eco-green-light);
    opacity: 1;
}

.eco-catalog-bc svg {
    opacity: 0.6;
}

.eco-catalog-bc span {
    font-weight: 600;
    opacity: 0.9;
}

/* Hero Content */
.eco-catalog-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.eco-catalog-hero-text {
    max-width: 650px;
}

.eco-catalog-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--eco-green-light);
    background: rgba(0, 230, 118, 0.12);
    padding: 4px 10px;
    border-radius: var(--eco-radius-sm);
    margin-bottom: 14px;
}

.eco-catalog-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 850;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.eco-catalog-hero-subtitle {
    font-size: clamp(14px, 1.8vw, 16.5px);
    line-height: 1.55;
    opacity: 0.85;
    margin: 0;
}

/* Stats Badges */
.eco-catalog-hero-stats {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--eco-radius-lg);
    padding: 16px 28px;
    gap: 24px;
}

.eco-catalog-stat {
    text-align: center;
}

.eco-catalog-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.eco-catalog-stat-lbl {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.eco-catalog-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
}

/* ── 2. Sticky Controls Wrapper ── */
.eco-catalog-controls-wrap {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 67, 33, 0.06);
    position: sticky;
    top: 75px; /* Adjust based on theme header height */
    z-index: 99;
    padding: 14px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.015);
    transition: var(--eco-transition);
}

.eco-catalog-controls-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Category Filter Bar — scrollable + draggable */
.eco-cat-filter-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px;
    flex-grow: 1;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.eco-cat-filter-bar::-webkit-scrollbar {
    display: none;
}

.eco-cat-filter-bar.eco-dragging {
    cursor: grabbing;
}

.eco-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f7f5;
    border: 1px solid rgba(0, 67, 33, 0.07);
    color: var(--eco-charcoal-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--eco-radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--eco-transition);
    flex-shrink: 0;
}

.eco-cat-pill:hover {
    background: rgba(0, 67, 33, 0.05);
    color: var(--eco-green);
}

.eco-cat-pill.active {
    background: var(--eco-green);
    color: #ffffff !important;
    border-color: var(--eco-green);
    box-shadow: 0 4px 12px rgba(0, 67, 33, 0.15);
}

.eco-cat-pill-count {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.eco-cat-pill.active .eco-cat-pill-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Sort & View Controls */
.eco-catalog-sort-view {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Sort Dropdown — premium polished UI */
.eco-sort-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid rgba(0, 67, 33, 0.12);
    padding: 0 32px 0 10px; /* right side reserved for chevron span */
    border-radius: var(--eco-radius-md);
    transition: var(--eco-transition);
    height: 40px;
    min-width: 145px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    cursor: pointer;
}

.eco-sort-select-wrap:focus-within {
    border-color: var(--eco-green);
    box-shadow: 0 0 0 3px rgba(0, 67, 33, 0.10);
}

.eco-sort-select-wrap:hover {
    border-color: rgba(0, 67, 33, 0.28);
    background: #f7faf8;
}

/* Leading filter icon */
.eco-sort-select-wrap .eco-sort-icon {
    flex-shrink: 0;
    opacity: 0.55;
    pointer-events: none;
    color: var(--eco-green);
}

/* The native select — fills remaining space, no appearance so OS arrow is hidden */
.eco-sort-select {
    border: none;
    background: transparent;
    outline: none;
    color: var(--eco-charcoal);
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 100%;
    /* Prevent the option list overlay from clipping under the sticky bar */
    position: relative;
    z-index: 1;
}

/* Inline SVG chevron — absolutely placed, purely decorative */
.eco-sort-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
    color: var(--eco-charcoal-muted);
    transition: transform 0.2s ease;
}

.eco-sort-select-wrap:focus-within .eco-sort-chevron {
    color: var(--eco-green);
    transform: translateY(-50%) rotate(180deg);
}


/* Grid/List View Toggles */
.eco-view-toggle {
    display: flex;
    background: #f4f7f5;
    border: 1px solid rgba(0, 67, 33, 0.04);
    padding: 2px;
    border-radius: var(--eco-radius-md);
}

.eco-view-btn {
    border: none;
    background: transparent;
    outline: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    color: var(--eco-charcoal-muted);
    transition: var(--eco-transition);
}

.eco-view-btn:hover {
    color: var(--eco-green);
}

.eco-view-btn.active {
    background: #ffffff;
    color: var(--eco-green);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ── 3. Results count bar ── */
.eco-catalog-body {
    padding-top: 40px;
    padding-bottom: 80px;
}

.eco-catalog-results-bar {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: var(--eco-charcoal-muted);
    font-weight: 600;
}

.eco-results-count {
    background: #f4f7f5;
    padding: 4px 12px;
    border-radius: 4px;
}

/* ── 4. Main Product Grid ── */
.eco-catalog-grid {
    transition: opacity 0.25s ease;
}

/* Grid Mode: defers to homepage products grid styles for column and gap definitions */
.eco-catalog-view-grid {
    display: grid !important;
}

/* List Mode: horizontal list items */
.eco-catalog-view-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eco-catalog-view-list .eco-product-card-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: auto;
}

.eco-catalog-view-list .eco-card-image-link {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    border-radius: var(--eco-radius-lg) 0 0 var(--eco-radius-lg);
    border-right: 1px solid rgba(0, 67, 33, 0.05);
}

.eco-catalog-view-list .eco-card-body {
    padding: 24px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eco-catalog-view-list .eco-card-footer {
    width: 240px;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    border-top: none;
    border-left: 1px solid rgba(0, 67, 33, 0.05);
    padding: 24px 30px;
    gap: 12px;
    margin-top: 0;
}

.eco-catalog-view-list .eco-btn {
    width: 100%;
}



@media (max-width: 768px) {
    .eco-catalog-view-list .eco-product-card-item {
        flex-direction: column;
    }
    .eco-catalog-view-list .eco-card-image-link {
        width: 100%;
        border-radius: var(--eco-radius-lg) var(--eco-radius-lg) 0 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 67, 33, 0.05);
    }
    .eco-catalog-view-list .eco-card-footer {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(0, 67, 33, 0.05);
        flex-direction: row;
        padding: 16px 20px;
    }
    .eco-catalog-view-list .eco-btn {
        flex: 1;
    }
}

@media (max-width: 580px) {
    /* Polish card layout dimensions for mobile 2x2 grid */
    .eco-catalog-view-grid .eco-product-card-item .eco-card-body {
        padding: 10px 12px 6px;
        gap: 3px;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-footer {
        padding: 8px 12px 10px;
        gap: 8px;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-title {
        font-size: 13.5px !important;
        font-weight: 700;
        line-height: 1.3;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-excerpt {
        font-size: 11px !important;
        height: 2.8em;
        line-height: 1.4;
        margin: 2px 0 0;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-id {
        font-size: 9px !important;
        padding: 2px 6px;
        margin-top: 4px;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-id-label {
        font-size: 8px !important;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-category {
        font-size: 9px !important;
        padding: 1px 6px;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-footer .eco-btn {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }
    .eco-catalog-view-grid .eco-product-card-item .eco-card-footer .eco-btn-whatsapp svg {
        width: 12px;
        height: 12px;
    }
    .eco-catalog-view-list .eco-card-footer {
        flex-direction: column;
    }
}

/* ── 5. AJAX Loader Overlays & Skeleton ── */
.eco-catalog-grid.eco-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* ── 6. Pagination ── */
.eco-catalog-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.eco-catalog-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 67, 33, 0.06);
    border-radius: var(--eco-radius-md);
    padding: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.eco-catalog-pagination li {
    margin: 0;
}

.eco-catalog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--eco-charcoal-light);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--eco-transition);
}

.eco-catalog-pagination .page-numbers:hover {
    background: #f4f7f5;
    color: var(--eco-green);
}

.eco-catalog-pagination .page-numbers.current {
    background: var(--eco-green);
    color: #ffffff;
}

.eco-catalog-pagination .page-numbers.prev,
.eco-catalog-pagination .page-numbers.next {
    color: var(--eco-green);
}

/* ── 7. Empty State ── */
.eco-catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    background: #ffffff;
    border: 1px dashed rgba(0, 67, 33, 0.12);
    border-radius: var(--eco-radius-lg);
    max-width: 480px;
    margin: 0 auto;
}

.eco-catalog-empty-icon {
    color: var(--eco-gray-mid);
    margin-bottom: 20px;
    opacity: 0.6;
}

.eco-catalog-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--eco-charcoal);
    margin: 0 0 8px;
}

.eco-catalog-empty-text {
    font-size: 14px;
    color: var(--eco-charcoal-muted);
    margin: 0 0 24px;
}

.eco-catalog-empty-reset {
    background: var(--eco-green);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: var(--eco-radius-md);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 67, 33, 0.15);
    transition: var(--eco-transition);
}

.eco-catalog-empty-reset:hover {
    background: var(--eco-green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 67, 33, 0.2);
}

/* ── 8. Responsive Adjustments ── */
@media (max-width: 768px) {
    .eco-catalog-hero {
        padding: 40px 0 50px;
    }
    .eco-catalog-hero-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    .eco-catalog-hero-stats {
        width: 100%;
        justify-content: space-around;
        padding: 12px 20px;
    }
    .eco-catalog-controls-wrap {
        top: 60px;
        padding: 10px 0;
    }
    .eco-catalog-controls-inner {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
    .eco-catalog-sort-view {
        justify-content: space-between;
    }
}

/* ── 9. Global Products Grid Layout (Sync with Homepage) ── */
.eco-home-products-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols-mobile, 2), 1fr);
    column-gap: var(--eco-catalog-gap-x, 2px);
    row-gap: var(--eco-catalog-gap-y, 8px);
    margin-bottom: 30px;
    width: 100%;
}

@media (min-width: 601px) and (max-width: 1024px) {
    .eco-home-products-grid {
        grid-template-columns: repeat(var(--cols-tablet, 3), 1fr);
    }
}

@media (min-width: 1025px) {
    .eco-home-products-grid {
        grid-template-columns: repeat(var(--cols-desktop, 4), 1fr);
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   PREMIUM GALLERY LIGHTBOX — GLOBAL STYLES
   Shared by both Vertical Scroll and Slider Carousel Layouts.
   Defined here (products.css) so it is available on ALL pages —
   catalog, single-product, etc. — not just the homepage.
   ═══════════════════════════════════════════════════════════════════════ */
body.eco-lightbox-open {
    overflow: hidden !important;
}

.eco-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.eco-lightbox-open .eco-gallery-lightbox {
    opacity: 1;
    visibility: visible;
}

.eco-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 10, 5, 0.78);
    backdrop-filter: blur(10px);
}

.eco-lightbox-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 67, 33, 0.1);
    color: #263238;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    padding: 0;
}

.eco-lightbox-close:hover {
    background: #e53935;
    border-color: #e53935;
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}

.eco-popup-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.eco-popup-badge-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.eco-popup-cat-badge {
    background: rgba(51, 127, 63, 0.08);
    color: var(--eco-green-light, #337f3f);
    border: 1px solid rgba(51, 127, 63, 0.15);
}

.eco-popup-id-badge {
    background: rgba(240, 192, 64, 0.12);
    color: #b78a00;
    border: 1px solid rgba(240, 192, 64, 0.22);
}

.eco-lightbox-product-title {
    font-weight: 700;
    color: var(--eco-green, #004321);
    margin: 0 0 16px 0;
    line-height: 1.25;
}

.eco-lightbox-divider {
    height: 1px;
    background: rgba(0, 67, 33, 0.08);
    width: 100%;
    margin-bottom: 18px;
}

.eco-lightbox-desc-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #78909c;
    margin: 0 0 10px 0;
}

.eco-lightbox-description-body {
    font-size: 14px;
    line-height: 1.65;
    color: #455a64;
}

.eco-lightbox-description-body p {
    margin: 0 0 12px 0;
}

.eco-lightbox-description-body p:last-child {
    margin-bottom: 0;
}

.eco-lightbox-features-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(0, 67, 33, 0.08);
}

.eco-lightbox-features-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #78909c;
    margin: 0 0 12px 0;
}

.eco-popup-features-list {
    margin: 0;
    padding-left: 20px;
    color: #455a64;
    font-size: 14px;
    line-height: 1.65;
}

.eco-popup-features-list li {
    margin-bottom: 8px;
}

.eco-popup-features-list li::marker {
    color: var(--eco-green-light, #337f3f);
}

.eco-lightbox-specs-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed rgba(0, 67, 33, 0.08);
}

.eco-lightbox-specs-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #78909c;
    margin: 0 0 12px 0;
}

.eco-popup-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    line-height: 1.5;
    color: #455a64;
}

.eco-popup-specs-table tr {
    border-bottom: 1px solid rgba(0, 67, 33, 0.04);
}

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

.eco-popup-specs-table td {
    padding: 8px 0;
    vertical-align: top;
}

.eco-popup-specs-table td.eco-spec-label {
    font-weight: 600;
    color: var(--eco-green, #004321);
    width: 35%;
}

.eco-popup-specs-table td.eco-spec-value {
    color: #37474f;
    padding-left: 12px;
}


.eco-popup-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 67, 33, 0.07);
    display: flex;
    gap: 12px;
}

.eco-popup-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--eco-whatsapp-btn, #25D366);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 30px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 24px var(--eco-whatsapp-btn-shadow, rgba(37, 211, 102, 0.25));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-popup-whatsapp-btn:hover {
    background: var(--eco-whatsapp-btn-hover, #1da851);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--eco-whatsapp-btn-shadow, rgba(37, 211, 102, 0.4));
}

.eco-popup-whatsapp-btn svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* ── Vertical Scroll Layout ── */
.eco-style-vertical .eco-lightbox-wrapper {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 560px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 40, 15, 0.22);
    border: 1px solid rgba(0, 67, 33, 0.08);
    display: flex;
    flex-direction: column;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.eco-lightbox-open .eco-style-vertical .eco-lightbox-wrapper {
    transform: scale(1);
}

.eco-style-vertical .eco-lightbox-scroll-body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    scroll-behavior: smooth;
}

.eco-style-vertical .eco-lightbox-scroll-body::-webkit-scrollbar { width: 5px; }
.eco-style-vertical .eco-lightbox-scroll-body::-webkit-scrollbar-track { background: transparent; }
.eco-style-vertical .eco-lightbox-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(0, 67, 33, 0.18);
    border-radius: 10px;
}
.eco-style-vertical .eco-lightbox-scroll-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 67, 33, 0.35);
}

.eco-style-vertical .eco-lightbox-images-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #f7faf8;
}

.eco-style-vertical .eco-lightbox-img-item {
    width: 100%;
    line-height: 0;
    border-bottom: 1px solid rgba(0, 67, 33, 0.05);
}

.eco-style-vertical .eco-lightbox-img-item:last-child {
    border-bottom: none;
}

.eco-style-vertical .eco-lightbox-img-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.eco-style-vertical .eco-lightbox-details-section {
    padding: 28px 28px 32px;
    background: #ffffff;
}

.eco-style-vertical .eco-lightbox-product-title {
    font-size: 22px;
}

.eco-style-vertical .eco-popup-actions {
    flex-direction: column;
}

/* Call button — white background, no border, no hover, icon + number only */
.eco-style-vertical .eco-popup-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--eco-green, #004321) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    pointer-events: auto;
}

.eco-style-vertical .eco-popup-call-btn:hover,
.eco-style-vertical .eco-popup-call-btn:focus,
.eco-style-vertical .eco-popup-call-btn:active {
    background: #ffffff;
    color: var(--eco-green, #004321) !important;
    text-decoration: none !important;
    outline: none;
    box-shadow: none;
}

.eco-style-vertical .eco-popup-call-btn svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* ── Slider Carousel Layout ── */
.eco-style-slider .eco-lightbox-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 960px;
    height: 85vh;
    max-height: 640px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 40, 15, 0.22);
    border: 1px solid rgba(0, 67, 33, 0.08);
    display: flex;
    flex-direction: column;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.eco-lightbox-open .eco-style-slider .eco-lightbox-wrapper {
    transform: scale(1);
}

.eco-style-slider .eco-lightbox-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    width: 100%;
    height: 100%;
}

.eco-style-slider .eco-lightbox-gallery-col {
    background: #f7faf8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-right: 1px solid rgba(0, 67, 33, 0.06);
    height: 100%;
}

.eco-style-slider .eco-lightbox-slider-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.eco-style-slider .eco-lightbox-slides-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.eco-style-slider .eco-lightbox-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.35s ease-in-out, transform 0.35s ease;
    transform: scale(0.95);
}

.eco-style-slider .eco-lightbox-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.eco-style-slider .eco-lightbox-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.eco-style-slider .eco-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 67, 33, 0.12);
    color: var(--eco-green, #004321);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.28s ease;
    padding: 0;
}

.eco-style-slider .eco-lightbox-nav:hover {
    background: var(--eco-green, #004321);
    color: #ffffff;
    border-color: var(--eco-green, #004321);
    transform: translateY(-50%) scale(1.1);
}

.eco-style-slider .eco-lightbox-nav svg {
    width: 16px;
    height: 16px;
    display: block;
}

.eco-style-slider .eco-lightbox-prev { left: 16px; }
.eco-style-slider .eco-lightbox-next { right: 16px; }

.eco-style-slider .eco-lightbox-dots-wrap {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 16px 0;
    background: #f7faf8;
}

.eco-style-slider .eco-lightbox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 67, 33, 0.2);
    cursor: pointer;
    transition: all 0.28s ease;
    padding: 0;
    border: none;
}

.eco-style-slider .eco-lightbox-dot.active {
    background: var(--eco-green-light, #337f3f);
    transform: scale(1.3);
}

.eco-style-slider .eco-lightbox-info-col {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eco-style-slider .eco-lightbox-info-inner {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.eco-style-slider .eco-lightbox-product-title {
    font-size: 24px;
}

.eco-style-slider .eco-lightbox-description-scroll {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-right: 12px;
}

.eco-style-slider .eco-lightbox-description-scroll::-webkit-scrollbar { width: 4px; }
.eco-style-slider .eco-lightbox-description-scroll::-webkit-scrollbar-track { background: transparent; }
.eco-style-slider .eco-lightbox-description-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 67, 33, 0.15);
    border-radius: 10px;
}
.eco-style-slider .eco-lightbox-description-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 67, 33, 0.3);
}

.eco-style-slider .eco-popup-actions {
    flex-direction: column;
}

/* Call button — white background, no border, no hover, icon + number only */
.eco-style-slider .eco-popup-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--eco-green, #004321) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    pointer-events: auto;
}

.eco-style-slider .eco-popup-call-btn:hover,
.eco-style-slider .eco-popup-call-btn:focus,
.eco-style-slider .eco-popup-call-btn:active {
    background: #ffffff;
    color: var(--eco-green, #004321) !important;
    text-decoration: none !important;
    outline: none;
    box-shadow: none;
}

.eco-style-slider .eco-popup-call-btn svg {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* ── Lightbox Responsive (Both Layouts) ── */
@media (max-width: 820px) {
    .eco-style-slider .eco-lightbox-wrapper {
        flex-direction: column;
        height: auto;
        max-height: 92vh;
        width: 94%;
        border-radius: 16px;
    }

    .eco-style-slider .eco-lightbox-content-grid {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 92vh;
        overflow-y: auto;
    }

    .eco-style-slider .eco-lightbox-gallery-col {
        height: 280px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 67, 33, 0.06);
    }

    .eco-style-slider .eco-lightbox-info-col {
        height: auto;
    }

    .eco-style-slider .eco-lightbox-info-inner {
        padding: 24px;
        height: auto;
    }

    .eco-style-slider .eco-lightbox-product-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .eco-style-slider .eco-lightbox-divider {
        margin-bottom: 16px;
    }

    .eco-style-slider .eco-lightbox-description-scroll {
        max-height: 180px;
        margin-bottom: 16px;
    }

    .eco-style-slider .eco-popup-actions {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .eco-style-vertical .eco-lightbox-wrapper {
        width: 96%;
        border-radius: 14px;
        max-height: 94vh;
    }

    .eco-style-vertical .eco-lightbox-details-section {
        padding: 20px 18px 24px;
    }

    .eco-style-vertical .eco-lightbox-product-title {
        font-size: 19px;
    }

    .eco-gallery-lightbox .eco-lightbox-close {
        top: 10px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}



