/* --------------------------------------------------------------------------------
   FabFunda Custom Updates & Enhancements
   File: custome-new.css
   Created to keep changes clean, modular, and prevent IDE crash/blank screen
-------------------------------------------------------------------------------- */

/* Product Card Image Container positioning */
.product-card-wrap .product-imageSliderContainer {
    position: relative !important;
    overflow: hidden !important;
}

/* Hover "ADD TO CART" Button across bottom of product image */
.fc-card-add-to-cart-btn {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 38px !important;
    line-height: 38px !important;
    background: #01aa95 !important; /* Exact FabFunda teal theme color */
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    z-index: 10 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(100%) !important;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.2s ease !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Hover State: Reveal Add To Cart button */
.product-card-wrap:hover .fc-card-add-to-cart-btn,
.product-base:hover .fc-card-add-to-cart-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Button Direct Hover State */
.fc-card-add-to-cart-btn:hover {
    background: #008f7d !important;
    color: #ffffff !important;
}

/* Loading State */
.fc-card-add-to-cart-btn.is-loading {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    background: #008f7d !important;
    cursor: wait !important;
}

/* Added Success State */
.fc-card-add-to-cart-btn.is-added {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    background: #007869 !important; /* Deep teal green */
    color: #ffffff !important;
}

.fc-card-add-to-cart-btn i {
    font-size: 13px !important;
    margin-right: 2px !important;
}

/* Mobile & Touch View responsiveness */
@media (max-width: 768px) {
    .fc-card-add-to-cart-btn {
        height: 34px !important;
        line-height: 34px !important;
        font-size: 11px !important;
        letter-spacing: 0.5px !important;
    }
}

/* Cart Drawer Backdrop Overlay Guarantee for all pages */
#cart-drawer-overlay,
.cart-drawer-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

body.cart-drawer-open #cart-drawer-overlay,
body.cart-drawer-open .cart-drawer-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#cart-drawer-panel,
.cart-drawer-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    z-index: 999999 !important;
}



/* ================================================================================
   CHECKOUT PAGE REDESIGN  (scoped to body.ff-checkout)
   Card layout with tinted headers, item rows with image + name,
   pill quantity control, size badges, summary block and mobile item cards.
================================================================================ */
body.ff-checkout {
    --ffc-primary: #01aa95;
    --ffc-primary-dark: #008f7d;
    --ffc-deep: #075e54;
    --ffc-head-bg: #d5efeb;
    --ffc-head-text: #0b4a43;
    --ffc-page-bg: #f6fbfa;
    --ffc-soft: #f3f9f8;
    --ffc-input-bg: #f8fcfb;
    --ffc-border: #dcebe8;
    --ffc-line: #e8f1ef;
    --ffc-text: #1f2a29;
    --ffc-muted: #6b7a78;
    --ffc-pink: #ca0c71;
    --ffc-pink-bg: #fdf0f6;
    --ffc-pink-border: #f5cfe2;
    --ffc-danger: #d93a3a;
    background: var(--ffc-page-bg) !important;
}

/* Breadcrumb band */
.ff-checkout .breadcrumbs {
    background: var(--ffc-head-bg) !important;
    padding: 16px 0 !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
}
.ff-checkout .breadcrumbs a { color: var(--ffc-primary-dark) !important; text-transform: capitalize; }
.ff-checkout .breadcrumbs span { color: var(--ffc-text) !important; }
.ff-checkout .breadcrumbs .divider { margin: 0 8px; color: var(--ffc-muted) !important; }
.ff-checkout section.content { padding-top: 34px !important; padding-bottom: 40px !important; }

/* Guest / logged-in notice bar */
.ff-checkout .checkout-titl {
    background: linear-gradient(90deg, #e9f7f5 0%, #ffffff 100%) !important;
    border: 0 !important;
    border-left: 4px solid var(--ffc-primary) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(1, 170, 149, 0.08) !important;
    padding: 15px 20px !important;
    margin: 0 0 22px !important;
    font-size: 14px !important;
    color: var(--ffc-muted);
}
.ff-checkout .checkout-titl a { color: var(--ffc-primary-dark) !important; font-weight: 600; text-decoration: underline; }

/* ---------- Generic card + tinted header ---------- */
.ff-checkout .first-block-hide.panel,
.ff-checkout .m-middle-cart > .panel {
    background: #fff !important;
    border: 1px solid var(--ffc-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(15, 60, 55, 0.06) !important;
    overflow: hidden;
    margin-bottom: 24px !important;
}
.ff-checkout .first-block-hide > .panel-heading {
    background: var(--ffc-head-bg) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ffc-border) !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.ff-checkout .first-block-hide > .panel-heading .panel-title,
.ff-checkout .first-block-hide > .panel-heading .panel-title a {
    display: block;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--ffc-head-text) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    pointer-events: none;
}
.ff-checkout .first-block-hide > .panel-heading .panel-title { padding: 0 !important; }
.ff-checkout .first-block-hide > .panel-heading .panel-title a { padding: 17px 22px !important; }
.ff-checkout .first-block-hide > .panel-heading .panel-title a i { display: none; }
.ff-checkout .first-block-hide > .panel-heading p { margin: 0 22px 12px; }
.ff-checkout .first-block-hide .panel-collapse { border: 0 !important; }
.ff-checkout .first-block-hide .box-border { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.ff-checkout .first-block-hide .table-responsive { border: 0 !important; margin: 0 !important; overflow: visible; }

/* ---------- Shopping cart table ---------- */
.ff-checkout .shop-cart-table {
    border: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff;
}
.ff-checkout .shop-cart-table > thead > tr > td {
    background: var(--ffc-soft) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ffc-border) !important;
    color: var(--ffc-head-text) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    padding: 14px 16px !important;
    text-align: center !important;
    width: auto !important;
}
.ff-checkout .shop-cart-table > thead > tr > td:first-child { text-align: left !important; font-size: 0 !important; }
.ff-checkout .shop-cart-table > thead > tr > td:first-child::before { content: "Item"; font-size: 11.5px; }
.ff-checkout .shop-cart-table > thead > tr > td:nth-child(4),
.ff-checkout .shop-cart-table > thead > tr > td:nth-child(5) { text-align: right !important; }

.ff-checkout .shop-cart-table > tbody > tr > td {
    border: 0 !important;
    border-bottom: 1px solid var(--ffc-line) !important;
    padding: 18px 16px !important;
    vertical-align: middle !important;
    color: var(--ffc-text);
    font-size: 15px;
}
.ff-checkout .shop-cart-table > tbody > tr:hover > td { background: #fbfefd; }

/* Item cell: image left, name right */
.ff-checkout .shop-cart-table > tbody > tr > td:first-child { text-align: left !important; font-size: 12px; color: var(--ffc-muted); }
.ff-checkout .shop-cart-table > tbody > tr > td:first-child > br { display: none; }
.ff-checkout .shop-cart-table > tbody > tr > td:first-child > a:first-child {
    float: left;
    margin-right: 16px;
}
.ff-checkout .shop-cart-table img.preview {
    width: 72px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--ffc-border);
    padding: 2px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.ff-checkout .shop-cart-table .cart_product_name {
    display: block;
    white-space: normal !important;
    color: var(--ffc-text) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    padding-top: 26px;
    text-decoration: none !important;
}
.ff-checkout .shop-cart-table .cart_product_name:hover { color: var(--ffc-primary-dark) !important; }

/* Quantity pill:  [ - | 1 | + ] */
.ff-checkout .shop-cart-table .option.quantity { display: flex; justify-content: center; margin: 0; width: auto; }
.ff-checkout .shop-cart-table .quantity .quantity-control {
    display: inline-flex !important;
    align-items: stretch;
    float: none !important;
    background: #fff !important;
    border: 1px solid var(--ffc-border) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    overflow: hidden;
    width: auto !important;
    height: 34px;
}
.ff-checkout .shop-cart-table .quantity .quantity-control input.form-control {
    order: 2;
    float: none !important;
    width: 42px !important;
    height: 34px !important;
    line-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid var(--ffc-border) !important;
    border-right: 1px solid var(--ffc-border) !important;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ffc-text);
    box-shadow: none !important;
    background: #fff !important;
}
.ff-checkout .shop-cart-table .quantity .quantity-control span.input-group-addon {
    position: static !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ffc-soft) !important;
    color: var(--ffc-head-text) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border: 0 !important;
    transition: background-color .2s ease, color .2s ease;
}
.ff-checkout .shop-cart-table .quantity .quantity-control span.product_quantity_down { order: 1; }
.ff-checkout .shop-cart-table .quantity .quantity-control span.product_quantity_up { order: 3; }
.ff-checkout .shop-cart-table .quantity .quantity-control span.input-group-addon:hover {
    background: var(--ffc-primary) !important;
    color: #fff !important;
}

/* Size badge */
.ff-checkout .shop-cart-table .ff-size-cell { text-align: center !important; }
.ff-checkout .ff-size-badge {
    display: inline-block;
    background: var(--ffc-pink-bg);
    color: var(--ffc-pink);
    border: 1px solid var(--ffc-pink-border);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    max-width: 120px;
    word-break: break-word;
}

/* Price & total */
.ff-checkout .shop-cart-table > tbody > tr > td:nth-child(4) {
    text-align: right !important;
    font-weight: 500;
    white-space: nowrap;
}
.ff-checkout .shop-cart-table > tbody > tr > td:nth-child(5) {
    text-align: right !important;
    white-space: nowrap;
    color: var(--ffc-primary-dark);
    font-weight: 700;
    font-size: 16px;
}
.ff-checkout .shop-cart-table > tbody > tr > td:nth-child(5) > br { display: none; }
.ff-checkout .shop-cart-table .fa-delete.btn-danger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
    vertical-align: middle;
    background: #fff !important;
    color: var(--ffc-danger) !important;
    border: 1px solid #f1c4c4 !important;
    border-radius: 6px !important;
    font-size: 13px;
    box-shadow: none !important;
    transition: all .2s ease;
}
.ff-checkout .shop-cart-table .fa-delete.btn-danger:hover {
    background: var(--ffc-danger) !important;
    border-color: var(--ffc-danger) !important;
    color: #fff !important;
}

/* Summary rows */
.ff-checkout .shop-cart-table > tfoot > tr > td {
    background: var(--ffc-soft) !important;
    border: 0 !important;
    padding: 8px 16px !important;
    font-size: 14px;
    color: var(--ffc-text);
}
.ff-checkout .shop-cart-table > tfoot > tr > td:first-child { color: var(--ffc-muted); }
.ff-checkout .shop-cart-table > tfoot > tr > td strong { font-weight: 500; }
.ff-checkout .shop-cart-table > tfoot > tr > td:last-child { font-weight: 600; white-space: nowrap; }
.ff-checkout .shop-cart-table > tfoot > tr:first-child > td { padding-top: 18px !important; }
.ff-checkout .shop-cart-table > tfoot > tr:last-child > td {
    background: #fff !important;
    border-top: 1px dashed var(--ffc-border) !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.ff-checkout .shop-cart-table > tfoot > tr:last-child > td:first-child strong {
    color: var(--ffc-primary-dark);
    font-size: 16px;
    font-weight: 700;
}
.ff-checkout .shop-cart-table > tfoot > tr:last-child > td:last-child {
    font-size: 21px;
    font-weight: 700;
    color: var(--ffc-text);
}

/* Weight hint / wallet notes under cart */
.ff-checkout .first-block-hide .dvPassport { margin: 0 !important; padding: 12px 16px !important; }
.ff-checkout .first-block-hide .dvPassport label {
    display: block;
    background: #eef9f7;
    border: 1px dashed #a8ddd5;
    border-radius: 8px;
    padding: 10px 14px !important;
    margin: 0 !important;
    font-size: 13.5px !important;
    color: var(--ffc-deep) !important;
}

/* ---------- Billing form ---------- */
.ff-checkout .checkout-main { margin-bottom: 0; }
.ff-checkout .checkout-main .panel-body { padding: 22px 22px 8px !important; }
.ff-checkout .checkout-main .form-group { margin-bottom: 18px; }
.ff-checkout .checkout-main label.light {
    display: block;
    color: var(--ffc-head-text) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    margin-bottom: 7px !important;
}
.ff-checkout .checkout-main .required { color: var(--ffc-pink); }
.ff-checkout .checkout-main .form-control {
    height: 44px !important;
    background: var(--ffc-input-bg) !important;
    border: 1px solid var(--ffc-border) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--ffc-text) !important;
    font-size: 14px !important;
    padding: 8px 14px !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ff-checkout .checkout-main textarea.form-control { height: 100px !important; resize: vertical; }
.ff-checkout .checkout-main .form-control:focus {
    background: #fff !important;
    border-color: var(--ffc-primary) !important;
    box-shadow: 0 0 0 3px rgba(1, 170, 149, 0.15) !important;
    outline: 0;
}
.ff-checkout .checkout-main .form-control::placeholder { color: #a9b6b4; }
.ff-checkout .checkout-main input[type=radio],
.ff-checkout .check-pane input[type=radio],
.ff-checkout input[type=checkbox] { accent-color: var(--ffc-primary); }
.ff-checkout .checkout-main label:has(.address_type) {
    font-size: 14px;
    font-weight: 400;
    color: var(--ffc-text);
    margin-bottom: 14px;
    cursor: pointer;
}

/* ---------- Payment column ---------- */
.ff-checkout .m-middle-cart .check-pane-t {
    background: var(--ffc-head-bg) !important;
    border: 1px solid var(--ffc-border) !important;
    border-bottom: 0 !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 17px 22px !important;
    margin: 0 !important;
}
.ff-checkout .m-middle-cart .check-pane-t h3 {
    display: block;
    margin: 0 0 3px !important;
    color: var(--ffc-head-text) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.ff-checkout .m-middle-cart .check-pane-t h3::after { content: " Method"; }
.ff-checkout .m-middle-cart .check-pane-t p {
    display: block;
    margin: 0 !important;
    color: var(--ffc-muted) !important;
    font-size: 12.5px !important;
}
.ff-checkout .m-middle-cart .check-pane {
    background: #fff !important;
    border: 1px solid var(--ffc-border) !important;
    border-top: 0 !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 6px 20px rgba(15, 60, 55, 0.06) !important;
    padding: 12px 18px 16px !important;
    margin: 0 0 24px !important;
    overflow: hidden;
}
.ff-checkout .check-pane .radio {
    margin: 0 !important;
    border-bottom: 1px solid var(--ffc-line);
}
.ff-checkout .check-pane .radio:last-child { border-bottom: 0; }
.ff-checkout .check-pane .radio label {
    padding: 14px 4px !important;
    font-size: 14.5px !important;
    color: var(--ffc-text);
    cursor: pointer;
}
.ff-checkout .check-pane .radio label input[type=radio] { margin: 0 8px 0 0 !important; vertical-align: -2px; }
.ff-checkout .check-pane .radio label:has(input:checked) > span:first-of-type { color: var(--ffc-primary-dark); font-weight: 600; }
.ff-checkout .check-pane .bank-show-statuss {
    background: var(--ffc-soft) !important;
    border: 1px solid var(--ffc-line);
    border-radius: 10px;
    margin: 0 0 14px !important;
    padding: 16px !important;
}
.ff-checkout .check-pane .bank-show-statuss img { max-width: 140px; margin: 0 auto 8px; }
.ff-checkout .check-pane .bank-show-statuss p { font-size: 12.5px; color: var(--ffc-muted); margin: 0; }

/* Bank transfer details */
.ff-checkout .check-pane .bank-show-status {
    background: var(--ffc-soft);
    border: 1px solid var(--ffc-border);
    border-radius: 10px;
    padding: 14px 6px !important;
    margin: 0 0 14px;
    overflow: hidden;
}
.ff-checkout .check-pane .bank-show-status img { border-radius: 10px; border: 1px solid var(--ffc-border); }
.ff-checkout .check-pane .bank-show-status p { font-size: 13px; color: var(--ffc-muted); margin: 0 0 6px; }
.ff-checkout .check-pane .bank-show-status p strong { color: var(--ffc-text); }

/* Coupon */
.ff-checkout .check-pane .coupon-code-block { padding: 0 4px 6px !important; }
.ff-checkout .check-pane .coupon-code-block .input-group { display: flex; width: 100%; }
.ff-checkout .check-pane .coupon-code-block .couponcode {
    flex: 1;
    height: 44px !important;
    background: var(--ffc-input-bg) !important;
    border: 1px solid var(--ffc-border) !important;
    border-right: 0 !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: none !important;
    font-size: 14px;
}
.ff-checkout .check-pane .coupon-code-block .couponcode:focus { border-color: var(--ffc-primary) !important; background: #fff !important; }
.ff-checkout .check-pane .coupon-code-block .input-group-btn { width: auto; display: flex; }
.ff-checkout .check-pane .coupon-code-block #couponcode_button {
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 0 8px 8px 0 !important;
    background: var(--ffc-primary) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.ff-checkout .check-pane .coupon-code-block #couponcode_button:hover { background: var(--ffc-primary-dark) !important; }
.ff-checkout .check-pane .coupon-code-block p a {
    color: var(--ffc-primary-dark) !important;
    font-size: 14px !important;
    font-weight: 600;
}

/* Terms + submit card */
.ff-checkout .m-middle-cart > .panel .panel-body { padding: 22px !important; }
.ff-checkout .m-middle-cart > .panel .form-group { text-align: left !important; margin: 0; }
.ff-checkout .m-middle-cart > .panel label.control-label {
    display: block;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--ffc-muted);
    margin-bottom: 18px;
    cursor: pointer;
}
.ff-checkout .m-middle-cart > .panel label.control-label input { margin-right: 6px !important; vertical-align: -2px !important; }
.ff-checkout .m-middle-cart > .panel a.agree,
.ff-checkout .m-middle-cart > .panel a.agree b { color: var(--ffc-primary-dark) !important; text-decoration: underline; }
.ff-checkout .m-middle-cart > .panel button.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 54px !important;
    padding: 0 20px !important;
    background: linear-gradient(135deg, var(--ffc-primary-dark) 0%, var(--ffc-primary) 55%, #2cc3ae 100%) !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(1, 170, 149, 0.28);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.ff-checkout .m-middle-cart > .panel button.button::before { content: "\00BB"; font-size: 22px; line-height: 1; margin-top: -3px; }
.ff-checkout .m-middle-cart > .panel button.button:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 24px rgba(1, 170, 149, 0.36);
    transform: translateY(-1px);
}

/* Desktop column widths: billing wider, payment narrower */
@media (min-width: 992px) {
    .ff-checkout .checkoutform > .col-md-6.col-lg-6 { width: 62%; }
    .ff-checkout .checkoutform > .col-md-6.m-middle-cart { width: 38%; }
}

/* ---------- Mobile: cart rows become cards ---------- */
@media (max-width: 767px) {
    .ff-checkout section.content { padding-top: 18px !important; }
    .ff-checkout .checkout-titl { padding: 12px 14px !important; font-size: 13px !important; margin-bottom: 16px !important; }
    .ff-checkout .first-block-hide > .panel-heading .panel-title a,
    .ff-checkout .m-middle-cart .check-pane-t { padding: 15px 16px !important; }

    .ff-checkout .shop-cart-table,
    .ff-checkout .shop-cart-table > tbody,
    .ff-checkout .shop-cart-table > tfoot { display: block !important; width: 100% !important; }
    .ff-checkout .shop-cart-table > thead { display: none !important; }
    .ff-checkout .shop-cart-table > tbody { padding: 12px 10px 2px; background: var(--ffc-soft); }

    .ff-checkout .shop-cart-table > tbody > tr {
        position: relative;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 6px;
        min-height: 126px;
        background: #fff;
        border: 1px solid var(--ffc-border);
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(15, 60, 55, 0.05);
        padding: 12px 12px 12px 100px;
        margin-bottom: 12px;
    }
    .ff-checkout .shop-cart-table > tbody > tr::after { content: ""; order: 9; flex-basis: 100%; height: 0; }
    .ff-checkout .shop-cart-table > tbody > tr > td {
        display: block !important;
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        width: auto !important;
    }
    .ff-checkout .shop-cart-table > tbody > tr > td:first-child { order: 1; flex: 0 0 100%; padding-right: 30px !important; }
    .ff-checkout .shop-cart-table > tbody > tr > td:first-child > a:first-child {
        position: absolute;
        left: 12px;
        top: 12px;
        float: none;
        margin: 0;
    }
    .ff-checkout .shop-cart-table img.preview { width: 76px !important; height: 100px !important; }
    .ff-checkout .shop-cart-table .cart_product_name {
        padding-top: 0;
        font-size: 13.5px;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Price chip + size chip */
    .ff-checkout .shop-cart-table > tbody > tr > td:nth-child(4) {
        order: 2;
        background: #fff !important;
        border: 1px solid var(--ffc-border) !important;
        border-radius: 6px;
        padding: 3px 8px !important;
        font-size: 12.5px;
        font-weight: 600;
    }
    .ff-checkout .shop-cart-table > tbody > tr > td:nth-child(4)::before { content: "Price: "; color: var(--ffc-muted); font-weight: 500; }
    .ff-checkout .shop-cart-table > tbody > tr > td.ff-size-cell { order: 3; }
    .ff-checkout .shop-cart-table > tbody > tr > td.ff-size-cell:empty { display: none !important; }
    .ff-checkout .ff-size-badge { padding: 3px 8px; font-size: 11.5px; max-width: none; }
    .ff-checkout .ff-size-badge::before { content: "Size: "; font-weight: 500; text-transform: none; }

    /* Qty left, total right */
    .ff-checkout .shop-cart-table > tbody > tr > td:nth-child(2) { order: 10; }
    .ff-checkout .shop-cart-table .option.quantity { justify-content: flex-start; }
    .ff-checkout .shop-cart-table > tbody > tr > td:nth-child(5) {
        order: 11;
        margin-left: auto;
        font-size: 16px;
    }
    .ff-checkout .shop-cart-table > tbody > tr > td:nth-child(5)::before {
        content: "Total: ";
        color: var(--ffc-muted);
        font-size: 12.5px;
        font-weight: 500;
    }
    .ff-checkout .shop-cart-table .fa-delete.btn-danger {
        position: absolute;
        top: 10px;
        right: 10px;
        margin: 0 !important;
        width: 26px;
        height: 26px;
    }

    /* Summary as label / value rows */
    .ff-checkout .shop-cart-table > tfoot { background: var(--ffc-soft); padding: 4px 10px 12px; }
    .ff-checkout .shop-cart-table > tfoot > tr {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        border-left: 1px solid var(--ffc-border);
        border-right: 1px solid var(--ffc-border);
        padding: 0 4px;
    }
    .ff-checkout .shop-cart-table > tfoot > tr:first-child { border-top: 1px solid var(--ffc-border); border-radius: 12px 12px 0 0; padding-top: 6px; }
    .ff-checkout .shop-cart-table > tfoot > tr:last-child { border-bottom: 1px solid var(--ffc-border); border-radius: 0 0 12px 12px; }
    .ff-checkout .shop-cart-table > tfoot > tr > td {
        display: block !important;
        flex: 1;
        background: transparent !important;
        border: 0 !important;
        padding: 9px 10px !important;
        text-align: left !important;
    }
    .ff-checkout .shop-cart-table > tfoot > tr:not(:last-child) > td { border-bottom: 1px dashed var(--ffc-line) !important; }
    .ff-checkout .shop-cart-table > tfoot > tr > td:last-child { text-align: right !important; }
    .ff-checkout .shop-cart-table > tfoot > tr:first-child > td { padding-top: 9px !important; }
    .ff-checkout .shop-cart-table > tfoot > tr:last-child > td { border-top: 2px solid var(--ffc-primary) !important; }
    .ff-checkout .shop-cart-table > tfoot > tr:last-child > td:last-child { font-size: 19px; }
    .ff-checkout .shop-cart-table > tfoot > tr:last-child > td:first-child strong { text-transform: uppercase; letter-spacing: 1px; }

    .ff-checkout .checkout-main .panel-body { padding: 16px 14px 4px !important; }
    .ff-checkout .m-middle-cart .check-pane { padding: 8px 14px 14px !important; }
    .ff-checkout .m-middle-cart > .panel .panel-body { padding: 18px 16px !important; }
    .ff-checkout .check-pane .coupon-code-block #couponcode_button { padding: 0 12px !important; font-size: 11px; }
}
.ff-checkout .shop-cart-table .cart_product_name { text-align: left !important; }
.ff-checkout .m-middle-cart > .panel label.control-label input[type=checkbox] { float: none !important; position: static !important; display: inline-block !important; margin: 0 6px 0 0 !important; }
.ff-checkout .m-middle-cart > .panel label.control-label span { display: inline !important; }
@media (max-width: 767px) {
    .ff-checkout .shop-cart-table > tfoot > tr:last-child { border-top: 2px solid var(--ffc-primary) !important; margin: 0; }
    .ff-checkout .shop-cart-table > tfoot > tr:last-child > td { border-top: 0 !important; }
}
.ff-checkout .m-middle-cart > .panel label.control-label input[type=checkbox] { width: 16px !important; height: 16px !important; min-height: 0 !important; padding: 0 !important; vertical-align: -3px !important; }


/* ================================================================================
   COD partial payment split (checkout + cart view)
================================================================================ */
.ff-cod-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 16px 2px;
}
.ff-cod-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #dcebe8;
    background: #fff;
}
.ff-cod-row.ff-cod-now {
    background: linear-gradient(135deg, #008f7d 0%, #01aa95 60%, #2cc3ae 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(1, 170, 149, 0.22);
}
.ff-cod-row.ff-cod-later { background: #fdf0f6; border-color: #f5cfe2; }
.ff-cod-label strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.ff-cod-label small {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    letter-spacing: .4px;
    text-transform: uppercase;
    opacity: .85;
}
.ff-cod-amt {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}
.ff-cod-now .ff-cod-label strong,
.ff-cod-now .ff-cod-label small,
.ff-cod-now .ff-cod-amt { color: #fff; }
.ff-cod-later .ff-cod-label strong { color: #8a0a4e; }
.ff-cod-later .ff-cod-label small { color: #ca0c71; }
.ff-cod-later .ff-cod-amt { color: #ca0c71; }
@media (max-width: 767px) {
    .ff-cod-split { grid-template-columns: 1fr; gap: 10px; padding: 12px 10px 2px; }
    .ff-cod-amt { font-size: 18px; }
}

/* ================================================================================
   Checkout coupon: message + available offers list
================================================================================ */
.ff-checkout .check-pane .coupon-code-block #couponcode_button[disabled] { opacity: .75; cursor: wait; }
.ff-coupon-msg {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
}
.ff-coupon-msg.is-success { background: #e9f8f5; border: 1px solid #a8ddd5; color: #075e54; }
.ff-coupon-msg.is-error { background: #fff3f3; border: 1px solid #f3c6c6; color: #b42323; }
.ff-coupon-msg i { margin-right: 4px; }
.ff-coupon-msg .ff-coupon-remove {
    margin-left: 6px;
    font-weight: 600;
    color: inherit !important;
    text-decoration: underline;
}

.ff-view-offers-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: #008f7d !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.ff-view-offers-toggle .ff-offer-count { color: #6b7a78; font-weight: 500; }
.ff-view-offers-toggle .ff-caret { transition: transform .2s ease; }
.ff-view-offers-toggle.is-open .ff-caret { transform: rotate(180deg); }

.ff-offer-list { margin-top: 10px; }
.ff-offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px dashed #a8ddd5;
    border-radius: 10px;
    transition: border-color .2s ease, background-color .2s ease;
}
.ff-offer-card:hover { border-color: #01aa95; background: #fbfefd; }
.ff-offer-card.is-applied { border-style: solid; border-color: #01aa95; background: #eef9f7; }
.ff-offer-info { min-width: 0; }
.ff-offer-code {
    display: inline-block;
    background: #e9f8f5;
    color: #075e54;
    border: 1px solid #a8ddd5;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
}
.ff-offer-title { margin: 7px 0 2px !important; font-size: 13.5px; font-weight: 600; color: #1f2a29; }
.ff-offer-desc { margin: 0 0 2px !important; font-size: 12.5px; color: #6b7a78; }
.ff-offer-meta { margin: 0 !important; font-size: 11.5px; color: #8a9896; }
.ff-offer-apply {
    flex-shrink: 0;
    height: 34px;
    padding: 0 16px;
    background: #fff;
    color: #008f7d;
    border: 1px solid #01aa95;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
}
.ff-offer-apply:hover { background: #01aa95; color: #fff; }
.ff-offer-card.is-applied .ff-offer-apply { background: #01aa95; color: #fff; cursor: default; }
.ff-offer-empty { margin: 0; padding: 12px; text-align: center; font-size: 13px; color: #6b7a78; background: #f3f9f8; border-radius: 8px; }
.ff-cod-split .ff-cod-label small { font-size: 11px !important; line-height: 1.3 !important; font-weight: 500 !important; letter-spacing: .5px !important; }
.ff-cod-split .ff-cod-now .ff-cod-label small { color: rgba(255, 255, 255, 0.88) !important; }
.ff-cod-split .ff-cod-later .ff-cod-label small { color: #ca0c71 !important; }
.ff-offer-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Rest Of COD card: logo secondary (indigo) instead of pink */
.ff-cod-row.ff-cod-later { background: #eff0f8; border-color: #cfd2ea; }
.ff-cod-later .ff-cod-label strong { color: #3f4785; }
.ff-cod-split .ff-cod-later .ff-cod-label small { color: #6871b2 !important; }
.ff-cod-later .ff-cod-amt { color: #6871b2; }

/* Size badge: logo secondary (indigo) instead of pink */
.ff-checkout .ff-size-badge { background: #eff0f8; color: #4b5396; border-color: #cfd2ea; }

/* Checkout breadcrumb text */
.ff-checkout .breadcrumbs { margin-top: 0 !important; }
.ff-checkout .breadcrumbs a,
.ff-checkout .breadcrumbs span {
    display: inline-block;
    font-size: 14px !important;
    font-weight: 500;
}


/* ================================================================================
   Homepage sticky order status + feedback widget  (include/order-status-sticky.php)
================================================================================ */
.ff-order-sticky {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9990;
    width: 330px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid #dcebe8;
    border-left: 4px solid #01aa95;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 60, 55, 0.18);
    padding: 14px 14px 12px;
    font-size: 13px;
    color: #1f2a29;
}
.ff-order-sticky.ff-os-stage-4,
.ff-order-sticky.ff-os-stage-5 { border-left-color: #6871b2; }
.ff-os-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a9896;
    font-size: 20px;
    line-height: 26px;
    cursor: pointer;
}
.ff-os-close:hover { background: #f3f9f8; color: #1f2a29; }

.ff-os-head { display: flex; align-items: center; gap: 12px; padding-right: 22px; }
.ff-os-thumb {
    flex: 0 0 46px;
    width: 46px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #e9f8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #01aa95;
    font-size: 20px;
}
.ff-os-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ff-os-info { min-width: 0; line-height: 1.35; }
.ff-os-label { display: block; font-size: 11px; color: #6b7a78; letter-spacing: .4px; text-transform: uppercase; }
.ff-os-status { display: block; font-size: 15px; font-weight: 700; color: #008f7d; }
.ff-os-stage-4 .ff-os-status,
.ff-os-stage-5 .ff-os-status { color: #4b5396; }
.ff-os-note { display: block; font-size: 12px; color: #6b7a78; }

/* 5-step progress */
.ff-os-steps {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 12px 0 10px;
    padding: 0;
}
.ff-os-steps li {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: #e3eeec;
}
.ff-os-steps li.is-done { background: #01aa95; }
.ff-os-steps li.is-current { background: #01aa95; box-shadow: 0 0 0 2px rgba(1, 170, 149, 0.2); }
.ff-os-stage-4 .ff-os-steps li.is-done,
.ff-os-stage-4 .ff-os-steps li.is-current,
.ff-os-stage-5 .ff-os-steps li.is-done,
.ff-os-stage-5 .ff-os-steps li.is-current { background: #6871b2; }

.ff-os-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.ff-os-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #dcebe8;
    border-radius: 7px;
    background: #fff;
    color: #075e54 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .2s ease;
}
.ff-os-btn:hover { border-color: #01aa95; background: #f3f9f8; }
.ff-os-btn-primary { background: #6871b2; border-color: #6871b2; color: #fff !important; }
.ff-os-btn-primary:hover { background: #575fa0; border-color: #575fa0; }
.ff-os-btn[disabled] { opacity: .7; cursor: wait; }

/* Inline feedback form */
.ff-os-feedback { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #dcebe8; }
.ff-os-fb-title { margin: 0 0 6px !important; font-size: 13px; font-weight: 600; }
.ff-os-stars { display: flex; gap: 4px; margin-bottom: 8px; }
.ff-os-star {
    padding: 0;
    border: 0;
    background: transparent;
    color: #d5dcdb;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}
.ff-os-star:hover { transform: scale(1.12); }
.ff-os-star.is-on { color: #f5a623; }
.ff-os-feedback textarea {
    display: block;
    width: 100%;
    min-height: 58px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid #dcebe8;
    border-radius: 8px;
    background: #f8fcfb;
    font-size: 12.5px;
    resize: vertical;
}
.ff-os-feedback textarea:focus { outline: 0; border-color: #6871b2; background: #fff; }
.ff-os-feedback .ff-os-submit { width: 100%; height: 36px; }
.ff-os-fb-msg { margin-bottom: 8px; font-size: 12px; }
.ff-os-fb-msg.is-err { color: #b42323; }
.ff-os-thanks { margin: 0 !important; font-size: 13.5px; font-weight: 600; color: #075e54; }
.ff-os-thanks i { color: #01aa95; margin-right: 4px; }

@media (max-width: 767px) {
    .ff-order-sticky {
        left: 10px;
        right: 78px;
        bottom: 12px;
        width: auto;
        max-width: none;
        padding: 12px 10px 10px;
    }
    .ff-os-thumb { flex-basis: 40px; width: 40px; height: 48px; }
    .ff-os-status { font-size: 14px; }
    .ff-os-btn { height: 30px; padding: 0 10px; font-size: 11.5px; }
}

/* Mobile header: search icon sits left of user / wishlist / cart icons (extra hearts hidden via hidden-xs) */
@media (max-width: 767px) {
    .header-right-actions-bar { gap: 8px !important; margin-top: 0 !important; }
    .mobile-top-bar { right: 137px !important; }
    .navbar-logo { text-align: left !important; padding-left: 40px !important; }
}

/* Mobile header stacking */
@media (max-width: 767px) {
    body.responsive .navbar { z-index: 99; }
}
@media (max-width: 479px) {
    .navbar-logo { z-index: 99; }
}
/* Logo box is wide: let clicks pass through to the icons, keep the logo link clickable */
@media (max-width: 767px) {
    .navbar-logo { pointer-events: none; }
    .navbar-logo a { pointer-events: auto; }
}


/* ================================================================================
   Mobile menu drawer (app style)  - #sp-megamenu below 992px
================================================================================ */
@media (max-width: 991px) {
    /* Drawer must sit above header icons (navbar has z-index 99) */
    body.ff-drawer-open { overflow: hidden; }
    body.ff-drawer-open .navbar,
    body.responsive .navbar:has(.sp-megamenu-active) { z-index: 2147483000 !important; }
    body.ff-drawer-open .mobile-top-bar,
    body.ff-drawer-open .header-right-actions-bar { z-index: 0 !important; }

    #sp-megamenu.sp-megamenu-active { background: rgba(15, 23, 42, 0.55) !important; }
    #sp-megamenu .sp-megamenu-container {
        width: 84vw !important;
        max-width: 340px !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        background: #f6fbfa !important;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.18);
        padding: 0 0 24px !important;
    }
    #sp-megamenu #remove-megamenu { font-size: 0 !important; color: transparent !important; }

    /* Header */
    .ff-dr-head {
        position: relative;
        background: linear-gradient(135deg, #008f7d 0%, #01aa95 60%, #2cc3ae 100%);
        color: #fff;
        padding: 22px 16px 20px;
    }
    .ff-dr-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        font-size: 22px;
        line-height: 32px;
        padding: 0;
        cursor: pointer;
    }
    .ff-dr-user,
    .ff-dr-guest {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-right: 36px;
        color: #fff !important;
        text-decoration: none !important;
    }
    .ff-dr-avatar {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #fff;
        color: #008f7d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    .ff-dr-user-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
    .ff-dr-user-info small { font-size: 12px; opacity: .9; color: #fff; }
    .ff-dr-user-info strong {
        font-size: 17px;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ff-dr-guest .ff-dr-user-info strong { font-size: 16px; white-space: normal; }
    .ff-dr-user-info em { font-style: normal; font-size: 12px; opacity: .9; margin-top: 2px; color: #fff; }
    .ff-dr-user-info em i { font-size: 11px; margin-right: 2px; }
    .ff-dr-chevron { margin-left: auto; font-size: 22px; opacity: .9; }
    .ff-dr-user { padding-right: 34px; }
    .ff-dr-user .ff-dr-chevron { position: absolute; right: 18px; top: 50%; margin-top: 4px; }

    .ff-dr-auth { display: flex; gap: 10px; margin-top: 16px; }
    .ff-dr-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .8px;
        text-transform: uppercase;
        text-decoration: none !important;
    }
    .ff-dr-btn-solid { background: #fff; color: #008f7d !important; }
    .ff-dr-btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.85); color: #fff !important; }

    /* Quick action tiles */
    .ff-dr-quick {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin: -12px 12px 0;
        padding: 12px 8px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(15, 60, 55, 0.10);
        position: relative;
    }
    .ff-dr-quick a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        color: #1f2a29 !important;
        font-size: 11.5px;
        font-weight: 600;
        text-decoration: none !important;
    }
    .ff-dr-qi {
        position: relative;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #e9f8f5;
        color: #008f7d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    .ff-dr-quick a:nth-child(2) .ff-dr-qi { background: #eff0f8; color: #6871b2; }
    .ff-dr-quick a:nth-child(4) .ff-dr-qi { background: #eff0f8; color: #6871b2; }
    .ff-dr-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 9px;
        background: #01aa95;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        border: 2px solid #fff;
    }

    /* Section labels */
    .ff-dr-label {
        margin: 20px 16px 8px !important;
        font-size: 11px !important;
        font-weight: 700;
        letter-spacing: 1.4px;
        text-transform: uppercase;
        color: #6b7a78;
    }

    /* Shop list (existing menu ul) */
    #sp-megamenu .sp-megamenu-container > ul.level-1 {
        float: none !important;
        margin: 0 12px !important;
        padding: 4px 0 !important;
        background: #fff !important;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(15, 60, 55, 0.06);
        overflow: hidden;
        width: auto !important;
    }
    #sp-megamenu .sp-megamenu-container > ul.level-1 > li {
        position: relative !important;
        float: none !important;
        width: 100% !important;
        border: 0 !important;
        border-bottom: 1px solid #edf3f2 !important;
        background: transparent !important;
    }
    #sp-megamenu .sp-megamenu-container > ul.level-1 > li:last-child { border-bottom: 0 !important; }
    #sp-megamenu .sp-megamenu-container > ul.level-1 > li > a {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 14px 48px 14px 16px !important;
        color: #1f2a29 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: .2px !important;
        text-transform: none !important;
        line-height: 1.3 !important;
        background: transparent !important;
        border: 0 !important;
    }
    #sp-megamenu .sp-megamenu-container > ul.level-1 > li > a::before {
        font-family: FontAwesome;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: normal;
        background: #e9f8f5;
        color: #008f7d;
        flex-shrink: 0;
    }
    #sp-megamenu .sp-megamenu-container > ul.level-1 > li.parent > a::before { content: "\f00a"; }
    #sp-megamenu .sp-megamenu-container > ul.level-1 > li:not(.parent) > a::before { content: "\f02c"; background: #eff0f8; color: #6871b2; }

    /* Expand / collapse toggles */
    #sp-megamenu li.parent > .grower {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 48px !important;
        height: 58px !important;
        border: 0 !important;
        background: transparent !important;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    #sp-megamenu li.parent > .grower::before {
        font-family: FontAwesome !important;
        content: "\f107" !important;
        font-size: 18px !important;
        color: #6b7a78 !important;
        transition: transform .2s ease;
        position: static !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        line-height: 1 !important;
    }
    #sp-megamenu li.parent > .grower::after { display: none !important; }
    #sp-megamenu li.parent > .grower.open::before { transform: rotate(180deg); color: #008f7d !important; }

    /* Level-2: categories */
    #sp-megamenu ul.level-1 > li > .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 6px !important;
        border: 0 !important;
        box-shadow: none !important;
        background: #fbfdfd !important;
        animation: none !important;
    }
    #sp-megamenu ul.level-2 { margin: 0 !important; padding: 0 !important; width: 100% !important; }
    #sp-megamenu ul.level-2 > li {
        position: relative !important;
        float: none !important;
        width: 100% !important;
        border: 0 !important;
        border-top: 1px solid #f0f5f4 !important;
        padding: 0 !important;
    }
    #sp-megamenu ul.level-2 > li > a {
        display: block !important;
        padding: 12px 40px 12px 17px !important;
        color: #33403e !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: capitalize !important;
        border: 0 !important;
        background: transparent !important;
    }
    #sp-megamenu ul.level-2 > li > .grower { height: 44px !important; }
    #sp-megamenu ul.level-2 > li > .grower::before { font-size: 16px !important; }

    /* Level-3: sub categories */
    #sp-megamenu ul.level-2 > li > .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 6px !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    #sp-megamenu ul.level-2 > li > .dropdown-menu > ul { margin: 0 !important; padding: 0 !important; }
    #sp-megamenu ul.level-2 > li > .dropdown-menu > ul > li {
        float: none !important;
        width: 100% !important;
        border: 0 !important;
        padding: 0 !important;
    }
    #sp-megamenu ul.level-2 > li > .dropdown-menu > ul > li > a {
        display: block !important;
        padding: 9px 16px 9px 28px !important;
        color: #6b7a78 !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        text-transform: capitalize !important;
        border: 0 !important;
        background: transparent !important;
        position: relative;
    }
    #sp-megamenu ul.level-2 > li > .dropdown-menu > ul > li > a::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 50%;
        width: 5px;
        height: 5px;
        margin-top: -2px;
        border-radius: 50%;
        background: #a8ddd5;
    }
    #sp-megamenu ul.level-2 > li > .dropdown-menu > ul > li > a:active,
    #sp-megamenu ul.level-2 > li > a:active { background: #e9f8f5 !important; }
    #sp-megamenu .category-thumbnail { display: none !important; }

    /* Help & Info links */
    .ff-dr-section { margin: 0; }
    .ff-dr-section .ff-dr-link {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 0 12px;
        padding: 13px 16px;
        background: #fff;
        border-bottom: 1px solid #edf3f2;
        color: #1f2a29 !important;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none !important;
    }
    .ff-dr-section .ff-dr-label + .ff-dr-link { border-radius: 12px 12px 0 0; }
    .ff-dr-section .ff-dr-link:last-child { border-radius: 0 0 12px 12px; border-bottom: 0; }
    .ff-dr-section .ff-dr-link i { width: 18px; text-align: center; color: #008f7d; font-size: 15px; }
    .ff-dr-section .ff-dr-logout { color: #d93a3a !important; }
    .ff-dr-section .ff-dr-logout i { color: #d93a3a; }
}
@media (max-width: 991px) {
    .ff-dr-head .ff-dr-user-info small,
    .ff-dr-head .ff-dr-user-info em { color: rgba(255, 255, 255, 0.92) !important; font-size: 12px !important; line-height: 1.4 !important; margin: 0 !important; }
}
@media (max-width: 991px) {
    .ff-dr-head { padding-bottom: 30px !important; }
}


/* ================================================================================
   Header top moving marquee (include/top-marquee.php)
================================================================================ */
.ff-marquee {
    display: block;
    overflow: hidden;
    background: #01aa95;
    color: #fff !important;
    text-decoration: none !important;
    height: 34px;
    line-height: 34px;
    position: relative;
    z-index: 100;
}
.ff-mq-track {
    display: flex;
    width: max-content;
    animation: ff-mq-scroll 40s linear infinite;
}
.ff-marquee:hover .ff-mq-track { animation-play-state: paused; }
.ff-mq-group { display: flex; flex-shrink: 0; }
.ff-mq-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 34px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    white-space: nowrap;
    color: #fff;
    position: relative;
}
.ff-mq-item::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}
.ff-mq-muted { opacity: .85; }
.ff-mq-hl { color: #aafff4; font-weight: 600; }
.ff-mq-gift { letter-spacing: .2px; }
.ff-mq-gift i { color: #ffd76a; font-size: 15px; margin-right: 2px; }
@keyframes ff-mq-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ff-mq-track { animation-duration: 120s; }
}
@media (max-width: 767px) {
    .ff-marquee { height: 30px; line-height: 30px; }
    .ff-mq-item { font-size: 11.5px; padding: 0 22px; }
    .ff-mq-track { animation-duration: 30s; }
}


/* ================================================================================
   Header account dropdown (logged-in user)
================================================================================ */
.ff-acc .ff-acc-menu {
    right: -10px !important;
    left: auto !important;
    top: 100% !important;
    min-width: 250px !important;
    margin: 12px 0 0 !important;
    padding: 0 0 8px !important;
    border: 1px solid #e3eeec !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 36px rgba(15, 60, 55, 0.16) !important;
    background: #fff !important;
    overflow: visible;
}
/* little caret */
.ff-acc .ff-acc-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: #e9f8f5;
    border-left: 1px solid #e3eeec;
    border-top: 1px solid #e3eeec;
    transform: rotate(45deg);
}
/* invisible bridge so hover does not drop in the gap */
.ff-acc .ff-acc-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}
.ff-acc .ff-acc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px !important;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #e9f8f5 0%, #f6fbfa 100%);
    border-bottom: 1px solid #e3eeec;
    border-radius: 12px 12px 0 0;
}
.ff-acc .ff-acc-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #01aa95;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
}
.ff-acc .ff-acc-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ff-acc .ff-acc-who small { font-size: 11.5px !important; color: #6b7a78 !important; margin: 0 !important; }
.ff-acc .ff-acc-who strong {
    font-size: 15px;
    font-weight: 700;
    color: #1f2a29;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.ff-acc .ff-acc-who em { font-style: normal; font-size: 11.5px; color: #6b7a78; }
.ff-acc .ff-acc-menu > li > a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 8px;
    padding: 8px 10px !important;
    border-radius: 8px;
    color: #1f2a29 !important;
    font-size: 14px !important;
    font-weight: 500;
    background: transparent !important;
    transition: background-color .15s ease, color .15s ease;
}
.ff-acc .ff-acc-ic {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e9f8f5;
    color: #008f7d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background-color .15s ease, color .15s ease;
}
.ff-acc .ff-acc-ic-alt { background: #eff0f8; color: #6871b2; }
.ff-acc .ff-acc-menu > li > a:hover,
.ff-acc .ff-acc-menu > li > a:focus { background: #f3f9f8 !important; color: #008f7d !important; }
.ff-acc .ff-acc-menu > li > a:hover .ff-acc-ic { background: #01aa95; color: #fff; }
.ff-acc .ff-acc-sep { height: 1px; margin: 6px 16px; background: #edf3f2; }
.ff-acc .ff-acc-menu > li > a.ff-acc-logout { color: #d93a3a !important; }
.ff-acc .ff-acc-logout .ff-acc-ic { background: #fdecec; color: #d93a3a; }
.ff-acc .ff-acc-menu > li > a.ff-acc-logout:hover { background: #fff5f5 !important; color: #d93a3a !important; }
.ff-acc .ff-acc-menu > li > a.ff-acc-logout:hover .ff-acc-ic { background: #d93a3a; color: #fff; }

/* Open on hover for mouse devices */
@media (hover: hover) and (min-width: 768px) {
    .ff-acc:hover > .ff-acc-menu { display: block; }
}
.ff-acc .ff-acc-menu > li { border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 0 2px !important; }
.ff-acc .ff-acc-menu > li.ff-acc-head { padding: 14px 16px !important; margin-bottom: 6px !important; border-bottom: 1px solid #e3eeec !important; background: linear-gradient(135deg, #e9f8f5 0%, #f6fbfa 100%) !important; }
.ff-acc .ff-acc-menu > li.ff-acc-sep { height: 1px !important; margin: 6px 16px !important; background: #edf3f2 !important; }
.ff-acc .ff-acc-menu > li > a { border: 0 !important; }
.ff-acc .ff-acc-ic i { color: inherit !important; width: auto !important; margin: 0 !important; font-size: 14px !important; }


/* ================================================================================
   Product page: attributes (Size / Color / Material / Occasion ...) always visible
================================================================================ */
.ff-pd-attrs {
    clear: both;
    margin: 24px 0 8px;
    background: #fff;
    border: 1px solid #e3eeec;
    border-radius: 12px;
    overflow: hidden;
}
.ff-pd-attrs-title {
    margin: 0 !important;
    padding: 13px 18px !important;
    background: #f3f9f8;
    border-bottom: 1px solid #e3eeec;
    color: #0b4a43 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px;
    text-transform: uppercase !important;
}
.ff-pd-attr {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f5f4;
}
.ff-pd-attr:last-child { border-bottom: 0; }
.ff-pd-attr-label {
    flex: 0 0 120px;
    padding-top: 5px;
    color: #6b7a78;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
}
.ff-pd-attr-val { display: flex; flex-wrap: wrap; gap: 6px; }
.ff-pd-chip {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f9f8;
    border: 1px solid #dcebe8;
    border-radius: 20px;
    color: #1f2a29;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .ff-pd-attr { flex-direction: column; gap: 6px; padding: 12px 14px; }
    .ff-pd-attr-label { flex: none; padding-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
    .ff-pd-attrs-title { padding: 12px 14px !important; }
}


/* ================================================================================
   Product page: info sections accordion (Shipping, Return, Care ...)
================================================================================ */
.ff-pis {
    clear: both;
    margin: 18px 0 8px;
    background: #fff;
    border: 1px solid #e3eeec;
    border-radius: 12px;
    overflow: hidden;
}
.ff-pis-item { border-bottom: 1px solid #edf3f2; }
.ff-pis-item:last-child { border-bottom: 0; }
.ff-pis-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    cursor: pointer;
    list-style: none;
    color: #1f2a29;
    font-size: 15px;
    font-weight: 600;
    user-select: none;
    transition: background-color .15s ease, color .15s ease;
}
.ff-pis-title::-webkit-details-marker { display: none; }
.ff-pis-title::marker { content: ""; }
.ff-pis-title:hover { background: #f8fcfb; }
.ff-pis-title i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f9f8;
    color: #008f7d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.ff-pis-item[open] > .ff-pis-title { color: #008f7d; background: #f3f9f8; }
.ff-pis-item[open] > .ff-pis-title i { transform: rotate(180deg); background: #01aa95; color: #fff; }
.ff-pis-body { padding: 6px 18px 16px; color: #33403e; font-size: 14px; line-height: 1.6; }
.ff-pis-body ul { list-style: none; margin: 8px 0 0 !important; padding: 0 !important; }
.ff-pis-body li {
    position: relative;
    padding: 4px 0 4px 18px;
    margin: 0;
    list-style: none !important;
}
.ff-pis-body li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #01aa95;
}
.ff-pis-body li strong { color: #1f2a29; font-weight: 600; }
.ff-pis-body .ff-pis-sub {
    margin: 14px 0 2px !important;
    padding: 0 !important;
    color: #4b5396 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
@media (max-width: 767px) {
    .ff-pis-title { padding: 14px; font-size: 14px; }
    .ff-pis-body { padding: 4px 14px 14px; font-size: 13.5px; }
}


/* ================================================================================
   Homepage "Women Of FF" review slider (slick) - same cards as product page reviews
================================================================================ */
.ff-home-reviews { position: relative; padding: 0 6px; }
.ff-home-reviews-slider { margin: 0 -7px; }
.ff-home-reviews-slider .slick-slide { padding: 0 7px; height: auto; }
.ff-home-reviews-slider .slick-track { display: flex; }
.ff-home-reviews-slider .slick-slide > div,
.ff-home-reviews-slider .item,
.ff-home-reviews-slider .fc-review-card { height: 100%; }
.ff-home-reviews .fc-review-card-img-wrap { height: 480px; }
.ff-home-reviews .fc-review-card-img-wrap a { display: block; width: 100%; height: 100%; }
.ff-home-reviews .fc-review-card-img { width: 100%; height: 100%; object-fit: cover; }
/* arrows */
.ff-home-reviews .ff-rs-arrow {
    position: absolute;
    top: 240px;
    z-index: 5;
    width: 27px;
    height: 27px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 50%;
    color: #333;
    font-size: 11px;
    line-height: 19px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.ff-home-reviews .ff-rs-prev { left: -14px; }
.ff-home-reviews .ff-rs-next { right: 4px; }
.ff-home-reviews .ff-rs-arrow:hover { background-color: #01aa95; border-color: #01aa95; color: #fff; }
@media (max-width: 767px) {
    .ff-home-reviews .fc-review-card-img-wrap { height: 260px; }
    .ff-home-reviews .ff-rs-arrow { top: 130px; }
    .ff-home-reviews .ff-rs-prev { left: -6px; }
    .ff-home-reviews .ff-rs-next { right: -2px; }
}
.ff-home-reviews-slider .slick-slide { display: flex !important; height: auto !important; }
.ff-home-reviews-slider .slick-slide > div { display: flex; width: 100%; }
.ff-home-reviews-slider .slick-slide .item { display: flex !important; width: 100%; }
.ff-home-reviews-slider .fc-review-card { width: 100%; }


/* ================================================================================
   Homepage offer tiles (banner_offer) - occasion card style
================================================================================ */
.ff-offer-tiles .m-of-p { margin-bottom: 22px; padding-left: 11px; padding-right: 11px; }
.ff-offer-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4 / 5;
    background: #e9ecef;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    isolation: isolate;
}
.ff-offer-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.ff-offer-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0) 55%);
    z-index: 1;
}
.ff-offer-tile:hover img { transform: scale(1.06); }
.ff-offer-tile-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    transition: background-color .25s ease;
}
.ff-offer-tile-arrow i { transform: rotate(-45deg); }
.ff-offer-tile:hover .ff-offer-tile-arrow { background: #01aa95; }
.ff-offer-tile-info {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ff-offer-tile-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.ff-offer-tile-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}
@media (max-width: 767px) {
    .ff-offer-tiles .m-of-p { margin-bottom: 12px; padding-left: 6px; padding-right: 6px; }
    .ff-offer-tile { border-radius: 10px; }
    .ff-offer-tile-arrow { top: 8px; right: 8px; width: 26px; height: 26px; font-size: 12px; }
    .ff-offer-tile-info { left: 10px; right: 10px; bottom: 10px; gap: 2px; }
    .ff-offer-tile-title { font-size: 15px; }
    .ff-offer-tile-sub { font-size: 11px; }
}

/* Women Of FF: full width (container-fluid) */
.ff-wof-fluid { padding-left: 30px; padding-right: 30px; }
@media (max-width: 767px) { .ff-wof-fluid { padding-left: 22px; padding-right: 22px; } }


/* ================================================================================
   Watch & Shop (product video reels) - include/watch-shop-section.php, js/watch-shop.js
================================================================================ */
.ff-ws { position: relative; padding: 40px 0 34px; background: linear-gradient(180deg, #f6fbfa 0%, #ffffff 100%); }
.ff-ws-wrap { padding-left: 40px; padding-right: 40px; }
.ff-ws-head { text-align: center; margin-bottom: 26px; }
.ff-ws-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #008f7d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}
.ff-ws-kicker::before,
.ff-ws-kicker::after { content: ""; width: 28px; height: 1px; background: #01aa95; opacity: .7; }
.ff-ws-title { margin: 8px 0 6px !important; font-size: 40px !important; font-weight: 800 !important; color: #1f2a29 !important; letter-spacing: -0.5px; text-transform: none !important; }
.ff-ws-sub { margin: 0 !important; color: #6b7a78; font-size: 14px; }

.ff-ws-track { margin: 0 -10px; }
.ff-ws-item { padding: 7px 10px; }
.ff-ws-grid .ff-ws-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 0; }
.ff-ws-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 60, 55, 0.08);
    cursor: pointer;
    outline: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ff-ws-card:hover,
.ff-ws-card:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 60, 55, 0.14); }
.ff-ws-media { position: relative; aspect-ratio: 4 / 5; background: #e9ecef; overflow: hidden; }
.ff-ws-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ff-ws-views {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.ff-ws-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2a29;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.ff-ws-play svg { margin-left: 3px; }
.ff-ws-card:hover .ff-ws-play { transform: scale(1.08); background: #01aa95; color: #fff; }
.ff-ws-info { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.ff-ws-name {
    color: #1f2a29 !important;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none !important;
}
.ff-ws-name:hover { color: #008f7d !important; }
.ff-ws-cat { min-height: 17px; color: #8a9896; font-size: 12px; }
.ff-ws-price { margin-top: 6px; color: #1f2a29; font-size: 15px; font-weight: 700; }

/* slider arrows */
.ff-ws-slider .ff-ws-track { position: relative; }
.ff-ws-arrow {
    position: absolute;
    top: 38%;
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dfdfdf;
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all .2s ease;
}
.ff-ws-arrow:hover { background: #01aa95; border-color: #01aa95; color: #fff; }
.ff-ws-arrow.slick-disabled { opacity: .35; cursor: default; }
.ff-ws-arrow-prev { left: -10px; }
.ff-ws-arrow-next { right: -10px; }

.ff-ws-more { text-align: center; margin-top: 26px; }
.ff-ws-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 1.5px solid #01aa95;
    border-radius: 30px;
    color: #008f7d !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all .2s ease;
}
.ff-ws-btn:hover { background: #01aa95; color: #fff !important; }

/* ---------- popup player ---------- */
body.ff-ws-lock { overflow: hidden; }
.ff-ws-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(18, 22, 22, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.ff-ws-modal.is-open { display: flex; }
.ff-ws-close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 28px;
    line-height: 44px;
    cursor: pointer;
}
.ff-ws-close:hover { background: rgba(255, 255, 255, 0.25); }
.ff-ws-modal-head { text-align: center; margin-bottom: 16px; }
.ff-ws-modal-head .ff-ws-kicker { color: #9fe3d8; font-size: 11px; }
.ff-ws-modal-head .ff-ws-kicker::before,
.ff-ws-modal-head .ff-ws-kicker::after { background: #9fe3d8; }
.ff-ws-modal-head h3 { margin: 6px 0 4px !important; color: #fff !important; font-size: 26px !important; font-weight: 800 !important; }
.ff-ws-modal-head p { margin: 0 !important; color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.ff-ws-stage { display: flex; align-items: center; justify-content: center; gap: 28px; width: 100%; }
.ff-ws-nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1f2a29;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: background-color .2s ease, color .2s ease;
}
.ff-ws-nav:hover { background: #01aa95; color: #fff; }
.ff-ws-phone {
    position: relative;
    height: min(72vh, 640px);
    aspect-ratio: 9 / 16;
    max-width: calc(100vw - 32px);
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.ff-ws-player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; cursor: pointer; }
.ff-ws-mute {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.ff-ws-side {
    position: absolute;
    right: 12px;
    bottom: 104px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.ff-ws-like,
.ff-ws-side-views {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}
.ff-ws-like i { font-size: 26px; transition: transform .2s ease, color .2s ease; }
.ff-ws-side-views { cursor: default; }
.ff-ws-side-views i { font-size: 20px; }
.ff-ws-like.is-liked i { color: #ff3b6b; transform: scale(1.12); }
.ff-ws-paused-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.ff-ws-modal.is-paused .ff-ws-paused-icon { display: flex; }
.ff-ws-product {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ff-ws-p-thumb { flex-shrink: 0; width: 44px; height: 54px; border-radius: 6px; overflow: hidden; background: #eee; }
.ff-ws-p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ff-ws-p-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ff-ws-p-name { color: #1f2a29 !important; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none !important; }
.ff-ws-p-price { color: #1f2a29; font-size: 13.5px; font-weight: 700; }
.ff-ws-p-cart {
    flex-shrink: 0;
    padding: 9px 12px;
    border: 0;
    border-radius: 7px;
    background: #01aa95;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
.ff-ws-p-cart:hover { background: #008f7d; }
.ff-ws-p-cart.is-added { background: #075e54; }

@media (max-width: 1199px) { .ff-ws-grid .ff-ws-track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px) { .ff-ws-grid .ff-ws-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .ff-ws { padding: 28px 0 24px; }
    .ff-ws-wrap { padding-left: 16px; padding-right: 16px; }
    .ff-ws-title { font-size: 25px !important; }
    .ff-ws-sub { font-size: 12.5px; }
    .ff-ws-track { margin: 0 -6px; }
    .ff-ws-item { padding: 0 6px; }
    .ff-ws-grid .ff-ws-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
    .ff-ws-info { padding: 9px 10px 11px; }
    .ff-ws-name { font-size: 13px; }
    .ff-ws-price { font-size: 13.5px; margin-top: 3px; }
    .ff-ws-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
    .ff-ws-arrow { width: 32px; height: 32px; }
    .ff-ws-arrow-prev { left: -4px; }
    .ff-ws-arrow-next { right: -4px; }
    .ff-ws-modal { padding: 10px; }
    .ff-ws-modal-head { display: none; }
    .ff-ws-nav { display: none; }
    .ff-ws-phone { height: min(86vh, 720px); }
    .ff-ws-close { top: 10px; right: 10px; z-index: 5; }
}
.ff-ws-title { padding: 0 !important; line-height: 1.15 !important; }
.ff-ws-head h2::after, .ff-ws-head h2::before { display: none !important; }
body.ff-ws-lock .whatsapp-app { display: none !important; }


/* ================================================================================
   Desktop mega menu (Category) - left category list, one subcategory panel, side banner
   Desktop only; the mobile drawer (< 992px) is untouched.
================================================================================ */
@media (min-width: 992px) {
    /* "Category" top link as a pill */
    .sp-megamenu .navbar-nav > li.mega_type2 > a.dropdown-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        border-radius: 10px;
        transition: background-color .2s ease, color .2s ease;
    }
    .sp-megamenu .navbar-nav > li.mega_type2 > a.dropdown-toggle::after {
        content: "\f107";
        font-family: FontAwesome;
        font-size: 15px;
        transition: transform .2s ease;
    }
    .sp-megamenu .navbar-nav > li.mega_type2:hover > a.dropdown-toggle { color: #008f7d !important; }
    .sp-megamenu .navbar-nav > li.mega_type2:hover > a.dropdown-toggle::after { transform: rotate(180deg); }

    /* panel box: full header row width */
    .sp-megamenu .navbar-nav > li.mega_type2 > .dropdown-menu.ff-mm-drop {
        left: -40% !important;
        width: 240% !important;
        min-height: 520px;
        margin-top: 2px !important;
        padding: 14px !important;
        border: 1px solid #e3eeec !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 22px 50px rgba(15, 60, 55, 0.16) !important;
        animation: none !important;
    }
    /* invisible bridge between the link and the panel */
    .sp-megamenu .navbar-nav > li.mega_type2 > .dropdown-menu.ff-mm-drop::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: -14px !important;
        height: 14px !important;
        border: 0 !important;
        background: transparent !important;
        display: block !important;
    }

    /* left: category list */
    .ff-mm-drop > ul.level-2 {
        width: 260px !important;
        margin: 0 !important;
        padding: 0 14px 0 0 !important;
        border-right: 1px solid #edf3f2;
        list-style: none;
    }
    .ff-mm-drop > ul.level-2 > li {
        position: static !important;
        float: none !important;
        width: auto !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 0 2px !important;
    }
    .ff-mm-drop > ul.level-2 > li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 11px 16px !important;
        border-radius: 10px;
        color: #1f2a29 !important;
        font-size: 15.5px !important;
        font-weight: 500 !important;
        text-transform: capitalize !important;
        letter-spacing: 0 !important;
        background: transparent !important;
        transition: background-color .15s ease, color .15s ease;
    }
    .ff-mm-drop > ul.level-2 > li > a::after {
        content: "\f105" !important;
        font-family: FontAwesome !important;
        font-size: 15px !important;
        color: #8a9896 !important;
        position: static !important;
        display: inline !important;
        border: 0 !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
    .ff-mm-drop > ul.level-2 > li.ff-mm-active > a { background: #e9f8f5 !important; color: #008f7d !important; font-weight: 600 !important; }
    .ff-mm-drop > ul.level-2 > li.ff-mm-active > a::after { color: #008f7d !important; }
    .ff-mm-drop > ul.level-2 > li > .grower { display: none !important; }

    /* middle: subcategory panel of the active category */
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu {
        display: none !important;
        position: absolute !important;
        top: 14px !important;
        bottom: 14px !important;
        left: 290px !important;
        right: 370px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 6px 10px 6px 20px !important;
        border: 0 !important;
        border-left: 2px solid #01aa95 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow-y: auto;
        animation: none !important;
    }
    .ff-mm-drop > ul.level-2 > li.ff-mm-active > .dropdown-menu { display: block !important; }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu::before { display: none !important; }
    .ff-mm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 8px; }
    .ff-mm-title { color: #008f7d; font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: capitalize; }
    .ff-mm-viewall {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #008f7d !important;
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
        text-decoration: none !important;
    }
    .ff-mm-viewall:hover { color: #6871b2 !important; }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu > ul {
        display: block !important;
        column-count: 3;
        column-gap: 0;
        column-rule: 1px solid #edf3f2;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu > ul > li {
        float: none !important;
        width: auto !important;
        display: block !important;
        break-inside: avoid;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu > ul > li > a {
        display: block !important;
        padding: 8px 16px !important;
        color: #4b5856 !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        text-transform: capitalize !important;
        background: transparent !important;
        transition: color .15s ease, transform .15s ease;
    }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu > ul > li > a::after { display: none !important; }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu > ul > li > a:hover { color: #008f7d !important; transform: translateX(3px); }
    .ff-mm-drop .category-thumbnail { display: none !important; }

    /* right: side banner */
    .ff-mm-side {
        position: absolute;
        top: 14px;
        right: 14px;
        bottom: 14px;
        width: 340px;
        border-radius: 12px;
        overflow: hidden;
        background: #f3f9f8;
    }
    .ff-mm-side img { width: 100%; height: 100%; object-fit: cover; object-position: 12% center; transition: transform .5s ease; }
    .ff-mm-side:hover img { transform: scale(1.04); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu { right: 14px !important; }
    .ff-mm-side { display: none !important; }
}
@media (min-width: 992px) {
    .ff-mm-drop > ul.level-2 > li,
    .ff-mm-drop > ul.level-2 > li:hover { background: transparent !important; }
    .ff-mm-drop > ul.level-2 > li:not(.ff-mm-active) > a:hover { background: #f6fbfa !important; color: #008f7d !important; }
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu { scrollbar-width: thin; scrollbar-color: #cfe7e3 transparent; }
}
/* Mega menu: no side banner - subcategory panel uses the full width */
@media (min-width: 992px) {
    .ff-mm-drop > ul.level-2 > li > .dropdown-menu {
        right: 14px !important;
        padding: 6px 0 6px 0 !important;
        border-left: 0 !important;
    }
    .ff-mm-side { display: none !important; }
}
@media (min-width: 992px) {
    .sp-megamenu .navbar-nav > li.mega_type2 > .dropdown-menu.ff-mm-drop { overflow: visible !important; min-height: 0 !important; max-height: none !important; }
    .ff-mm-drop > ul.level-2 { max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cfe7e3 transparent; }
}
@media (min-width: 992px) {
    .sp-megamenu .navbar-nav > li.mega_type2 > .dropdown-menu.ff-mm-drop.zoomIn.animated { height: auto !important; }
}
