/*--------------------------------------------------------------
>>> IFS WooCommerce Styles
----------------------------------------------------------------
# Shop Header
# Product Grid
# Product Card
# Variation Bar
# Cart Drawer
# Single Product
# Cart Page
# Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Shop Header
--------------------------------------------------------------*/
.ifs-shop-content {
    padding: 24px 0 48px;
}

.ifs-shop-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ifs-shop-header-row .ifs-breadcrumbs {
    margin: 0;
    padding: 0;
}

.ifs-shop-result-count {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.ifs-shop-result-count .woocommerce-result-count {
    margin: 0;
}

/* Page Title */
.ifs-page-title {
    margin-bottom: 24px;
}

.ifs-page-title .page-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    text-align: left;
}

/* Shop Toolbar */
.ifs-shop-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.woocommerce .woocommerce-ordering {
    margin: 0;
}

.woocommerce .woocommerce-ordering select {
    padding: 10px 16px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
    min-width: 180px;
}

.ifs-shop-toolbar .woocommerce-result-count {
    display: none;
}

/*--------------------------------------------------------------
# Product Grid
--------------------------------------------------------------*/
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    /* Default, dynamic CSS overrides this */
    gap: 24px !important;
    list-style: none !important;
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
    content: none !important;
}

/* Elementor Products Widget - Let Elementor control the layout */
.elementor-widget-woocommerce-products ul.products,
.elementor-widget-wc-products ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: unset !important;
}

.elementor-widget-woocommerce-products ul.products li.product,
.elementor-widget-wc-products ul.products li.product {
    width: auto !important;
    flex: unset !important;
}

/* ul.products.columns-2 { grid-template-columns: repeat(2, 1fr) !important; } */

/* ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; } */

ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr);
    /* Default, dynamic CSS overrides this */
}

/*--------------------------------------------------------------
# Product Card
--------------------------------------------------------------*/
ul.products li.product {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
    clear: none !important;
}

ul.products li.product::before,
ul.products li.product::after {
    display: none !important;
}

.ifs-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image Wrapper */
.ifs-product-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.ifs-product-card__image-wrapper>a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ifs-product-card__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
}

.ifs-product-card:hover .ifs-product-card__image-wrapper img {
    transform: scale(1.05);
}

/* Sale Badge */
.ifs-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background-color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.woocommerce span.onsale {
    display: none !important;
}

/* Action Icons */
.ifs-product-card__actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.ifs-product-card:hover .ifs-product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.ifs-product-card__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ifs-product-card__action-btn:hover {
    background-color: #000;
    color: #fff;
}

.ifs-product-card__action-btn svg {
    width: 16px;
    height: 16px;
}

/* Add to Cart Button (Simple Products) */
.ifs-product-card__add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-family: var(--ifs-font-family);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    z-index: 5;
    pointer-events: none;
}

.ifs-product-card:hover .ifs-product-card__add-to-cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ifs-product-card__add-to-cart:hover {
    background-color: #333;
}

.ifs-product-card__add-to-cart.loading {
    pointer-events: none;
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Variation Bar (S | M | L)
--------------------------------------------------------------*/
.ifs-product-card__variations-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.ifs-product-card:hover .ifs-product-card__variations-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ifs-variation-btn {
    padding: 4px 12px;
    font-family: var(--ifs-font-family);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.ifs-variation-btn:hover {
    color: #ccc;
}

.ifs-variation-btn.out-of-stock {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
}

.ifs-variation-btn.loading {
    opacity: 0.6;
}

.ifs-variation-btn.added {
    color: #4ade80;
}

.ifs-variation-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0 2px;
}

.ifs-product-card__quick-toggle {
    display: none;
}

/* Product Content */
.ifs-product-card__content {
    padding: 14px 0 0;
    text-align: left;
}

ul.products li.product .woocommerce-loop-product__title,
.ifs-product-card__content .woocommerce-loop-product__title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
}

ul.products li.product a {
    color: #1a1a1a;
    text-decoration: none;
}

ul.products li.product a:hover {
    color: #666;
}

ul.products li.product .price,
.ifs-product-card__content .price {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

ul.products li.product .price del {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #999 !important;
    margin-right: 8px;
}

ul.products li.product .price ins {
    text-decoration: none !important;
}

/* Hide default WooCommerce elements */
ul.products li.product .button,
ul.products li.product .add_to_cart_button,
ul.products li.product .added_to_cart,
ul.products li.product .star-rating {
    display: none !important;
}

/*--------------------------------------------------------------
# Cart Drawer
--------------------------------------------------------------*/
.ifs-cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.ifs-cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.ifs-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px !important;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
}

.ifs-cart-drawer.is-open {
    transform: translateX(0);
}

.ifs-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    background-color: #fafafa;
}

.ifs-cart-drawer__header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ifs-cart-drawer__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ifs-cart-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.ifs-cart-drawer__close:hover {
    background-color: #eee;
}

.ifs-cart-drawer__content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ifs-cart-drawer .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}


.ifs-cart-drawer .woocommerce-mini-cart-item a:first-of-type img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.ifs-cart-drawer .woocommerce-mini-cart-item>a:nth-of-type(2) {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
    text-decoration: none;
}

.ifs-cart-drawer .woocommerce-mini-cart-item .quantity {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

.ifs-cart-drawer .woocommerce-mini-cart-item .amount {
    font-weight: 600;
    color: #1a1a1a;
}

.ifs-cart-drawer .woocommerce-mini-cart-item .remove {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 18px;
    color: #999;
    text-decoration: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.ifs-cart-drawer .woocommerce-mini-cart-item .remove:hover {
    background-color: #fee;
    color: #e53935;
}

.ifs-cart-drawer .woocommerce-mini-cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

.ifs-cart-drawer .woocommerce-mini-cart__total strong {
    font-weight: 400;
    font-size: 14px;
    color: #666;
}

.ifs-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.ifs-cart-drawer .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    background-color: #fafafa;
    flex-shrink: 0;
}

.ifs-cart-drawer .woocommerce-mini-cart__buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.ifs-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:first-child {
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #1a1a1a;
}

.ifs-cart-drawer .woocommerce-mini-cart__buttons .wc-forward:first-child:hover {
    color: #fff;
    background-color: #1a1a1a;
}

.ifs-cart-drawer .woocommerce-mini-cart__buttons .checkout {
    color: #fff;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.ifs-cart-drawer .woocommerce-mini-cart__buttons .checkout:hover {
    background-color: #333;
    border-color: #333;
}

.ifs-cart-drawer .woocommerce-mini-cart__empty-message {
    padding: 60px 24px;
    text-align: center;
    font-size: 15px;
    color: #666;
}

/* Modern Empty State */
.ifs-mini-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    height: 100%;
}

.ifs-mini-cart__empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.ifs-mini-cart__empty-icon svg {
    width: 36px;
    height: 36px;
    color: #ccc;
}

.ifs-mini-cart__empty-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.ifs-mini-cart__empty-message {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
}

/* Mini Cart Item Styles */
.ifs-mini-cart__list {
    list-style: none;
    margin: 0;
    padding: 0 24px;
    flex: 1;
    overflow-y: auto;
}

.ifs-mini-cart__item {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 20px 44px 20px 10px !important;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.ifs-mini-cart__item-image {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.ifs-mini-cart__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.ifs-mini-cart__item-info {
    flex: 1;
    min-width: 0;
}

.ifs-mini-cart__item-name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.ifs-mini-cart__item-name a {
    color: #1a1a1a;
    text-decoration: none;
}

.ifs-mini-cart__item-qty {
    font-size: 13px;
    color: #666;
}

.ifs-mini-cart__item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.ifs-mini-cart__item-remove:hover {
    color: #e53935;
}

/* Mini Cart Footer */
.ifs-mini-cart__footer {
    padding: 20px 24px;
    background-color: #fafafa;
}

.ifs-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.ifs-mini-cart__total strong {
    font-size: 18px;
    font-weight: 700;
}

.ifs-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ifs-btn--full {
    width: 100%;
}

/*--------------------------------------------------------------
# Single Product
--------------------------------------------------------------*/
.ifs-single-product {
    padding: 24px 0 48px;
}

.woocommerce div.product {
    display: block;
}

.woocommerce div.product .woocommerce-product-gallery {
    position: relative;
    width: 100%;
    margin: 0;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #1a1a1a;
}

.woocommerce div.product .summary {
    display: flex;
    flex-direction: column;
}

.woocommerce div.product .product_title {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 600;
}

.woocommerce div.product .price {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.woocommerce div.product .price del {
    font-size: 18px;
    font-weight: 400;
    color: #999;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 24px;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.woocommerce .quantity {
    display: flex;
    align-items: center;
}

.woocommerce .quantity .qty {
    width: 70px;
    height: 50px;
    padding: 0;
    text-align: center;
    font-family: var(--ifs-font-family);
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 0;
}

.woocommerce div.product form.cart .button {
    flex: 1;
    min-width: 200px;
    height: 50px;
    padding: 0 32px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #333;
}

.woocommerce div.product .product_meta {
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.woocommerce div.product .product_meta>span {
    display: block;
    margin-bottom: 6px;
}

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 48px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    grid-column: 1 / -1;
    margin-top: 64px;
}

.woocommerce div.product .related.products>h2,
.woocommerce div.product .upsells.products>h2 {
    margin-bottom: 24px;
    font-size: 22px;
}

/*--------------------------------------------------------------
# Cart Page
--------------------------------------------------------------*/
.woocommerce-cart .woocommerce {
    padding: 24px 0 48px;
}

.woocommerce table.shop_table {
    border: 1px solid #eee;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce table.shop_table th {
    padding: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
}

.woocommerce table.shop_table td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.woocommerce table.shop_table td.product-name a {
    font-weight: 500;
}

.woocommerce table.shop_table td.product-remove a {
    font-size: 18px;
    color: #999;
}

.woocommerce table.shop_table td.product-remove a:hover {
    color: #e53935;
}

.woocommerce .cart_totals {
    max-width: 400px;
    margin-left: auto;
}

.woocommerce .cart_totals h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    background-color: #333;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.woocommerce nav.woocommerce-pagination {
    margin-top: 48px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
    padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #eee;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #1a1a1a;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    color: #fff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

/*--------------------------------------------------------------
# Messages
--------------------------------------------------------------*/
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px;
    margin-bottom: 24px;
    border-left: 4px solid;
    list-style: none;
    background-color: #fafafa;
}

.woocommerce-message {
    border-color: #28a745;
}

.woocommerce-error {
    border-color: #e53935;
}

.woocommerce-info {
    border-color: #1a1a1a;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    /* Grid columns controlled by theme settings - see dynamic CSS */
}

@media (max-width: 768px) {
    .ifs-shop-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Grid columns controlled by theme settings - see dynamic CSS */
    ul.products {
        gap: 16px;
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ifs-cart-drawer {
        width: 100%;
    }

    .ifs-product-card__actions {
        opacity: 1;
        transform: translateX(0);
    }

    .ifs-product-card__quick-toggle {
        display: flex;
    }

    .ifs-product-card__quick-toggle.loading {
        opacity: 0.65;
        pointer-events: none;
    }

    .ifs-product-card:hover .ifs-product-card__image-wrapper img {
        transform: none;
    }

    .ifs-product-card:hover .ifs-product-card__add-to-cart,
    .ifs-product-card:hover .ifs-product-card__variations-bar {
        opacity: 0;
        transform: translateY(100%);
        pointer-events: none;
    }

    .ifs-product-card__variations-bar.is-open {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    .ifs-page-title .page-title {
        font-size: 24px;
    }


}

@media (max-width: 480px) {
    /* Grid columns controlled by theme settings */

    .ifs-variation-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/*--------------------------------------------------------------
# Shop Filter Bar & Sidebar
--------------------------------------------------------------*/
.ifs-filter-bar-wrapper {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.ifs-filter-bar-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ifs-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 40px;
}

.ifs-filter-bar__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    font-family: var(--ifs-font-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ifs-filter-bar__toggle:hover {
    opacity: 0.7;
}

.ifs-filter-bar__toggle svg {
    width: 16px;
    height: 16px;
}

.ifs-filter-bar__toggle-arrow {
    transition: transform 0.2s;
}

.ifs-filter-bar__toggle.is-active .ifs-filter-bar__toggle-arrow {
    transform: rotate(180deg);
}

.ifs-filter-bar__sort {
    position: relative;
}

.ifs-filter-bar__sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    font-family: var(--ifs-font-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    cursor: pointer;
}

.ifs-filter-bar__sort-btn:hover {
    opacity: 0.7;
}

.ifs-filter-bar__sort-btn svg {
    transition: transform 0.2s;
}

.ifs-filter-bar__sort-btn.is-active svg {
    transform: rotate(180deg);
}

.ifs-sort-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.ifs-sort-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ifs-sort-dropdown__item {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.ifs-sort-dropdown__item:hover {
    background: #f8f8f8;
    color: #1a1a1a;
}

.ifs-sort-dropdown__item.is-active {
    color: #1a1a1a;
    font-weight: 500;
}

.ifs-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

.ifs-filter-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.ifs-filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.ifs-filter-sidebar.is-open {
    transform: translateX(0);
}

.ifs-filter-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.ifs-filter-sidebar__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ifs-filter-sidebar__close {
    padding: 0;
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
}

.ifs-filter-sidebar__content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.ifs-filter-group {
    border-bottom: 1px solid #eee;
}

/* Accordion Toggle Button */
.ifs-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    background: none;
    border: none;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.ifs-accordion-toggle:hover {
    background: #f9f9f9;
}

.ifs-accordion-toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ifs-accordion-toggle.is-open svg {
    transform: rotate(180deg);
}

/* Accordion Content */
.ifs-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.ifs-accordion-toggle.is-open+.ifs-accordion-content,
.ifs-accordion-content[style*="display:block"],
.ifs-accordion-content[style*="display: block"] {
    max-height: 350px;
    overflow-y: auto;
}

.ifs-filter-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    background: none;
    border: none;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
}

.ifs-filter-group__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ifs-filter-group__content.is-open {
    max-height: 350px;
    overflow-y: auto;
}

.ifs-filter-list {
    list-style: none;
    margin: 0;
    padding: 0 24px 16px;
}

.ifs-filter-list li {
    margin-bottom: 10px;
}

.ifs-filter-show-more {
    display: none;
}

.ifs-filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ifs-filter-list label:hover {
    color: #000;
}

.ifs-filter-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.ifs-filter-list input[type="checkbox"]:checked {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.ifs-filter-list input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ifs-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ifs-filter-checkbox input {
    display: none;
}

.ifs-filter-checkbox__box {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    position: relative;
}

.ifs-filter-checkbox input:checked+.ifs-filter-checkbox__box {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.ifs-filter-checkbox__label {
    font-size: 13px;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .ifs-accordion-toggle.is-open+.ifs-accordion-content,
    .ifs-accordion-content[style*="display:block"],
    .ifs-accordion-content[style*="display: block"],
    .ifs-filter-group__content.is-open {
        max-height: none !important;
        overflow: visible !important;
    }

    .ifs-filter-list--limited:not(.is-expanded) .ifs-filter-list__item--extra {
        display: none;
    }

    .ifs-filter-show-more {
        display: inline-flex;
        align-items: center;
        margin: -4px 24px 16px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #111;
        font-family: var(--ifs-font-family);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

/* Filter Actions */
.ifs-filter-actions {
    padding: 16px 24px;
    border-top: 1px solid #eee;
}

.ifs-filter-actions .button {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Inputs */
.ifs-price-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 24px 16px;
}

.ifs-price-inputs input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.ifs-price-inputs span {
    display: none;
}

.ifs-filter-sidebar__content .widget {
    border-bottom: 1px solid #eee;
    padding: 0;
    margin: 0;
}

.ifs-filter-sidebar__content .widget-title {
    padding: 16px 24px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.ifs-filter-sidebar__content .widget ul {
    list-style: none;
    margin: 0;
    padding: 0 24px 16px;
}

.ifs-filter-sidebar__content .widget ul li {
    margin-bottom: 8px;
}

.ifs-filter-sidebar__content .widget ul li a {
    font-size: 13px;
    color: #1a1a1a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ifs-filter-bar {
        padding: 12px 16px;
    }

    .ifs-filter-sidebar {
        width: 100%;
        max-width: 320px;
    }
}

/* Desktop Inline Filter Layout - 25%/75% Grid */
@media (min-width: 769px) {
    .ifs-shop-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        transition: all 0.3s ease;
    }

    .ifs-shop-layout.has-filter {
        grid-template-columns: 25% 75%;
        gap: 30px;
    }

    .ifs-filter-sidebar {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        max-height: none;
        transform: none;
        background: transparent;
        z-index: 1;
        overflow: hidden;
        display: none;
        flex-direction: column;
        border-right: 1px solid #eee;
        padding-right: 20px;
    }

    .ifs-shop-layout.has-filter .ifs-filter-sidebar {
        display: flex;
        overflow: visible;
    }

    .ifs-filter-sidebar__header {
        display: none;
    }

    .ifs-filter-sidebar__content {
        padding: 0;
        overflow: visible;
    }

    .ifs-shop-products {
        min-width: 0;
    }

    .ifs-filter-overlay {
        display: none !important;
    }

    /* Toggle button arrow rotation */
    .ifs-filter-bar__toggle.is-active .ifs-filter-bar__toggle-arrow {
        transform: rotate(180deg);
    }
}

/* Mobile Filter (Overlay) */
@media (max-width: 768px) {
    .ifs-shop-layout {
        display: block;
    }

    .ifs-filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        border-right: none;
        padding-right: 0;
    }

    .ifs-filter-sidebar.is-open {
        transform: translateX(0);
    }

    .ifs-filter-sidebar__header {
        display: flex;
    }

    .ifs-filter-overlay {
        display: block;
    }
}

/* Sticky Filter Sidebar on Desktop */
@media (min-width: 769px) {
    .ifs-shop-layout.has-filter .ifs-filter-sidebar {
        position: sticky;
        top: 70px;
        align-self: start;
        max-height: calc(100vh - 100px);
        overflow-x: hidden !important;
        overflow: scroll;
    }
}

/* Smooth Transitions for Filter Toggle */
@media (min-width: 769px) {
    .ifs-filter-sidebar {
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateX(-20px);
    }

    .ifs-shop-layout.has-filter .ifs-filter-sidebar {
        opacity: 1;
        transform: translateX(0);
    }

    .ifs-shop-products {
        transition: all 0.3s ease;
    }

    .ifs-shop-products ul.products {
        transition: all 0.3s ease;
    }
}

/* Override: Flexbox Layout with Smooth Width Transitions */
@media (min-width: 769px) {
    .ifs-shop-layout {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 0;
    }

    .ifs-shop-layout.has-filter {
        gap: 30px;
    }

    .ifs-filter-sidebar {
        width: 0;
        min-width: 0;
        opacity: 0;
        flex-shrink: 0;
        transition: width 0.4s ease, min-width 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
        padding-right: 0;
        border-right: none;
        overflow: hidden;
    }

    .ifs-shop-layout.has-filter .ifs-filter-sidebar {
        width: 22%;
        min-width: 220px;
        opacity: 1;
        padding-right: 20px;
        border-right: 1px solid #eee;
        display: block;
        overflow: visible;
    }

    .ifs-shop-products {
        flex: 1;
        min-width: 0;
        transition: all 0.4s ease;
    }
}

/* Fix: Keep sidebar in DOM for animation */
@media (min-width: 769px) {
    .ifs-filter-sidebar {
        display: block !important;
        visibility: hidden;
    }

    .ifs-shop-layout.has-filter .ifs-filter-sidebar {
        visibility: visible;
    }
}

/* Wishlist Button Icons in Product Cards */
.ifs-product-card__action-btn .ifs-wishlist-icon--filled {
    display: none;
}

.ifs-product-card__action-btn.is-active .ifs-wishlist-icon--empty {
    display: none;
}

.ifs-product-card__action-btn.is-active .ifs-wishlist-icon--filled {
    display: block;
    color: #e53935;
}

.ifs-product-card__action-btn.is-active {
    background-color: #fff;
}

.ifs-product-card__action-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/*--------------------------------------------------------------
# Product Gallery Lightbox (GLightbox)
--------------------------------------------------------------*/
.ifs-product-gallery__lightbox {
    display: block;
    position: relative;
    cursor: pointer;
}

.ifs-product-gallery__zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.ifs-product-gallery__lightbox:hover .ifs-product-gallery__zoom {
    opacity: 1;
    transform: scale(1);
}

.ifs-product-gallery__zoom svg {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
}

.ifs-product-gallery__hidden-link {
    display: none !important;
}

/* Product Category & Tags in accordion */
.ifs-product-category,
.ifs-product-tags {
    margin: 12px 0 0;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.ifs-product-category a,
.ifs-product-tags a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.ifs-product-category a:hover,
.ifs-product-tags a:hover {
    color: #666;
}

/* GLightbox custom styling */
.glightbox-container .gslide-image img {
    max-height: 90vh;
}

.glightbox-container .gslide-title {
    font-family: var(--ifs-font-family, 'DM Sans', sans-serif);
    font-size: 16px;
    font-weight: 500;
}

/*--------------------------------------------------------------
# Adidas Style Product Page
--------------------------------------------------------------*/
.ifs-product-adidas {
    padding: 0;
}

.ifs-product-main--adidas {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

/* Gallery - Vertical Stacked Images */
.ifs-product-gallery--adidas {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ifs-gallery-images {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ifs-gallery-image {
    position: relative;
    width: 100%;
}

.ifs-gallery-image.is-hidden {
    display: none;
}

.ifs-gallery-image a {
    display: block;
    cursor: pointer;
}

.ifs-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #f5f5f5;
}

.ifs-gallery-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    margin-top: 4px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ifs-gallery-show-more:hover {
    background-color: #1a1a1a;
    color: #fff;
}

/* Product Info - Right Side */
.ifs-product-info--adidas {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 0;
}

.ifs-product-category-link {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ifs-product-category-link:hover {
    color: #1a1a1a;
}

.ifs-product-title {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.ifs-product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.ifs-product-price del {
    font-size: 16px;
    font-weight: 400;
    color: #999;
}

.ifs-product-price ins {
    text-decoration: none;
}

.ifs-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: #e53935;
    border-radius: 2px;
}

.ifs-product-short-desc {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* Size Selector */
.ifs-size-selector {
    margin-bottom: 24px;
}

.ifs-size-group {
    margin-bottom: 16px;
}

.ifs-size-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.ifs-size-label {
    font-weight: 600;
    color: #1a1a1a;
}

.ifs-size-selected {
    color: #666;
}

.ifs-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ifs-size-btn {
    min-width: 48px;
    padding: 12px 16px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ifs-size-btn:hover {
    border-color: #1a1a1a;
}

.ifs-size-btn.is-active {
    color: #fff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.ifs-size-btn.out-of-stock {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Add to Cart Section */
.ifs-add-to-cart-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.ifs-add-to-cart-btn--adidas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ifs-add-to-cart-btn--adidas:hover {
    background-color: #333;
}

.ifs-add-to-cart-btn--adidas.loading {
    opacity: 0.7;
    pointer-events: none;
}

.ifs-add-to-cart-btn--adidas svg {
    flex-shrink: 0;
}

/* Accordions - Adidas Style */
.ifs-product-accordions--adidas {
    border-top: 1px solid #eee;
}

.ifs-product-accordions--adidas .ifs-accordion {
    border-bottom: 1px solid #eee;
}

.ifs-product-accordions--adidas .ifs-accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ifs-product-accordions--adidas .ifs-accordion__icon {
    transition: transform 0.3s ease;
}

.ifs-product-accordions--adidas .ifs-accordion__header[aria-expanded="true"] .ifs-accordion__icon {
    transform: rotate(180deg);
}

.ifs-product-accordions--adidas .ifs-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ifs-product-accordions--adidas .ifs-accordion__content.is-open {
    max-height: 1000px;
}

.ifs-product-accordions--adidas .ifs-accordion__body {
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.ifs-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ifs-details-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ifs-details-list li:last-child {
    border-bottom: none;
}

/* Responsive - Mobile */
@media (max-width: 992px) {
    .ifs-product-main--adidas {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 16px;
    }

    .ifs-product-info--adidas {
        position: static;
    }

    .ifs-product-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .ifs-product-main--adidas {
        padding: 10px;
    }

    .ifs-gallery-images {
        gap: 2px;
    }

    .ifs-size-btn {
        min-width: 44px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .ifs-add-to-cart-btn--adidas {
        padding: 16px;
    }
}

/*--------------------------------------------------------------
# Accordion Styles (Product Page)
--------------------------------------------------------------*/
.ifs-product-info .ifs-product-accordions {
    border-top: none;
    margin-bottom: 0;
}

.ifs-accordion {
    border-bottom: 1px solid #eee;
}

.ifs-accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ifs-accordion__header:hover {
    color: #666;
}

.ifs-accordion__icon {
    transition: transform 0.3s;
}

.ifs-accordion__header[aria-expanded="true"] .ifs-accordion__icon {
    transform: rotate(180deg);
}

.ifs-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.ifs-accordion__content.is-open {
    max-height: 2000px;
}

.ifs-accordion__body {
    padding: 0 0 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #444;
}

.ifs-accordion__body p {
    margin: 0 0 10px;
}

.ifs-accordion__body p:last-child {
    margin-bottom: 0;
}

.ifs-accordion__body ul {
    margin: 0;
    padding-left: 18px;
}

.ifs-accordion__body li {
    margin-bottom: 5px;
}

.ifs-accordion__body table {
    width: 100%;
    border-collapse: collapse;
}

.ifs-accordion__body table th,
.ifs-accordion__body table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.ifs-accordion__body table th {
    text-align: left;
    font-weight: 600;
    width: 40%;
}

/* No Products Found */
.ifs-no-products-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    grid-column: 1 / -1;
    /* Span all grid columns */
    width: 100%;
}

.ifs-no-products-found__icon {
    color: #ccc;
    margin-bottom: 20px;
}

.ifs-no-products-found__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #333;
}

.ifs-no-products-found__message {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
    max-width: 400px;
}

.ifs-no-products-found__btn {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ifs-no-products-found__btn:hover {
    background: #333;
    color: #fff;
}
