/* Wilson Drugs - Product & Category Styles Matching Original HTML 1:1 */

/* Page Banner & Breadcrumbs */
.page-header-banner {
    background-color: #009845;
    padding: 45px 20px 35px;
    margin-bottom: 35px;
    text-align: center;
    border-bottom: none;
}

.page-header-banner h1,
.page-header-banner .page-title {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.product-breadcrumbs {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 15px;
    color: #ffffff;
}

.product-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.95;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.product-breadcrumbs a:hover {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
}

.product-breadcrumbs span {
    color: #ffffff;
    margin: 0 5px;
}

/* Main Layout Grid */
.product-layout-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.category-fullwidth-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.category-with-sidebar-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.category-content-main {
    width: 100%;
}

.category-layout-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.category-main-content-col {
    flex: 0 0 calc(72.5% - 30px);
    max-width: calc(72.5% - 30px);
    min-width: 0;
}

.category-sidebar-col {
    flex: 0 0 27.5%;
    max-width: 27.5%;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    align-self: flex-start;
}

@media (max-width: 991px) {
    .category-main-content-col,
    .category-sidebar-col {
        flex: 0 0 100%;
        max-width: 100%;
        position: static;
        top: auto;
    }
}

.product-layout-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.product-sidebar-col {
    flex: 0 0 29.61%;
    max-width: 29.61%;
    align-self: flex-start;
}

.product-content-col {
    flex: 0 0 calc(70.39% - 30px);
    max-width: calc(70.39% - 30px);
    align-self: flex-start;
    min-width: 0;
}

@media (max-width: 991px) {
    .product-sidebar-col,
    .product-content-col {
        flex: 0 0 100%;
        max-width: 100%;
        align-self: auto;
    }
}

/* Sidebar Widgets */
.product-sidebar-widget {
    margin-bottom: 25px;
}

.product-sidebar-widget .widget-heading {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.sidebar-box-grey {
    background-color: #D3D3D3;
    padding: 24px 20px 20px;
    border-radius: 0px;
}

/* Sidebar Enquiry Form */
.sidebar-enquiry-form .form-group {
    margin-bottom: 12px;
}

.sidebar-enquiry-form input[type="text"],
.sidebar-enquiry-form input[type="tel"],
.sidebar-enquiry-form input[type="email"],
.sidebar-enquiry-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #bbb;
    background: #ffffff;
    border-radius: 0px;
    font-size: 14px;
    color: #333333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sidebar-enquiry-form input:focus,
.sidebar-enquiry-form textarea:focus {
    border-color: #009845;
    box-shadow: 0 0 4px rgba(0, 152, 69, 0.3);
}

.sidebar-enquiry-form textarea {
    resize: vertical;
    min-height: 80px;
}

.sidebar-enquiry-form .btn-submit-enquiry {
    background-color: #009845;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.sidebar-enquiry-form .btn-submit-enquiry:hover {
    background-color: #037c38;
}

.sidebar-enquiry-form .alert-response {
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
    border-radius: 2px;
    display: none;
}

/* Sidebar Link Lists */
.sidebar-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links-list li {
    padding: 7px 0;
    border-bottom: 1px solid #000000;
}

.sidebar-links-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-links-list li:first-child {
    padding-top: 0;
}

.sidebar-links-list a {
    display: flex;
    align-items: center;
    color: #000000;
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-links-list a svg {
    width: 14px;
    height: 14px;
    margin-right: 10px;
    flex-shrink: 0;
    fill: #000000;
    transition: fill 0.2s ease;
}

.sidebar-links-list a:hover {
    color: #009845;
}

.sidebar-links-list a:hover svg {
    fill: #009845;
}

/* Single Product Details */
.product-detail-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.product-gallery-side {
    flex: 0 0 50%;
    max-width: 50%;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    align-self: flex-start;
    z-index: 10;
}

.product-info-side {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
}

@media (max-width: 767px) {
    .product-gallery-side,
    .product-info-side {
        flex: 0 0 100%;
        max-width: 100%;
        position: static;
        top: auto;
    }
}

.product-main-image {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

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

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-gallery-thumb {
    width: 75px;
    height: 75px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
    border-color: #009845;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-side .product-title {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.product-body-content {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #333333;
}

.product-body-content p {
    margin-bottom: 14px;
    color: #333333;
}

.product-body-content h2,
.product-body-content h3,
.product-body-content h4 {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-weight: 700;
    color: #000000;
    line-height: 1.35;
}

.product-body-content h2 {
    font-size: 22px;
    margin: 22px 0 10px;
}

.product-body-content h3 {
    font-size: 18px;
    margin: 18px 0 8px;
}

.product-body-content h4 {
    font-size: 16px;
    margin: 14px 0 6px;
}

.product-body-content strong,
.product-body-content b {
    color: #000000;
    font-weight: 700;
}

.product-body-content ul,
.product-body-content ol {
    padding-left: 22px;
    margin: 10px 0 16px;
}

.product-body-content ul li,
.product-body-content ol li {
    margin-bottom: 6px;
    color: #333333;
    line-height: 1.7;
}

.product-body-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
}

.product-body-content table th {
    background-color: #045b4e;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #034b40;
}

.product-body-content table td {
    border: 1px solid #e2e8f0;
    padding: 9px 12px;
    font-size: 14px;
    vertical-align: top;
    color: #333333;
}

.product-body-content table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

/* Related Products Section */
.related-products-section {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid #eaeaea;
}

.related-products-section h2 {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
}

/* Products Cards Grid (4 Columns) */
.products-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1024px) {
    .products-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .products-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-cards-grid {
        grid-template-columns: 1fr;
    }
}

.product-card-item {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #009845;
}

.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 20px 15px;
    height: 250px;
    overflow: hidden;
    text-decoration: none;
}

.product-card-image img {
    max-height: 210px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-card-title {
    background: #e4f1ea;
    padding: 14px 12px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

.product-card-title a {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.product-card-title a:hover {
    color: #009845;
}

/* Category Specific WooCommerce Product Card (Green Border 1:1 with Original Site) */
.woocommerce-product-card {
    background: #ffffff;
    border: 1.5px solid #009845 !important;
    border-radius: 0px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 0;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 152, 69, 0.18) !important;
    border-color: #009845 !important;
}

.woocommerce-product-card .product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 18px 14px;
    height: 235px;
    overflow: hidden;
    text-decoration: none;
}

.woocommerce-product-card .product-card-image img {
    max-height: 195px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.woocommerce-product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.woocommerce-product-card .product-card-title-bar {
    background: #e2f0e8;
    border-top: 1.5px solid #009845;
    padding: 12px 8px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

.woocommerce-product-card .product-card-title-bar a {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.woocommerce-product-card .product-card-title-bar a:hover {
    color: #009845;
}

/* Category Cards Grid Structure */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-content-main .category-cards-grid {
    gap: 22px;
}

@media (max-width: 1200px) {
    .category-main-content-col .category-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .category-main-content-col .category-cards-grid,
    .category-content-main .category-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .category-main-content-col .category-cards-grid,
    .category-content-main .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .woocommerce-product-card .product-card-image {
        height: 180px;
        padding: 10px;
    }
    .woocommerce-product-card .product-card-image img {
        max-height: 155px;
    }
    .woocommerce-product-card .product-card-title-bar {
        padding: 10px 6px;
        min-height: 46px;
    }
    .woocommerce-product-card .product-card-title-bar a {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .category-main-content-col .category-cards-grid,
    .category-content-main .category-cards-grid {
        grid-template-columns: 1fr;
    }
}

.btn-read-more-product {
    display: block;
    width: 100%;
    background-color: #009845;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    margin-top: auto;
    transition: background-color 0.2s ease;
}

.btn-read-more-product:hover {
    background-color: #037c38;
}

/* Pagination */
.product-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.product-pagination .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 6px;
}

.product-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.product-pagination .page-item.active .page-link,
.product-pagination .page-item .page-link:hover {
    background-color: #009845;
    border-color: #009845;
    color: #ffffff;
}

/* Term Description (Category Rich HTML Description) */
.term-description {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid #eaeaea;
    font-size: 15px;
    line-height: 1.75;
    color: #444444;
}

.term-description p {
    margin-bottom: 16px;
    color: #444444;
}

.term-description h2 {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 28px 0 14px;
    line-height: 1.3;
}

.term-description h3 {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin: 24px 0 12px;
    line-height: 1.3;
}

.term-description h4 {
    font-family: "Beiruti", "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    margin: 20px 0 10px;
    line-height: 1.3;
}

.term-description strong {
    color: #111111;
}

.term-description ul,
.term-description ol {
    padding-left: 24px;
    margin: 14px 0 20px;
}

.term-description ul li,
.term-description ol li {
    margin-bottom: 8px;
    color: #444444;
}

.term-description a {
    color: #009845;
    text-decoration: none;
    transition: color 0.2s ease;
}

.term-description a:hover {
    color: #045b4e;
    text-decoration: underline;
}

/* TablePress Tables in Category Descriptions */
.term-description table,
.term-description table#tablepress-1,
.tablepress {
    width: 100% !important;
    border-collapse: collapse;
    margin: 25px 0 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    display: table;
}

.term-description table thead th,
.tablepress thead th {
    background-color: #045b4e;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #034b40;
}

.term-description table tbody td,
.tablepress tbody td {
    padding: 10px 16px;
    font-size: 14px;
    color: #333333;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

.term-description table tbody tr:nth-child(even),
.tablepress tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.term-description table tbody tr:hover,
.tablepress tbody tr:hover {
    background-color: #f0fdf4;
}

@media (max-width: 767px) {
    .term-description table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }
}

/* Category Top Toolbar: Result Count & Sorting */
.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-result-count {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #4b5563;
    margin: 0;
}

.category-toolbar-actions {
    display: flex;
    align-items: center;
}

.woocommerce-ordering select.orderby {
    height: 38px;
    padding: 6px 32px 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #ffffff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E") no-repeat right 8px center/14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #374151;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.woocommerce-ordering select.orderby:focus {
    border-color: #009845;
}

.no-products-alert {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    color: #92400e;
    margin: 20px 0;
}

.no-products-alert p {
    font-size: 16px;
    margin-bottom: 12px;
}

.btn-reset-all {
    display: inline-block;
    background: #009845;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-reset-all:hover {
    background: #037c38;
}

/* Product Detail Interactive Zoom & Gallery */
.product-main-image-container {
    position: relative;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.product-zoom-wrap {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.main-zoomable-img {
    max-width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    transition: transform 0.15s ease-out;
    will-change: transform;
    display: block;
    margin: 0 auto;
}

.zoom-hover-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    z-index: 5;
}

.product-zoom-wrap:hover .zoom-hover-badge {
    opacity: 0.9;
}

.btn-expand-image {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #333333 !important;
    transition: all 0.25s ease;
    z-index: 15;
    padding: 0;
    line-height: 1;
}

.btn-expand-image:hover {
    background: #009845 !important;
    color: #ffffff !important;
    border-color: #009845 !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 152, 69, 0.35);
}

.btn-expand-image i {
    font-size: 15px !important;
    color: inherit !important;
    display: inline-block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.btn-expand-image svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 2.2px !important;
    fill: none !important;
    display: block !important;
}

/* Fullscreen Lightbox Modal */
.product-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.25s ease;
}

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

.lightbox-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image-stage {
    max-width: 85vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#lightboxMainImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.2s ease;
    user-select: none;
    border-radius: 4px;
}

.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 20;
}

.lightbox-close-btn:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.lightbox-top-toolbar {
    position: absolute;
    top: -45px;
    left: 0;
    display: flex;
    gap: 16px;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    z-index: 20;
}

.lightbox-counter {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 10px;
    border-radius: 14px;
}

.lightbox-zoom-buttons {
    display: flex;
    gap: 6px;
}

.lightbox-zoom-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-zoom-btn:hover {
    background: #009845;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: none;
    font-size: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 15;
}

.lightbox-arrow-prev {
    left: -65px;
}

.lightbox-arrow-next {
    right: -65px;
}

.lightbox-arrow:hover {
    background: #009845;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 767px) {
    .lightbox-arrow-prev {
        left: 10px;
    }
    .lightbox-arrow-next {
        right: 10px;
    }
    .lightbox-top-toolbar {
        top: -40px;
    }
    .lightbox-close-btn {
        top: -40px;
    }
}

