﻿/* ── Product Info Section ── */
.product-info-section {
    border-top: 1px solid rgba(0,0,0,.08);
    padding-top: .75rem;
}

.product-info-section p.product-info-section-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--color-primary) !important;
    margin-bottom: .55rem;
}

.product-info-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
}

@media (max-width: 767px) {
    .product-info-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .product-info-items { grid-template-columns: 1fr; }
}

.product-info-item {
    background: rgba(230,138,143,.07);
    border: 1px solid rgba(230,138,143,.22);
    border-radius: 10px;
    padding: .55rem .8rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.product-info-top {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.product-info-icon {
    font-size: 1rem;
    color: #E68A8F;
    flex-shrink: 0;
}

.product-info-label {
    font-size: .78rem;
    font-weight: 600;
    color: #8a6a55;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info-value {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-primary, #E68A8F);
    padding-left: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Modal ── */
.modal-narrow { max-width: 640px; }

.contact-modal-header {
    background: #E68A8F;
}
@media (max-width: 768px) {
    .modal-narrow { max-width: 92vw; }
}

/* ── Share buttons ── */
.share-btn-fb  { background: #1877f2; border: 1px solid #0f5fc5; }
.share-btn-fb:hover  { background: #145bc0; }
.share-btn-ig  { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border: none; }
.share-btn-ig:hover  { filter: brightness(1.1); }
#product-share-box .btn { font-weight: 600; letter-spacing: .5px; }

.share-inline .btn { border-radius: 30px; font-weight: 600; font-size: .75rem; letter-spacing: .5px; }
.share-btn-facebook { background: #1877f2; color: #fff; }
.share-btn-facebook:hover { filter: brightness(1.08); color: #fff; }
.share-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; border: 0; }
.share-btn-instagram:hover { filter: brightness(1.1); color: #fff; }
.copy-feedback { font-size: .7rem; font-weight: 600; }
@media (max-width: 576px) { .share-inline .btn { font-size: .65rem; padding: .35rem .65rem; } }

/* ── Product description / editor content ── */
.product-description.custom-text-color,
.product-short-description.custom-text-color,
.nutriciantable.custom-text-color {
    color: var(--color-primary);
}
.product-description ul, .product-short-description ul, .nutriciantable ul {
    list-style-type: disc; margin-left: 20px; padding-left: 10px;
}
.product-description ol, .product-short-description ol, .nutriciantable ol {
    list-style-type: decimal; margin-left: 20px; padding-left: 10px;
}
.product-description li, .product-short-description li, .nutriciantable li { margin: 5px 0; }
.product-description strong, .product-short-description strong, .nutriciantable strong,
.product-description b,      .product-short-description b,      .nutriciantable b { font-weight: bold; }
.product-description em, .product-short-description em, .nutriciantable em,
.product-description i,  .product-short-description i,  .nutriciantable i  { font-style: italic; }
.product-description u, .product-short-description u, .nutriciantable u { text-decoration: underline; }
.product-description a, .product-short-description a, .nutriciantable a { color: #007bff; text-decoration: underline; }
.product-description a:hover, .product-short-description a:hover, .nutriciantable a:hover { color: #0056b3; }
.product-description img, .product-short-description img, .nutriciantable img {
    max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0;
}

/* ── Social icons (Ακολουθήστε μας) ── */
.main-background-gradient .btn.btn-secondary.rounded-circle {
    background-color: #E68A8F !important;
    border-color: #E68A8F !important;
    color: #fff !important;
}
.main-background-gradient .btn.btn-secondary.rounded-circle:hover {
    background-color: #a0404a !important;
    border-color: #a0404a !important;
}

/* ── Product Details — Main Image ── */
#main-product-image-wrapper {
    width: 100%;
    border-radius: 0.375rem;
    cursor: zoom-in;
}

#main-product-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
}

#main-product-image-wrapper:hover #main-product-image {
    transform: scale(1.03);
}

/* ── Lightbox overrides ── */
.lightboxOverlay {
    background-color: rgba(0, 0, 0, 0.72) !important;
}

.lb-outerContainer {
    background-color: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px 10px 0 0 !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}

.lightbox .lb-image {
    border: 3px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 8px 8px 0 0 !important;
    max-width: 88vw !important;
    max-height: 82vh !important;
}

.lb-dataContainer {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 0 10px 10px;
    border-top: 1px solid rgba(200, 90, 99, 0.18);
}

.lb-data .lb-caption {
    color: var(--color-primary) !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lb-data .lb-number {
    color: rgba(200, 90, 99, 0.7) !important;
    font-size: 0.78rem;
}

/* ── Close button original — hidden (αντικαθίσταται από #lb-custom-close) ── */
.lb-closeContainer {
    display: none !important;
}

/* ── Custom close button — fixed top right ── */
#lb-custom-close {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 99999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    color: #E68A8F;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
    transition: background 0.18s, color 0.18s;
}

#lb-custom-close.lb-visible {
    display: flex !important;
}

#lb-custom-close:hover {
    background: #E68A8F;
    color: #fff;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0;
    transition: opacity 0.3s;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}
