@charset "UTF-8";
/* CORE.CSS — Layer 1: Global Base */

/* 1. Font Declarations */
@font-face {
    font-family: "Inter";
    src: url("./../fonts/inter/inter-300.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./../fonts/inter/inter-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./../fonts/inter/inter-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./../fonts/inter/inter-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("./../fonts/inter/inter-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 2. CSS Variables & Body */
:root {
    /* Brand Color Palette */
    --brand-dark-gray: #262626;
    /* Primary Text */
    --brand-light-gray: #545454;
    /* Secondary Text */
    --brand-bg-gray: #f5f5f5;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--brand-dark-gray);
    -webkit-font-smoothing: antialiased;
}

/* Remove default focus outline on mouse click (global),
   keep :focus-visible for keyboard navigation (a11y) */
a:focus,
button:focus {
    outline: none;
    box-shadow: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #5a8219;
    outline-offset: 2px;
}

/* 3. Global Typography & Link Reset */
h1 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: 0.01rem;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

a {
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

/* Body base — replaces Tailwind on <body> */
.gl-body {
    width: 100%;
    height: 100%;
    position: relative;
    font-weight: 400;
    overflow-x: hidden;
}

/* 4. Global Utility Classes */
.gi-modal {
    transform: translate(-50%, -50%);
}

.gi-overflow-hidden {
    overflow: hidden;
}

/* Tailwind CDN: pre-define .hidden since gl- classes prevent CDN auto-generation */


.gl-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hide scrollbar but keep scroll functionality */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* 5. Global Animations */
@keyframes fadeInDown {
    0% {
        transform: translateY(3rem);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(3rem);
    }
}

.gi-fadeInDown {
    margin-top: -3rem !important;
    animation: fadeInDown 0.3s ease-in-out forwards;
}

.gi-fadeOutUp {
    margin-top: -3rem !important;
    animation: fadeOutUp 0.2s ease-in-out forwards;
}

@keyframes glPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.gl-skeleton {
    background: #e5e5e5;
    border-radius: 4px;
    animation: glPulse 1.5s ease-in-out infinite;
}

/* Responsive modal */
@media (max-width: 767px) {
    .gi-modal {
        top: 0;
        bottom: 0;
        margin: 0;
        height: 100%;
    }
}

/* 6. Responsive Container — .gl-container */
.gl-container,
.woocommerce-notices-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}

/* Base spacing for notice wrapper so it doesn't stick to other elements */
.woocommerce-notices-wrapper {
    margin-top: 16px;
    margin-bottom: 16px;
}

.woocommerce-notices-wrapper:empty {
    display: none;
}

.woocommerce-notices-wrapper > :last-child {
    margin-bottom: 0;
}

@media(min-width:576px) {

    .gl-container,
    .woocommerce-notices-wrapper {
        max-width: 540px
    }
}

@media(min-width:768px) {

    .gl-container,
    .woocommerce-notices-wrapper {
        max-width: 720px
    }
}

@media(min-width:992px) {

    .gl-container,
    .woocommerce-notices-wrapper {
        max-width: 960px
    }
}

@media(min-width:1200px) {

    .gl-container,
    .woocommerce-notices-wrapper {
        max-width: 1140px
    }
}

@media(min-width:1400px) {

    .gl-container,
    .woocommerce-notices-wrapper {
        max-width: 1320px
    }
}

@media(min-width: 1488px) {

    .gl-container,
    .woocommerce-notices-wrapper {
        max-width: 1488px
    }
}

/* Header & Footer: below 992px, containers are 100% width
   (no 540px/720px constraints — matches WooCommerce .col-full behavior) */
@media(max-width:991px) {

    .gl-header .gl-container,
    .sub-page-nav .gl-container,
    .gi-breadcrumb-container,
    .gi-footer .gl-container,
    .gi-footer-contact-container,
    .gi-footer-top-container,
    .gi-footer-bottom-container {
        max-width: none !important;
    }
}

/* 7. Responsive Helpers */
.gl-desktop-only {
    display: none
}

.gl-mobile-only {
    display: block
}

@media(min-width:992px) {
    .gl-desktop-only {
        display: block
    }

    .gl-mobile-only {
        display: none !important
    }
}

/* 8. GL Header System — Unified Navigation */

/* Header Wrapper */
.gl-header {
    background: #fff;
    position: relative;
    font-family: 'Inter', sans-serif
}

@media(max-width:991px) {
    .gl-header {
        position: sticky;
        top: 0;
        z-index: 999;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05)
    }

    body {
        scroll-padding-top: 70px
    }
}

/* Top Bar (desktop only) */
.gl-top-bar {
    padding: 8px 0;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e7;
    position: relative;
    z-index: 50;
}

@media(max-width:991px) {
    .gl-top-bar {
        display: none
    }
}

.gl-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.gl-top-msg {
    font-size: 12px;
    color: #737373;
    letter-spacing: .02em;
}

.gl-top-msg-item {
    display: none;
}

.gl-top-msg-item.active {
    display: inline-flex;
    align-items: center;
    animation: glTopFade 0.5s ease;
}

.gl-top-msg-item.us-delivery::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 13.5px;
    background-image: url('../images/flags/us.svg');
    background-size: cover;
    background-position: center;
    margin-right: 6px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes glTopFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gl-top-right {
    display: flex;
    align-items: center
}

.gl-top-link {
    padding-left: 20px;
    font-size: 12px;
    color: #737373;
    text-decoration: none;
    letter-spacing: .02em;
    transition: color .2s;
    display: flex;
    align-items: center
}

.gl-top-link:hover {
    color: #262626
}

/* Account dropdown */
.gl-account-wrap {
    padding-left: 20px;
    position: relative
}

.gl-account-trigger {
    padding-left: 0;
    cursor: pointer
}

.gl-account-arrow {
    font-size: 14px;
    margin-left: 5px;
    color: #737373;
    display: flex;
    transition: all .2s
}

.gl-account-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 10px;
    z-index: 10;
    list-style: none;
    margin: 0
}

.gl-account-wrap:hover .gl-account-menu {
    display: block
}

.gl-account-menu li {
    border-bottom: 1px solid #f5f5f5;
    padding: 5px 0
}

.gl-account-menu li:last-child {
    border-bottom: none
}

.gl-account-menu a {
    display: block;
    padding: 5px;
    font-size: 12px;
    color: #525252;
    text-decoration: none;
    transition: color .2s
}

.gl-account-menu a:hover {
    color: #262626
}

/* Main Bar */
.gl-main-bar {
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
    background: #fff;
    position: relative;
    z-index: 40;
}

@media(max-width:991px) {
    .gl-main-bar {
        padding: 12px 0
    }
}

.gl-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* Logo */
.gl-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    margin-right: 40px
}

.gl-logo-img {
    display: block;
    width: 130px
}

@media(max-width:991px) {
    .gl-main-inner {
        position: relative
    }

    .gl-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%)
    }

    .gl-logo-img {
        width: 100px
    }
}

/* Menu Toggle (hamburger) */
.gl-menu-toggle {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    color: #262626;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .3s
}

.gl-menu-toggle:hover {
    color: #5a8219
}

/* Actions (search, user) */
.gl-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0
}

.gl-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #262626;
    font-size: 22px;
    text-decoration: none;
    transition: all .3s ease;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
    border-radius: 50%;
}

.gl-action-btn:hover {
    color: #5a8219;
    background: #f5f5f5;
}

@media(max-width:991px) {
    .gl-action-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .gl-actions {
        gap: 4px;
    }
}

/* Side Cart Drawer */

/* Cart icon wrapper */
.gl-cart-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* Cart count badge */
.gl-cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #5a8219;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    pointer-events: none;
}

/* Hide badge when empty */
.gl-cart-count:empty,
.gl-cart-count[data-count="0"],
.gl-cart-count-hidden {
    display: none;
}

/* Badge bounce animation (triggered after AJAX add-to-cart) */
.gl-cart-bounce {
    animation: glCartBounce 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes glCartBounce {

    0%,
    100% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.4);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.15);
    }
}

/* Overlay */
.gl-side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gl-side-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer panel */
.gl-side-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    box-shadow: none;
}

.gl-side-cart.active {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
    .gl-side-cart {
        width: 320px;
    }
}

/* Inner flex layout */
.gl-side-cart-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Drawer Header */
.gl-side-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e7;
    flex-shrink: 0;
}

.gl-side-cart-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-side-cart-viewcart {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.gl-side-cart-viewcart:hover {
    color: #5a8219;
}

.gl-side-cart-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #525252;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
}

.gl-side-cart-close:hover {
    background: #f5f5f5;
    color: #262626;
}

/* Drawer Body — flex shell, does NOT scroll itself */
.gl-side-cart-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: 0;
}

/* Inner div — WC replaces this via AJAX */
.gl-side-cart-body .widget_shopping_cart_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* WooCommerce Mini Cart Overrides */

/* Cart item list — the ONLY scrollable region in the drawer */
.gl-side-cart-body .woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 16px 24px;
    border: none;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.gl-side-cart-body .woocommerce-mini-cart::-webkit-scrollbar {
    width: 4px;
}

.gl-side-cart-body .woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 2px;
}

/* Single cart item */
.gl-side-cart-body .woocommerce-mini-cart-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    margin: 0;
    list-style: none;
    background: none;
    border-bottom: 1px solid #f0f0f0;
}

.gl-side-cart-body .woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}

.gl-side-cart-body .woocommerce-mini-cart-item:first-child {
    padding-top: 0;
}

/* Top row: thumbnail + info */
.gl-mini-cart-item-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Product thumbnail */
.gl-mini-cart-thumb {
    display: block;
    width: 90px !important;
    height: 90px !important;
    min-width: 90px !important;
    border-radius: 8px;
    background: #f9f9f9;
    flex-shrink: 0 !important;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}

.gl-mini-cart-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Info column */
.gl-mini-cart-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Product name */
.gl-mini-cart-name {
    font-size: 16px;
    font-weight: 400;
    color: #262626;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gl-mini-cart-name:hover {
    color: #5a8219;
}

/* Variation attributes (WC native dl.variation) */
.gl-side-cart-body .woocommerce-mini-cart-item .variation {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    margin: 2px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #999;
}

.gl-side-cart-body .woocommerce-mini-cart-item .variation dt {
    font-weight: 400;
    margin: 0;
    float: none;
}

.gl-side-cart-body .woocommerce-mini-cart-item .variation dd {
    margin: 0;
    padding: 0;
}

.gl-side-cart-body .woocommerce-mini-cart-item .variation dd p {
    margin: 0;
    display: inline;
}

/* Price area */
.gl-mini-cart-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.gl-mini-cart-price .amount {
    font-size: 15px;
    font-weight: 600;
    color: #dc2626;
    letter-spacing: 0;
}

.gl-mini-cart-price ins {
    text-decoration: none;
}

.gl-mini-cart-price ins .amount {
    color: #dc2626;
}

.gl-mini-cart-price del {
    order: 1;
}

.gl-mini-cart-price del .amount {
    font-size: 12px;
    font-weight: 400;
    color: #b0b0b0;
}

/* Bottom row: qty selector + remove */
.gl-mini-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-left: 0;
}

/* Quantity selector */
.gl-mini-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    overflow: hidden;
    height: 32px;
}

.gl-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #525252;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

.gl-qty-btn:hover {
    background: #f5f5f5;
    color: #262626;
}

.gl-qty-btn:active {
    background: #e5e5e5;
}

.gl-qty-input {
    width: 36px;
    height: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    border: none !important;
    background: #fff !important;
    outline: none;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.gl-qty-input::-webkit-outer-spin-button,
.gl-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove button (trash icon) */
.gl-mini-cart-remove {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: 1px solid #e5e5e5 !important;
    color: #b0b0b0 !important;
    cursor: pointer;
    border-radius: 6px !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    overflow: visible !important;
}

.gl-mini-cart-remove::before {
    display: none !important;
    content: none !important;
}

.gl-mini-cart-remove:hover {
    color: #ef4444 !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

@media (max-width: 480px) {
    .gl-mini-cart-thumb {
        width: 72px;
        height: 72px;
    }

    .gl-mini-cart-actions {
        padding-left: 0;
    }

    .gl-mini-cart-name {
        font-size: 14px;
    }
}

@keyframes glSpinner {
    to {
        transform: rotate(360deg);
    }
}

/* Full side cart loading overlay */
.gl-side-cart.gl-cart-overlay-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.gl-side-cart.gl-cart-overlay-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    z-index: 10000;
    animation: glSpinner 0.6s linear infinite;
}

/* Footer wrapper: trust bar + subtotal + buttons, pinned to bottom */
.gl-mini-cart-footer {
    flex-shrink: 0;
    border-top: 1px solid #e5e5e7;
}

/* Cart Summary breakdown */
.gl-side-cart-body .gl-cart-summary {
    padding: 0 24px;
    margin: 0;
    border-top: 1px solid #e5e5e7;
    flex-shrink: 0;
}

.gl-cart-summary-zone {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.gl-cart-summary-zone:last-child {
    border-bottom: none;
}

.gl-cart-summary-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
    color: #525252;
}

.gl-cart-summary-val {
    font-weight: 500;
    color: #262626;
}

/* Strikethrough original price when discount exists */
.has-discount .gl-original-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

.has-discount .gl-original-price .amount {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

/* No-discount: hide discount & after-discount rows */
.gl-cart-summary:not(.has-discount) .gl-cart-discount,
.gl-cart-summary:not(.has-discount) .gl-cart-after-discount {
    display: none;
}

/* No-discount: normal price style */
.gl-cart-summary:not(.has-discount) .gl-original-price {
    text-decoration: none;
    color: #262626;
    font-weight: 500;
}

.gl-cart-discount .gl-cart-summary-val {
    color: #dc2626;
    font-weight: 500;
}

.gl-cart-after-discount .gl-cart-summary-val {
    font-weight: 600;
    color: #262626;
}

.gl-cart-shipping .gl-free {
    color: #525252;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0;
}

.gl-cart-tax-note {
    color: #999999;
    font-size: 13px;
    font-weight: 400;
}

/* Grand total zone */
.gl-cart-total-zone {
    padding-bottom: 14px !important;
}

.gl-cart-total>span:first-child {
    font-size: 14px;
    font-weight: 600;
    color: #262626;
}

.gl-cart-total .gl-cart-summary-val {
    font-size: 20px;
    font-weight: 700;
    color: #262626;
}

.gl-cart-total .gl-cart-summary-val .amount {
    font-size: 20px;
    font-weight: 700;
    color: #262626;
}

/* Action buttons — stacked vertically, Checkout on top */
.gl-side-cart-body .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0 24px 12px;
    flex-shrink: 0;
}

.gl-side-cart-body .woocommerce-mini-cart__buttons .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #d4d4d4;
    background: #fff;
    color: #525252;
}

.gl-side-cart-body .woocommerce-mini-cart__buttons .button:hover {
    border-color: #5a8219;
    color: #5a8219;
}

/* Checkout: Primary-two black style */
.gl-side-cart-body .woocommerce-mini-cart__buttons .checkout {
    order: -1;
    background: #262626;
    color: #fff;
    border-color: #262626;
}

.gl-side-cart-body .woocommerce-mini-cart__buttons .checkout:hover {
    background: #525252;
    border-color: #525252;
    color: #fff;
}

/* Empty cart state */
.gl-side-cart-body .woocommerce-mini-cart__empty-message {
    margin: 0;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #525252;
    text-align: center;
    line-height: 1.5;
    text-decoration: none;
    list-style: none;
    border: none;
    background: none;
}

.gl-side-cart-body .woocommerce-mini-cart__empty-message::before {
    content: "";
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4d4d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

/* Prevent body scroll when drawer open */
body.gl-cart-open {
    overflow: hidden;
}

/* ---- Trust Bar (vertical list, icon left + text right) ---- */
.gl-side-cart-trust {
    flex-shrink: 0;
}

.gl-side-cart-trust-inline {
    padding: 14px 24px;
    border-top: 1px solid #e5e5e7;
}

.gl-side-cart-trust-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gl-side-cart-trust-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 500;
    color: #525252;
}

.gl-side-cart-trust-item:last-child {
    border-bottom: none;
}

.gl-side-cart-trust-item>i:first-child {
    font-size: 15px;
    color: #5a8219;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.gl-side-cart-trust-text {
    display: inline;
}

/* Tooltip question mark icon */
.gl-trust-tip {
    position: static;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    font-size: 13px !important;
    color: #c0c0c0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: help;
    margin-left: 4px;
    vertical-align: middle;
    transition: color 0.2s ease;
}

.gl-trust-tip:hover {
    color: #5a8219 !important;
}

/* Tip wrapper — inline, anchors the bubble */
.gl-tip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.gl-tip-bubble {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    padding: 10px 12px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #525252;
    background: #fff;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease 0.1s, visibility 0.15s ease 0.1s;
    z-index: 10;
}

.gl-tip-wrap:hover .gl-tip-bubble {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.gl-tip-bubble a {
    color: #5a8219;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gl-tip-bubble a:hover {
    color: #262626;
}

/* Payment icons strip */
.gl-side-cart-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px 16px;
    border-top: none;
    flex-shrink: 0;
}

/* Hide footer when cart is empty */
.gl-side-cart-body:has(.woocommerce-mini-cart__empty-message)+.gl-mini-cart-footer {
    display: none;
}

.gl-side-cart-payments img {
    height: 20px;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.gl-side-cart-payments:hover img {
    opacity: 0.7;
}

/* Nav: shared resets */
.gl-nav-list,
.gl-sub-menu,
.gl-mega-links {
    list-style: none;
    margin: 0;
    padding: 0
}

.gl-nav-list {
    display: flex
}

/* Overlay */
.gl-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 199
}

.gl-nav-overlay.gl-visible {
    display: block
}

/* Desktop (≥992px) */
@media(min-width:992px) {
    .gl-nav {
        display: flex;
        align-items: center;
        flex: 1
    }

    .gl-nav-header {
        display: none
    }

    .gl-nav-toggle {
        display: none
    }

    .gl-nav-list {
        align-items: center
    }

    .gl-nav-item {
        position: relative;
        margin-left: 12px;
        margin-right: 12px
    }

    .gl-nav-link {
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: 600;
        color: #262626;
        text-decoration: none;
        line-height: 50px;
        padding: 0 5px;
        position: relative;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: all .3s ease;
        white-space: nowrap
    }

    .gl-nav-link::after {
        content: '';
        position: absolute;
        left: 5px;
        bottom: 12px;
        width: 0;
        height: 2px;
        background: #5a8219;
        transition: width .3s ease
    }

    .gl-nav-link:hover {
        color: #5a8219
    }

    .gl-nav-link:hover::after {
        width: calc(100% - 10px)
    }

    .gl-nav-item.gl-active>.gl-nav-link {
        color: #5a8219
    }

    .gl-nav-item.gl-active>.gl-nav-link::after {
        width: calc(100% - 10px)
    }

    /* Full-width mega */
    .gl-has-mega {
        position: static
    }

    /* Sub-menu dropdown */
    .gl-sub-menu {
        position: absolute;
        top: 100%;
        left: 5px;
        min-width: 220px;
        background: #fff;
        box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.07);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity .2s ease-in-out, visibility .2s ease-in-out, transform .2s ease-in-out;
        padding: 15px 0;
        z-index: 16;
        display: block;
        text-align: left
    }

    .gl-nav-item:hover>.gl-sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    .gl-sub-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #525252;
        text-decoration: none;
        text-transform: capitalize;
        transition: all .25s ease;
        border-left: 2px solid transparent;
        white-space: nowrap;
    }

    .gl-sub-link:hover {
        color: #5a8219;
        padding-left: 24px;
        border-left-color: #5a8219;
        background: #fafafa;
    }

    /* Mega-menu panel */
    .gl-mega-panel {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.07);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity .2s ease-in-out, visibility .2s ease-in-out, transform .2s ease-in-out;
        z-index: 15
    }

    .gl-nav-item:hover>.gl-mega-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    .gl-mega-grid {
        display: flex;
        margin: 0 auto;
        padding: 25px 12px
    }

    .gl-mega-col {
        width: 20%;
        padding-right: 20px;
        flex-shrink: 0
    }

    .gl-mega-col:last-child {
        padding-right: 0
    }

    .gl-mega-title {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        color: #262626;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e5e5e5
    }

    .gl-mega-links li {
        margin-bottom: 10px
    }

    .gl-mega-link {
        display: inline-block;
        position: relative;
        font-size: 14px;
        color: #525252;
        text-decoration: none;
        transition: color .2s
    }

    .gl-mega-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 1px;
        background: #5a8219;
        transition: width .3s
    }

    .gl-mega-link:hover {
        color: #5a8219
    }

    .gl-mega-link:hover::after {
        width: 100%
    }

    .gl-mega-link-primary {
        color: #262626;
        font-weight: 500;
        display: flex;
        align-items: center
    }

    .gl-mega-link-primary i {
        margin-left: 5px;
        font-size: 16px
    }

    .gl-mega-link-primary::after {
        display: none
    }

    .gl-mega-link-deals {
        color: #db4444;
        font-weight: 600;
        display: flex;
        align-items: center
    }

    .gl-mega-link-deals i {
        margin-left: 5px;
        font-size: 16px
    }

    .gl-mega-link-deals::after {
        display: none
    }

    .gl-mega-link-deals:hover {
        color: #262626
    }

    .gl-color-link {
        display: flex;
        align-items: center
    }

    .gl-color-link::after {
        display: none
    }

    .gl-color-dot {
        width: 13px;
        height: 13px;
        border-radius: 50%;
        border: 1px solid #d4d4d4;
        margin-right: 8px;
        flex-shrink: 0;
        transition: transform .2s
    }

    .gl-color-link:hover .gl-color-dot {
        transform: scale(1.1)
    }

    /* Responsive spacing — recalculated for Logo + Nav + Actions(search+cart) */
    @media(max-width:1399px) {
        .gl-nav-item {
            margin-left: 8px;
            margin-right: 8px
        }
    }

    @media(max-width:1299px) {
        .gl-logo {
            margin-right: 30px
        }

        .gl-nav-item {
            margin-left: 6px;
            margin-right: 6px
        }

        .gl-actions {
            gap: 14px
        }
    }

    @media(max-width:1199px) {
        .gl-logo {
            margin-right: 24px
        }

        .gl-nav-item {
            margin-left: 4px;
            margin-right: 4px
        }

        .gl-nav-link {
            font-size: 13px;
            letter-spacing: 0.3px
        }

        .gl-actions {
            gap: 10px
        }
    }

    @media(max-width:1099px) {
        .gl-logo {
            margin-right: 18px
        }

        .gl-nav-item {
            margin-left: 2px;
            margin-right: 2px
        }

        .gl-nav-link {
            font-size: 13px;
            letter-spacing: 0
        }

        .gl-actions {
            gap: 8px
        }
    }

}

/* Mobile (<992px) */
@media(max-width:991px) {
    .gl-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 340px;
        height: 100vh;
        background: #fdfdfd;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform .3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding: 15px 20px 20px;
        scrollbar-width: thin;
        scrollbar-color: #d4d4d4 transparent
    }

    .gl-nav::-webkit-scrollbar {
        width: 4px
    }

    .gl-nav::-webkit-scrollbar-track {
        background: transparent
    }

    .gl-nav::-webkit-scrollbar-thumb {
        background: #d4d4d4;
        border-radius: 4px
    }

    .gl-nav::-webkit-scrollbar-thumb:hover {
        background: #999
    }

    .gl-nav.gl-open {
        transform: translateX(0)
    }

    .gl-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #e5e5e5
    }

    .gl-nav-title {
        font-size: 18px;
        font-weight: 600;
        color: #262626;
        letter-spacing: .02em
    }

    .gl-nav-close {
        background: none;
        border: none;
        width: 44px;
        height: 44px;
        font-size: 28px;
        color: #525252;
        cursor: pointer;
        line-height: 1;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color .2s
    }

    .gl-nav-close:hover {
        color: #262626
    }

    .gl-nav-list {
        flex-direction: column
    }

    .gl-nav-item {
        border-bottom: 1px solid #f5f5f5
    }

    /* Items with dropdowns: flex-wrap so sub/mega goes below */
    .gl-nav-item.gl-has-sub,
    .gl-nav-item.gl-has-mega {
        display: flex;
        flex-wrap: wrap
    }

    .gl-nav-link {
        display: flex;
        align-items: center;
        padding: 14px 0;
        font-size: 16px;
        font-weight: 600;
        color: #262626;
        text-decoration: none;
        transition: color .2s;
        flex: 1;
        min-width: 0
    }

    .gl-nav-link:hover {
        color: #5a8219
    }

    /* Toggle button (separate from link) */
    .gl-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        background: none;
        border: none;
        border-left: 1px solid #f5f5f5;
        cursor: pointer;
        color: #525252;
        font-size: 18px;
        padding: 0;
        transition: color .2s
    }

    .gl-nav-toggle:hover {
        color: #5a8219
    }

    .gl-nav-toggle i {
        transition: transform .3s
    }

    .gl-active>.gl-nav-toggle i {
        transform: rotate(180deg)
    }

    /* Sub-menu/mega take full width below */
    .gl-sub-menu,
    .gl-mega-panel {
        width: 100%
    }

    /* Sub-menu accordion */
    .gl-sub-menu {
        display: none;
        padding: 0 0 10px
    }

    .gl-nav-item.gl-active>.gl-sub-menu {
        display: block
    }

    .gl-sub-link {
        display: block;
        padding: 10px 16px;
        font-size: 14px;
        color: #525252;
        text-decoration: none;
        transition: color .2s
    }

    .gl-sub-link:hover {
        color: #5a8219
    }

    /* Mega-panel accordion */
    .gl-mega-panel {
        display: none;
        padding: 0 0 10px
    }

    .gl-nav-item.gl-active>.gl-mega-panel {
        display: block
    }

    .gl-mega-grid {
        display: flex;
        flex-direction: column
    }

    .gl-mega-col {
        padding: 0 16px;
        margin-bottom: 16px
    }

    .gl-mega-title {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        color: #999;
        margin-bottom: 8px;
        padding: 6px 0;
        border-bottom: none
    }

    .gl-mega-links li {
        margin-bottom: 0
    }

    .gl-mega-link {
        display: block;
        padding: 8px 0;
        font-size: 14px;
        color: #525252;
        text-decoration: none;
        transition: color .2s
    }

    .gl-mega-link:hover {
        color: #5a8219
    }

    .gl-mega-link::after {
        display: none
    }

    .gl-mega-link-primary {
        color: #262626;
        font-weight: 500;
        display: flex;
        align-items: center
    }

    .gl-mega-link-primary i {
        margin-left: 6px;
        font-size: 16px
    }

    .gl-mega-link-deals {
        color: #db4444;
        font-weight: 500;
        display: flex;
        align-items: center
    }

    .gl-mega-link-deals i {
        margin-left: 6px;
        font-size: 16px
    }

    .gl-mega-footer {
        padding: 8px 16px;
        border-top: 1px solid #f5f5f5
    }

    .gl-mega-viewall {
        display: flex;
        align-items: center;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 500;
        color: #262626;
        text-decoration: none;
        transition: color .2s
    }

    .gl-mega-viewall:hover {
        color: #5a8219
    }

    .gl-mega-viewall i {
        margin-left: 4px;
        font-size: 16px
    }
}

@media(max-width:480px) {
    .gl-nav {
        width: 300px
    }
}

/* 9. Sub-Page Navigation */

.sub-page-nav ul::-webkit-scrollbar {
    display: none;
}

.sub-page-nav ul {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Sub-Page Navigation Link Styles */
.sub-page-nav-link {
    display: inline-block;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: #7a7a7a;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sub-page-nav-link:hover {
    color: #262626;
    border-bottom-color: #262626;
}

/* Active state for current page */
.sub-page-nav-link.active {
    color: #262626;
    border-bottom-color: #262626;
}

/* Sub-Page Navigation — Mobile Dropdown Mode */

/* Dropdown trigger button — hidden on PC */
.sub-page-nav-trigger {
    display: none;
}

@media only screen and (max-width: 991px) {

    /* Show dropdown trigger */
    .sub-page-nav-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 0;
        font-size: 14px;
        font-weight: 600;
        color: #262626;
        background: none;
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .sub-page-nav-trigger i {
        font-size: 18px;
        color: #999;
        transition: transform 0.25s ease;
    }

    .sub-page-nav.mobile-open .sub-page-nav-trigger i {
        transform: rotate(180deg);
    }

    /* Hide horizontal list, convert to vertical dropdown */
    .sub-page-nav ul {
        display: none !important;
        flex-direction: column !important;
        gap: 0 !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 0 8px 0 !important;
        transform: none !important;
        border-top: 1px solid #f5f5f5;
    }

    .sub-page-nav.mobile-open ul {
        display: flex !important;
    }

    /* Reset last-child padding */
    .sub-page-nav ul li {
        padding-right: 0 !important;
    }

    /* Dropdown link overrides */
    .sub-page-nav ul .sub-page-nav-link {
        display: block;
        padding: 10px 0;
        border-bottom: none;
    }

    .sub-page-nav ul .sub-page-nav-link:hover {
        color: #262626;
        border-bottom: none;
    }

    .sub-page-nav ul .sub-page-nav-link.active {
        color: #5a8219;
        font-weight: 600;
        border-bottom: none;
    }

    /* Hide gradient overlay — no longer needed */
    .sub-page-nav::after {
        display: none !important;
    }
}

/* 10. Icon Visibility Fixes (fi-rr- icons) */

/* Ensure icons are always visible in display */
i[class^="fi-rr-"],
i[class*=" fi-rr-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure icons inherit color in links */
a i[class^="fi-rr-"],
a i[class*=" fi-rr-"],
button i[class^="fi-rr-"],
button i[class*=" fi-rr-"] {
    color: inherit;
    transition: color 0.2s ease;
}

/* Group hover fix for Tailwind group components */
.group:hover .group-hover\:text-\[\#262626\] i[class^="fi-rr-"],
.group:hover .group-hover\:text-\[\#262626\] i[class*=" fi-rr-"] {
    color: #262626;
}

.group:hover .group-hover\:text-\[\#5a8219\] i[class^="fi-rr-"],
.group:hover .group-hover\:text-\[\#5a8219\] i[class*=" fi-rr-"] {
    color: #5a8219;
}

.group:hover .group-hover\:text-\[\#fff\] i[class^="fi-rr-"],
.group:hover .group-hover\:text-\[\#fff\] i[class*=" fi-rr-"] {
    color: #fff;
}

/* 11. Line Clamp & Scrollbar Utilities */

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide scrollbar but keep scroll functionality */
.scrollbar-hide {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

/* 12. Site Footer Section */

/* 12.1 Footer Base Styles (PC) */

/* Footer contact link first item alignment */
.gi-footer .footer-top .gi-footer-contact .gi-footer-widget .gi-footer-links li:first-child {
    align-items: self-start;
}

/* Mobile toggle button - hidden on desktop */
.gi-heading-res {
    display: none;
}

/* Hover Effect: Premium Underline for Footer Links */
.premium-hover {
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.premium-hover::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.premium-hover:hover::after {
    width: 100%;
}

/* Footer widget icon hover fix */
.gi-footer-widget li:hover i[class^="fi-rr-"],
.gi-footer-widget li:hover i[class*=" fi-rr-"] {
    color: #5a8219;
}

/* 12.2 Footer Heading Styles (H4) */

/* Footer section heading - replaces Tailwind inline classes */
.gi-footer-heading {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: block;
    width: 100%;
}

@media (max-width: 991px) {
    .gi-footer-heading {
        margin-bottom: 15px;
    }
}

/* 12.3 Footer Link List Styles (LI + A) */

/* Footer link list item - replaces Tailwind inline classes */
.gi-footer-link {
    margin: 0;
    line-height: 1.5;
    border: 0;
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    color: #525252;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/* Footer link anchor - replaces Tailwind inline classes */
.gi-footer-links a {
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    line-height: 24px;
    padding: 0;
    color: #a1a1a1;
    margin-bottom: 0;
    display: inline-block;
    position: relative;
    word-break: break-all;
    letter-spacing: 0.01em;
    font-weight: 400;
    text-decoration: none;
}

.gi-footer-links a:hover {
    color: #ffffff;
}

/* 12.4 Footer Social Icons Styles */

/* Social link item spacing */
.gi-footer-social .gi-footer-link {
    margin-right: 6px;
    margin-bottom: 0;
}

.gi-footer-social .gi-footer-link:last-child {
    margin-right: 0;
}

/* Social icon link button */
.gi-footer-social .gi-footer-link a {
    height: 36px;
    width: 36px;
    background: transparent;
    border: 1px solid #404040;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
}

.gi-footer-social .gi-footer-link a:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0a0a0a;
}

/* Social icon styles */
.gi-footer-social .gi-footer-link i {
    font-size: 16px;
    color: #a1a1a1;
    transition: color 0.3s ease;
}

.gi-footer-social .gi-footer-link a:hover i {
    color: #0a0a0a;
}

/* 12.5 Footer Bottom Links Styles */

/* Footer bottom copy text */
.gi-copy {
    color: #a1a1a1;
    font-size: 12px;
    letter-spacing: 0.01em;
    text-align: center;
    font-weight: 400;
}

/* Footer bottom legal links */
.gi-copy a.site-name {
    color: #a1a1a1;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid #333;
    transition: color 0.3s ease;
    text-decoration: none;
}

.gi-copy a.site-name:hover {
    color: #ffffff;
}

/* 12.6 Footer Responsive Styles (Mobile ≤991px) */

@media (max-width: 991px) {

    /* Mobile toggle button - visible on mobile */
    .gi-heading-res {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100%;
        height: 100%;
        display: block;
        text-align: right;
    }

    /* Footer links dropdown - hidden by default on mobile */
    .gi-footer-links.gi-footer-dropdown {
        display: none;
        padding: 0 0 20px 0;
    }
}

/* 12.7 Footer Dark Input Styles */

/* Dark theme variant — footer newsletter underline style */
.gi-input-dark {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #404040;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    padding-right: 30px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

.gi-input-dark::placeholder {
    color: #525252;
}

.gi-input-dark:focus {
    border-bottom-color: #ffffff;
}

.gi-input-dark.gi-field-error {
    border-bottom-color: #f87171;
}

.gi-input-dark.gi-field-error:focus {
    border-bottom-color: #f87171;
}

.gi-input-dark.gi-field-valid {
    border-bottom-color: #5a8219;
}

.gi-input-dark.gi-field-valid:focus {
    border-bottom-color: #5a8219;
}

/* Dark theme variant — boxed with full border + radius */
.gi-input-dark-box {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    background-color: #0a0a0a;
    border: 1px solid #404040;
    border-radius: 8px;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

.gi-input-dark-box::placeholder {
    color: #525252;
}

.gi-input-dark-box:focus {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.15);
}

.gi-input-dark-box.gi-field-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

.gi-input-dark-box.gi-field-error:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.gi-input-dark-box.gi-field-valid {
    border-color: #5a8219;
}

.gi-input-dark-box.gi-field-valid:focus {
    border-color: #5a8219;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.15);
}

/* Footer error message styling */
.gi-footer .gi-error-msg {
    color: #f87171;
}

.gi-footer .gi-field-error {
    border-color: #f87171 !important;
}

/* 13. Back to Top Button */

.gi-back-to-top {
    display: inline-block;
    background-color: #262626;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    z-index: 16;
    border: 1px solid #fff;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
}

.gi-back-to-top:after {
    content: "\f125";
    font-family: "uicons-regular-rounded" !important;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 40px;
    color: #fff;
}

.gi-back-to-top:hover {
    background-color: #262626;
    opacity: 0.8;
}

.gi-back-to-top:active {
    background-color: #555;
}

.gi-back-to-top.show {
    opacity: 0.8;
    visibility: visible;
}

@media (max-width: 767px) {
    .gi-back-to-top {
        bottom: 15px;
        right: 15px;
    }
}

/* 14. Mobile Bottom Navigation */

/* Hide on desktop by default */
.gi-mobile-nav {
    display: none;
}

/* Mobile styles - show only on ≤991px */
@media (max-width: 991px) {
    .gi-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        padding: 8px 0;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .gi-mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        color: #525252;
        transition: all 0.2s ease;
        padding: 6px 0;
    }

    .gi-mobile-nav-item i {
        font-size: 22px;
        line-height: 1;
    }

    .gi-mobile-nav-item span {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.01em;
    }

    .gi-mobile-nav-item:hover,
    .gi-mobile-nav-item.active {
        color: #5a8219;
    }

    .gi-mobile-nav-item.active i {
        color: #5a8219;
    }

    /* Adjust footer bottom padding to prevent overlap */
    .footer-bottom {
        padding-bottom: 80px !important;
    }

    /* Adjust back-to-top position to avoid overlap */
    .gi-back-to-top {
        bottom: 80px;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .gi-mobile-nav-item span {
        font-size: 10px;
    }

    .gi-mobile-nav-item i {
        font-size: 20px;
    }
}

/* 15. Breadcrumb */

.gi-breadcrumb-list li.active {
    color: #262626;
}

.gi-breadcrumb-list li.active::before {
    color: #262626;
}

.gi-breadcrumb-list li {
    display: flex;
}

.gi-breadcrumb-list li+li {
    padding-left: 7px;
}

.gi-breadcrumb-list li+li::before {
    display: inline-block;
    padding-right: 7px;
    color: #262626;
    content: "\f105";
    font-family: "gIcons";
    font-size: 15px;
}

/* Force clear any existing separators */
.gi-breadcrumb-list li::before,
.gi-breadcrumb-list li::after {
    content: none !important;
}

/* Add new slash separator */
.gi-breadcrumb-list li+li::before {
    content: "/" !important;
    font-size: 10px;
    color: var(--title-color);
}

/* 16. Sub-Page Nav — Tailwind-free overrides */

.sub-page-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #f5f5f5;
}

.sub-page-nav>.gl-container {
    padding-left: 12px;
    padding-right: 12px;
}

.sub-page-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    overflow-x: auto;
    transform: translateY(1px);
}

.sub-page-nav li {
    flex-shrink: 0;
}

.sub-page-nav li:last-child {
    padding-right: 0;
}

@media (max-width: 991px) {
    .sub-page-nav ul {
        gap: 24px;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .sub-page-nav li:last-child {
        padding-right: 12px;
    }
}

/* 17. Breadcrumb — Tailwind-free overrides */

.gi-breadcrumb {
    border-bottom: 1px solid #f5f5f5;
    background-color: #ffffff;
}

.gi-breadcrumb-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

@media (min-width: 576px) {
    .gi-breadcrumb-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .gi-breadcrumb-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .gi-breadcrumb-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .gi-breadcrumb-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .gi-breadcrumb-container {
        max-width: 1320px;
    }
}

@media (min-width: 1488px) {
    .gi-breadcrumb-container {
        max-width: 1488px;
    }
}

.gi-breadcrumb-row {
    width: 100%;
}

.gi-breadcrumb-list {
    padding: 12px 0;
    margin: 0;
    text-align: left;
    display: flex;
    align-items: center;
    list-style: none;
}

.gi-breadcrumb-list li a {
    color: #525252;
    font-size: 12px;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.gi-breadcrumb-list li a:hover {
    color: #262626;
}

.gi-breadcrumb-list li.active {
    font-size: 12px;
    color: #262626;
    font-weight: 500;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
    display: inline-block;
}

@media (max-width: 991px) {
    .gi-breadcrumb-list li.active {
        max-width: 150px;
    }
}

/* 18. Footer — Tailwind-free overrides */

.gi-footer {
    background-color: #0a0a0a;

}

.gi-footer-contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (min-width: 576px) {
    .gi-footer-contact-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .gi-footer-contact-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .gi-footer-contact-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .gi-footer-contact-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .gi-footer-contact-container {
        max-width: 1320px;
    }
}

@media (min-width: 1488px) {
    .gi-footer-contact-container {
        max-width: 1488px;
    }
}

@media (max-width: 767px) {
    .gi-footer-contact-container {
        padding-top: 24px;
        padding-bottom: 18px;
    }
}

.gi-footer-contact-inner {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

.gi-footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .gi-footer-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.gi-footer-contact-row h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0;
}

.gi-footer-contact-row p {
    font-size: 14px;
    color: #a1a1a1;
    margin-top: 6px;
    font-weight: 400;
    letter-spacing: 0;
}

@media (max-width: 575px) {
    .gi-footer-contact-row p {
        font-size: 13px;
    }
}

.gi-footer-service-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 575px) {
    .gi-footer-service-btns {
        width: 100%;
    }
}

.gi-footer-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #404040;
    border-radius: 9999px;
    font-size: 14px;
    color: #e5e5e5;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gi-footer-service-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 767px) {
    .gi-footer-service-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .gi-footer-service-btn {
        flex: 1;
    }
}

.gi-footer-channels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding-bottom: 16px;

}

/* Channels label span */
.gi-footer-channels>span:first-child {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 6px;
    padding-right: 12px;
    border-right: 1px solid #333;
}

/* Channel badges */
.gi-footer-channels a {
    padding: 4px 10px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 12px;
    color: #999;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.gi-footer-channels a:hover {
    border-color: #666;
    color: #e5e5e5;
}

/* Channels 'more' span */
.gi-footer-channels>span:last-child {
    font-size: 12px;
    color: #555;
    font-style: italic;
}

.footer-top {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 767px) {
    .footer-top {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

.gi-footer-top-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .gi-footer-top-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .gi-footer-top-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .gi-footer-top-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .gi-footer-top-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .gi-footer-top-container {
        max-width: 1320px;
    }
}

@media (min-width: 1488px) {
    .gi-footer-top-container {
        max-width: 1488px;
    }
}

.gi-footer-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.gi-footer-col {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

@media (min-width: 992px) {
    .gi-footer-col {
        width: 20%;
    }
}

.gi-footer-account-stack {
    margin-top: 0;
}

@media (min-width: 992px) {
    .gi-footer-account-stack {
        margin-top: 20px;
    }
}

.gi-footer-col-last {
    margin-bottom: -20px;
}

.gi-footer-widget-newsletter {
    margin-bottom: 20px;
}

/* Newsletter description */
.gi-footer-widget-newsletter p {
    color: #a1a1a1;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 14px;
    font-weight: 400;
}

.gi-footer-newsletter-form {
    position: relative;
    width: 100%;
}

.gi-footer-newsletter-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1a1;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gi-footer-newsletter-btn:hover {
    color: #ffffff;
    background-color: #262626;
}

.gi-footer-newsletter-btn i {
    font-size: 20px;
}

.gi-footer-social {
    margin-top: 10px;
}

/* Social icons list */
.gi-footer-social ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 991px) {
    .gi-footer-social ul {
        justify-content: flex-start;
    }
}

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #262626;
    background-color: #0a0a0a;
}

@media (max-width: 991px) {
    .footer-bottom {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

.gi-footer-bottom-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .gi-footer-bottom-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .gi-footer-bottom-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .gi-footer-bottom-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .gi-footer-bottom-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .gi-footer-bottom-container {
        max-width: 1320px;
    }
}

@media (min-width: 1488px) {
    .gi-footer-bottom-container {
        max-width: 1488px;
    }
}

/* reuses .gi-footer-grid */

.gi-bottom-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

@media (max-width: 991px) {
    .gi-bottom-info {
        flex-direction: column;
    }
}

.footer-copy {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .footer-copy {
        margin-bottom: 15px;
    }
}

.footer-bottom-payment {
    display: flex;
    justify-content: center;
}

.gi-footer-payment-img {
    height: 24px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gi-footer-payment-img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ==========================================================================
   Header Search Robust Styles & Reset
   ========================================================================== */

/* 1. Complete reset for input & button inside custom header search */
.gl-header-search input,
.gl-header-search button {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Form container reset */
.gl-header-search {
    margin: 0 !important;
}

/* Focus state: brand green border + glow (overrides Tailwind inline) */
.gl-header-search:focus-within {
    border-color: #5a8219 !important;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08) !important;
}

/* 2. Base styles */
.gl-header-search input {
    font-family: inherit !important;
    font-size: 14px !important;
    color: #262626 !important;
    line-height: normal !important;
    padding-left: 10px !important;
}

.gl-header-search input::placeholder {
    color: #999999 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.gl-header-search button {
    color: #262626 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding-right: 18px !important;
    padding-left: 10px !important;
    transition: color 0.2s ease !important;
}

.gl-header-search button:hover {
    color: #5a8219 !important;
}

/* 3. Layout for Flex (Wide & Mobile) */
.gl-header-search:not(.group) input {
    width: 0 !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    height: 100% !important;
}

.gl-header-search:not(.group) button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

/* 4. Layout for Absolute (Intermediate .group) */
.gl-header-search-input-fade {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease 0.1s !important;
    pointer-events: none;
    padding-right: 40px !important;
}

.gl-header-search.group:focus-within .gl-header-search-input-fade {
    opacity: 1 !important;
    pointer-events: auto;
}

.gl-header-search button.gl-header-search-btn-icon {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 40px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.gl-header-search button i {
    font-size: 18px !important;
    color: inherit !important;
}

/* 5. Search Category Selector — Borderless text+arrow, right-aligned before search icon */
.gl-search-category {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: transparent !important;
    border: none !important;
    border-left: 1px solid #e5e5e5 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #999999 !important;
    padding: 0 24px 0 10px !important;
    height: 20px !important;
    align-self: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23999999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 8px 5px !important;
    transition: color 0.2s ease, background-image 0.2s ease !important;
    letter-spacing: 0.02em !important;
}

.gl-search-category:hover,
.gl-search-category:focus {
    color: #262626 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23262626' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.gl-search-category option {
    font-size: 13px;
    color: #262626;
    background: #fff;
}

/* Intermediate expandable: hide category entirely (space is too tight) */
.gl-header-search.group .gl-search-category {
    display: none !important;
}

@media (max-width: 991px) {
    .gl-header-search input {
        padding-left: 14px !important;
    }

    .gl-header-search button {
        padding-right: 16px !important;
    }
}

/* Global Primary Button */
.gl-btn-primary {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    background-color: #5a8219 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.gl-btn-primary:hover {
    opacity: 0.7 !important;
    color: #ffffff !important;
}

/* Global Secondary Button (Outline) */
.gl-btn-secondary {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #5a8219 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border: 1px solid #5a8219 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gl-btn-secondary:hover {
    background-color: #5a8219 !important;
    color: #ffffff !important;
}


/* Global Narrative Link (linkstyle2) */
.gl-link-narrative {
    display: inline-flex;
    align-items: center !important;
    font-size: 14px !important;
    color: #262626 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #262626 !important;
    padding-bottom: 5px !important;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.gl-link-narrative:hover {
    opacity: 0.7 !important;
    color: #262626 !important;
}

/* Global Arrow Link (linkstyle4) */
.gl-link-arrow {
    display: inline-flex;
    align-items: center !important;
    font-size: 14px !important;
    color: #262626 !important;
    font-weight: 600 !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.gl-link-arrow:hover {
    color: #5a8219 !important;
}

.gl-link-arrow.hidden {
    display: none;
}

/* Global Toast Notification */
.gl-toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    align-items: center;
    width: 100%;
    max-width: 800px;
    /* Match the max-width of the actual static blocks */
    padding: 0 16px;
}

body #glToastContainer .gl-toast-item {
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy entrance */
    box-shadow: 0 16px 40px rgba(0,0,0,0.18) !important;
    border: 1px solid #eaeaea;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    width: 100%;
    display: block !important;
    padding: 20px 24px 20px 64px !important; /* Large left padding for the icon */
    background: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #262626 !important;
    line-height: 1.5 !important;
    position: relative;
    overflow: hidden;
}

body #glToastContainer .gl-toast-item::before {
    /* Perfectly center the native WooCommerce icon vertically in the blank space */
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 24px !important;
    margin: 0 !important;
    font-size: 20px !important;
}

body #glToastContainer .gl-toast-item.gl-toast-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* State-specific prominent left borders */
body #glToastContainer .woocommerce-message {
    border-left: 5px solid #5a8219 !important;
}
body #glToastContainer .woocommerce-error {
    border-left: 5px solid #ef4444 !important;
}
body #glToastContainer .woocommerce-info {
    border-left: 5px solid #737373 !important;
}

/* Inline Action Link ("View cart") inside Toast */
body #glToastContainer .gl-toast-item a,
body #glToastContainer .gl-toast-item a.button, 
body #glToastContainer .gl-toast-item a.wc-forward {
    float: none !important;
    display: inline !important;
    font-weight: inherit !important;
    color: inherit !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 0 5px !important;
    white-space: normal !important;
    text-transform: none !important;
    font-size: inherit !important;
    text-decoration: underline !important;
    transition: color 0.2s ease;
}
body #glToastContainer .gl-toast-item a:hover,
body #glToastContainer .gl-toast-item a.button:hover, 
body #glToastContainer .gl-toast-item a.wc-forward:hover {
    color: #5a8219 !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .gl-toast-container { top: 20px; max-width: 100%; padding: 0 16px; }
    body #glToastContainer .gl-toast-item { padding: 16px 20px 16px 54px !important; font-size: 14px !important; }
    body #glToastContainer .gl-toast-item::before { left: 20px !important; font-size: 18px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH MODAL — Global Sign-in / Register Modal (Plan D)
   ═══════════════════════════════════════════════════════════════ */

/* ── Overlay wrapper ── */
.gl-auth-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10100;
    display: none;
    font-family: inherit;
}
.gl-auth-modal-overlay.gl-auth-visible {
    display: block;
}

/* ── Backdrop ── */
.gl-auth-modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gl-auth-modal-backdrop.gl-auth-show {
    opacity: 1;
}

/* ── Modal card ── */
.gl-auth-modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: calc(100% - 32px);
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gl-auth-modal-card.gl-auth-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ── Modal header row ── */
.gl-auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 36px;
}

/* ── Title (inside header) ── */
.gl-auth-modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #262626;
    margin: 0;
    line-height: 1.3;
}

/* ── Close button ── */
.gl-auth-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #525252;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}
.gl-auth-modal-close:hover {
    background: #e5e5e5;
}
.gl-auth-modal-close i {
    font-size: 12px;
}

/* ── Inner container ── */
.gl-auth-modal-inner {
    padding: 24px 36px 40px;
}

/* ── Trust / Promo area ── */
.gl-auth-modal-trust {
    margin-bottom: 24px;
    padding: 18px 0 0;
}
.gl-auth-trust-icons {
    display: flex;
    justify-content: space-evenly;
}
.gl-auth-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.gl-auth-trust-item img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
}
.gl-auth-trust-label {
    font-size: 12px;
    color: #525252;
    line-height: 1.3;
    font-weight: 500;
}

/* ── Nextend / Social Login Button (Refined v3) ──
 * Nextend 实际 HTML 结构：
 *   <div class="gl-auth-social">
 *     <div class="nsl-container nsl-container-block">
 *       <div class="nsl-container-buttons">
 *         <a> (外层装饰：border / bg / hover)
 *           <div class="nsl-button" style="background-color:#fff"> (内层 flex 容器)
 *             <div class="nsl-button-svg-container"><svg/></div>
 *             <div class="nsl-button-label-container">Continue with <b>Google</b></div>
 *
 * 设计目标：48px 高度、白底灰边、Google 彩色 logo、文字 #262626 一致字重
 * !important 用于覆盖 Nextend 自带 inline 样式
 */
.gl-auth-social {
    margin: 8px 0 0;
}

/* 容器：清除 Nextend 默认 margin/padding，避免 modal 内偏移 */
.gl-auth-social .nsl-container,
.gl-auth-social .nsl-container-block,
.gl-auth-social .nsl-container-buttons {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
}

/* <a> 作为外层按钮容器：负责边框、背景、hover */
.gl-auth-social .nsl-container-buttons > a,
.gl-auth-social .nsl-container-buttons a[data-plugin="nsl"] {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #a3a3a3 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #262626 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
.gl-auth-social .nsl-container-buttons > a:hover,
.gl-auth-social .nsl-container-buttons a[data-plugin="nsl"]:hover {
    border-color: #262626 !important;
    background: #fafafa !important;
    color: #262626 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

/* .nsl-button 是真正的 flex 容器：控制 svg + label 的横向布局 */
.gl-auth-social .nsl-container-buttons a .nsl-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 0 16px !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

/* SVG 图标容器：固定 24×24，居中（与 trust icons 28px 协调） */
.gl-auth-social .nsl-button-svg-container {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.gl-auth-social .nsl-button-svg-container svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

/* Label 文字 */
.gl-auth-social .nsl-button-label-container {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #262626 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}
/* Nextend 在 label 里把 "Google" 用 <b> 包了，重置一下让粗细一致 */
.gl-auth-social .nsl-button-label-container b,
.gl-auth-social .nsl-button-label-container strong {
    font-weight: 500 !important;
}

.gl-auth-social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── OR Divider ── */
.gl-auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.gl-auth-divider::before,
.gl-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}
.gl-auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

/* ── Form Input ── */
#gl-auth-modal .gl-auth-input-group {
    margin-bottom: 16px;
}
#gl-auth-modal .gl-auth-input-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 8px;
}

/* Email label row: label + Edit link */
.gl-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.gl-auth-label-row label {
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 0 !important;
}
.gl-auth-edit-link {
    font-size: 14px;
    font-weight: 500;
    color: #5a8219;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: none;
    transition: color 0.3s;
}
.gl-auth-edit-link:hover {
    color: #476b14;
    text-decoration: underline;
}
.gl-auth-edit-link.visible {
    display: inline;
}

#gl-auth-modal .gl-auth-input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
    color: #262626 !important;
    background-color: #ffffff !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
#gl-auth-modal .gl-auth-input:focus {
    border-color: #5a8219 !important;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.1) !important;
    background-color: #ffffff !important;
    outline: none !important;
}
#gl-auth-modal .gl-auth-input::placeholder {
    color: #999 !important;
}

/* Locked (readonly) email state */
#gl-auth-modal .gl-auth-input.locked {
    background-color: #f5f5f5 !important;
    color: #737373 !important;
    border-color: #e5e5e5 !important;
    cursor: default;
}
#gl-auth-modal .gl-auth-input.locked:focus {
    border-color: #e5e5e5 !important;
    box-shadow: none !important;
}

/* OTP expand area */
.gl-auth-otp-area {
    display: none;
    margin-top: 16px;
    animation: glFadeSlideIn 0.3s ease;
}
.gl-auth-otp-area.visible {
    display: block;
}
@keyframes glFadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.gl-auth-dual-btns {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.gl-auth-btn-primary {
    flex: 1;
    height: 48px;
    background: #5a8219;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
}
.gl-auth-btn-primary:hover { opacity: 0.7; }
.gl-auth-btn-secondary {
    flex: 1;
    height: 48px;
    background: #fff;
    color: #262626;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.gl-auth-btn-secondary:hover { border-color: #262626; }
#gl-auth-modal .gl-auth-btn-submit {
    display: block;
    width: 100%;
    height: 48px;
    background-color: #5a8219;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 4px;
    -webkit-appearance: none;
    appearance: none;
}
#gl-auth-modal .gl-auth-btn-submit:hover { opacity: 0.7; }
#gl-auth-modal .gl-auth-btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
#gl-auth-modal .gl-auth-btn-submit:disabled:hover { opacity: 0.45; }
#gl-auth-modal .gl-auth-btn-submit.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
#gl-auth-modal .gl-auth-btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gl-auth-spin 0.6s linear infinite;
}
@keyframes gl-auth-spin {
    to { transform: rotate(360deg); }
}

/* ── OTP code input ── */
#gl-auth-modal .gl-auth-otp-input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 16px !important;
    font-size: 24px !important;
    font-weight: 600;
    letter-spacing: 10px;
    text-align: center;
    color: #262626 !important;
    background-color: #ffffff !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
#gl-auth-modal .gl-auth-otp-input:focus {
    border-color: #5a8219 !important;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.1) !important;
    background-color: #ffffff !important;
    outline: none !important;
}
#gl-auth-modal .gl-auth-otp-input::placeholder {
    font-size: 20px !important;
    letter-spacing: 8px;
    font-weight: 300;
    color: #d4d4d4 !important;
}

/* ── Hint text ── */
.gl-auth-hint {
    font-size: 16px;
    color: #525252;
    margin-bottom: 16px;
    line-height: 1.5;
}
.gl-auth-hint strong { color: #262626; }

/* ── Sub-hint below email input ── */
.gl-auth-hint-sub {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* ── Sub-actions row ── */
.gl-auth-sub-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}
.gl-auth-sub-actions--end { justify-content: flex-end; }
.gl-auth-sub-actions--start { justify-content: flex-start; }
.gl-auth-sub-actions--between { justify-content: space-between; }
.gl-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #525252;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s;
}
.gl-auth-link i { font-size: 16px; transition: transform 0.2s ease; }
.gl-auth-link:hover { color: #5a8219; }
.gl-auth-link--forward:hover i { transform: translateX(3px); }
.gl-auth-link--back:hover i { transform: translateX(-3px); }
.gl-auth-link--disabled {
    color: #bbb;
    cursor: default;
    pointer-events: none;
}

/* ── Forgot password link (inline with Password label) ── */
.gl-auth-forgot {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s;
}
.gl-auth-forgot:hover { color: #5a8219; }

/* ── Inline hint (compact, muted) ── */
.gl-auth-hint-inline {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* ── Password toggle ── */
.gl-pw-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
}
.gl-pw-toggle:hover { color: #262626; }

/* ── Legal text ── */
.gl-auth-legal {
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.6;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.gl-auth-legal a {
    color: #262626;
    text-decoration: underline;
}
.gl-auth-legal a:hover { color: #5a8219; }

/* ── Step views ── */
.gl-auth-step { display: none; }
.gl-auth-step.active { display: block; }

/* ── Error message ── */
.gl-auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #dc2626;
    margin-bottom: 16px;
    display: none;
}
.gl-auth-error.visible { display: block; }

/* ── Register step ── */
.gl-auth-register-intro {
    font-size: 16px;
    color: #525252;
    margin: 0 0 16px;
    line-height: 1.5;
}
#gl-auth-step-register .gl-auth-link {
    padding: 0;
    font-size: 14px;
    color: #5a8219;
}
#gl-auth-step-register .gl-auth-link:hover { text-decoration: underline; }

/* ── Password strength indicator ── */
.gl-auth-pw-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.gl-auth-pw-strength.visible { opacity: 1; }

.gl-auth-pw-strength-bar {
    flex: 1;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
}
.gl-auth-pw-strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}
.gl-auth-pw-strength-label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 40px;
}
.gl-auth-pw-strength.level-weak .gl-auth-pw-strength-bar span { width: 33%; background: #d97706; }
.gl-auth-pw-strength.level-weak .gl-auth-pw-strength-label { color: #d97706; }
.gl-auth-pw-strength.level-medium .gl-auth-pw-strength-bar span { width: 66%; background: #2563eb; }
.gl-auth-pw-strength.level-medium .gl-auth-pw-strength-label { color: #2563eb; }
.gl-auth-pw-strength.level-strong .gl-auth-pw-strength-bar span { width: 100%; background: #5a8219; }
.gl-auth-pw-strength.level-strong .gl-auth-pw-strength-label { color: #5a8219; }

/* ── Auth Modal Responsive ── */
@media (max-width: 575px) {
    .gl-auth-modal-card { border-radius: 12px; }
    .gl-auth-modal-header { padding: 20px 16px 0 24px; }
    .gl-auth-modal-inner { padding: 16px 24px 32px !important; }
    .gl-auth-modal-title { font-size: 20px; }
    .gl-auth-modal-trust { padding: 14px 0 0; }
    .gl-auth-trust-icons { gap: 0; }
    .gl-auth-dual-btns { flex-direction: column; gap: 8px; }
    #gl-auth-modal .gl-auth-modal-card {
        max-width: calc(100% - 24px);
        max-height: 95vh;
    }
}


/* ============================================================
   COUPON / SAVINGS DRAWER (Global Component)
   Slide-out panel — narrower than Side Cart, layers above it.
   Side Cart:    420px / z-9999    (primary panel)
   Coupon Drawer: 360px / z-10001  (secondary, layers on top)
   ============================================================ */

/* ── Overlay ── */
.gl-coupon-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gl-coupon-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ── Drawer panel ── */
.gl-coupon-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.gl-coupon-drawer.active {
    transform: translateX(0);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}


/* ── Drawer header ── */
.gl-coupon-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e5e7;
    flex-shrink: 0;
}

.gl-coupon-drawer__title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    letter-spacing: 0;
}

.gl-coupon-drawer__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #525252;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

.gl-coupon-drawer__close i {
    display: inline-block;
    font-size: 18px;
    color: inherit;
}

.gl-coupon-drawer__close:hover {
    background: #f5f5f5;
    color: #262626;
}


/* ── Fixed input bar (top, not scrollable) ── */
.gl-coupon-drawer__input-bar {
    flex-shrink: 0;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.gl-coupon-drawer__input-form {
    display: flex;
    gap: 8px;
}

.gl-coupon-drawer__input {
    flex: 1;
    border: 1px solid #d4d4d4 !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    color: #262626 !important;
    outline: none !important;
    background: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    letter-spacing: 0;
    height: auto !important;
    min-height: unset !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}

.gl-coupon-drawer__input:focus {
    border-color: #5a8219 !important;
    box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08) !important;
}

.gl-coupon-drawer__input.is-invalid {
    border-color: #dc2626;
}

.gl-coupon-drawer__input-apply {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: #262626;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
    letter-spacing: 0;
}

.gl-coupon-drawer__input-apply:hover:not(:disabled) {
    background: #404040;
}

.gl-coupon-drawer__input-apply:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gl-coupon-drawer__input-msg {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0;
}


/* ── Drawer body (scrollable coupon list) ── */
.gl-coupon-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 20px 20px;
    min-height: 0;
}

.gl-coupon-drawer__body::-webkit-scrollbar {
    width: 4px;
}

.gl-coupon-drawer__body::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 2px;
}


/* ── Section titles inside drawer ── */
.gl-coupon-drawer__section-title {
    font-size: 13px;
    font-weight: 600;
    color: #262626;
    letter-spacing: 0;
    margin: 0 0 10px;
    padding: 0;
}

.gl-coupon-drawer__section-title:not(:first-child) {
    margin-top: 20px;
}


/* ── Coupon Card (label + radio layout) ── */
.gl-coupon-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gl-coupon-card:last-child {
    margin-bottom: 0;
}

.gl-coupon-card:hover {
    border-color: #d4d4d4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gl-coupon-card__main {
    flex: 1;
    min-width: 0;
}

.gl-coupon-card__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    margin-bottom: 6px;
}

.gl-coupon-card__badge--welcome {
    background: #f0fdf4;
    color: #166534;
}

.gl-coupon-card__badge--seasonal {
    background: #fff7ed;
    color: #c2410c;
}

.gl-coupon-card__badge--reward {
    background: #eef2ff;
    color: #4338ca;
}

.gl-coupon-card__badge--exclusive {
    background: #262626;
    color: #fff;
}

.gl-coupon-card__headline {
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.gl-coupon-card__amount {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
    letter-spacing: 0;
    line-height: 1.2;
}

.gl-coupon-card__desc {
    font-size: 13px;
    color: #525252;
    letter-spacing: 0;
    margin: 2px 0 0;
    line-height: 1.4;
}

.gl-coupon-card__condition {
    font-size: 12px;
    color: #999;
    letter-spacing: 0;
    margin: 2px 0 0;
}

.gl-coupon-card__detail {
    font-size: 12px;
    color: #5a8219;
    font-weight: 500;
    letter-spacing: 0;
    margin: 2px 0 0;
    line-height: 1.4;
}

.gl-coupon-card__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
}

.gl-coupon-card__code-line {
    font-size: 12px;
    color: #999;
    letter-spacing: 0;
}

.gl-coupon-card__date {
    font-size: 11px;
    color: #999;
    letter-spacing: 0;
}

.gl-coupon-card__note {
    font-size: 11px;
    color: #d97706;
    letter-spacing: 0;
    margin: 4px 0 0;
    line-height: 1.4;
}


/* ── Radio selector (right side) ── */
.gl-coupon-card__radio {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 20px;
}

.gl-coupon-card__radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gl-coupon-card__radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #d4d4d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

.gl-coupon-card__radio-dot::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.gl-coupon-card:hover .gl-coupon-card__radio-dot {
    border-color: #5a8219;
}

.gl-coupon-card__radio-input:checked~.gl-coupon-card__radio-dot {
    border-color: #5a8219;
}

.gl-coupon-card__radio-input:checked~.gl-coupon-card__radio-dot::after {
    background: #5a8219;
}

.gl-coupon-card.is-selected {
    border-color: #5a8219;
    background: #fafff5;
}

.gl-coupon-card.is-selected .gl-coupon-card__radio-dot {
    border-color: #5a8219;
}

.gl-coupon-card.is-selected .gl-coupon-card__radio-dot::after {
    background: #5a8219;
}


/* ── Ineligible state ── */
.gl-coupon-card.is-ineligible {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: auto;
}

.gl-coupon-card.is-ineligible:hover {
    box-shadow: none;
    border-color: #e5e5e5;
}

.gl-coupon-card.is-ineligible:hover .gl-coupon-card__radio-dot {
    border-color: #d4d4d4;
}

.gl-coupon-card.is-ineligible .gl-coupon-card__detail {
    color: #999;
}

.gl-coupon-card.is-ineligible .gl-coupon-card__radio-dot {
    display: none;
}

.gl-coupon-card__ineligible-tip {
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gl-coupon-card__ineligible-tip.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ── Empty state ── */
.gl-coupon-drawer__empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.gl-coupon-drawer__empty i {
    font-size: 36px;
    color: #d4d4d4;
    display: block;
    margin-bottom: 12px;
}

.gl-coupon-drawer__empty-title {
    font-size: 15px;
    font-weight: 600;
    color: #525252;
    margin: 0 0 4px;
}

.gl-coupon-drawer__empty-text {
    font-size: 13px;
    color: #999;
    margin: 0;
}


/* ── Guest prompt (not logged in) ── */
.gl-coupon-drawer__guest {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-coupon-drawer__guest-prompt {
    text-align: center;
    padding: 40px 24px;
}

.gl-coupon-drawer__guest-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

.gl-coupon-drawer__guest-icon i {
    font-size: 24px;
    color: #999;
}

.gl-coupon-drawer__guest-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin: 0 0 8px;
    letter-spacing: 0;
}

.gl-coupon-drawer__guest-desc {
    font-size: 13px;
    color: #525252;
    line-height: 1.5;
    margin: 0 0 20px;
    letter-spacing: 0;
}

.gl-coupon-drawer__guest-signin {
    display: block;
    width: 100%;
    height: 44px;
    background: #5a8219;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-family: inherit;
    letter-spacing: 0;
}

.gl-coupon-drawer__guest-signin:hover {
    opacity: 0.8;
}

.gl-coupon-drawer__guest-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    margin: 14px 0 0;
    letter-spacing: 0;
}

.gl-coupon-drawer__guest-note i {
    font-size: 13px;
    color: #5a8219;
}


/* ── Coupon Drawer Responsive ── */
@media (max-width: 991px) {
    .gl-coupon-drawer {
        width: 340px;
    }
}

@media (max-width: 480px) {
    .gl-coupon-drawer {
        width: 100%;
    }

    .gl-coupon-drawer__header {
        padding: 16px;
    }

    .gl-coupon-drawer__input-bar {
        padding: 12px 16px;
    }

    .gl-coupon-drawer__body {
        padding: 12px 16px;
    }
}


/* ── Coupon Entry Row (shared style for Side Cart + Checkout) ── */
.gl-coupon-entry-action {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: 0;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #e68a00;
    transition: color 0.2s ease;
    line-height: 1;
}

.gl-coupon-entry-action:hover {
    color: #cc7a00;
}

.gl-coupon-entry-action.is-applied {
    background: none;
    padding: 0;
    color: #e68a00;
    font-weight: 600;
}

.gl-coupon-entry-action.is-applied:hover {
    background: none;
    color: #cc7a00;
}

.gl-coupon-entry-hint {
    letter-spacing: 0;
    display: inline;
    color: inherit;
}

.gl-coupon-entry-hint.hidden {
    display: none;
}

.gl-coupon-entry-arrow {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    color: inherit;
    transition: transform 0.2s ease;
}

.gl-coupon-entry-action:hover .gl-coupon-entry-arrow {
    transform: translateX(2px);
}

.gl-coupon-remove-link {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    letter-spacing: 0;
    transition: color 0.2s ease;
}

.gl-coupon-remove-link:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Coupon Drawer Loading Skeleton */
.gl-coupon-drawer__loading {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gl-coupon-skeleton {
    height: 72px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: gl-skeleton-pulse 1.5s ease-in-out infinite;
}

.gl-coupon-skeleton--short {
    width: 60%;
    height: 48px;
}

@keyframes gl-skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.gl-coupon-drawer__error {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    gap: 12px;
    color: #525252;
}

.gl-coupon-drawer__error i {
    font-size: 28px;
    color: #999;
}

.gl-coupon-drawer__error p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.gl-coupon-drawer__retry {
    margin-top: 4px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #262626;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gl-coupon-drawer__retry:hover {
    border-color: #5a8219;
    color: #5a8219;
}