/* =========================================
   Product Showcase - Common Styles
   ========================================= */
:root {
    --hexagrid-color-primary: #3291b6;
    --hexagrid-color-primary-hover: #2a7a9a;
    --hexagrid-color-heading: #333333;
    --hexagrid-color-text: #767676;
    --hexagrid-col-lg: 4;
    --hexagrid-col-md: 4;
    --hexagrid-col-sm: 2;
    --hexagrid-gap-lg: 20px;
    --hexagrid-gap-sm: 10px;
}

.hexagrid-layout-grid,
.hexagrid-layout-list,
.hexagrid-layout-slider {
    margin-bottom: 30px;
    font-family: inherit;
}

.hexagrid-layout-container .hexagrid-product {
    position: relative;
    line-height: 1.4;
}

.hexagrid-layout-container .hexagrid-product p,
.hexagrid-layout-container .hexagrid-product ul,
.hexagrid-layout-container .hexagrid-product ol,
.hexagrid-layout-container .hexagrid-product li,
.hexagrid-layout-container .hexagrid-product h1,
.hexagrid-layout-container .hexagrid-product h2,
.hexagrid-layout-container .hexagrid-product h3,
.hexagrid-layout-container .hexagrid-product h4,
.hexagrid-layout-container .hexagrid-product h5,
.hexagrid-layout-container .hexagrid-product h6,
.hexagrid-layout-container .hexagrid-product strong,
.hexagrid-layout-container .hexagrid-product em,
.hexagrid-layout-container .hexagrid-product button {
    margin: 0;
    padding: 0;
    font-family: inherit;
}

.hexagrid-layout-container .hexagrid-product h1,
.hexagrid-layout-container .hexagrid-product h2,
.hexagrid-layout-container .hexagrid-product h3,
.hexagrid-layout-container .hexagrid-product h4,
.hexagrid-layout-container .hexagrid-product h5,
.hexagrid-layout-container .hexagrid-product h6 {
    color: var(--hexagrid-color-heading);
}

.hexagrid-layout-container .hexagrid-product {
    color: var(--hexagrid-color-text);
}

.hexagrid-layout-container .hexagrid-product-image-link {
    --wd-otl-offset: calc(2 * -1);
    position: relative;
    display: block;
}

.hexagrid-layout-container .hexagrid-product-wrapper {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.hexagrid-layout-container .hexagrid-product-content-area {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hexagrid-layout-container .hexagrid-layout-grid .hexagrid-product-wrapper {
    height: 100%;
}

.hexagrid-layout-container .hexagrid-product-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #333;
}

.hexagrid-layout-container .hexagrid-product .hexagrid-product-title>a {
    text-decoration: none !important;
    color: inherit;
}

/* =========================================
   HexaGrid Button System
   =========================================
   Flexible button system using CSS variables.
   All theme-colored buttons inherit --hexagrid-color-primary
   from the shortcode wrapper.

   Variants:
   - .hexagrid-btn-icon   : icon-only button
   - .hexagrid-btn-text   : filled text/box button (default)
   - .hexagrid-btn-border : outlined button
   ========================================= */

.hexagrid-btn,
.hexagrid-layout-container .hexagrid-product .hexagrid-add-btn :is(.btn, .button, button, [type="submit"], [type="button"]),
.hexagrid-layout-container .hexagrid-product .hexagrid-actions-btn :is(.btn, .button, button, [type="submit"], [type="button"]) {
    --hexagrid-btn-bg: var(--hexagrid-color-primary);
    --hexagrid-btn-color: #ffffff;
    --hexagrid-btn-border-color: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-bg: var(--hexagrid-color-primary-hover);
    --hexagrid-btn-hover-color: #ffffff;
    --hexagrid-btn-hover-border-color: var(--hexagrid-color-primary-hover);

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none;
    border-radius: 5px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none;
    line-height: 1.2;
    cursor: pointer;
    transition: all .25s ease;
    color: var(--hexagrid-btn-color) !important;
    background-color: var(--hexagrid-btn-bg) !important;
    border: 1px solid var(--hexagrid-btn-border-color) !important;
    box-shadow: unset !important;
    text-transform: uppercase;
    font-weight: 500 !important;
    font-family: inherit;
    font-style: unset;
    padding: 5px 10px;
    min-height: 28px;
    font-size: 13px;
}

.hexagrid-btn:hover,
.hexagrid-layout-container .hexagrid-product .hexagrid-add-btn :is(.btn, .button, button, [type="submit"], [type="button"]):hover,
.hexagrid-layout-container .hexagrid-product .hexagrid-actions-btn :is(.btn, .button, button, [type="submit"], [type="button"]):hover {
    color: var(--hexagrid-btn-hover-color) !important;
    background-color: var(--hexagrid-btn-hover-bg) !important;
    border-color: var(--hexagrid-btn-hover-border-color) !important;
}

/* Icon Button */
.hexagrid-btn.hexagrid-btn-icon,
.hexagrid-layout-container .hexagrid-cart-btn-type-icon a.hexagrid-add-to-cart {
    --hexagrid-btn-bg: #f1f2f6;
    --hexagrid-btn-color: #2d3436;
    --hexagrid-btn-border-color: transparent;
    --hexagrid-btn-hover-bg: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-color: #ffffff;
    --hexagrid-btn-hover-border-color: var(--hexagrid-color-primary);

    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
}

/* Border/Outline Button */
.hexagrid-btn.hexagrid-btn-border {
    --hexagrid-btn-bg: transparent;
    --hexagrid-btn-color: var(--hexagrid-color-primary);
    --hexagrid-btn-border-color: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-bg: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-color: #ffffff;
    --hexagrid-btn-hover-border-color: var(--hexagrid-color-primary);
}

/* Text/Box Button (filled primary) */
.hexagrid-btn.hexagrid-btn-text,
.hexagrid-layout-container .hexagrid-cart-btn-type-text a.hexagrid-add-to-cart,
.hexagrid-layout-container .hexagrid-cart-btn-type-both a.hexagrid-add-to-cart {
    /* Uses base variables. */
}

.hexagrid-layout-container .hexagrid-product-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
    align-items: stretch;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    align-items: center;
    gap: 15px;
}

/* Sale Badge */
.hexagrid-layout-container .hexagrid-product .hexagrid-badge {
    font-size: 11px;
    font-weight: 600;
    color: #fff !important;
    padding: 3px 8px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--hexagrid-color-primary) !important;
}

/* Category */
.hexagrid-layout-container .hexagrid-product .hexagrid-product-category a {
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
}

/* Title and Category hover - enforce theme color against theme overrides */
.hexagrid-layout-container .hexagrid-product-title a:hover,
.hexagrid-layout-container .hexagrid-product-category a:hover {
    color: var(--hexagrid-color-primary) !important;
}

.hexagrid-layout-container .hexagrid-product .hexagrid-product-short-desc p {
    font-size: 15px;
    color: var(--hexagrid-color-text);
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hexagrid-product-cart-btn .hexagrid-btn-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.hexagrid-product-cart-btn .hexagrid-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hexagrid-product-cart-btn .hexagrid-btn-inner svg {
    width: 100%;
    height: 100%;
    color: currentColor;
}

.hexagrid-product-cart-btn .hexagrid-btn-icon-success {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.6);
}

.hexagrid-product-cart-btn a.added .hexagrid-btn-icon-default {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.6);
}

.hexagrid-product-cart-btn a.added .hexagrid-btn-icon-success {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hexagrid-product-cart-btn .loading .hexagrid-btn-inner svg {
    animation: hexagrid-spin 1s linear infinite;
}

@keyframes hexagrid-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hexagrid-product-price ins {
    text-decoration: none;
}


/* =========================================
   Product Showcase - Grid Layout Style 1
   ========================================= */

.hexagrid-layout-grid {
    display: grid;
    grid-gap: var(--hexagrid-gap-lg);
    padding: 20px 0;
}

/* Columns */
.hexagrid-layout-grid.hexagrid-columns-1 {
    grid-template-columns: minmax(0, 1fr);
}

.hexagrid-layout-grid.hexagrid-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hexagrid-layout-grid.hexagrid-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hexagrid-layout-grid.hexagrid-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hexagrid-layout-grid.hexagrid-columns-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hexagrid-layout-grid.hexagrid-columns-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hexagrid-product-grid-1 .hexagrid-product-image-area {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

.hexagrid-product-grid-1 .hexagrid-product-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hexagrid-product-grid-1 .hexagrid-product:hover .hexagrid-product-image-area img {
    transform: scale(1.05);
}

/* Grid 2 image area matches Grid 1 */
.hexagrid-product-grid-2 .hexagrid-product-image-area {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

.hexagrid-product-grid-2 .hexagrid-product-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hexagrid-product-grid-2 .hexagrid-product:hover .hexagrid-product-image-area img {
    transform: scale(1.05);
}

/* Content */
.hexagrid-product-grid-1 .hexagrid-product-content-area {
    padding: 0 15px 15px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hexagrid-product-grid-1 .hexagrid-product-title a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.2s;
}

/* Rating */
.hexagrid-product-grid-1 .hexagrid-product-rating {
    font-size: 14px;
}

.hexagrid-product-grid-1 .star-rating {
    float: none;
    margin: 0;
}

/* Footer (Price + Cart) */
.hexagrid-product-grid-1 .hexagrid-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Price */
.hexagrid-product-grid-1 .hexagrid-product-price .amount {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
}

.hexagrid-product-grid-1 .hexagrid-product-price del .amount {
    color: #b2bec3;
    font-size: 14px;
    font-weight: 400;
    margin-right: 5px;
}

.hexagrid-product-grid-1 .hexagrid-product-price ins {
    text-decoration: none;
}

.hexagrid-product-grid-1 .hexagrid-product-price ins .amount {
    color: var(--hexagrid-color-primary) !important;
}

/* Cart Button */
.hexagrid-product-grid-1 .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--hexagrid-btn-bg) !important;
    color: var(--hexagrid-btn-color) !important;
    border: 1px solid var(--hexagrid-btn-border-color) !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.hexagrid-product-grid-1 .hexagrid-product-cart-btn a.hexagrid-btn-icon:hover,
.hexagrid-product-grid-1 .hexagrid-product:hover .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    background-color: var(--hexagrid-btn-hover-bg) !important;
    border-color: var(--hexagrid-btn-hover-border-color) !important;
    color: var(--hexagrid-btn-hover-color) !important;
}

.hexagrid-product-grid-1 .hexagrid-product-cart-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.hexagrid-cart-btn-type-icon a.added_to_cart.wc-forward {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .hexagrid-layout-grid.hexagrid-columns-4,
    .hexagrid-layout-grid.hexagrid-columns-5,
    .hexagrid-layout-grid.hexagrid-columns-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .hexagrid-layout-grid.hexagrid-columns-3,
    .hexagrid-layout-grid.hexagrid-columns-4,
    .hexagrid-layout-grid.hexagrid-columns-5,
    .hexagrid-layout-grid.hexagrid-columns-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .hexagrid-layout-grid[class*="hexagrid-columns-"] {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================
   Product Showcase - Grid Layout Style 3
   ========================================= */

.hexagrid-product-grid-3 .hexagrid-product-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    align-items: stretch;
    gap: 16px;
}

.hexagrid-product-grid-3 .hexagrid-product-image-area {
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hexagrid-product-grid-3 .hexagrid-product{
    padding-bottom: 10px;
}

.hexagrid-product-grid-3 .hexagrid-product-image-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.hexagrid-product-grid-3 .hexagrid-product:hover .hexagrid-product-image-area img {
    transform: scale(1.04);
}

/* Sale / Out of stock badge */
.hexagrid-product-grid-3 .hexagrid-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #d32f2f;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hexagrid-product-grid-3 .hexagrid-outofstock-badge {
    color: #ffffff;
    background: #757575;
}

/* Wishlist button */
.hexagrid-product-grid-3 .hexagrid-wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #555555;
    transition: all 0.25s ease;
    padding: 0;
}

.hexagrid-product-grid-3 .hexagrid-wishlist-btn:hover {
    background: rgb(255 255 255 / 0.35);
    color: #d32f2f;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.hexagrid-product-grid-3 .hexagrid-wishlist-btn svg {
    width: 18px;
    height: 18px;
}

.hexagrid-product-grid-3 .hexagrid-wishlist-btn.is-active svg {
    fill: #d32f2f;
    stroke: #d32f2f;
}

.hexagrid-product-grid-3 .hexagrid-wishlist-btn.is-loading {
    cursor: progress;
    opacity: 0.7;
}

.hexagrid-product-grid-3 .hexagrid-wishlist-btn.is-loading svg {
    animation: hexagrid-wishlist-pulse 1s ease-in-out infinite;
}

@keyframes hexagrid-wishlist-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.85);
    }
}

/* Content area */
.hexagrid-product-grid-3 .hexagrid-product-content-area {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px;
}

.hexagrid-product-grid-3 .hexagrid-product-info-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.hexagrid-product-grid-3 .hexagrid-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    min-width: 0;
    line-height: 1.35;
}

.hexagrid-product-grid-3 .hexagrid-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hexagrid-product-grid-3 .hexagrid-product-title a:hover {
    color: var(--hexagrid-color-primary);
}

.hexagrid-product-grid-3 .hexagrid-product-category {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #9e9e9e;
}

.hexagrid-product-grid-3 .hexagrid-product-category a {
    color: inherit;
    text-decoration: none;
}

/* Price */
.hexagrid-product-grid-3 .hexagrid-product-info-price {
    flex-shrink: 0;
    text-align: right;
}

.hexagrid-product-grid-3 .hexagrid-product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.hexagrid-product-grid-3 .hexagrid-product-price del,
.hexagrid-product-grid-3 .hexagrid-product-price ins {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hexagrid-product-grid-3 .hexagrid-product-price .amount {
    color: inherit;
    white-space: nowrap;
}

.hexagrid-product-grid-3 .hexagrid-product-price del {
    color: #9e9e9e;
    font-weight: 400;
    text-decoration: line-through;
}

.hexagrid-product-grid-3 .hexagrid-product-price del .amount {
    color: #9e9e9e;
    font-size: 14px;
}

.hexagrid-product-grid-3 .hexagrid-product-price ins {
    text-decoration: none;
}

/* Ensure WooCommerce screen-reader-only text does not break the visual layout. */
.hexagrid-product-grid-3 .hexagrid-product-price .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Content actions: price / cart hover toggle */
.hexagrid-product-grid-3 .hexagrid-product-info-actions {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 36px;
}

.hexagrid-product-grid-3 .hexagrid-product-info-price,
.hexagrid-product-grid-3 .hexagrid-product-info-cart {
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.hexagrid-product-grid-3 .hexagrid-product-info-price {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hexagrid-product-grid-3 .hexagrid-product-info-cart {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    opacity: 0;
    visibility: hidden;
}

.hexagrid-product-grid-3 .hexagrid-product:hover .hexagrid-product-info-price {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
}

.hexagrid-product-grid-3 .hexagrid-product:hover .hexagrid-product-info-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.hexagrid-product-grid-3 .hexagrid-product-info-cart .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    --hexagrid-btn-bg: transparent;
    --hexagrid-btn-color: var(--hexagrid-color-primary);
    --hexagrid-btn-border-color: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-bg: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-color: #ffffff;
    --hexagrid-btn-hover-border-color: var(--hexagrid-color-primary);

    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hexagrid-product-grid-3 .hexagrid-product-image-area {
        padding: 0;
    }

    .hexagrid-product-grid-3 .hexagrid-product-content-area {
        flex-direction: column;
        align-items: flex-start;
    }

    .hexagrid-product-grid-3 .hexagrid-product-info-actions {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: auto;

    }

    .hexagrid-product-grid-3 .hexagrid-product-info-price,
    .hexagrid-product-grid-3 .hexagrid-product-info-cart {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .hexagrid-product-grid-3 .hexagrid-product:hover .hexagrid-product-info-price,
    .hexagrid-product-grid-3 .hexagrid-product:hover .hexagrid-product-info-cart {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}


/* =========================================
   Product Showcase - List Layout Style 1
   ========================================= */

.hexagrid-product-list-1 .hexagrid-layout-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hexagrid-product-list-1 .hexagrid-product-wrapper {
    flex-direction: row;
}

.hexagrid-product-list-1 .hexagrid-product-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Image - Left */
.hexagrid-product-list-1 .hexagrid-product-image-area {
    flex: 0 0 300px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.hexagrid-product-list-1 .hexagrid-product-image-area a {
    display: block;
}

.hexagrid-product-list-1 .hexagrid-product-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.hexagrid-product-list-1 .hexagrid-product-content-area {
    padding: 15px 15px 15px 0;
}

/* Content - Middle */

.hexagrid-product-list-1 .hexagrid-product-content-area .hexagrid-product-rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
}

.hexagrid-product-list-1 .hexagrid-product-content-area .hexagrid-product-price ins {
    text-decoration: none;
}

/* Price (Now in Content) */
.hexagrid-product-list-1 .hexagrid-product-content-area .hexagrid-product-price .amount {
    font-size: 17px;
    line-height: 25px;
    font-weight: 600;
    color: var(--hexagrid-color-primary) !important;
}

.hexagrid-product-list-1 .hexagrid-product-content-area .hexagrid-product-price del .amount {
    color: #b2bec3;
    font-size: 17px;
    font-weight: 400;
    margin-right: 5px;
}


.hexagrid-product-list-1 .hexagrid-layout-list .hexagrid-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 99;
}

.hexagrid-product-list-1 .hexagrid-product .hexagrid-product-category {
    text-transform: capitalize;
    margin-bottom: 5px;
}

.hexagrid-product-list-1 .hexagrid-product .hexagrid-product-category a {
    text-transform: capitalize;
}

/* Rating Refinements */
.hexagrid-product-list-1 .hexagrid-rating-average {
    font-weight: 700;
    color: #333;
    margin-left: 5px;
    font-size: 13px;
}

.hexagrid-product-list-1 .hexagrid-rating-separator {
    margin: 0 5px;
    color: #ccc;
}

.hexagrid-product-list-1 .hexagrid-review-count {
    margin-left: 0;
    color: #777;
    font-size: 13px;
}


/* Responsive */
@media (max-width: 768px) {
    .hexagrid-product-list-1 .hexagrid-product-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .hexagrid-product-list-1 .hexagrid-product-image-area {
        width: 100%;
    }

    .hexagrid-product-list-1 .hexagrid-product-content-area {
        width: 100%;
        padding: 20px;
    }
}


/* =========================================
   Product Showcase - List Layout Style 2
   ========================================= */

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) {
    --hexagrid-list2-row-border: #e7eaf0;
    --hexagrid-list2-row-border-hover: #cfd5df;
    --hexagrid-list2-row-radius: 10px;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list-2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product {
    margin: 0;
    padding: 20px;
    background: transparent;
    border: 1px solid var(--hexagrid-list2-row-border, #e7eaf0);
    border-radius: var(--hexagrid-list2-row-radius, 10px);
    box-shadow: none;
    transition: border-color 0.2s ease;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product:hover {
    border-color: var(--hexagrid-list2-row-border-hover, #cfd5df);
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Image */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 12px;
    background: #f4f6f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product:hover .hexagrid-list2-image img {
    transform: scale(1.05);
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #c6ccd4;
}

/* Sale badge on the thumbnail (top-left) */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image .hexagrid-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #d32f2f;
    background: #ffffff;
    padding: 5px 8px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Product information */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product:hover .hexagrid-product-title a {
    color: var(--hexagrid-color-primary);
}

/* Rating */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-rating .star-rating {
    position: relative;
    display: inline-block;
    width: 5.4em;
    height: 1em;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-rating .star-rating::before {
    content: "\2605\2605\2605\2605\2605";
    position: absolute;
    top: 0;
    left: 0;
    color: #d3d7de;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-rating .star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    height: 1em;
    padding-top: 1.5em;
    overflow: hidden;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-rating .star-rating span::before {
    content: "\2605\2605\2605\2605\2605";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 1em;
    overflow: hidden;
    white-space: nowrap;
    color: #f5a623;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-rating-separator {
    display: none;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-review-count {
    font-size: 13px;
    color: #8a8f98;
}

/* Description */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-short-desc p {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Metadata */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 13px;
    color: #8a8f98;
    line-height: 1.4;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-meta a:hover {
    color: var(--hexagrid-color-primary);
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-meta-sep {
    color: #ccd1d9;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: 0 0 7px;
    background: #22c55e;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-stock-outofstock {
    color: #dc2626;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-stock-outofstock::before {
    background: #ef4444;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-stock-onbackorder::before {
    background: #f59e0b;
}

/* Price + CTA */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-aside {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    text-align: right;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.25;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price .amount {
    color: inherit;
    white-space: nowrap;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price del {
    order: 1;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price del .amount {
    color: #9ca3af;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price ins {
    order: 2;
    text-decoration: none;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price ins .amount {
    color: var(--hexagrid-color-primary);
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-cart-btn a.hexagrid-add-to-cart {
    min-width: 118px;
    padding: 11px 18px;
    font-size: 13px;
    border-radius: 8px;
    justify-content: center;
}

:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-outofstock .hexagrid-product-cart-btn a.hexagrid-add-to-cart {
    opacity: 0.55;
}

/* Focus visibility */
:is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product :is(a, button):focus-visible {
    outline: 2px solid var(--hexagrid-color-primary);
    outline-offset: 2px;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-row {
        gap: 18px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-title {
        font-size: 17px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product {
        padding: 16px 18px;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-row {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        grid-template-areas:
            "image main"
            ".     aside";
        column-gap: 16px;
        row-gap: 14px;
        align-items: start;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-image {
        grid-area: image;
        width: 96px;
        height: 96px;
        border-radius: 10px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-main {
        grid-area: main;
        min-width: 0;
        gap: 5px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-title {
        font-size: 16px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-list2-aside {
        grid-area: aside;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        text-align: left;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price del,
    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-price ins {
        order: 0;
    }

    :is(.hexagrid-product-list-2, .hexagrid-product-list-3) .hexagrid-product-cart-btn a.hexagrid-add-to-cart {
        min-width: 0;
        padding: 10px 14px;
    }
}


/* =========================================
   Product Showcase - List Layout Style 3
   ========================================= */

.hexagrid-product-list-3 .hexagrid-list-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 1024px) {
    .hexagrid-product-list-3 .hexagrid-list-2 {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   Product Showcase - Slider Layout Style 1
   ========================================= */

.hexagrid-layout-slider {
    padding-bottom: 60px !important;
}

.hexagrid-layout-container .swiper-button-next,
.hexagrid-layout-container .swiper-button-prev {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1.5px solid var(--hexagrid-color-primary);
    border-radius: 4px;
    color: var(--hexagrid-color-primary) !important;
    transition: all 0.2s ease;
}

.hexagrid-layout-container .swiper-button-next svg,
.hexagrid-layout-container .swiper-button-prev svg {
    width: 16px;
    height: 16px;
}

.hexagrid-layout-container .swiper-button-next:hover,
.hexagrid-layout-container .swiper-button-prev:hover {
    background: var(--hexagrid-color-primary);
    border-color: var(--hexagrid-color-primary);
    color: #ffffff !important;
}

/* Slider nav positioning (default: middle/vertical center sides) */
.hexagrid-slider-container.hexagrid-nav-middle .swiper-button-next,
.hexagrid-slider-container.hexagrid-nav-middle .swiper-button-prev {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.hexagrid-slider-container.hexagrid-nav-top-right .swiper-button-next,
.hexagrid-slider-container.hexagrid-nav-top-right .swiper-button-prev {
    top: 25px;
    bottom: auto;
    transform: none;
}

.hexagrid-slider-container.hexagrid-nav-top-right .swiper-button-next {
    right: 10px;
    left: auto;
}

.hexagrid-slider-container.hexagrid-nav-top-right .swiper-button-prev {
    right: 48px;
    left: auto;
}

.hexagrid-slider-container.hexagrid-nav-top-right .hexagrid-layout-slider {
    padding-top: 50px;
}

.hexagrid-slider-container.hexagrid-nav-bottom-left .swiper-button-next,
.hexagrid-slider-container.hexagrid-nav-bottom-left .swiper-button-prev {
    bottom: 10px;
    top: auto;
    transform: none;
}

.hexagrid-slider-container.hexagrid-nav-bottom-left .swiper-button-prev {
    left: 10px;
    right: auto;
}

.hexagrid-slider-container.hexagrid-nav-bottom-left .swiper-button-next {
    left: 48px;
    right: auto;
}

.hexagrid-slider-container.hexagrid-nav-bottom-right .swiper-button-next,
.hexagrid-slider-container.hexagrid-nav-bottom-right .swiper-button-prev {
    bottom: 10px;
    top: auto;
    transform: none;
}

.hexagrid-slider-container.hexagrid-nav-bottom-right .swiper-button-next {
    right: 10px;
    left: auto;
}

.hexagrid-slider-container.hexagrid-nav-bottom-right .swiper-button-prev {
    right: 48px;
    left: auto;
}

.hexagrid-layout-container .swiper-pagination {
    bottom: 20px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.hexagrid-layout-container .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.hexagrid-layout-container .swiper-pagination .swiper-pagination-bullet-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--hexagrid-color-primary) !important;
}

/* Equal height slides: stretch the card to fill the tallest slide */
.hexagrid-slider-container .swiper-slide {
    height: auto;
    display: flex;
}

.hexagrid-slider-container .swiper-slide .hexagrid-product-wrapper {
    width: 100%;
    height: 100%;
}

/* Consistent image area height so cards stay equal without flex */
.hexagrid-slider-container .swiper-slide .hexagrid-product-image-area {
    aspect-ratio: 1 / 1;
}

/* Space content with margins, not flex */
.hexagrid-slider-container .swiper-slide .hexagrid-product-content-area {
    margin-top: 14px;
}

/* Table Layout Style 1 - Premium */
.hexagrid-product-table-1 {
    width: 100%;
    margin-bottom: 30px;
}

.hexagrid-product-table-1 .hexagrid-table-responsive {
    overflow-x: auto;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
}

.hexagrid-product-table-1 .hexagrid-product-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: #fff;
}

.hexagrid-product-table-1 .hexagrid-product-table th,
.hexagrid-product-table-1 .hexagrid-product-table td {
    border: 1px solid #e2e5ea;
}

.hexagrid-product-table-1 .hexagrid-product-table th {
    background: #f4f7fe;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 18px;
    text-transform: capitalize;
}

.hexagrid-product-table-1 .hexagrid-product-table td {
    padding: 14px 18px;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.hexagrid-product-table-1 .hexagrid-product-row:hover td {
    background: #f9fbff;
}

/* Product Info */
.hexagrid-product-table-1 .hexagrid-product-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.hexagrid-product-table-1 .hexagrid-product-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #edf2f7;
    position: relative;
}

.hexagrid-product-table-1 .hexagrid-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hexagrid-product-table-1 .hexagrid-product-image .hexagrid-status-pill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2px 0;
    font-size: 9px;
    text-align: center;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.hexagrid-product-table-1 .hexagrid-product-image .hexagrid-status-pill.status-instock {
    color: #047481;
}

.hexagrid-product-table-1 .hexagrid-product-image .hexagrid-status-pill.status-outofstock {
    color: #c53030;
}

.hexagrid-product-table-1 .hexagrid-product-image .hexagrid-status-pill.status-lowstock {
    color: #c05621;
}

.hexagrid-product-table-1 .hexagrid-product-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hexagrid-product-table-1 .hexagrid-product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #2d3748;
}

.hexagrid-product-table-1 .hexagrid-product-short-desc p {
    font-size: 13px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* Category */
.hexagrid-product-table-1 .hexagrid-product-category a {
    color: #718096;
    font-size: 14px;
    text-decoration: none;
}

/* Price */
.hexagrid-product-table-1 .hexagrid-product-price {
    font-weight: 700;
    color: #2d3748;
    font-size: 16px;
}

/* Rating */
.hexagrid-product-table-1 .hexagrid-product-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hexagrid-product-table-1 .star-rating {
    font-size: 14px;
    width: 80px;
}

.hexagrid-product-table-1 .hexagrid-rating-average {
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    margin-right: 5px;
}

.hexagrid-product-table-1 .hexagrid-review-count {
    color: #a0aec0;
    font-size: 12px;
}

.hexagrid-product-table-1 .hexagrid-rating-separator {
    display: none;
}

/* Quantity Stepper */
.hexagrid-quantity-stepper {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px;
}

.hexagrid-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.hexagrid-qty-btn:hover {
    color: #2d3748;
}

.hexagrid-qty-input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    padding: 0;
}

/* Hide arrow buttons on number input */
.hexagrid-qty-input::-webkit-outer-spin-button,
.hexagrid-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Status Pill */
.hexagrid-status-pill {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.hexagrid-status-pill.status-instock {
    background: #e6fffa;
    color: #047481;
}

.hexagrid-status-pill.status-outofstock {
    background: #fff5f5;
    color: #c53030;
}

.hexagrid-status-pill.status-lowstock {
    background: #fffaf0;
    color: #c05621;
}

.hexagrid-status-pill.status-onbackorder {
    background: #fffaf0;
    color: #c05621;
}

/* Action Buttons */
.hexagrid-product-table-1 .hexagrid-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hexagrid-product-table-1 .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    width: 40px;
    height: 40px;
    background: var(--hexagrid-btn-bg) !important;
    border-radius: 10px;
    border: 1px solid var(--hexagrid-btn-border-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hexagrid-product-table-1 .hexagrid-product-cart-btn a.hexagrid-btn-icon:hover {
    background: var(--hexagrid-btn-hover-bg) !important;
    border-color: var(--hexagrid-btn-hover-border-color) !important;
}

.hexagrid-product-table-1 .hexagrid-product-price ins {
    color: var(--hexagrid-color-primary) !important;
}
.hexagrid-add-btn .added_to_cart {
    margin-left: 5px;
}


/* Grid Layout 2 style */
.hexagrid-product-grid-2 .hexagrid-product-content-area {
    display: block;
    text-align: center;
    padding-bottom: 20px;
}

.hexagrid-product-grid-2 .hexagrid-product-content-area h3.hexagrid-product-title {
    margin-bottom: 5px;
}

.hexagrid-product-grid-2 .hexagrid-product-content-area .hexagrid-product-category {
    margin-bottom: 8px;
}

.hexagrid-product-grid-2 .hexagrid-product-content-area .hexagrid-product-price {
    margin-bottom: 10px;
}

/* Responsive */
@media screen and (max-width: 992px) {

    .hexagrid-th-category,
    .hexagrid-td-category,
    .hexagrid-th-rating,
    .hexagrid-td-rating {
        display: none;
    }
}


/* =========================================
   Product Showcase - Table Layout Style 2
   ========================================= */

.hexagrid-product-table-2 .hexagrid-table-responsive {
    overflow-x: auto;
    border: 1px solid #eef0f3;
    border-radius: 16px;
}

.hexagrid-product-table-2 .hexagrid-product-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: #fff;
    border: none;
}

.hexagrid-product-table-2 .hexagrid-product-table th,
.hexagrid-product-table-2 .hexagrid-product-table td {
    border: none;
    border-bottom: 1px solid #eef0f3;
}

.hexagrid-product-table-2 .hexagrid-product-table th {
    background: var(--hexagrid-color-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 20px;
    border-bottom: none;
    text-align: left;
    transition: background 0.2s ease;
}

.hexagrid-product-table-2 .hexagrid-product-table th:hover {
    background: var(--hexagrid-color-primary-hover);
}

.hexagrid-product-table-2 .hexagrid-product-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.hexagrid-product-table-2 .hexagrid-product-row:hover td {
    background: #f7f8fa;
}

.hexagrid-product-table-2 .hexagrid-product-row:last-child td {
    border-bottom: none;
}

/* Product info */
.hexagrid-product-table-2 .hexagrid-product-info-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}

.hexagrid-product-table-2 .hexagrid-product-image {
    position: relative;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 4px;
    overflow: hidden;
    background: #f9fafb;
}

.hexagrid-product-table-2 .hexagrid-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hexagrid-product-table-2 .hexagrid-image-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 0;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
}

.hexagrid-product-table-2 .hexagrid-image-badge-sale {
    background: var(--hexagrid-color-primary);
}

.hexagrid-product-table-2 .hexagrid-image-badge-featured {
    background: #2563eb;
}

.hexagrid-product-table-2 .hexagrid-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hexagrid-product-table-2 .hexagrid-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.hexagrid-product-table-2 .hexagrid-product-title a {
    color: inherit;
    text-decoration: none;
}

.hexagrid-product-table-2 .hexagrid-product-sku {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.hexagrid-product-table-2 .hexagrid-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.hexagrid-product-table-2 .hexagrid-product-rating .star-rating {
    float: none;
    margin: 0;
    font-size: 12px;
}

/* Category pills */
.hexagrid-product-table-2 .hexagrid-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 4px;
}

.hexagrid-product-table-2 .hexagrid-category-pill-blue    { background: #e0f2fe; color: #0369a1; }
.hexagrid-product-table-2 .hexagrid-category-pill-yellow  { background: #fef3c7; color: #b45309; }
.hexagrid-product-table-2 .hexagrid-category-pill-green   { background: #d1fae5; color: #047857; }
.hexagrid-product-table-2 .hexagrid-category-pill-purple  { background: #ede9fe; color: #6d28d9; }
.hexagrid-product-table-2 .hexagrid-category-pill-pink    { background: #fce7f3; color: #be185d; }
.hexagrid-product-table-2 .hexagrid-category-pill-orange  { background: #ffedd5; color: #c2410c; }
.hexagrid-product-table-2 .hexagrid-category-pill-cyan    { background: #cffafe; color: #0e7490; }
.hexagrid-product-table-2 .hexagrid-category-pill-red     { background: #fee2e2; color: #b91c1c; }

/* Price wrap */
.hexagrid-product-table-2 .hexagrid-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hexagrid-product-table-2 .hexagrid-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.hexagrid-product-table-2 .hexagrid-product-price .amount {
    color: #111827;
}

.hexagrid-product-table-2 .hexagrid-product-price del {
    color: #9ca3af;
    font-weight: 500;
    text-decoration: line-through;
    margin-right: 6px;
}

.hexagrid-product-table-2 .hexagrid-product-price ins {
    text-decoration: none;
}

.hexagrid-product-table-2 .hexagrid-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
}

/* Table layout 3 style price (two-line sale price) */
.hexagrid-product-table-2 .hexagrid-table-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hexagrid-product-table-2 .hexagrid-offer-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.hexagrid-product-table-2 .hexagrid-offer-price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.hexagrid-product-table-2 .hexagrid-table-price.has-sale .hexagrid-offer-price {
    color: var(--hexagrid-color-primary);
}

.hexagrid-product-table-2 .hexagrid-regular-line del {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
}

/* Stock pills */
.hexagrid-product-table-2 .hexagrid-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.hexagrid-product-table-2 .hexagrid-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.hexagrid-product-table-2 .hexagrid-stock-instock {
    background: #ecfdf5;
    color: #047857;
}

.hexagrid-product-table-2 .hexagrid-stock-instock .hexagrid-stock-dot {
    background: #10b981;
}

.hexagrid-product-table-2 .hexagrid-stock-outofstock {
    background: #fff1f2;
    color: #be123c;
}

.hexagrid-product-table-2 .hexagrid-stock-outofstock .hexagrid-stock-dot {
    background: #f43f5e;
}

.hexagrid-product-table-2 .hexagrid-stock-lowstock,
.hexagrid-product-table-2 .hexagrid-stock-onbackorder {
    background: #fffbeb;
    color: #b45309;
}

.hexagrid-product-table-2 .hexagrid-stock-lowstock .hexagrid-stock-dot,
.hexagrid-product-table-2 .hexagrid-stock-onbackorder .hexagrid-stock-dot {
    background: #f59e0b;
}

/* Actions */
.hexagrid-product-table-2 .hexagrid-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hexagrid-product-table-2 .hexagrid-quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2px;
}

.hexagrid-product-table-2 .hexagrid-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.hexagrid-product-table-2 .hexagrid-qty-input {
    width: 32px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    padding: 0;
}

.hexagrid-product-table-2 .hexagrid-qty-btn:disabled,
.hexagrid-product-table-2 .hexagrid-qty-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hexagrid-product-table-2 .hexagrid-quantity-stepper[aria-hidden="true"] {
    opacity: 0.55;
}

.hexagrid-product-table-2 .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    width: 36px;
    height: 36px;
    background: var(--hexagrid-btn-bg) !important;
    border: 1px solid var(--hexagrid-btn-border-color) !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hexagrid-product-table-2 .hexagrid-product-cart-btn a.hexagrid-btn-icon:hover {
    background: var(--hexagrid-btn-hover-bg) !important;
    border-color: var(--hexagrid-btn-hover-border-color) !important;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .hexagrid-product-table-2 .hexagrid-th-category,
    .hexagrid-product-table-2 .hexagrid-td-category {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hexagrid-product-table-2 .hexagrid-table-responsive {
        overflow: hidden;
        border: none;
        border-radius: 12px;
    }

    .hexagrid-product-table-2 .hexagrid-product-table {
        min-width: 0;
    }

    .hexagrid-product-table-2 .hexagrid-product-table thead {
        display: none;
    }

    .hexagrid-product-table-2 .hexagrid-product-table tr {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #f4f6f8;
    }

    .hexagrid-product-table-2 .hexagrid-product-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
    }

    .hexagrid-product-table-2 .hexagrid-product-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #4b5563;
        font-size: 12px;
        text-transform: uppercase;
    }

    .hexagrid-product-table-2 .hexagrid-product-info-wrapper {
        min-width: auto;
    }
}


/* =========================================
   Product Showcase - Table Layout Style 3
   ========================================= */

.hexagrid-product-table-3 .hexagrid-table-card {
    border: 1px solid #e6e9ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.hexagrid-product-table-3 .hexagrid-table-responsive {
    overflow-x: auto;
}

.hexagrid-product-table-3 .hexagrid-product-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: #fff;
    border: none;
}

.hexagrid-product-table-3 .hexagrid-product-table th,
.hexagrid-product-table-3 .hexagrid-product-table td {
    border: none;
    border-bottom: 1px solid #eef0f3;
}

.hexagrid-product-table-3 .hexagrid-product-table th {
    background: #f7f8fa;
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 16px 18px;
    border-bottom: 1px solid #e6e9ed;
    text-align: left;
    white-space: nowrap;
}

.hexagrid-product-table-3 .hexagrid-th-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hexagrid-product-table-3 .hexagrid-sort-indicator {
    display: inline-flex;
    align-items: center;
    color: var(--hexagrid-color-primary);
}

.hexagrid-product-table-3 .hexagrid-product-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-product-row:last-child td {
    border-bottom: none;
}

.hexagrid-product-table-3 .hexagrid-product-row:hover td {
    background: #fafbfc;
}

/* Product info */
.hexagrid-product-table-3 .hexagrid-product-info-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
}

.hexagrid-product-table-3 .hexagrid-product-image {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #eef0f3;
}

.hexagrid-product-table-3 .hexagrid-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hexagrid-product-table-3 .hexagrid-product-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.hexagrid-product-table-3 .hexagrid-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.hexagrid-product-table-3 .hexagrid-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-product-title a:hover {
    color: var(--hexagrid-color-primary);
}

.hexagrid-product-table-3 .hexagrid-product-sku {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* Category pill (single neutral style) */
.hexagrid-product-table-3 .hexagrid-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f1f2f4;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 4px;
}

/* Price */
.hexagrid-product-table-3 .hexagrid-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.hexagrid-product-table-3 .hexagrid-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.hexagrid-product-table-3 .hexagrid-product-price .amount {
    color: #111827;
    font-weight: 700;
}

.hexagrid-product-table-3 .hexagrid-product-price del {
    color: #9ca3af;
    font-weight: 500;
    text-decoration: line-through;
    margin-right: 6px;
}

.hexagrid-product-table-3 .hexagrid-product-price ins {
    text-decoration: none;
}

.hexagrid-product-table-3 .hexagrid-product-price ins .amount {
    color: #111827;
}

.hexagrid-product-table-3 .hexagrid-product-price .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Stock pill */
.hexagrid-product-table-3 .hexagrid-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.hexagrid-product-table-3 .hexagrid-stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: 0 0 7px;
}

.hexagrid-product-table-3 .hexagrid-stock-instock {
    background: #ecfdf5;
    color: #047857;
}

.hexagrid-product-table-3 .hexagrid-stock-instock .hexagrid-stock-dot {
    background: #10b981;
}

.hexagrid-product-table-3 .hexagrid-stock-lowstock,
.hexagrid-product-table-3 .hexagrid-stock-onbackorder {
    background: #fffbeb;
    color: #b45309;
}

.hexagrid-product-table-3 .hexagrid-stock-lowstock .hexagrid-stock-dot,
.hexagrid-product-table-3 .hexagrid-stock-onbackorder .hexagrid-stock-dot {
    background: #f59e0b;
}

.hexagrid-product-table-3 .hexagrid-stock-outofstock {
    background: #fff1f2;
    color: #be123c;
}

.hexagrid-product-table-3 .hexagrid-stock-outofstock .hexagrid-stock-dot {
    background: #f43f5e;
}

/* Actions */
.hexagrid-product-table-3 .hexagrid-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hexagrid-product-table-3 .hexagrid-quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    padding: 2px;
    background: #fff;
}

.hexagrid-product-table-3 .hexagrid-qty-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
    border-radius: 6px;
}

.hexagrid-product-table-3 .hexagrid-qty-btn:hover:not(:disabled) {
    color: var(--hexagrid-color-primary);
    background: #f1f5f7;
}

.hexagrid-product-table-3 .hexagrid-qty-btn:disabled,
.hexagrid-product-table-3 .hexagrid-qty-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hexagrid-product-table-3 .hexagrid-qty-input {
    width: 32px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    padding: 0;
    -moz-appearance: textfield;
}

.hexagrid-product-table-3 .hexagrid-qty-input::-webkit-outer-spin-button,
.hexagrid-product-table-3 .hexagrid-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hexagrid-product-table-3 .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    --hexagrid-btn-bg: var(--hexagrid-color-primary);
    --hexagrid-btn-color: #ffffff;
    --hexagrid-btn-border-color: var(--hexagrid-color-primary);
    --hexagrid-btn-hover-bg: var(--hexagrid-color-primary-hover);
    --hexagrid-btn-hover-color: #ffffff;
    --hexagrid-btn-hover-border-color: var(--hexagrid-color-primary-hover);

    width: 36px;
    height: 36px;
    background: var(--hexagrid-btn-bg) !important;
    border: 1px solid var(--hexagrid-btn-border-color) !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-product-cart-btn a.hexagrid-btn-icon:hover {
    background: var(--hexagrid-btn-hover-bg) !important;
    border-color: var(--hexagrid-btn-hover-border-color) !important;
}

.hexagrid-product-table-3 .hexagrid-product-outofstock .hexagrid-product-cart-btn a.hexagrid-btn-icon {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

/* Two-line sale price layout */
.hexagrid-product-table-3 .hexagrid-table-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hexagrid-product-table-3 .hexagrid-offer-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.hexagrid-product-table-3 .hexagrid-offer-price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.hexagrid-product-table-3 .hexagrid-table-price.has-sale .hexagrid-offer-price {
    color: var(--hexagrid-color-primary);
}

.hexagrid-product-table-3 .hexagrid-regular-line del {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
}

.hexagrid-product-table-3 .hexagrid-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    background: #fee2e2;
    white-space: nowrap;
}

/* Loading state during AJAX pagination */
.hexagrid-product-table-3.hexagrid-loading {
    position: relative;
}

.hexagrid-product-table-3.hexagrid-loading .hexagrid-table-card {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.hexagrid-product-table-3.hexagrid-loading .hexagrid-table-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.hexagrid-product-table-3.hexagrid-loading .hexagrid-table-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    z-index: 7;
    border: 3px solid #e2e5ea;
    border-top-color: var(--hexagrid-color-primary);
    border-radius: 50%;
    animation: hexagrid-spin 0.7s linear infinite;
}

@keyframes hexagrid-spin {
    to {
        transform: rotate(360deg);
    }
}

.hexagrid-product-table-3.hexagrid-loading .hexagrid-table-pagination .page-numbers.current {
    pointer-events: none;
}

.hexagrid-product-table-3 .hexagrid-more-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    color: #6b7280;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-more-btn:hover,
.hexagrid-product-table-3 .hexagrid-more-btn:focus-visible {
    color: var(--hexagrid-color-primary);
    border-color: var(--hexagrid-color-primary);
    background: #f1f5f7;
}

/* Focus visibility */
.hexagrid-product-table-3 .hexagrid-qty-btn:focus-visible,
.hexagrid-product-table-3 .hexagrid-qty-input:focus-visible,
.hexagrid-product-table-3 .hexagrid-product-cart-btn a:focus-visible,
.hexagrid-product-table-3 .hexagrid-more-btn:focus-visible {
    outline: 2px solid var(--hexagrid-color-primary);
    outline-offset: 2px;
}

/* Footer + pagination */
.hexagrid-product-table-3 .hexagrid-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    background: #f7f8fa;
    border-top: 1px solid #e6e9ed;
}

.hexagrid-product-table-3 .hexagrid-table-footer-info {
    font-size: 13px;
    color: #6b7280;
}

.hexagrid-product-table-3 .hexagrid-table-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hexagrid-product-table-3 .hexagrid-table-pagination li {
    margin: 0;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-table-pagination li:hover {
    border-color: var(--hexagrid-color-primary);
}

.hexagrid-product-table-3 .hexagrid-table-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: none;
    background: transparent;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-table-pagination .page-numbers:hover {
    color: var(--hexagrid-color-primary);
}

.hexagrid-product-table-3 .hexagrid-table-pagination li .page-numbers.current {
    background: var(--hexagrid-color-primary);
    color: #fff;
    cursor: default;
}

.hexagrid-product-table-3 .hexagrid-table-pagination li .page-numbers.disabled {
    color: #b6bcc4;
    cursor: not-allowed;
}

.hexagrid-product-table-3 .hexagrid-table-pagination li:has(.page-numbers.disabled) {
    border-color: #eef0f3;
    background: #f7f8fa;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .hexagrid-product-table-3 .hexagrid-th-category,
    .hexagrid-product-table-3 .hexagrid-td-category {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hexagrid-product-table-3 .hexagrid-table-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hexagrid-product-table-3 .hexagrid-table-responsive {
        overflow: hidden;
    }

    .hexagrid-product-table-3 .hexagrid-product-table {
        min-width: 0;
    }

    .hexagrid-product-table-3 .hexagrid-detail-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile accordion: rows collapse to image + title + expand arrow */
    .hexagrid-product-table-3 .hexagrid-product-info-wrapper {
        width: 100%;
    }

    .hexagrid-product-table-3 .hexagrid-product-details {
        flex: 1 1 auto;
        min-width: 0;
    }

    .hexagrid-product-table-3 .hexagrid-row-toggle {
        display: inline-flex !important;
        margin-left: auto;
    }

    .hexagrid-product-table-3 .hexagrid-expand-row {
        cursor: pointer;
    }

    .hexagrid-product-table-3 .hexagrid-th-price,
    .hexagrid-product-table-3 .hexagrid-th-stock,
    .hexagrid-product-table-3 .hexagrid-th-action,
    .hexagrid-product-table-3 .hexagrid-td-price,
    .hexagrid-product-table-3 .hexagrid-td-stock,
    .hexagrid-product-table-3 .hexagrid-td-action {
        display: none;
    }

    .hexagrid-product-table-3 .hexagrid-detail-row.is-open {
        display: table-row !important;
    }
}

/* Pagination/current page loading state */
.hexagrid-product-table-3.hexagrid-loading .hexagrid-table-pagination a {
    pointer-events: none;
    opacity: 0.6;
}
/* Expandable rows (mobile accordion) */
.hexagrid-product-table-3 .hexagrid-row-toggle {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    background: #f7f8fa;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hexagrid-product-table-3 .hexagrid-row-toggle svg {
    transition: transform 0.25s ease;
}

.hexagrid-product-table-3 .hexagrid-row-toggle:hover {
    color: var(--hexagrid-color-primary);
    border-color: var(--hexagrid-color-primary);
    background: #fff;
}

.hexagrid-product-table-3 .hexagrid-expand-row.is-open .hexagrid-row-toggle svg {
    transform: rotate(180deg);
}

.hexagrid-product-table-3 .hexagrid-expand-row.is-open .hexagrid-row-toggle {
    background: var(--hexagrid-color-primary);
    border-color: var(--hexagrid-color-primary);
    color: #fff;
}

.hexagrid-product-table-3 .hexagrid-expand-row.is-open td {
    background: #fafbfc;
}

/* Detail row is hidden by default and only revealed on mobile when opened */
.hexagrid-product-table-3 .hexagrid-detail-row {
    display: none;
}

.hexagrid-product-table-3 .hexagrid-detail-row td {
    padding: 0;
}

.hexagrid-product-table-3 .hexagrid-detail-panel {
    padding: 18px 20px 20px;
    background: #fafbfc;
    border-top: 1px solid #e6e9ed;
}

.hexagrid-product-table-3 .hexagrid-detail-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
}

.hexagrid-product-table-3 .hexagrid-detail-desc p {
    margin: 0;
}

.hexagrid-product-table-3 .hexagrid-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.hexagrid-product-table-3 .hexagrid-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hexagrid-product-table-3 .hexagrid-detail-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #9ca3af;
}

.hexagrid-product-table-3 .hexagrid-detail-value {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.hexagrid-product-table-3 .hexagrid-detail-item-actions .hexagrid-detail-value {
    justify-content: flex-start;
}
