.product-availability {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin: 10px 0 2px;
    padding: 5px 10px;
    border: 1px solid #d7e2d4;
    border-radius: 999px;
    background: #f4f7f2;
    color: #45604b;
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.3;
}

.product-availability > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #67866f;
}

.product-availability--en-stock {
    border-color: #cadcc6;
    background: #eef5eb;
    color: #2f6541;
}

.product-availability--en-stock > span {
    background: #3f7b52;
}

.product-availability--temporalmente-agotado {
    border-color: #ddd8c9;
    background: #f7f4ed;
    color: #665f4e;
}

.product-availability--temporalmente-agotado > span {
    background: #8b826c;
}

@media (max-width: 480px) {
    .product-availability {
        margin-top: 8px;
        font-size: .7rem;
    }
}

.product-detail-link { margin-top: 9px; }
.product-page { padding: 34px 0 88px; background: #fbfaf6; }
.product-breadcrumb { margin-bottom: 34px; color: var(--muted, #5d665f); font-size: .78rem; }
.product-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.product-breadcrumb li { display: inline-flex; align-items: center; gap: 7px; }
.product-breadcrumb li:not(:last-child)::after { content: "›"; color: #9aa79b; }
.product-breadcrumb a { color: var(--green, #23623f); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(42px, 6vw, 82px); align-items: start; }
.product-detail-gallery { min-width: 0; }
.product-main-image { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 540px; padding: clamp(34px, 6vw, 72px); overflow: hidden; border: 1px solid var(--line, #d9e0d7); border-radius: 30px; background: #f1f5ee; color: var(--green, #23623f); cursor: zoom-in; }
.product-main-image img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s ease; }
.product-main-image:hover img { transform: scale(1.025); }
.product-main-image > span { position: absolute; right: 20px; bottom: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: .72rem; font-weight: 700; }
.product-gallery-note { margin: 12px 0 0; color: var(--muted, #5d665f); font-size: .73rem; }
.product-detail-summary { padding-top: 24px; }
.product-detail-summary h1 { max-width: 720px; margin-bottom: 14px; font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
.product-detail-code { margin: 0 0 14px; color: var(--blue, #34566f); font-size: .78rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.product-detail-intro { max-width: 620px; margin: 26px 0; color: var(--muted, #5d665f); font-size: 1.05rem; line-height: 1.75; }
.product-detail-highlights { display: grid; gap: 0; margin: 24px 0 30px; border-top: 1px solid var(--line, #d9e0d7); }
.product-detail-highlights > div { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line, #d9e0d7); }
.product-detail-highlights dt { color: var(--green-deep, #153e2b); font-size: .78rem; font-weight: 750; }
.product-detail-highlights dd { margin: 0; color: var(--muted, #5d665f); font-size: .86rem; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.product-detail-actions .button { min-height: 52px; text-align: center; }
.share-status { min-height: 1.4em; margin: 10px 0 0; color: var(--green, #23623f); font-size: .78rem; }
.share-fallback { width: min(100%, 430px); margin-top: 8px; padding: 9px 11px; border: 1px solid #b9c7b8; border-radius: 8px; background: #fff; color: var(--ink, #1f2921); font: inherit; }
.product-detail-sections { margin-top: 62px; border-top: 1px solid var(--line, #d9e0d7); }
.product-detail-panel { border-bottom: 1px solid var(--line, #d9e0d7); }
.product-detail-panel summary { position: relative; padding: 25px 44px 25px 0; color: var(--green-deep, #153e2b); font-size: 1.16rem; font-weight: 700; cursor: pointer; }
.product-detail-panel summary::after { content: "+"; position: absolute; right: 5px; top: 22px; color: var(--green, #23623f); font-size: 1.5rem; font-weight: 400; }
.product-detail-panel[open] summary::after { content: "−"; }
.product-detail-panel-content { max-width: 930px; padding: 0 0 28px; color: var(--muted, #5d665f); line-height: 1.7; }
.product-detail-specs { display: grid; grid-template-columns: minmax(190px, .5fr) minmax(0, 1.5fr); gap: 0; margin: 0 0 24px; }
.product-detail-specs dt, .product-detail-specs dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid #e2e8df; }
.product-detail-specs dt { color: var(--green-deep, #153e2b); font-size: .78rem; font-weight: 750; }
.product-detail-specs dd { font-size: .86rem; }
.related-products { margin-top: 78px; }
.related-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.related-product-card { overflow: hidden; border: 1px solid var(--line, #d9e0d7); border-radius: 20px; background: #fff; }
.related-product-card > img { width: 100%; height: 210px; padding: 24px; border-bottom: 1px solid #e6ece2; background: #f3f5f0; object-fit: contain; mix-blend-mode: multiply; }
.related-product-card > div { padding: 20px; }
.related-product-card p { margin: 0 0 8px; color: var(--green, #23623f); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.related-product-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.related-product-card span { display: block; margin-bottom: 15px; color: var(--blue, #34566f); font-size: .72rem; font-weight: 700; }
.related-product-card a { font-size: .82rem; font-weight: 700; }
.product-lightbox { width: min(1040px, calc(100% - 36px)); max-height: calc(100vh - 36px); padding: 56px 28px 28px; border: 0; border-radius: 24px; background: #f8faf6; }
.product-lightbox::backdrop { background: rgba(9,28,18,.72); }
.product-lightbox img { display: block; width: 100%; max-height: calc(100vh - 120px); object-fit: contain; mix-blend-mode: multiply; }
.product-lightbox button { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; color: var(--green-deep, #153e2b); font-weight: 700; }

@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .product-main-image { min-height: 450px; }
    .product-detail-summary { padding-top: 0; }
    .related-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .product-page { padding: 22px 0 58px; }
    .product-breadcrumb { margin-bottom: 22px; }
    .product-breadcrumb li:last-child { width: 100%; }
    .product-main-image { min-height: 330px; padding: 32px 24px; border-radius: 22px; }
    .product-detail-summary h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
    .product-detail-highlights > div { grid-template-columns: 1fr; gap: 4px; }
    .product-detail-actions { display: grid; }
    .product-detail-actions .button { width: 100%; }
    .product-detail-sections { margin-top: 46px; }
    .product-detail-specs { grid-template-columns: 1fr; }
    .product-detail-specs dt { padding-bottom: 3px; border-bottom: 0; }
    .product-detail-specs dd { padding-top: 3px; }
    .related-products { margin-top: 58px; }
    .related-product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .product-main-image img { transition: none; }
}
