/* ===== PRODUCT PAGES STYLES ===== */

/* Hero background override for olive products (kalamata, amfissa, green) */
.olive-product-top .section-bg-texture {
    background: url('/assets/images/shared/bg-sectiuni-2.webp') center/cover;
}

/* Product Hero Section (Olives Category) */
.olives-cat-section {
    padding: 56px 0;
    position: relative;
}

.olives-cat-section .container {
    position: relative;
    z-index: 1;
}

.olives-cat-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 56px;
    transition: all 0.4s ease;
}

.olives-cat-row:nth-child(even) {
    flex-direction: row-reverse;
}

.hero-text {
    order: 1;
    max-width: 100%;
}

.hero-text h1 {
    font-size: 5rem;
    margin-bottom: 16px;
}

.hero-text p {
    max-width: 550px;
}

.hero-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.hero-location img {
    width: 16px;
    height: 16px;
}

.olives-cat-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.olives-cat-row:nth-child(even) .olives-cat-visual {
    justify-content: flex-start;
}

.olives-cat-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    order: 1;
    padding: 0 100px;
}

.olives-cat-row:nth-child(even) .olives-cat-info {
    align-items: flex-start;
}

.olives-cat-info h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.olives-cat-info h2 a {
    color: var(--color-dark-green);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.olives-cat-info h2 a:hover {
    color: var(--color-gold);
}

.olives-cat-circle {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 42px 0 32px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

/* Keyframes for olive container entrance animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.olives-showcase {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.olive-container {
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.olive-container:nth-child(1) {
    border-radius: 50%;
    width: 120px;
    height: 180px;
    transform: rotate(0deg);
    margin: 10px;
    animation-name: fadeInLeft;
    animation-delay: 0.2s;
}

@media (min-width: 768px) {
    .olive-container:nth-child(1) {
        border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
        width: 250px;
        height: 430px;
        transform: rotate(-5deg);
        left: -100px;
        top: 40px;
        margin: 0;
    }
}

.olive-container:nth-child(2) {
    border-radius: 50%;
    width: 140px;
    height: 100px;
    transform: rotate(0deg);
    margin: 10px;
    animation-name: fadeInUp;
    animation-delay: 0.4s;
}

@media (min-width: 768px) {
    .olive-container:nth-child(2) {
        border-radius: 25% 75% 25% 75% / 35% 65% 35% 65%;
        width: 280px;
        height: 160px;
        transform: rotate(40deg);
        top: -20px;
        left: -80px;
        margin: 0;
    }
}

.olive-container:nth-child(3) {
    border-radius: 50%;
    width: 110px;
    height: 80px;
    transform: rotate(0deg);
    margin: 10px;
    animation-name: fadeInRight;
    animation-delay: 0.6s;
}

@media (min-width: 768px) {
    .olive-container:nth-child(3) {
        width: 180px;
        height: 130px;
        transform: rotate(-20deg);
        top: -100px;
        margin: 0;
    }
}

.olive-container:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
    .olive-container:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    }
}

.olive-container:nth-child(1):hover {
    transform: translateY(-4px) rotate(0deg);
}

@media (min-width: 768px) {
    .olive-container:nth-child(1):hover {
        transform: translateY(-8px) rotate(-5deg);
    }
}

.olive-container:nth-child(2):hover {
    transform: translateY(-4px) rotate(0deg);
}

@media (min-width: 768px) {
    .olive-container:nth-child(2):hover {
        transform: translateY(-8px) rotate(30deg);
    }
}

.olive-container:nth-child(3):hover {
    transform: translateY(-4px) rotate(0deg);
}

@media (min-width: 768px) {
    .olive-container:nth-child(3):hover {
        transform: translateY(-8px) rotate(-15deg);
    }
}

.olive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.olive-container:hover .olive-img {
    transform: scale(1.05);
}

.olives-cat-section--editorial {
    overflow: hidden;
    background-image:
        linear-gradient(115deg, rgba(248, 245, 235, 0.94), rgba(248, 245, 235, 0.76)),
        url('/assets/images/shared/bg-sectiuni-2.webp');
    background-size: cover;
    background-position: center;
}

/* -- Editorial hero layout ----------------------------------- */
.olives-cat-section--editorial .olives-cat-row {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(390px, 1.12fr);
    gap: clamp(32px, 5vw, 78px);
    align-items: center;
    margin-bottom: 0;
}

/* Text column � no card, clean type */
.olive-hero-text-col {
    max-width: 560px;
}

.olive-hero-text-col h1 {
    font-size: clamp(3.4rem, 6vw, 6rem);
    line-height: 0.92;
    margin: 12px 0 20px;
}

.olive-hero-intro {
    color: rgba(24, 37, 28, 0.78);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 480px;
}

.olives-cat-section--editorial .hero-location {
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(31, 48, 34, 0.08);
}

/* -- Greek gallery ------------------------------------------- */
.olive-hero-gallery-col {
    position: relative;
}

.olive-gallery {
    position: relative;
    width: min(100%, 660px);
    margin-left: auto;
}

/* Decorative gold accent circle */
.olive-gallery::before {
    content: '';
    position: absolute;
    top: 8%;
    right: -4%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(192, 146, 45, 0.13);
    filter: blur(3px);
    pointer-events: none;
    z-index: 0;
}

/* Main large image */
.olive-gallery__main {
    position: relative;
    width: 100%;
    height: clamp(340px, 50vh, 560px);
    overflow: hidden;
    border: 10px solid rgba(255, 252, 243, 0.80);
    border-radius: 40px;
    box-shadow: 0 32px 80px rgba(18, 32, 22, 0.22);
    transform: rotate(1.2deg);
    z-index: 1;
}

.olive-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.olive-gallery__main--contain img {
    object-fit: contain;
    padding: 12px;
}

.olive-gallery__main:hover img {
    transform: scale(1.04);
}

/* Two thumbs overlapping bottom-left of main */
.olive-gallery__thumbs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    width: calc(100% - 60px);
    margin-top: -52px;
    margin-left: 20px;
}

.olive-gallery__thumb {
    flex: 1;
    overflow: hidden;
    border-radius: 22px;
    border: 7px solid rgba(255, 252, 243, 0.88);
    box-shadow: 0 14px 40px rgba(18, 32, 22, 0.20);
    background: var(--color-cream);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.olive-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.olive-gallery__thumb--a {
    height: 128px;
    transform: rotate(-1.8deg);
}

.olive-gallery__thumb--b {
    height: 128px;
    transform: rotate(1.4deg);
    margin-top: 10px;
}

.olive-gallery__thumb:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 22px 56px rgba(18, 32, 22, 0.28);
}

.olives-cat-row:hover .olives-cat-circle {
    transform: scale(1.08);
    box-shadow: 42px 0 56px rgba(0,0,0,0.25);
}

.olives-cat-row:nth-child(odd) .olives-cat-circle {
    box-shadow: 28px 0 42px rgba(0,0,0,0.15);
}

.olives-cat-row:nth-child(even) .olives-cat-circle {
    box-shadow: -28px 0 42px rgba(0,0,0,0.15);
}

.olives-cat-row:nth-child(odd):hover .olives-cat-circle {
    box-shadow: 28px 0 56px rgba(0,0,0,0.25);
}

.olives-cat-row:nth-child(even):hover .olives-cat-circle {
    box-shadow: -28px 0 56px rgba(0,0,0,0.25);
}

.olives-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.olives-cat-row:hover .olives-cat-circle img {
    transform: scale(1.05);
}
    transform: scale(1.08);
    box-shadow: 42px 0 56px rgba(0,0,0,0.25);
}

.olives-cat-row:nth-child(odd) .olives-cat-circle {
    box-shadow: 28px 0 42px rgba(0,0,0,0.15);
}

.olives-cat-row:nth-child(even) .olives-cat-circle {
    box-shadow: -28px 0 42px rgba(0,0,0,0.15);
}

.olives-cat-row:nth-child(odd):hover .olives-cat-circle {
    box-shadow: 28px 0 56px rgba(0,0,0,0.25);
}

.olives-cat-row:nth-child(even):hover .olives-cat-circle {
    box-shadow: -28px 0 56px rgba(0,0,0,0.25);
}

.olives-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.olives-cat-row:hover .olives-cat-circle img {
    transform: scale(1.05);
}

.olives-cat-outline {
    position: absolute;
    width: 140%;
    height: 140%;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.olives-cat-row:hover .olives-cat-outline {
    opacity: 0.25;
}

/* Product Characteristics Section */
.product-characteristics {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.product-characteristics:not(.section-bg) {
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
}

.product-characteristics:not(.section-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.product-characteristics .container {
    position: relative;
    z-index: 1;
}

.characteristics-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.characteristics-image {
    width: 100%;
    max-width: 400px;
    order: -1;
}

.characteristics-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.characteristics-image:hover img {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.characteristics-text {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .characteristics-content {
        flex-direction: row;
        gap: 80px;
        align-items: center;
    }

    .characteristics-image {
        flex: 0 0 45%;
        max-width: none;
        order: 0;
    }

    .characteristics-text {
        text-align: left;
    }
}

.product-characteristics h2 {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.product-characteristics .gold-underline {
    margin: 0 0 50px 0;
    width: 100px;
}

.characteristics-list {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.characteristic-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 96, 0.2);
    transition: all 0.3s ease;
}

.characteristic-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.characteristic-item:hover {
    padding-left: 12px;
    padding-bottom: 20px;
}

.characteristic-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0;
}

.characteristic-value {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Products Carousel Section */
.products-carousel-section {
    padding: 100px 0;
    position: relative;
}

.products-carousel-section::before {
    background: rgba(255, 255, 255, 0.82);
}

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.products-carousel {
    display: flex;
    gap: 24px;
    width: 100%;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-carousel-card {
    flex: 0 0 calc(33.333% - 19px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(193, 154, 70, 0.15);
    transition: all 0.3s ease;
}

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

.product-carousel-card.highlighted {
    border: 2px solid var(--color-gold);
    box-shadow: 0 8px 32px rgba(193, 154, 70, 0.15);
}

.product-carousel-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(193, 154, 70, 0.05) 0%, rgba(193, 154, 70, 0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.product-carousel-info {
    padding: 20px;
}

.product-carousel-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark-green);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-carousel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-badge {
    display: inline-block;
    background-color: rgba(193, 154, 70, 0.15);
    color: var(--color-dark-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(193, 154, 70, 0.3);
    transition: all 0.2s ease;
}

.product-badge:hover {
    background-color: rgba(193, 154, 70, 0.25);
    border-color: rgba(193, 154, 70, 0.5);
}

/* Carousel Navigation � scoped to products carousel wrapper */
.products-carousel-wrapper .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-gold);
    color: var(--color-dark-green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.products-carousel-wrapper .carousel-nav:hover {
    background: var(--color-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(193, 154, 70, 0.3);
}

.products-carousel-wrapper .carousel-prev {
    left: 0;
}

.products-carousel-wrapper .carousel-next {
    right: 0;
}

/* Carousel Pagination */
.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carousel-dot::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(193, 154, 70, 0.3);
    border: 2px solid var(--color-gold);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.carousel-dot.active::before {
    background-color: var(--color-gold);
}

.carousel-dot:hover::before {
    background-color: var(--color-gold);
    transform: scale(1.05);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.section-header .gold-underline {
    margin-top: 20px;
}

/* Product Sizes Section */
.product-sizes {
    padding: 100px 0;
    position: relative;
}

.product-sizes:not(.section-bg) {
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
}

.product-sizes:not(.section-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.product-sizes .container {
    position: relative;
    z-index: 1;
}

.calibres-characteristics:not(.section-bg) {
    padding: 100px 0;
    position: relative;
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
}

.calibres-characteristics:not(.section-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.calibres-characteristics .container {
    position: relative;
    z-index: 1;
}

.calibres-applications:not(.section-bg) {
    padding: 100px 0;
    position: relative;
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
}

.calibres-applications:not(.section-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.calibres-applications .container {
    position: relative;
    z-index: 1;
}

.calibres-specifications:not(.section-bg) {
    padding: 100px 0;
    position: relative;
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
}

.calibres-specifications:not(.section-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.calibres-specifications .container {
    position: relative;
    z-index: 1;
}

.sizes-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.sizes-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sizes-table thead {
    background: var(--color-dark-green);
    color: white;
}

.sizes-table th {
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sizes-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.95rem;
    text-align: center;
}

.sizes-table td.size-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
}

.sizes-table tbody tr:hover {
    background-color: rgba(193,154,70,0.05);
}

.sizes-table tbody tr:hover .size-icon img {
    transform: scale(1.15) rotate(-5deg);
    transition: transform 0.3s ease;
}

.sizes-table td.size-icon img {
    transition: transform 0.3s ease;
}

.sizes-table td.code {
    font-weight: 600;
    color: var(--color-gold);
}
/* Product Packaging Section */
.product-packaging {
    padding: 120px 0;
    position: relative;
}

.product-packaging:not(.section-bg) {
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
}

.product-packaging:not(.section-bg)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 0;
    pointer-events: none;
}

.product-packaging > .container {
    position: relative;
    z-index: 1;
}

.packaging-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 24px;
}

.packaging-item {
    padding: 20px 15px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.packaging-item:hover {
    box-shadow: none;
    transform: none;
}

.packaging-item-header {
    margin-bottom: 24px;
    text-align: center;
}

.packaging-item-header h3 {
    font-size: 2.2rem;
    color: var(--color-dark-green);
    margin: 0 0 16px 0;
    font-family: var(--font-heading);
    font-weight: 700;
}

.packaging-item-header p {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    opacity: 0.75;
    margin: 0;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.packaging-sizes-grid {
    display: grid;
    grid-template-columns: repeat(var(--pack-count, 3), minmax(120px, 1fr));
    gap: clamp(18px, 3vw, 36px);
    justify-items: center;
    align-items: flex-end;
    max-width: min(100%, var(--pack-grid-width, 640px));
    margin: 0 auto;
}

.packaging-size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 12px 8px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: min(100%, var(--pack-card-width, 190px));
    max-width: var(--pack-card-width, 190px);
    height: auto;
    justify-self: center;
}

.packaging-size-card:hover {
    transform: translateY(-6px);
}

.packaging-image {
    width: 100%;
    height: var(--pack-height, 240px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    border-radius: 0;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 0;
    box-sizing: border-box;
}

.packaging-size-card:hover .packaging-image {
    background-color: transparent;
}

.packaging-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1);
    transform-origin: bottom center;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.packaging-size-card:hover .packaging-image img {
    transform: scale(1.04) translateY(-2px);
    filter: drop-shadow(0 14px 24px rgba(0,0,0,0.22));
}

.packaging-volume {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-dark-green);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transition: color 0.3s ease;
}

.packaging-size-card:hover .packaging-volume {
    color: var(--color-gold);
}

.package-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(193,154,70,0.1);
    border: 1px solid var(--color-gold);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-dark-green);
    font-weight: 500;
}

/* Responsive Packaging */
@media (min-width: 601px) and (max-width: 1024px) {
    .packaging-items {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 760px;
        margin: 0 auto;
    }

    .packaging-item {
        grid-column: 1 / -1 !important;
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .packaging-items {
        grid-template-columns: 1fr;
    }

    .packaging-item {
        padding: 40px 24px;
        grid-column: span 1 !important;
    }

    .packaging-item-header h3 {
        font-size: 1.6rem;
    }

    .packaging-sizes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: 420px;
    }

    .packaging-size-card {
        padding: 12px 8px;
        gap: 12px;
        max-width: 160px;
    }

    .packaging-image {
        height: min(var(--pack-height, 190px), 190px);
        min-height: 0;
    }

    .packaging-image img {
        max-height: none;
    }
}

@media (max-width: 480px) {
    .packaging-items {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .packaging-item {
        padding: 24px 16px;
        grid-column: span 1 !important;
    }

    .packaging-item-header h3 {
        font-size: 1.3rem;
    }

    .packaging-item-header {
        margin-bottom: 24px;
    }

    .packaging-sizes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 360px;
    }

    .packaging-size-card {
        padding: 10px 6px;
        gap: 10px;
    }

    .packaging-image {
        height: min(var(--pack-height, 165px), 165px);
        min-height: 0;
    }

    .packaging-image img {
        max-height: none;
    }

    .packaging-volume {
        font-size: 0.8rem;
    }
}

/* ===== OLIVE PRODUCT PAGES � 100VH BREADCRUMB + HERO LAYOUT ===== */
.olive-product-top {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.olive-product-top .olives-cat-section {
    flex: 1 1 100%;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
}

.olive-product-top .olives-cat-section .container {
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1280px) {
    .olive-product-top .olives-cat-section {
        align-items: center;
        padding-top: clamp(112px, 15vh, 140px);
    }

    .olive-product-top .olives-cat-section .container {
        min-height: calc(100vh - clamp(112px, 15vh, 140px));
        display: flex;
        align-items: center;
    }

    .olives-cat-section--editorial .olives-cat-row {
        grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
        gap: clamp(24px, 3.6vw, 46px);
        width: 100%;
    }

    .olive-hero-text-col h1 {
        font-size: clamp(2.4rem, 4.4vw, 3.65rem);
        margin-bottom: 12px;
    }

    .olive-hero-intro {
        font-size: clamp(0.9rem, 1.15vw, 0.98rem);
        line-height: 1.45;
        margin-bottom: 16px;
        max-width: 380px;
    }

    .olive-gallery {
        width: min(100%, 500px);
    }

    .olive-gallery__main {
        height: clamp(250px, 38vh, 350px);
        border-width: 8px;
        border-radius: 30px;
    }

    .olive-gallery__thumbs {
        width: calc(100% - 40px);
        margin-top: -32px;
        margin-left: 16px;
    }

    .olive-gallery__thumb--a,
    .olive-gallery__thumb--b {
        height: 78px;
    }
}

@media (min-width: 768px) and (max-height: 900px) {
    .olive-product-top .olives-cat-section {
        align-items: center;
        padding-top: clamp(116px, 16vh, 146px);
    }

    .olive-product-top .olives-cat-section .container {
        min-height: calc(100vh - clamp(116px, 16vh, 146px));
        display: flex;
        align-items: center;
    }

    .olive-hero-text-col h1 {
        font-size: clamp(2.25rem, 4vw, 3.4rem);
        margin: 6px 0 10px;
    }

    .olive-hero-intro {
        font-size: clamp(0.88rem, 1.1vw, 0.96rem);
        line-height: 1.42;
        margin-bottom: 14px;
    }

    .olives-cat-section--editorial .hero-location {
        padding: 9px 13px;
    }

    .olive-gallery__main {
        height: clamp(230px, 36vh, 320px);
    }

    .olive-gallery__thumbs {
        margin-top: -28px;
    }

    .olive-gallery__thumb--a,
    .olive-gallery__thumb--b {
        height: 68px;
    }
}

@media (max-width: 767px) {
    /* Hero produs � viewport complet, scroll indicator pinuit jos */
    .olive-product-top {
        height: 100svh;
        min-height: unset;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .olive-product-top .olives-cat-section {
        flex: 1 1 100%;
        min-height: 100svh;
        height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: clamp(80px, 18svh, 140px) 0 80px;
        position: relative;
        overflow: hidden;
    }

    .hero-eyebrow {
        margin-bottom: 6px;
    }

    /* Hero produs � stivuieste textul deasupra imaginilor */
    .olives-cat-section .olives-cat-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px;
        margin-bottom: 0;
    }

    .olives-cat-section .olives-cat-row > div {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        max-width: 100%;
    }

    .olives-cat-section .olives-showcase {
        justify-content: center;
        transform: scale(0.85);
        transform-origin: center top;
    }

    .olives-cat-section--editorial .olives-cat-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .olive-hero-text-col {
        max-width: 100%;
    }

    .olive-hero-text-col h1 {
        font-size: clamp(2.45rem, 14vw, 3.8rem);
    }

    .olive-hero-intro {
        font-size: 0.96rem;
        line-height: 1.55;
        max-width: 100%;
    }

    .olive-gallery {
        width: min(100%, 520px);
        margin: 0 auto;
    }

    .olive-gallery__main {
        height: clamp(230px, 34svh, 320px);
        border-width: 8px;
        border-radius: 28px;
        transform: none;
    }

    .olive-gallery__thumbs {
        width: calc(100% - 24px);
        margin-top: -28px;
        margin-left: 12px;
        gap: 10px;
    }

    .olive-gallery__thumb--a,
    .olive-gallery__thumb--b {
        height: 80px;
    }

    .olive-gallery__thumb--b {
        margin-top: 6px;
    }
}

@media (max-width: 390px) {
    .olives-cat-section .olives-showcase {
        transform: scale(0.75);
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .olives-cat-section--editorial .hero-text {
        padding: 18px;
    }

    .olive-gallery__main {
        height: 220px;
    }

    .olive-gallery__thumbs {
        display: none;
    }
}

@media (max-width: 767px) {
    /* Reducere padding-uri sectiuni pe mobil */
    .calibres-characteristics,
    .product-characteristics {
        padding: 48px 0;
    }

    .products-carousel-section {
        padding: 48px 0;
    }

    .product-sizes {
        padding: 48px 0;
    }

    .product-packaging {
        padding: 48px 0;
    }
}

/* ============================================================
   PRODUCT CTA SECTION
   ============================================================ */
.product-cta {
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.product-cta::before {
    background: rgba(255, 255, 255, 0.72);
}

.product-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-cta__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7a5a16;
    margin-bottom: 16px;
}

.product-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-dark-green);
    margin: 0 0 20px;
    line-height: 1.2;
}

.product-cta__line {
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto 24px;
}

.product-cta__desc {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    line-height: 1.7;
    margin: 0 0 40px;
    opacity: 0.75;
}

.product-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.product-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.product-cta__btn--primary {
    background: var(--color-gold);
    color: #fff;
    border: 2px solid var(--color-gold);
}

.product-cta__btn--primary:hover {
    background: #a8842e;
    border-color: #a8842e;
    transform: translateX(4px);
}

.product-cta__btn--outline {
    background: transparent;
    color: var(--color-dark-green);
    border: 2px solid var(--color-dark-green);
}

.product-cta__btn--outline:hover {
    background: var(--color-dark-green);
    color: #fff;
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .product-cta {
        padding: 64px 0;
    }

    .product-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== PRODUCTS CAROUSEL � MOBILE ===== */
@media (max-width: 767px) {
    .products-carousel-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    /* No side padding � arrows overlay the card */
    .products-carousel-wrapper {
        padding: 0;
    }

    /* 1 card fills the full track width */
    .products-carousel {
        gap: 0;
    }

    .product-carousel-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
    }

    /* Shorter image on small screens */
    .product-carousel-image {
        height: 200px;
    }

    /* Arrows float over the card */
    .products-carousel-wrapper .carousel-prev {
        left: 8px;
    }

    .products-carousel-wrapper .carousel-next {
        right: 8px;
    }

    /* Slightly smaller dots */
    .carousel-pagination {
        gap: 8px;
        margin-top: 28px;
    }

    .carousel-dot {
        width: 44px;
        height: 44px;
    }

    .carousel-dot::before {
        width: 10px;
        height: 10px;
    }
}



/* ============================================================
   OP PRODUCTS CAROUSEL  (3-up zoom, infinite, portrait cards)
   ============================================================ */
.op-products {
    background: var(--color-cream, #f5f1ea);
    background-image: url('/assets/images/shared/bg-sectiuni.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    background-attachment: scroll;
    padding: 90px 0 48px;
    text-align: center;
    position: relative;
}

.op-products::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    z-index: 0;
    pointer-events: none;
}

.op-products__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.op-products__header {
    text-align: center;
    margin-bottom: 56px;
}

.op-products__eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7a5a16;
    margin-bottom: 12px;
}

.op-products__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--color-dark-green);
    margin: 0 0 16px;
}

.op-products__line {
    width: 48px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto;
}

/* Slider wrap */
.op-products__slider-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.op-products__nav {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--color-dark-green);
    background: transparent;
    color: var(--color-dark-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.op-products__nav:hover {
    background: var(--color-dark-green);
    color: #fff;
}

/* Slider overflow container */
.op-products__slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Track — absolute positioned slides */
.op-products__track {
    position: relative;
    height: 600px;
}

/* Each item: portrait, 3-up zoom */
.op-products__item {
    position: absolute;
    width: 42%;
    left: 50%;
    top: 0;
    text-align: center;
    transform: translateX(-50%) scale(0.65);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease,
        left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 32px 24px 42px;
    background: none;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}

.op-products__item.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    left: 50%;
    z-index: 3;
    pointer-events: auto;
}

/* Prev/next: scale 0.80, ~5px gap to active card */
.op-products__item.prev {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.80);
    left: 11.5%;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.op-products__item.next {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.80);
    left: 88.5%;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

/* Number badge — hidden */
.op-products__num {
    display: none;
}

/* Image wrap — taller for portrait */
.op-products__img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 270px;
    width: 100%;
}

.op-products__img-ring {
    display: none;
}

.op-products__img {
    position: relative;
    z-index: 1;
    max-height: calc(260px * var(--img-scale, 1));
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
    transition: transform 0.4s ease;
}

.op-products__item.active:hover .op-products__img {
    transform: translateY(-6px);
}

/* Meta */
.op-products__size {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-dark-green);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.op-products__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.op-products__desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    max-width: 320px;
    overflow-wrap: break-word;
}

/* Dots */
.op-products__dots {
    display: none;
}

.op-products__dot {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.op-products__dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(193, 154, 70, 0.3);
    transition: background 0.25s ease, transform 0.25s ease;
}

.op-products__dot--active::before {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 767px) {
    .op-products {
        padding: 70px 0 80px;
    }

    .op-products__inner {
        padding: 0 16px;
    }

    .op-products__slider-wrap {
        position: relative;
        display: block;
        gap: 0;
        max-width: 100%;
    }

    .op-products__slider {
        width: 100%;
    }

    .op-products__nav {
        position: absolute;
        top: 190px;
        z-index: 5;
    }

    .op-products__nav--prev {
        left: 0;
    }

    .op-products__nav--next {
        right: 0;
    }

    .op-products__track {
        height: 620px;
    }

    .op-products__item {
        width: min(76%, 420px);
    }

    .op-products__item:not(.active) .op-products__meta {
        display: none;
    }

    .op-products__item.prev { left: 8%; }
    .op-products__item.next { left: 92%; }

    .op-products__img-wrap { height: 220px; }
    .op-products__img { max-height: 210px; }
}

@media (max-width: 480px) {
    .op-products__nav { width: 40px; height: 40px; }

    .op-products__track { height: 640px; }

    .op-products__item {
        width: 82%;
        padding-left: 18px;
        padding-right: 18px;
    }
    .op-products__item.prev { left: 4%; }
    .op-products__item.next { left: 96%; }

    .op-products__size {
        font-size: 1.45rem;
        line-height: 1.12;
    }

    .op-products__label {
        letter-spacing: 0.08em;
        line-height: 1.35;
    }
}

/* ── Grid layout (< 3 items) ──────────────────────────────── */
.op-products__grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.op-products__grid--1 { max-width: 400px; }

.op-products__grid-item {
    flex: 0 1 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 32px 24px 28px;
}

.op-products__grid-item .op-products__img-wrap {
    height: 270px;
}

@media (max-width: 767px) {
    .op-products__grid {
        gap: 32px;
    }
    .op-products__grid-item {
        flex: 0 1 100%;
    }
}
