/*--------------------------------------------------------------
>>> IFS WooCommerce Pages Styles
----------------------------------------------------------------
# Shop Layout with Sidebar
# Infinite Scroll
# Modern Cart Page
# My Account Page
# Checkout Page
# Thank You Page
# 404 Page
# Buttons
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.ifs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ifs-btn--primary {
    color: #fff;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.ifs-btn--primary:hover {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.ifs-btn--outline {
    color: #1a1a1a;
    background-color: transparent;
    border: 1px solid #1a1a1a;
}

.ifs-btn--outline:hover {
    color: #fff;
    background-color: #1a1a1a;
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.ifs-page-header {
    padding: 32px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.ifs-page-header .ifs-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

/*--------------------------------------------------------------
# Shop Layout with Sidebar
--------------------------------------------------------------*/
/* Shop layout base styles are in woocommerce.css for filter toggle */

.ifs-shop-layout.has-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.ifs-shop-sidebar {
    padding: 24px;
    background-color: #fafafa;
    border-radius: 8px;
}

.ifs-shop-sidebar .widget {
    margin-bottom: 24px;
}

.ifs-shop-sidebar .widget:last-child {
    margin-bottom: 0;
}

.ifs-shop-sidebar .widget-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ifs-shop-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ifs-shop-sidebar ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.ifs-shop-sidebar ul li a:hover {
    color: #1a1a1a;
}

@media (max-width: 1024px) {
    .ifs-shop-layout.has-sidebar {
        grid-template-columns: 1fr;
    }

    .ifs-shop-sidebar {
        order: -1;
        padding: 16px;
    }
}

/*--------------------------------------------------------------
# Infinite Scroll
--------------------------------------------------------------*/
.ifs-infinite-scroll {
    padding: 32px 0;
    text-align: center;
}

.ifs-infinite-scroll__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: #666;
    font-size: 14px;
}

.ifs-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: ifs-spin 0.8s linear infinite;
}

@keyframes ifs-spin {
    to {
        transform: rotate(360deg);
    }
}

.ifs-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ifs-load-more-btn:hover {
    color: #fff;
    background-color: #1a1a1a;
}

/*--------------------------------------------------------------
# Modern Cart Page - Marc Jacobs Style
--------------------------------------------------------------*/
.ifs-cart-page {
    padding: 40px 0 80px;
}

.ifs-cart-page__title {
    margin: 0 0 32px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
}

.ifs-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

/* Products Section */
.ifs-cart-products {
    min-width: 0;
}

.ifs-cart-products__header {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ifs-cart-col--product {
    text-align: left;
}

.ifs-cart-col--price {
    text-align: right;
}

.ifs-cart-col--total {
    text-align: right;
}

/* Cart Item */
.ifs-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px 100px;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    align-items: start;
}

.ifs-cart-item__image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.ifs-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ifs-cart-item__details {
    min-width: 0;
}

.ifs-cart-item__name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ifs-cart-item__name a {
    color: #1a1a1a;
    text-decoration: none;
}

.ifs-cart-item__name a:hover {
    text-decoration: underline;
}

.ifs-cart-item__meta {
    margin: 0 0 4px;
    font-size: 12px;
    color: #666;
}

.ifs-cart-item__variations dd {
    display: inline;
    margin: 0 16px 0 4px;
}

/* AJAX Quantity Controls */
.ifs-cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
}

.ifs-cart-item__qty-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ifs-cart-qty-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    background-color: #fff;
}

.ifs-cart-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 36px;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    background-color: #fafafa;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.ifs-cart-qty-btn.minus {
    border-right: 1px solid #ddd;
}

.ifs-cart-qty-btn.plus {
    border-left: 1px solid #ddd;
}

.ifs-cart-qty-btn:hover {
    background-color: #1a1a1a;
    color: #fff;
}

.ifs-cart-qty-input {
    width: 50px;
    height: 36px;
    padding: 0;
    text-align: center;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: #fff;
    appearance: textfield;
    -moz-appearance: textfield;
}

.ifs-cart-qty-input::-webkit-outer-spin-button,
.ifs-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ifs-cart-qty-input:focus {
    outline: none;
}

/* Actions */
.ifs-cart-item__actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.ifs-cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-family: var(--ifs-font-family);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #666;
    background-color: transparent;
    border: 1px solid #ddd;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.ifs-cart-item__remove:hover {
    color: #fff;
    background-color: #e53935;
    border-color: #e53935;
}

/* Price and Total */
.ifs-cart-item__price,
.ifs-cart-item__total {
    text-align: right;
    font-size: 14px;
}

.ifs-cart-item__price del {
    display: block;
    color: #999;
    font-size: 12px;
}

.ifs-cart-item__price ins {
    text-decoration: none;
}

.ifs-cart-update {
    padding: 12px 24px;
    font-family: var(--ifs-font-family);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #666;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.ifs-cart-update:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

/* Summary Section */
.ifs-cart-summary {
    position: sticky;
    top: 120px;
}

.ifs-cart-summary__inner {
    padding: 28px;
    background-color: #fafafa;
}

.ifs-cart-summary__title {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Promo Section */
.ifs-promo-section {
    margin-bottom: 24px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.ifs-promo-section__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.ifs-promo-section__header svg {
    color: #6b7280;
}

.ifs-promo-section__coupons {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e5e7eb;
}

.ifs-promo-section__coupons-label {
    margin: 0 0 8px;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ifs-promo-section__coupons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ifs-promo-coupon-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--ifs-font-family);
}

.ifs-promo-coupon-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ifs-promo-coupon-chip.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.ifs-promo-coupon-chip__code {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ifs-promo-coupon-chip__discount {
    font-size: 10px;
    padding: 2px 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.ifs-promo-section__form {
    display: flex;
    gap: 8px;
}

.ifs-promo-section__input {
    flex: 1;
    padding: 12px 14px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s;
}

.ifs-promo-section__input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.ifs-promo-section__input::placeholder {
    color: #9ca3af;
}

.ifs-promo-section__btn {
    padding: 12px 20px;
    font-family: var(--ifs-font-family);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ifs-promo-section__btn:hover {
    background-color: #333;
}

.ifs-promo-section__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Totals */
.ifs-cart-totals__row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.ifs-cart-totals__row--coupon {
    color: #28a745;
}

.ifs-cart-totals__row--total {
    padding-top: 16px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: none;
}

.ifs-cart-totals__row--total span:last-child {
    font-size: 18px;
}

/* Checkout Button */
.ifs-cart-checkout {
    margin-top: 24px;
}

.ifs-cart-checkout__btn {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    background-color: #1a1a1a;
    text-decoration: none;
    transition: background-color 0.2s;
}

.ifs-cart-checkout__btn:hover {
    background-color: #333;
    color: #fff;
}

/* Help */
.ifs-cart-help {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.ifs-cart-help a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .ifs-cart-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ifs-cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .ifs-cart-products__header {
        display: none;
    }

    .ifs-cart-item {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }

    .ifs-cart-item__image {
        width: 80px;
        height: 80px;
    }

    .ifs-cart-item__price,
    .ifs-cart-item__total {
        grid-column: 2;
        text-align: left;
        display: flex;
        gap: 8px;
    }

    .ifs-cart-item__price::before {
        content: 'Fiyat: ';
        font-weight: 400;
        color: #666;
    }

    .ifs-cart-item__total::before {
        content: 'Toplam: ';
        font-weight: 400;
        color: #666;
    }
}

/*--------------------------------------------------------------
# Empty Cart Page
--------------------------------------------------------------*/
.ifs-cart-empty {
    padding: 48px 0;
}

.ifs-cart-empty__hero {
    text-align: center;
    padding: 64px 32px;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    border-radius: 16px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ifs-cart-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ifs-cart-empty__icon svg {
    width: 48px;
    height: 48px;
    color: #ccc;
}

.ifs-cart-empty__title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
}

.ifs-cart-empty__message {
    margin: 0 0 32px;
    font-size: 16px;
    color: #666;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.ifs-cart-empty__products {
    margin-top: 48px;
}

.ifs-cart-empty__products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ifs-cart-empty__products-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.ifs-product-slider-nav {
    display: flex;
    gap: 8px;
}

.ifs-product-slider-prev,
.ifs-product-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.ifs-product-slider-prev:hover,
.ifs-product-slider-next:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Product Carousel using Owl Carousel */
.ifs-product-carousel {
    margin: 0 -12px;
}

.ifs-product-carousel .owl-stage {
    display: flex;
}

.ifs-product-carousel .owl-item {
    display: flex;
}

.ifs-carousel-item {
    width: 100%;
}

/* Remove li default styling in carousel */
.ifs-carousel-item>li,
.ifs-carousel-item .ifs-product-item {
    margin: 0 !important;
    width: 100% !important;
    list-style: none;
}

.ifs-carousel-item .ifs-product-card {
    height: 100%;
}

/* Owl nav buttons */
.ifs-owl-prev,
.ifs-owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.ifs-owl-prev:hover,
.ifs-owl-next:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/*--------------------------------------------------------------
# My Account Page
--------------------------------------------------------------*/
.woocommerce-account .ifs-page-content {
    padding-bottom: 48px;
}

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
}

/* Navigation */
.ifs-account-nav {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 12px;
    height: fit-content;
}

.ifs-account-nav__toggle {
    display: none;
    width: 100%;
    padding: 14px 16px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    gap: 12px;
}

.ifs-account-nav__toggle-icon svg {
    width: 20px;
    height: 20px;
}

.ifs-account-nav__toggle-text {
    flex: 1;
}

.ifs-account-nav__toggle-current {
    font-weight: 600;
    color: #1a1a1a;
}

.ifs-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ifs-account-nav__item {
    margin-bottom: 4px;
}

.ifs-account-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.ifs-account-nav__link:hover {
    color: #1a1a1a;
    background-color: #fff;
}

.ifs-account-nav__item.is-active .ifs-account-nav__link {
    color: #1a1a1a;
    background-color: #fff;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ifs-account-nav__icon {
    display: flex;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.ifs-account-nav__icon svg {
    width: 22px;
    height: 22px;
}

.ifs-account-nav__label {
    flex: 1;
}

.ifs-account-nav__arrow {
    display: flex;
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.ifs-account-nav__arrow svg {
    width: 16px;
    height: 16px;
}

.ifs-account-nav__link:hover .ifs-account-nav__arrow,
.ifs-account-nav__item.is-active .ifs-account-nav__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Account Content */
.woocommerce-MyAccount-content {
    min-height: 400px;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 600;
}

.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-MyAccount-content table th,
.woocommerce-MyAccount-content table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-content table th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #fafafa;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    padding: 24px;
    background-color: #fafafa;
    border-radius: 8px;
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title a {
    font-size: 13px;
    color: #666;
}

.woocommerce-MyAccount-content form .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
}

.woocommerce-MyAccount-content form input,
.woocommerce-MyAccount-content form select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: border-color 0.2s;
}

.woocommerce-MyAccount-content form input:focus,
.woocommerce-MyAccount-content form select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.woocommerce-MyAccount-content form button {
    padding: 14px 32px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.woocommerce-MyAccount-content form button:hover {
    background-color: #333;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ifs-account-nav {
        padding: 8px;
        background-color: transparent;
    }

    .ifs-account-nav__toggle {
        display: flex;
    }

    .ifs-account-nav__list {
        display: none;
        margin-top: 8px;
        padding: 8px;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .ifs-account-nav.is-open .ifs-account-nav__list {
        display: block;
    }

    .ifs-account-nav__arrow {
        display: none;
    }

    .woocommerce-MyAccount-content table {
        font-size: 13px;
    }

    .woocommerce-MyAccount-content table th,
    .woocommerce-MyAccount-content table td {
        padding: 12px 8px;
    }
}

/*--------------------------------------------------------------
# Checkout Page - Shipping-First Design
--------------------------------------------------------------*/
.ifs-checkout {
    padding: 40px 0 80px;
}

.ifs-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

/* Checkout Section */
.ifs-checkout-section {
    margin-bottom: 32px;
    padding: 28px;
    background-color: #fafafa;
    border-radius: 8px;
}

.ifs-checkout-section--billing {
    background-color: #f5f5f5;
}

.ifs-checkout-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.ifs-checkout-section__header .ifs-checkout-section__title {
    margin-bottom: 0;
}

.ifs-checkout-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 600;
}

.ifs-checkout-section__title svg {
    color: #666;
}

/* Edit Address Button */
.ifs-checkout-edit-btn {
    padding: 8px 16px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.ifs-checkout-edit-btn:hover {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Address Preview (Collapsed) */
.ifs-checkout-address-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.ifs-checkout-address-preview__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f5f5f5;
    border-radius: 50%;
    flex-shrink: 0;
}

.ifs-checkout-address-preview__icon svg {
    color: #666;
}

.ifs-checkout-address-preview__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ifs-checkout-address-preview__text strong {
    font-size: 15px;
    font-weight: 600;
}

.ifs-checkout-address-preview__text span {
    font-size: 13px;
    color: #666;
}

.ifs-checkout-section__title svg {
    color: #666;
}

/* Billing Toggle Checkbox */
.ifs-checkout-toggle {
    margin-bottom: 24px;
    padding: 16px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.ifs-checkout-toggle__label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.ifs-checkout-toggle__input {
    display: none;
}

.ifs-checkout-toggle__box {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ifs-checkout-toggle__box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}

.ifs-checkout-toggle__input:checked+.ifs-checkout-toggle__box {
    background-color: #1a1a1a;
}

.ifs-checkout-toggle__input:checked+.ifs-checkout-toggle__box::after {
    opacity: 1;
}

.ifs-checkout-toggle__text {
    flex: 1;
}

/* Form Fields - Modern Styling */
.ifs-checkout-fields .form-row {
    margin-bottom: 20px;
    position: relative;
}

.ifs-checkout-fields .form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.3px;
}

.ifs-checkout-fields .form-row label .required {
    color: #e53935;
    margin-left: 2px;
}

.ifs-checkout-fields .form-row input[type="text"],
.ifs-checkout-fields .form-row input[type="email"],
.ifs-checkout-fields .form-row input[type="tel"],
.ifs-checkout-fields .form-row input[type="number"],
.ifs-checkout-fields .form-row input[type="password"],
.ifs-checkout-fields .form-row select,
.ifs-checkout-fields .form-row textarea {
    width: 100%;
    padding: 16px 18px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    color: #1a1a1a;
    background-color: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ifs-checkout-fields .form-row input::placeholder,
.ifs-checkout-fields .form-row textarea::placeholder {
    color: #999;
}

.ifs-checkout-fields .form-row input:hover,
.ifs-checkout-fields .form-row select:hover,
.ifs-checkout-fields .form-row textarea:hover {
    border-color: #bbb;
}

.ifs-checkout-fields .form-row input:focus,
.ifs-checkout-fields .form-row select:focus,
.ifs-checkout-fields .form-row textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

/* Select dropdown styling */
.ifs-checkout-fields .form-row select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Select2 styling */
.ifs-checkout-fields .select2-container--default .select2-selection--single {
    height: auto;
    padding: 16px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
}

.ifs-checkout-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1;
    padding: 0;
    color: #1a1a1a;
}

.ifs-checkout-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 12px;
}

/* Two column layout */
.ifs-checkout-fields .form-row-first,
.ifs-checkout-fields .form-row-last {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.ifs-checkout-fields .form-row-first {
    float: left;
}

.ifs-checkout-fields .form-row-last {
    float: right;
}

.ifs-checkout-fields .form-row-wide {
    clear: both;
}

/* Order Notes Textarea */
.ifs-checkout-notes {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.ifs-checkout-notes label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.ifs-checkout-textarea {
    width: 100%;
    padding: 16px 18px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    color: #1a1a1a;
    background-color: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    resize: vertical;
    min-height: 100px;
    transition: all 0.25s ease;
}

.ifs-checkout-textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

/* Validation states */
.ifs-checkout-fields .form-row.woocommerce-validated input,
.ifs-checkout-fields .form-row.woocommerce-validated select {
    border-color: #28a745;
}

.ifs-checkout-fields .form-row.woocommerce-invalid input,
.ifs-checkout-fields .form-row.woocommerce-invalid select {
    border-color: #e53935;
}

/* Cart Sidebar */
.ifs-checkout-sidebar {
    position: sticky;
    top: 100px;
}

.ifs-checkout-cart {
    background-color: #fff;
}

.ifs-checkout-cart__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.ifs-checkout-cart__title {
    font-size: 18px;
    font-weight: 600;
}

.ifs-checkout-cart__count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background-color: #1a1a1a;
    border-radius: 50%;
}

/* Shipping Options */

.ifs-checkout-shipping__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
}

.ifs-checkout-shipping__options ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ifs-checkout-shipping__options li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.ifs-checkout-shipping__options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}

/* Checkout Items */
.ifs-checkout-items {
    margin-bottom: 24px;
}

.ifs-checkout-item {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.ifs-checkout-item__image {
    width: 64px;
    height: 64px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.ifs-checkout-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ifs-checkout-item__info {
    min-width: 0;
}

.ifs-checkout-item__name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 500;
}

.ifs-checkout-item__meta {
    font-size: 12px;
    color: #666;
}

.ifs-checkout-item__qty {
    font-size: 13px;
    color: #666;
}

.ifs-checkout-item__price {
    font-size: 14px;
    font-weight: 600;
}

.ifs-checkout-item__remove {
    font-size: 18px;
    color: #999;
    text-decoration: none;
    line-height: 1;
}

.ifs-checkout-item__remove:hover {
    color: #e53935;
}

/* Checkout Coupon */
.ifs-checkout-coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.ifs-checkout-coupon__input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
}

.ifs-checkout-coupon__btn {
    padding: 12px 20px;
    font-family: var(--ifs-font-family);
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ifs-checkout-coupon__btn:hover {
    background-color: #d0d0d0;
}


.ifs-checkout-review .shop_table {
    width: 100%;
    border-collapse: collapse;
}

.ifs-checkout-review tfoot tr {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.ifs-checkout-review tfoot th {
    font-weight: 400;
    color: #666;
}

.ifs-checkout-review tfoot td {
    font-weight: 600;
}

.ifs-checkout-review .order-total {
    border-bottom: none;
    padding-top: 16px;
}

.ifs-checkout-review .order-total th,
.ifs-checkout-review .order-total td {
    font-size: 16px;
    font-weight: 700;
}

/* Payment Methods */
.woocommerce-checkout-payment {
    margin-top: 24px;
}

.wc_payment_methods {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.wc_payment_method {
    padding: 14px;
    border: 1px solid #eee;
    margin-bottom: 8px;
    background-color: #fff;
    transition: border-color 0.2s;
}

.wc_payment_method:has(input:checked) {
    border-color: #1a1a1a;
}

.wc_payment_method label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc_payment_method .payment_box {
    margin-top: 12px;
    padding: 12px;
    background-color: #f5f5f5;
    font-size: 13px;
    color: #666;
}

#place_order {
    display: block;
    width: 100%;
    padding: 18px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

#place_order:hover {
    background-color: #333;
}

/* Hide default order review heading */
#order_review_heading {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .ifs-checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ifs-checkout-sidebar {
        position: static;
        order: 1;
    }
}

@media (max-width: 768px) {

    .ifs-checkout-fields .form-row-first,
    .ifs-checkout-fields .form-row-last {
        width: 100%;
        float: none;
    }

    .ifs-checkout-item {
        grid-template-columns: 50px 1fr auto;
        gap: 10px;
    }

    .ifs-checkout-item__image {
        width: 50px;
        height: 50px;
    }

    .ifs-checkout-item__remove {
        display: none;
    }
}

/*--------------------------------------------------------------
# Thank You Page
--------------------------------------------------------------*/
.ifs-thankyou-page {
    padding: 48px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Hide duplicate WooCommerce elements */
.woocommerce-order-details,
.woocommerce-customer-details {
    display: none !important;
}

/* Hero Section */
.ifs-thankyou-hero {
    text-align: center;
    padding: 48px 32px;
    margin-bottom: 48px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 16px;
}

.ifs-thankyou-hero--failed {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.ifs-thankyou-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
}

.ifs-thankyou-icon svg {
    width: 40px;
    height: 40px;
}

.ifs-thankyou-icon--success {
    background-color: #d4edda;
    color: #28a745;
}

.ifs-thankyou-icon--failed {
    background-color: #f8d7da;
    color: #dc3545;
}

.ifs-thankyou-title {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 700;
}

.ifs-thankyou-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px;
}

/* Quick Info */
.ifs-thankyou-quick-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ifs-thankyou-quick-item {
    text-align: center;
}

.ifs-thankyou-quick-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ifs-thankyou-quick-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.ifs-thankyou-quick-value--total {
    font-size: 18px;
    font-weight: 700;
}

/* Details Grid */
.ifs-thankyou-details {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-bottom: 48px;
}

.ifs-thankyou-section {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 24px;
}

.ifs-thankyou-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 600;
}

/* Products */
.ifs-thankyou-products {
    margin-bottom: 20px;
}

.ifs-thankyou-product {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.ifs-thankyou-product:last-child {
    border-bottom: none;
}

.ifs-thankyou-product-image {
    position: relative;
    flex-shrink: 0;
}

.ifs-thankyou-product-image img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.ifs-thankyou-product-qty {
    position: absolute;
    bottom: -4px;
    right: -4px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 10px;
}

.ifs-thankyou-product-info {
    flex: 1;
    min-width: 0;
}

.ifs-thankyou-product-info h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ifs-thankyou-product-meta {
    margin: 0;
    font-size: 12px;
    color: #888;
}

.ifs-thankyou-product-price {
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Totals */
.ifs-thankyou-totals {
    padding-top: 16px;
    border-top: 1px solid #ddd;
}

.ifs-thankyou-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.ifs-thankyou-totals-row:last-child {
    font-size: 16px;
    font-weight: 700;
    padding-top: 12px;
}

/* Addresses */
.ifs-thankyou-addresses {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ifs-thankyou-address-card {
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
}

.ifs-thankyou-address-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.ifs-thankyou-address-card address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.ifs-thankyou-address-extra {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 13px;
    color: #666;
}

/* Actions */
.ifs-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .ifs-thankyou-details {
        grid-template-columns: 1fr;
    }

    .ifs-thankyou-quick-info {
        gap: 20px;
    }

    .ifs-thankyou-hero {
        padding: 32px 20px;
    }

    .ifs-thankyou-title {
        font-size: 24px;
    }
}

/*--------------------------------------------------------------
# 404 Page
--------------------------------------------------------------*/
.ifs-404-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 48px 0;
}

.ifs-404-content {
    max-width: 500px;
    text-align: center;
}

.ifs-404-code {
    display: block;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: #eee;
    margin-bottom: 24px;
}

.ifs-404-title {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 700;
}

.ifs-404-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px;
}

.ifs-404-search {
    margin-bottom: 32px;
}

.ifs-404-search form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.ifs-404-search__input {
    flex: 1;
    padding: 14px 20px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    border: 2px solid #eee;
    border-right: none;
    border-radius: 0;
}

.ifs-404-search__input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.ifs-404-search__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background-color: #1a1a1a;
    border: 2px solid #1a1a1a;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ifs-404-search__btn:hover {
    background-color: #333;
}

.ifs-404-search__btn svg {
    width: 20px;
    height: 20px;
}

.ifs-404-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.ifs-404-links {
    color: #666;
    font-size: 14px;
}

.ifs-404-links p {
    margin: 0 0 12px;
}

.ifs-404-links ul {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ifs-404-links a {
    color: #1a1a1a;
    text-decoration: none;
}

.ifs-404-links a:hover {
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Single Product Page
--------------------------------------------------------------*/

/* Main Layout - Gallery + Info */
.ifs-product-main {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

/* Sticky Gallery Wrapper */
.ifs-product-gallery-wrapper {
    position: sticky;
    top: 20px;
}

/* Product Gallery - Thumbnails Left + Main Image */
.ifs-product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
}

/* Gallery without thumbnails - single column */
.ifs-product-gallery.no-thumbs {
    grid-template-columns: 1fr;
}

/* Vertical Thumbnails */
.ifs-product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ifs-product-gallery__thumb {
    width: 80px;
    height: 100px;
    padding: 0;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    overflow: hidden;
}

.ifs-product-gallery__thumb:hover,
.ifs-product-gallery__thumb.is-active {
    border-color: #1a1a1a;
}

.ifs-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Image */
.ifs-product-gallery__main {
    background-color: #f8f8f8;
    overflow: hidden;
    touch-action: pan-y;
}

.ifs-product-gallery__lightbox {
    cursor: grab;
    display: block;
    touch-action: pan-y;
    user-select: none;
}

.ifs-product-gallery__lightbox.is-dragging {
    cursor: grabbing;
}

.ifs-product-gallery__main img {
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* Product Info Panel */
.ifs-product-info {
    padding-top: 0;
}

.ifs-product-info__title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.3;
    color: #1a1a1a;
}

.ifs-product-info__sku {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

/* Discount Badge */
.ifs-product-info__discount-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: #e53935;
    margin-bottom: 10px;
}

/* Price */
.ifs-product-info__price {
    font-size: 18px;
    margin-bottom: 20px;
}

.ifs-product-info__price del {
    color: #999;
    font-weight: 400;
    margin-right: 10px;
}

.ifs-product-info__price ins {
    color: #e53935;
    text-decoration: none;
    font-weight: 700;
}

.ifs-product-info__price .woocommerce-Price-amount {
    font-weight: 700;
}

/* Cart Form */
.ifs-product-info__cart {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.ifs-product-info__cart .single_add_to_cart_button,
.ifs-add-to-cart-btn {
    flex: 1;
    padding: 15px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background-color: #1a1a1a !important;
    border: none !important;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ifs-product-info__cart .single_add_to_cart_button:hover,
.ifs-add-to-cart-btn:hover {
    background-color: #333;
}

/* Hide default WooCommerce quantity for simple products */
.ifs-product-info__cart .quantity {
    display: none;
}

/* Product Description (below price) */
.ifs-product-info__description {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.ifs-product-info__description p {
    margin: 0 0 10px;
}

.ifs-product-info__description p:last-child {
    margin-bottom: 0;
}

/* Variation Swatches */
.ifs-variation-swatches {
    margin-bottom: 20px;
}

.ifs-variation-group {
    margin-bottom: 15px;
}

.ifs-variation-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.ifs-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Single Product Page Variation Buttons (separate from product card) */
.ifs-single-variation-btn {
    min-width: 62px;
    height: 48px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0;
    transition: all 0.2s;
}

.ifs-single-variation-btn:hover {
    border-color: #1a1a1a;
}

.ifs-single-variation-btn.is-active {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.ifs-single-variation-btn[hidden] {
    display: none;
}

.ifs-product-unavailable {
    margin: 18px 0 22px;
    padding: 14px 16px;
    color: #842029;
    background: #f8d7da;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

/* Custom Quantity Controls */
.ifs-quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.ifs-qty-btn {
    width: 40px;
    height: 48px;
    border: none;
    background-color: #f5f5f5;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ifs-qty-btn:hover {
    background-color: #e0e0e0;
}

.ifs-qty-input {
    width: 50px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.ifs-qty-input::-webkit-outer-spin-button,
.ifs-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hidden Cart Form */
.ifs-hidden-cart-form {
    display: none !important;
}


/* Action Links */
.ifs-product-info__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.ifs-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
}

.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%;
}

/* Related Products Carousel */
.ifs-related-products {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.ifs-related-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ifs-related-products__title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.ifs-related-products__nav {
    display: flex;
    gap: 10px;
}

.ifs-carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.ifs-carousel-btn:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Owl Carousel for Related Products */
.ifs-related-owl {
    margin: 0;
    padding: 0;
}

.ifs-related-owl .owl-stage {
    display: flex;
}

.ifs-related-owl .ifs-related-item {
    padding: 0;
    list-style: none;
}

.ifs-related-owl .ifs-product-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ifs-related-owl .ifs-related-item::marker,
.ifs-related-owl .ifs-product-item::marker {
    content: '';
}

/* Product Card in Carousel */
.ifs-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.ifs-product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background-color: #e53935;
    z-index: 1;
}

.ifs-product-card__image {
    background-color: #f8f8f8;
    margin-bottom: 12px;
    overflow: hidden;
}

.ifs-product-card__image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.ifs-product-card:hover .ifs-product-card__image img {
    transform: scale(1.05);
}

.ifs-product-card__title {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
    color: #1a1a1a;
}

.ifs-product-card__price {
    font-size: 13px;
}

.ifs-product-card__price del {
    color: #999;
    margin-right: 8px;
}

.ifs-product-card__price ins {
    color: #e53935;
    text-decoration: none;
    font-weight: 600;
}


/* Responsive Product Page */
@media (max-width: 1024px) {
    .ifs-product-main {
        grid-template-columns: 50% 1fr;
        gap: 30px;
    }

    .ifs-product-gallery {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }

    .ifs-product-gallery__thumb {
        width: 60px;
        height: 75px;
    }
}

@media (max-width: 768px) {
    .ifs-product-gallery-wrapper {
        position: static;
    }

    .ifs-product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ifs-product-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ifs-product-gallery__thumbs {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
    }

    .ifs-product-gallery__main {
        order: 1;
    }

    .ifs-product-gallery__thumb {
        width: 60px;
        height: 75px;
        flex-shrink: 0;
    }

    .ifs-product-info__title {
        font-size: 18px;
    }

    .ifs-product-info__actions {
        gap: 10px;
    }
}

/*--------------------------------------------------------------
# Checkout Order Totals (Table Structure)
--------------------------------------------------------------*/
.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #e5e7eb;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px dashed #f3f4f6;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table th {
    text-align: left;
    font-weight: 500;
}

.woocommerce-checkout-review-order-table td {
    text-align: right;
    font-weight: 600;
}

/* Hide header rows */
.woocommerce-checkout-review-order-table thead {
    display: none;
}

/* Order Totals - Minimalist Design */
.woocommerce-checkout-review-order-table {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    border-collapse: collapse !important;
}

.woocommerce-checkout-review-order-table tr th,
.woocommerce-checkout-review-order-table tr td {
    padding: 18px 0 !important;
    border-bottom: 1px solid #eee !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table thead {
    display: none !important;
}

.woocommerce-checkout-review-order-table tr th {
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
    width: 60% !important;
}

.woocommerce-checkout-review-order-table tr td {
    font-size: 15px !important;
    color: #000 !important;
    font-weight: 600 !important;
    text-align: right !important;
}

/* Coupon Row */
.woocommerce-checkout-review-order-table tr.cart-discount th,
.woocommerce-checkout-review-order-table tr.cart-discount td {
    color: #10b981 !important;
    /* Green */
    border-bottom-style: dashed !important;
}

/* Order Total Row */
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    border-bottom: none !important;
    padding-top: 24px !important;
}

.woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #000 !important;
}


/*--------------------------------------------------------------
# Checkout Payment Methods - Card Selection Style
--------------------------------------------------------------*/
#payment.woocommerce-checkout-payment {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Individual Payment Method Card */
#payment.woocommerce-checkout-payment ul.payment_methods li {
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Hover State */
#payment.woocommerce-checkout-payment ul.payment_methods li:hover {
    border-color: #000 !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods li label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000 !important;
    cursor: pointer !important;
}

/*--------------------------------------------------------------
# Checkout Shipping Methods - Refined Design
--------------------------------------------------------------*/
/* Hide the default WC label output by wc_cart_totals_shipping_html */
.ifs-checkout-shipping__options .ifs-shipping-table th,
.ifs-checkout-shipping__options .woocommerce-shipping-destination,
.ifs-checkout-shipping__options .woocommerce-shipping-totals>th {
    display: none !important;
}

/* Make sure the shipping table takes full width */
.ifs-checkout-shipping__options table.woocommerce-shipping-methods,
.ifs-checkout-shipping__options table.ifs-shipping-table,
.ifs-checkout-shipping__options table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.ifs-checkout-shipping__options td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Custom Header Style */
.ifs-checkout-shipping__header {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

ul#shipping_method {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 12px 0 24px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Indivudal Method - Bordered Row Style */
ul#shipping_method li {
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-indent: 0 !important;
}

ul#shipping_method li:last-child {
    border-bottom: 1px solid #e5e5e5 !important;
}

/* Hover State */
ul#shipping_method li:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}

/* Selected State */
ul#shipping_method li input[type="radio"]:checked+label {
    font-weight: 600 !important;
}

/* Radio Button styled as Checkbox (Square) */
ul#shipping_method li input[type="radio"] {
    appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    margin-right: 12px !important;
    position: relative !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    float: none !important;
}

/* Radio Button styled as Round Radio (Top Left) using Pseudo-element on Label */
/* Hide actual input since we use pseudo element */
/* Radio Button styled as Round Radio (Top Left) using Pseudo-element on Label */
/* Hide actual input since we use pseudo element */
ul#shipping_method li input[type="radio"] {
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* Label Container - Prepare for Pseudo Element */
ul#shipping_method li label {
    display: flex !important;
    align-items: flex-start !important;
    /* Align top */
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    cursor: pointer !important;
    position: relative !important;
    padding-left: 32px !important;
    /* Space for the radio */
}

/* The Visual Radio Button (Round) */
ul#shipping_method li label::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    /* Top aligned */
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 50% !important;
    /* Round */
    background: #fff !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

/* Checked State - Dot Effect */
ul#shipping_method li input[type="radio"]:checked+label::before,
ul#shipping_method li input[type="hidden"]+label::before {
    /* Handle hidden input case */
    background-color: #fff !important;
    border-color: #000 !important;
    border-width: 6px !important;
    /* Dot style */
}

/* If input is hidden (single option), ensure label still shows visual radio */
ul#shipping_method li input[type="hidden"]+label {
    padding-left: 32px !important;
}

/* Price Styling inside Label */
ul#shipping_method li label .amount {
    font-weight: 700 !important;
    color: #000 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    margin-left: 8px !important;
}

/* NOTE: Payment Custom Radios - Round & Top Left using Pseudo-Element */
#payment.woocommerce-checkout-payment ul.payment_methods li input[type="radio"] {
    opacity: 0 !important;
    /* Hide default */
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* Custom Radio Circle - Outer (Round) using Label::before */
#payment.woocommerce-checkout-payment ul.payment_methods li label {
    position: relative !important;
    padding-left: 32px !important;
    /* Space for radio */
    display: flex !important;
    align-items: flex-start !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods li label::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 24px !important;
    /* Align approx with text line height */
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 50% !important;
    /* Round */
    background: #fff !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

/* Custom Radio Inner (Checked Dot) */
#payment.woocommerce-checkout-payment ul.payment_methods li input[type="radio"]:checked+label::before {
    background-color: #fff !important;
    border-color: #000 !important;
    border-width: 6px !important;
    /* Dot style */
}

/* Force Hidden Inputs */
.woocommerce-shipping-methods input[type="hidden"] {
    display: none !important;
}

/* Payment Description Box - Clean Text Below */
#payment.woocommerce-checkout-payment div.payment_box {
    background: transparent !important;
    border: none !important;
    padding: 12px 0 0 34px !important;
    /* Align with text start (20px radio + 12px gap + padding) */
    margin: 0 !important;
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* Remove the little arrow */
#payment.woocommerce-checkout-payment div.payment_box::before {
    display: none !important;
}

/* Place Order Section */
#payment.woocommerce-checkout-payment .place-order {
    margin-top: 32px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Terms Checkbox */
#payment.woocommerce-checkout-payment .terms {
    padding: 0 !important;
    margin-bottom: 24px !important;
}

#payment.woocommerce-checkout-payment .terms label {
    font-size: 13px !important;
    color: #666 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Main Button */
#payment.woocommerce-checkout-payment .place-order .button {
    background: #000 !important;
    color: #fff !important;
    width: 100% !important;
    padding: 20px !important;
    border-radius: 50px !important;
    /* Pill shape */
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    /* Normal case looks friendlier/modern */
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#payment.woocommerce-checkout-payment .place-order .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    background: #222 !important;
}

/* Hide standard WC messages on checkout since we use toasts */
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info {
    display: none !important;
}

/* Fix Cart Shipping Duplication & Layout */
.ifs-cart-totals__row .woocommerce-shipping-totals {
    display: block !important;
    /* Override table-row behavior inside div */
    width: 100%;
}

.ifs-cart-totals__row .woocommerce-shipping-totals th {
    display: none !important;
    /* Hide duplicate "Gönderim" or "Kargo" */
}

.ifs-cart-totals__row .woocommerce-shipping-totals td {
    display: block !important;
    text-align: right;
    width: 100%;
}

/* Hide Shipping Destination (Address) */
.woocommerce-shipping-destination {
    display: none !important;
}

/* Hide Calculator Button if present */
.shipping-calculator-button {
    display: none !important;
}

/* --------------------------------------------------------
   Checkout Terms & Conditions Checkbox (Custom Register Style)
   -------------------------------------------------------- */
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    cursor: pointer !important;
    position: relative !important;
    padding-left: 0 !important;
}

/* Hide Default Checkbox */
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
}

/* Custom Checkbox Box */
.woocommerce-terms-and-conditions-wrapper .ifs-checkbox-custom {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    position: relative !important;
    transition: all 0.2s !important;
    margin-top: 2px !important;
    /* Visual alignment with text */
}

/* Checked State */
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"]:checked+.ifs-checkbox-custom {
    background-color: #000 !important;
    border-color: #000 !important;
}

/* Checkmark Icon */
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"]:checked+.ifs-checkbox-custom::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Text Styling */
.woocommerce-terms-and-conditions-wrapper .ifs-checkbox-text {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.5 !important;
}

.ifs-cart-overlay .ifs-page__title {
    display: none !important;
}

/* Hide page header on cart page */
.woocommerce-cart .ifs-page__header {
    display: none !important;
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.ifs-contact-page,
.ifs-track-page {
    padding: 18px 0 72px;
}

.ifs-contact-hero,
.ifs-track-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    align-items: stretch;
    margin-bottom: 28px;
}

.ifs-contact-hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 36px;
    background: #111;
    color: #fff;
    border-radius: 8px;
}

.ifs-contact-hero__eyebrow,
.ifs-track-hero__eyebrow,
.ifs-track-result__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #777;
}

.ifs-contact-hero__eyebrow {
    color: #bdbdbd;
}

.ifs-contact-hero h1,
.ifs-track-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.04;
    letter-spacing: 0;
}

.ifs-contact-hero h1 {
    color: #fff;
}

.ifs-contact-hero p,
.ifs-track-hero p {
    max-width: 620px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.ifs-contact-hero p {
    color: #d8d8d8;
}

.ifs-contact-hero__stats {
    display: grid;
    gap: 12px;
    align-content: end;
}

.ifs-contact-hero__stats div,
.ifs-track-help div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.ifs-contact-hero__stats strong,
.ifs-track-help strong {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
}

.ifs-contact-hero__stats span,
.ifs-track-help span {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: #d7d7d7;
}

.ifs-contact-alert,
.ifs-track-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.ifs-contact-alert--success {
    color: #0f5132;
    background: #d1e7dd;
}

.ifs-contact-alert--error,
.ifs-track-alert {
    color: #842029;
    background: #f8d7da;
}

.ifs-contact-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ifs-contact-info,
.ifs-contact-form-card,
.ifs-track-card,
.ifs-track-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
}

.ifs-contact-info {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.ifs-contact-info__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.ifs-contact-info__item:last-of-type {
    border-bottom: 0;
}

.ifs-contact-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #111;
    background: #f5f5f5;
    border-radius: 8px;
}

.ifs-contact-info__icon svg,
.ifs-contact-info__social svg,
.ifs-contact-form__submit svg,
.ifs-track-submit svg,
.ifs-track-back svg {
    width: 18px;
    height: 18px;
}

.ifs-contact-info strong,
.ifs-contact-form label span,
.ifs-track-field span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.ifs-contact-info a,
.ifs-contact-info span {
    color: #555;
    line-height: 1.55;
    text-decoration: none;
}

.ifs-contact-info__social {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    color: #fff !important;
    background: #111;
    border-radius: 8px;
    font-weight: 700;
}

.ifs-contact-form-card {
    padding: 30px;
}

.ifs-contact-form-card__header {
    margin-bottom: 22px;
}

.ifs-contact-form-card__header h2,
.ifs-track-card__header h2,
.ifs-track-panel h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.2;
}

.ifs-contact-form-card__header p,
.ifs-track-card__header p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.ifs-contact-form,
.ifs-track-card {
    display: grid;
    gap: 16px;
}

.ifs-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ifs-contact-form input,
.ifs-contact-form select,
.ifs-contact-form textarea,
.ifs-track-field input {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    color: #111;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ifs-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.ifs-contact-form input:focus,
.ifs-contact-form select:focus,
.ifs-contact-form textarea:focus,
.ifs-track-field input:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.ifs-contact-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ifs-contact-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 2px 0 4px;
    color: #555;
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.ifs-contact-form__privacy input {
    flex: 0 0 18px;
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 4px;
    accent-color: #111;
}

.ifs-contact-form__privacy span {
    display: inline;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.ifs-contact-form__privacy a {
    color: #111;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ifs-contact-form__submit,
.ifs-track-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    color: #fff;
    background: #111;
    border: 0;
    border-radius: 8px;
    font-family: var(--ifs-font-family);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ifs-contact-form__submit:hover,
.ifs-track-submit:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
}

.ifs-contact-page__content {
    margin-top: 32px;
}

/*--------------------------------------------------------------
# Order Tracking Page
--------------------------------------------------------------*/
.ifs-track-hero {
    align-items: center;
}

.ifs-track-card {
    padding: 26px;
}

.ifs-track-card__header {
    display: flex;
    gap: 14px;
    align-items: center;
}

.ifs-track-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    color: #fff;
    background: #111;
    border-radius: 8px;
}

.ifs-track-card__icon svg {
    width: 24px;
    height: 24px;
}

.ifs-track-help {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ifs-track-help div {
    background: #f7f7f7;
    border-color: #e8e8e8;
}

.ifs-track-help span {
    color: #666;
}

.ifs-track-result {
    display: grid;
    gap: 24px;
}

.ifs-track-result__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    padding: 30px;
    background: #111;
    color: #fff;
    border-radius: 8px;
}

.ifs-track-result__header h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    color: #fff;
}

.ifs-track-result__header p {
    margin: 0;
    color: #d7d7d7;
}

.ifs-track-result__eyebrow {
    color: #bdbdbd;
}

.ifs-track-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ifs-track-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ifs-track-timeline__step {
    display: grid;
    gap: 9px;
    padding: 16px;
    color: #777;
    background: #f6f6f6;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.ifs-track-timeline__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #777;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.ifs-track-timeline__step strong {
    font-size: 14px;
}

.ifs-track-timeline__step.is-done,
.ifs-track-timeline__step.is-current {
    color: #111;
    background: #fff;
    border-color: #111;
}

.ifs-track-timeline__step.is-done span,
.ifs-track-timeline__step.is-current span {
    color: #fff;
    background: #111;
    border-color: #111;
}

.ifs-track-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 18px;
}

.ifs-track-panel {
    padding: 24px;
}

.ifs-track-panel--wide {
    grid-row: span 2;
}

.ifs-track-items {
    display: grid;
    gap: 12px;
}

.ifs-track-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
}

.ifs-track-item__image img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.ifs-track-item strong,
.ifs-track-item span {
    display: block;
}

.ifs-track-item span {
    margin-top: 4px;
    color: #666;
    font-size: 13px;
}

.ifs-track-item__price {
    font-weight: 800;
}

.ifs-track-totals {
    display: grid;
    gap: 12px;
}

.ifs-track-totals div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.ifs-track-totals__total {
    padding-top: 4px;
    border-bottom: 0 !important;
    font-size: 18px;
}

.ifs-track-panel address {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .ifs-contact-hero,
    .ifs-track-hero,
    .ifs-contact-layout,
    .ifs-track-grid {
        grid-template-columns: 1fr;
    }

    .ifs-track-result__header {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .ifs-contact-hero {
        padding: 26px 20px;
    }

    .ifs-contact-form-card,
    .ifs-track-card,
    .ifs-track-panel {
        padding: 20px;
    }

    .ifs-contact-form__grid,
    .ifs-track-help,
    .ifs-track-timeline {
        grid-template-columns: 1fr;
    }

    .ifs-track-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .ifs-track-item__price {
        grid-column: 2;
    }
}
