/* Top Banner */
.top-banner {
    background-color: rgb(87, 103, 122);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

/* ==================== NEW TWO-COLUMN LAYOUT ==================== */

/* Main Page Wrapper */
.product-page-wrapper {
    display: flex;
    max-width: 1440px;
    margin: 40px auto;
    padding: 0 40px;
    gap: 60px;
    align-items: flex-start;
}

/* Left Column (Gallery + Specs) */
.product-left-column {
    flex: 6;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Right Column (Sticky Product Info) */
.product-right-column {
    flex: 4;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

/* ==================== GALLERY SECTION ==================== */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    min-height: 500px;
    cursor: zoom-in;
    overflow: hidden;
}

.main-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image-container:hover img {
    transform: scale(1.03);
}

/* Zoom hint icon that appears on hover */
.gallery-open-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.main-image-container:hover .gallery-open-hint {
    opacity: 1;
}

.image-navigation {
    position: absolute;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px 10px;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-btn:hover {
    color: #000;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-counter {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

/* Thumbnail Grid (2x2) - Clickable */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.thumbnail-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
    padding: 10px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.thumbnail-grid img:hover {
    border-color: #111;
    transform: scale(1.03);
}

.view-more-btn {
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    padding: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-more-btn:hover {
    background: #f9f9f9;
    border-color: #000;
}

/* ==================== PRODUCT INFORMATION (Below Gallery) ==================== */

.product-left-column .product-information {
    background: white;
    border: 1px solid #e5e5e5;
    margin-top: 10px;
}

.product-information .info-container {
    padding: 0;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    user-select: none;
}

.info-header h2 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

.info-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: transform 0.3s;
}

.info-header.collapsed .info-toggle {
    transform: rotate(-90deg);
}

.info-content {
    padding: 30px;
    max-height: 600px;
    overflow-y: auto;
}

.info-content.hidden {
    display: none;
}

.product-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-row {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    flex: 0 0 200px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
}

.info-value {
    flex: 1;
    font-size: 14px;
    color: #111;
    line-height: 1.6;
}

.fit-description,
.bridge-description {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* ==================== RIGHT COLUMN STICKY CONTENT ==================== */

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-header .favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #111;
    padding: 5px;
    transition: color 0.2s;
}

.product-header .favorite-btn:hover {
    color: #d23;
}

.product-header .favorite-btn.active i {
    font-weight: 900;
    color: #d23;
}

/* Product Variants */
.product-variants {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.variant-section {
    margin-bottom: 20px;
}

.variant-section:last-child {
    margin-bottom: 0;
}

.variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.variant-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    color: #111;
}

.colors-badge {
    background: #d23;
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

/* Stock Info */
.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff9e6;
    border-left: 3px solid #ffb400;
    margin-bottom: 20px;
    font-size: 13px;
}

.stock-info i {
    color: #ff8c00;
}

.stock-text strong {
    font-weight: 700;
}

/* Frame & Fit Info */
.frame-info,
.fit-info {
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.frame-info .info-item,
.fit-info .info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.frame-info .info-item strong,
.fit-info .info-item strong {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
}

.frame-material,
.fit-type {
    flex: 1;
    font-size: 13px;
    color: #666;
}

.fit-info i {
    color: #666;
    font-size: 12px;
}

/* Delivery Info */
.product-right-column .delivery-info {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.product-right-column .delivery-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-right-column .shipping-benefits {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-right-column .benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.3px;
}

.product-right-column .benefit-item i {
    font-size: 16px;
}

.policy-link {
    font-size: 13px;
    color: #111;
    text-decoration: underline;
    transition: color 0.2s;
}

.policy-link:hover {
    color: #666;
}

/* ==================== PURCHASE BAR (Sticky to Bottom) ==================== */

.purchase-bar {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 2px solid #e5e5e5;
    padding: 20px 0 0;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    z-index: 10;
}

.price-section {
    flex: 0 0 auto;
}

.price-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #d23;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}

.select-lenses-btn {
    flex: 1;
    background: #000;
    color: white;
    border: none;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.select-lenses-btn:hover {
    background: #111;
}

.discount-tag {
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}


/* ==================== OLD STYLES (TO BE REVIEWED) ==================== */

/* Product Information */
.product-information {
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.info-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.info-layout {
    display: grid;
    grid-template-columns: calc(50% - 1.5rem) calc(50% - 1.5rem);
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem;
}

.info-layout .product-image {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
}

.product-image,
.product-details {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.info-layout .product-image img.specs-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-info-grid {
    width: 100%;
    box-sizing: border-box;
}

.info-row {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1024px) {
    .info-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-layout .product-image {
        width: 100%;
        margin: 0 auto;
    }

    img.specs-image {
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .product-information {
        padding: 20px 0;
    }

    .info-container {
        padding: 0 20px;
    }

    .info-layout {
        padding: 1rem;
        gap: 1.5rem;
    }

    .info-layout .product-image {
        padding: 0;
    }

    .product-image {
        height: auto;
    }

    img.specs-image {
        height: auto;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .info-row {
        padding: 12px 0;
        grid-template-columns: 100px 1fr;
        gap: 0.5rem;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 0.9rem;
    }
}

.product-details {
    flex: 1;
}

.model-name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.product-specs {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.spec-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    width: 200px;
    vertical-align: top;
    padding-right: 20px;
}

.spec-value {
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}

.spec-description {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.4;
}

@media screen and (max-width: 1024px) {
    .info-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-layout .product-image {
        width: 100%;
        margin: 0 auto;
    }

    img.specs-image {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .product-image {
        height: auto;
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media screen and (max-width: 1200px) {
    .product-page-wrapper {
        padding: 0 30px;
        gap: 40px;
    }

    .product-right-column {
        top: 80px;
    }
}

@media screen and (max-width: 1024px) {
    .product-page-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .product-left-column,
    .product-right-column {
        flex: 1;
        max-width: 100%;
    }

    .product-right-column {
        position: relative;
        top: 0;
        max-height: none;
    }

    .purchase-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 16px 20px;
        border-top: 2px solid #e5e5e5;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
        margin-top: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        background: white;
    }

    .purchase-bar .price-section {
        flex: 1;
    }
}

@media screen and (max-width: 768px) {
    .product-page-wrapper {
        padding: 0 20px;
        margin: 20px auto;
        gap: 30px;
    }

    .main-image-container {
        min-height: 350px;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-title {
        font-size: 20px;
    }

    .info-header {
        padding: 18px 20px;
    }

    .info-content {
        padding: 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 8px;
    }

    .info-label {
        flex: 1;
        font-size: 11px;
    }

    .info-value {
        font-size: 13px;
    }

    .price {
        font-size: 24px;
    }

    .select-lenses-btn {
        padding: 16px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-counter {
        font-size: 12px;
    }

    .nav-btn {
        padding: 3px 6px;
        font-size: 14px;
    }
}

/* Product Information Grid */
.product-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    font-size: 0.9rem;
}

.fit-description,
.bridge-description {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
}

/* Delivery Info */
.delivery-info {
    background-color: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    margin-top: 30px;
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.shipping-benefits {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Product Reviews */
.product-reviews {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 60px 0;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.reviews-header h2 {
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.summary-stars i {
    color: #ffb400;
    font-size: 1.2rem;
}

.summary-count {
    font-size: 0.95rem;
    color: #555;
}

.write-review-btn {
    border: 1px solid #111;
    background: #111;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.write-review-btn:hover {
    background: #fff;
    color: #111;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reviews-empty {
    text-align: center;
    color: #777;
    margin: 0;
}

.review-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fafafa;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.review-stars i {
    color: #ffb400;
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.review-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #111;
}

.review-comment {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.reviews-pagination .btn-secondary {
    border: 1px solid #111;
    background: transparent;
    color: #111;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reviews-pagination .btn-secondary:hover:not(:disabled) {
    background: #111;
    color: #fff;
}

.reviews-pagination .btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.reviews-pagination span {
    color: #666;
    font-size: 0.95rem;
}

.review-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.review-form-overlay.active {
    display: flex;
}

.review-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.review-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.review-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.review-stars-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-stars-input button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.6rem;
    color: #ccc;
}

.review-stars-input button i {
    pointer-events: none;
}

.review-form input,
.review-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.review-form .btn {
    width: 100%;
    border: none;
    background: #111;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.review-form .btn:hover {
    background: #333;
}

.close-review {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.close-review:hover {
    color: #111;
}

.login-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.login-hint a {
    color: #111;
    font-weight: 600;
}

.login-hint a:hover {
    text-decoration: underline;
}

.jl-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: rgba(17, 17, 17, 0.95);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.jl-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.modal-open {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .detail-card {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .product-reviews {
        padding: 40px 0;
    }

    .reviews-container {
        padding: 0 20px;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .reviews-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-meta {
        align-items: flex-start;
    }

    .review-form {
        padding: 1.5rem;
    }

    .rating-value {
        font-size: 1.8rem;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.benefit-item i {
    font-size: 16px;
}

.estimated-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 12px 16px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
}

.estimated-delivery i {
    color: #666;
}

@media screen and (max-width: 768px) {
    .delivery-container {
        padding: 0 20px;
    }

    .shipping-benefits {
        flex-wrap: wrap;
        gap: 15px;
    }

    .benefit-item {
        width: calc(50% - 8px);
    }
}

/* Care Section - Cuidado de tus gafas */
.care-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    margin-top: 80px;
}

.care-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.care-image {
    flex: 1;
}

.care-image img {
    width: 100%;
    height: auto;
    display: block;
}

.care-content {
    flex: 1;
}

.care-content h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1d1d1b;
}

.care-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.care-link {
    display: inline-block;
    color: #1d1d1b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1d1d1b;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.care-link:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .care-section {
        padding: 60px 0;
        margin-top: 60px;
    }

    .care-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }

    .care-content h2 {
        font-size: 1.5rem;
    }
}

/* 360° Viewer */
.view-360-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.view-360-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateX(-50%) scale(1.05);
}

.view-360-btn.active {
    background: rgba(220, 53, 69, 0.9);
}

.view-360-btn i {
    font-size: 16px;
}

.view-360-instructions {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-image-container {
    position: relative;
    user-select: none;
}

.main-image-container.view-360-active {
    cursor: grab;
}

.main-image-container.view-360-active:active {
    cursor: grabbing;
}

@media screen and (max-width: 768px) {
    .image-navigation {
        position: static;
        justify-content: center;
        margin-top: 15px;
        background-color: transparent;
        padding: 8px 0;
    }

    .view-360-btn {
        position: static;
        transform: none;
        padding: 10px 20px;
        font-size: 13px;
        margin: 15px auto 0;
        width: fit-content;
    }

    .view-360-btn:hover {
        transform: scale(1.05);
    }

    .view-360-instructions {
        font-size: 12px;
        padding: 8px 16px;
        top: 15px;
    }

    .main-image-container {
        display: flex;
        flex-direction: column;
    }
}

/* ==================== VISTA 360 TOGGLE BUTTON (Right Column) ==================== */

.view-360-toggle-btn {
    width: 50%;
    background: #000;
    color: white;
    border: none;
    padding: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    margin: 16px auto 0;
}

.view-360-toggle-btn:hover {
    background: #111;
}

.view-360-toggle-btn i {
    font-size: 14px;
}

/* ==================== VISTA 360 MODAL ==================== */

.view-360-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.view-360-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    padding: 40px 20px 20px;
}

.view-360-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
    z-index: 10;
}

.view-360-close-btn:hover {
    transform: scale(1.1);
    color: #d23;
}

.view-360-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-height: 70vh;
    background: #000;
    user-select: none;
}

.view-360-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    user-drag: none;
    -webkit-user-drag: none;
}

.view-360-nav-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
    z-index: 100;
}

.view-360-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.view-360-nav-btn i {
    font-size: 20px;
}

.view-360-prev {
    left: 20px;
}

.view-360-next {
    right: 20px;
}

.view-360-modal .view-360-instructions {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

.view-360-counter {
    display: none;
    /* Hidden per user request */
}

@media screen and (max-width: 768px) {
    .view-360-modal-content {
        width: 95%;
        padding: 30px 10px 15px;
    }

    .view-360-image-container {
        min-height: 300px;
        max-height: 60vh;
    }

    .view-360-image {
        max-height: 60vh;
    }

    .view-360-nav-btn {
        width: 40px;
        height: 40px;
    }

    .view-360-nav-btn i {
        font-size: 16px;
    }

    .view-360-prev {
        left: 10px;
    }

    .view-360-next {
        right: 10px;
    }

    .view-360-modal .view-360-instructions {
        font-size: 12px;
        padding: 10px 16px;
        margin-top: 15px;
    }

    .view-360-counter {
        font-size: 12px;
        margin-top: 8px;
    }
}

/* ==================== IMAGE LIGHTBOX ==================== */

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightboxFadeIn 0.2s ease;
}

.image-lightbox.closing {
    animation: lightboxFadeOut 0.2s ease forwards;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lightboxFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    gap: 14px;
    max-height: 100vh;
    overflow-y: auto;
}

/* Close button */
.lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 9010;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

/* Main image area */
.lightbox-main-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.lightbox-zoom-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    cursor: zoom-in;
    min-height: 300px;
    max-height: 70vh;
    position: relative;
}

.lightbox-zoom-container.zoomed {
    cursor: zoom-out;
}

.lightbox-main-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    user-select: none;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.lightbox-zoom-container.zoomed .lightbox-main-img {
    transform: scale(2);
    cursor: move;
}

/* Nav buttons */
.lightbox-nav {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}

.lightbox-nav:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none;
}

/* Zoom hint */
.lightbox-zoom-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Thumbnails strip */
.lightbox-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.lightbox-thumb {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background: rgba(255,255,255,0.08);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
    padding: 4px;
    opacity: 0.6;
}

.lightbox-thumb:hover {
    opacity: 0.85;
    border-color: rgba(255,255,255,0.4);
}

.lightbox-thumb.active {
    border-color: #fff;
    opacity: 1;
}

/* Counter */
.lightbox-counter {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .lightbox-content {
        padding: 14px;
        gap: 10px;
    }

    .lightbox-main-img {
        max-height: 55vh;
    }

    .lightbox-zoom-container {
        max-height: 55vh;
    }

    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .lightbox-thumb {
        width: 54px;
        height: 54px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }
}