/**
 * Derma Natural — UI Fixes v3.2
 * Fixes: colors, double heading, cart, wishlist, mobile responsive
 *
 * @package Hibo_Pharma
 */

/* ================================================================
   1. BRAND COLOR UNIFICATION — All page hero banners → Forest Green
   ================================================================ */

/* Shop / Archive / Best Sellers / Bundles hero banner */
.hibo-shop-hero,
.woo-shop-hero,
.page-template-default .hibo-page-hero,
.tax-product_cat .hibo-shop-hero {
    background: linear-gradient(135deg, #0d4a2f 0%, #1b7a48 100%) !important;
}

/* Section tags and announcement tag colors */
.hibo-announcement-tag {
    background: rgba(255, 255, 255, 0.22) !important;
}

/* Header Brand Logo Typography & Subtitle */
.hibo-logo,
.hibo-header-logo-link {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

.hibo-logo-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.hibo-brand-logo-img {
    height: 42px !important;
    width: 42px !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.hibo-logo-text-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.hibo-logo-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0d4a2f !important;
    line-height: 1.1 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
}

.hibo-logo-title span {
    color: #16a34a !important;
}

.hibo-logo-subtitle {
    font-size: 10.5px !important;
    color: #64748b !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    margin-top: 2px !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* ================================================================
   2. CONTACT PAGE — Mobile Responsive Fix
   ================================================================ */
.hibo-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: start;
}

.hibo-contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hibo-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(13, 74, 47, 0.10);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(13, 74, 47, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hibo-contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(13, 74, 47, 0.08);
    color: #0d4a2f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hibo-contact-form-wrap {
    background: #ffffff;
    border: 1px solid rgba(13, 74, 47, 0.10);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(13, 74, 47, 0.08);
}

/* Contact form inputs */
.hibo-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(13, 74, 47, 0.15);
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #f8faf9;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.hibo-form-input:focus {
    outline: none;
    border-color: #0d4a2f;
    box-shadow: 0 0 0 3px rgba(13, 74, 47, 0.10);
    background: #fff;
}

/* Contact form 2-col grid → mobile */
.hibo-contact-form > div[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 900px) {
    .hibo-contact-grid {
        grid-template-columns: 1fr !important;
    }

    .hibo-contact-form-wrap {
        padding: 22px 16px !important;
    }

    .hibo-contact-form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .hibo-contact-card {
        flex-direction: column;
        gap: 10px;
    }

    .hibo-contact-form-wrap {
        padding: 18px 12px !important;
        border-radius: 14px !important;
    }
}

/* ================================================================
   3. ABOUT PAGE — Mobile Responsive
   ================================================================ */
.hibo-about-section {
    padding: 60px 0;
}

/* About page content grid (WP content) */
.hibo-about-page .entry-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}

.hibo-about-page .entry-content h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 900;
    color: #0f172a;
    margin: 32px 0 12px;
}

/* About page hero cleanup */
.page-id-about .hibo-page-hero h1,
.page .hibo-page-hero h1 {
    font-size: clamp(28px, 5vw, 52px) !important;
}

/* ================================================================
   4. CART PAGE — Complete Restyle
   ================================================================ */

/* Cart page wrapper */
.woocommerce-cart .woocommerce {
    max-width: 100%;
}

/* Cart title */
.woocommerce-cart h1.entry-title,
.woocommerce-cart .page-title {
    font-size: clamp(22px, 4vw, 36px) !important;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 24px;
}

/* ================================================================
   4. CART PAGE — MODERN RESPONSIVE CARD SYSTEM
   ================================================================ */

/* Hide sales toast on Cart and Checkout pages */
.woocommerce-cart .hibo-sales-toast,
.woocommerce-checkout .hibo-sales-toast {
    display: none !important;
}

/* Cart Wrapper */
.dn-cart-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
    margin: 28px 0 60px;
}

/* Cart List Container */
.dn-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Free Shipping Interactive Progress Banner */
.dn-free-shipping-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.95));
    border: 1.5px solid rgba(34, 197, 94, 0.25);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(13, 74, 47, 0.06);
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dn-free-shipping-banner.is-unlocked {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.20);
}

.dn-shipping-msg {
    font-size: 13.5px;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.dn-free-shipping-banner.is-unlocked .dn-shipping-msg {
    color: #065f46;
}

.dn-shipping-msg strong {
    color: #0d4a2f;
    font-weight: 800;
}

.dn-shipping-progress-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.dn-shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1b7a48, #22c55e);
    border-radius: 999px;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.dn-free-shipping-banner.is-unlocked .dn-shipping-progress-fill {
    background: linear-gradient(90deg, #22c55e, #10b981);
}

/* Desktop Header */
.dn-cart-list-header {
    display: grid;
    grid-template-columns: 1fr 100px 140px 100px;
    padding: 12px 20px;
    background: linear-gradient(90deg, #0d4a2f, #1b7a48);
    border-radius: 14px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dn-header-subtotal {
    text-align: right;
}

/* Cart Item Card (Desktop) */
.dn-cart-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(13, 74, 47, 0.10);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(13, 74, 47, 0.06);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dn-cart-item-card:hover {
    box-shadow: 0 8px 28px rgba(13, 74, 47, 0.12);
}

/* Thumbnail */
.dn-item-thumb {
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8faf9;
    border: 1px solid rgba(13, 74, 47, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dn-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Column */
.dn-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dn-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dn-item-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

.dn-item-name a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dn-item-name a:hover {
    color: #0d4a2f;
}

/* Remove Button */
.dn-item-remove {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: rgba(225, 29, 72, 0.08);
    color: #e11d48 !important;
    font-size: 18px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    line-height: 1;
    transition: all 0.2s ease;
}

.dn-item-remove:hover {
    background: #e11d48;
    color: #ffffff !important;
    transform: scale(1.1);
}

.dn-item-unit-price {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

.dn-label-mobile {
    display: none;
}

/* Bottom Row (Quantity + Subtotal) */
.dn-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
}

/* Quantity Stepper */
.dn-item-qty-wrap {
    display: inline-flex;
    align-items: center;
    background: #f1f8f4;
    border: 1.5px solid rgba(13, 74, 47, 0.18);
    border-radius: 12px;
    padding: 2px 6px;
    gap: 4px;
}

.dn-qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    color: #0d4a2f;
    border-radius: 8px;
    user-select: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dn-qty-btn:hover {
    background: rgba(13, 74, 47, 0.12);
}

.dn-qty-btn:active {
    transform: scale(0.9);
}

.dn-qty-input,
.dn-item-qty-wrap input.qty {
    width: 44px !important;
    height: 28px !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    color: #0d4a2f !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dn-qty-input:focus,
.dn-item-qty-wrap input.qty:focus {
    outline: none !important;
}

/* Subtotal */
.dn-item-subtotal {
    font-size: 17px;
    font-weight: 900;
    color: #0d4a2f;
    text-align: right;
}

/* Actions Bar (Coupon) */
.dn-cart-actions-bar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(13, 74, 47, 0.10);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(13, 74, 47, 0.05);
}

.dn-coupon-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dn-coupon-input {
    flex: 1;
    height: 44px !important;
    background: #f8faf9 !important;
    border: 1.5px solid rgba(13, 74, 47, 0.15) !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    color: #0f172a !important;
}

.dn-coupon-input:focus {
    border-color: #0d4a2f !important;
    outline: none !important;
    background: #fff !important;
}

.dn-coupon-btn {
    height: 44px !important;
    background: linear-gradient(135deg, #0d4a2f 0%, #1b7a48 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 0 22px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.dn-coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(13, 74, 47, 0.3);
}

/* Cart Collaterals & Totals */
.dn-cart-collaterals .cart_totals {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1.5px solid rgba(13, 74, 47, 0.12) !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-shadow: 0 12px 36px rgba(13, 74, 47, 0.10) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.dn-cart-collaterals .cart_totals h2 {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 18px !important;
    padding-bottom: 14px !important;
    border-bottom: 1.5px solid rgba(13, 74, 47, 0.08) !important;
}

.dn-cart-collaterals .cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.dn-cart-collaterals .cart_totals table th {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    padding: 12px 0 !important;
    vertical-align: top !important;
    width: 35% !important;
}

.dn-cart-collaterals .cart_totals table td {
    font-size: 14px !important;
    color: #0f172a !important;
    padding: 12px 0 !important;
    text-align: right !important;
}

.dn-cart-collaterals .cart_totals .order-total th,
.dn-cart-collaterals .cart_totals .order-total td {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #0d4a2f !important;
    border-top: 1.5px solid rgba(13, 74, 47, 0.08) !important;
    padding-top: 16px !important;
}

/* Shipping Options List */
#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important;
}

#shipping_method li {
    background: #f8faf9 !important;
    border: 1.5px solid rgba(13, 74, 47, 0.12) !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#shipping_method li:hover {
    border-color: #0d4a2f !important;
    background: #f1f8f4 !important;
}

#shipping_method li input[type="radio"] {
    accent-color: #0d4a2f !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* Checkout Button */
.wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #22c55e 0%, #0d4a2f 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.35) !important;
    transition: all 0.25s ease !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    box-sizing: border-box !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 32px rgba(34, 197, 94, 0.5) !important;
    color: #ffffff !important;
}

/* ================================================================
   MOBILE RESPONSIVE CART OVERRIDES
   ================================================================ */
@media (max-width: 900px) {
    .dn-cart-wrapper {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 600px) {
    .dn-cart-list-header {
        display: none !important;
    }

    .dn-cart-item-card {
        padding: 14px !important;
        gap: 12px !important;
        border-radius: 18px !important;
    }

    .dn-item-thumb {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        border-radius: 12px !important;
    }

    .dn-item-name {
        font-size: 13px !important;
    }

    .dn-item-name a {
        font-size: 13px !important;
    }

    .dn-item-unit-price {
        font-size: 12px !important;
    }

    .dn-label-mobile {
        display: inline !important;
        font-weight: 600 !important;
        color: #94a3b8 !important;
    }

    .dn-item-subtotal {
        font-size: 15px !important;
    }

    .dn-cart-collaterals .cart_totals {
        padding: 20px 16px !important;
        border-radius: 20px !important;
    }

    .dn-cart-collaterals .cart_totals table th {
        font-size: 12px !important;
        width: 30% !important;
    }

    .dn-cart-collaterals .cart_totals table td {
        font-size: 13px !important;
    }

    .dn-coupon-box {
        flex-direction: row !important;
    }

    .dn-coupon-input {
        height: 40px !important;
        font-size: 12px !important;
    }

    .dn-coupon-btn {
        height: 40px !important;
        padding: 0 16px !important;
        font-size: 12px !important;
    }

    .wc-proceed-to-checkout a.checkout-button {
        padding: 14px !important;
        font-size: 15px !important;
    }
}

/* ================================================================
   5. WISHLIST — Brand Color Fix
   ================================================================ */

/* Heart wishlist button on product cards */
.hibo-wishlist-btn,
.hibo-wishlist-toggle,
button.hibo-wishlist-btn,
button.hibo-wishlist-toggle,
a.hibo-wishlist-btn {
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10) !important;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1) !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
}

.hibo-wishlist-btn:hover,
.hibo-wishlist-toggle:hover,
button.hibo-wishlist-btn:hover,
button.hibo-wishlist-toggle:hover {
    color: #e11d48 !important;
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.15) !important;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.25) !important;
}

.hibo-wishlist-btn.is-wishlisted,
.hibo-wishlist-btn.is-active,
.hibo-wishlist-toggle.is-wishlisted,
.hibo-wishlist-toggle.is-active {
    color: #e11d48 !important;
    background: #fff !important;
}

.hibo-wishlist-btn.is-wishlisted svg,
.hibo-wishlist-toggle.is-wishlisted svg,
.hibo-wishlist-btn.is-active svg,
.hibo-wishlist-toggle.is-active svg {
    fill: #e11d48 !important;
    stroke: #e11d48 !important;
}

/* Mobile Bottom Bar Badges */
.hibo-mobile-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hibo-mobile-badge {
    position: absolute !important;
    top: -6px !important;
    right: -10px !important;
    background: #e11d48 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    min-width: 16px !important;
    height: 16px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4) !important;
    border: 1.5px solid #ffffff !important;
    line-height: 1 !important;
}

.hibo-mobile-nav-cart .hibo-mobile-badge {
    background: #0d4a2f !important;
    box-shadow: 0 2px 6px rgba(13, 74, 47, 0.4) !important;
}

/* Header Wishlist Badge display */
#hiboWishlistCount,
.hibo-wishlist-count {
    background: #e11d48 !important;
    color: #ffffff !important;
}

/* Wishlist page */
.wishlist_table.shop_table {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(13, 74, 47, 0.10) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 24px rgba(13, 74, 47, 0.08) !important;
}

.wishlist_table thead th {
    background: linear-gradient(90deg, #0d4a2f, #1b7a48) !important;
    color: #fff !important;
    padding: 14px 18px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
}

.wishlist_table tbody td {
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(13, 74, 47, 0.06) !important;
    vertical-align: middle !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.wishlist_table td a.remove_from_wishlist {
    color: #e11d48 !important;
}

.wishlist_table .product-add-to-cart .button {
    background: linear-gradient(135deg, #22c55e, #0d4a2f) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 9px 18px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

/* ================================================================
   6. SHOP PAGE COLOR — Teal → Forest Green
   ================================================================ */
.hibo-shop-hero {
    background: linear-gradient(135deg, #0d4a2f 0%, #1b7a48 80%, #064e3b 100%) !important;
}

/* All .woo-page-hero, archive hero boxes */
.hibo-page-hero,
.hibo-archive-hero {
    background: linear-gradient(135deg, #0d4a2f 0%, #1b7a48 100%) !important;
}

/* ================================================================
   7. SECTION DOUBLE HEADING FIX
   ================================================================ */

/* On page-contact and page-about: hide the global breadcrumb if page outputs its own */
.page-template-page-contact .hibo-breadcrumbs:first-of-type + .hibo-breadcrumbs,
.page .hibo-breadcrumbs + .hibo-breadcrumbs {
    display: none !important;
}

/* ================================================================
   8. MOBILE GLOBAL FIXES
   ================================================================ */
@media (max-width: 768px) {
    /* About page */
    .entry-content {
        padding: 0 4px;
    }

    /* Footer grid mobile */
    .hibo-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    /* Section padding mobile */
    .dn-section {
        padding: 40px 0 !important;
    }

    .hibo-section {
        padding: 36px 0 !important;
    }

    /* Fix hero headings overflow */
    .dn-hero-title {
        word-break: break-word;
    }

    /* Cart collaterals */
    .woocommerce-cart .cart-collaterals {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Footer single column */
    .hibo-footer-grid {
        grid-template-columns: 1fr !important;
    }

    .hibo-footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
    }

    .hibo-contact-form-wrap {
        padding: 16px 12px !important;
    }
}

/* ================================================================
   9. ANNOUNCEMENT BAR — Forest Green (Fix teal color)
   ================================================================ */
.hibo-announcement-bar {
    background: linear-gradient(90deg, #0d4a2f 0%, #1b7a48 50%, #0d4a2f 100%) !important;
}

/* ================================================================
   10. SCROLL PROGRESS BAR (Bonus UX)
   ================================================================ */
#dnScrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #22c55e, #0d4a2f);
    z-index: 99999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ================================================================
   11. CONTACT FORM ROW — Class-based 2-col Grid
   ================================================================ */
.dn-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

/* About 2-col grid class */
.dn-about-grid2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

/* ================================================================
   12. FORCE FOREST GREEN — All Archive Headers (Beat inline styles)
   ================================================================ */
.hibo-archive-header {
    background: linear-gradient(135deg, #0d4a2f 0%, #1b7a48 100%) !important;
}

/* ================================================================
   13. MOBILE RESPONSIVE — About + Contact + Global Grids
   ================================================================ */
@media (max-width: 900px) {

    .dn-about-grid2 {
        grid-template-columns: 1fr !important;
    }

    .dn-form-row {
        grid-template-columns: 1fr !important;
    }

    .hibo-contact-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .hibo-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Collapse ALL inline 2-col grids on mobile */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Archive header compact */
    .hibo-archive-header {
        padding: 36px 0 !important;
    }

    .hibo-archive-header .hibo-archive-title {
        font-size: clamp(22px, 7vw, 38px) !important;
    }
}

@media (max-width: 600px) {
    .dn-form-row {
        grid-template-columns: 1fr !important;
    }

    .hibo-form-input {
        font-size: 16px !important;
    }

    .hibo-contact-card {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hibo-contact-form-wrap {
        padding: 18px 14px !important;
    }

    .dn-about-grid2 > div {
        padding: 20px !important;
    }

    .hibo-archive-header {
        padding: 28px 0 !important;
    }
}

/* ================================================================
   15. AJAX CART NOTIFICATION TOAST & VIEW CART BUTTON STYLING
   ================================================================ */

/* WooCommerce Native Added to Cart Button Styling */
.added_to_cart.wc-forward,
a.added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #0d4a2f 0%, #1b7a48 100%) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 10px 18px !important;
    border-radius: var(--dn-r-full, 999px) !important;
    text-decoration: none !important;
    margin-top: 8px !important;
    box-shadow: 0 4px 16px rgba(13, 74, 47, 0.25) !important;
    animation: dnSlideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    width: 100% !important;
    box-sizing: border-box !important;
    letter-spacing: 0.3px !important;
    transition: all 0.25s ease !important;
}

.added_to_cart.wc-forward:hover,
a.added_to_cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(13, 74, 47, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

@keyframes dnSlideUpFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card Button View Cart State */
.hibo-card-btn.is-view-cart,
.hibo-card-btn.added {
    background: linear-gradient(135deg, #0d4a2f 0%, #16a34a 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(22, 163, 74, 0.35) !important;
    border-color: transparent !important;
}

.hibo-card-btn.is-view-cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 26px rgba(22, 163, 74, 0.5) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Toast Container (Top-Right Floating) */
.dn-cart-toast-container {
    position: fixed;
    top: 90px;
    right: 28px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
    width: calc(100% - 32px);
}

/* Individual Toast Card */
.dn-cart-toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1.5px solid rgba(34, 197, 94, 0.4);
    border-radius: 20px;
    padding: 16px 18px 18px;
    box-shadow: 0 20px 48px rgba(13, 74, 47, 0.25), 0 4px 16px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.dn-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Header Row in Toast */
.dn-toast-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dn-toast-badge {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0d4a2f;
    background: rgba(34, 197, 94, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
}

.dn-toast-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: dnPulse 1.5s infinite;
}

.dn-toast-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #64748b;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s ease;
}

.dn-toast-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Toast Body */
.dn-toast-body {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.dn-toast-img-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8faf9;
    border: 1px solid rgba(13, 74, 47, 0.15);
}

.dn-toast-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dn-toast-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
}

.dn-toast-content {
    flex: 1;
    min-width: 0;
}

.dn-toast-title {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.dn-toast-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.dn-toast-price {
    font-weight: 900;
    color: #0d4a2f;
}

.dn-toast-count {
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
}

/* Toast Action Buttons */
.dn-toast-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
}

.dn-toast-btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #0d4a2f;
    background: rgba(13, 74, 47, 0.08);
    border: 1.5px solid rgba(13, 74, 47, 0.2);
    padding: 9px 14px;
    border-radius: var(--dn-r-full, 999px);
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.dn-toast-btn-cart:hover {
    background: #0d4a2f;
    color: #ffffff;
    text-decoration: none;
}

.dn-toast-btn-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #0d4a2f 100%);
    padding: 9px 16px;
    border-radius: var(--dn-r-full, 999px);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
    transition: all 0.2s ease;
    text-align: center;
}

.dn-toast-btn-checkout:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5);
    text-decoration: none;
}

/* Progress Countdown Bar */
.dn-toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(34, 197, 94, 0.15);
}

.dn-toast-progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #22c55e, #0d4a2f);
    animation: dnToastProgress 5s linear forwards;
}

@keyframes dnToastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Button Loading State */
.hibo-card-btn.loading,
.single_add_to_cart_button.loading {
    opacity: 0.9;
    pointer-events: none;
    background: #0d4a2f !important;
    color: #fff !important;
}

/* Spinner */
.dn-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: dnSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 5px;
}

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

/* Header Cart Count Bounce */
.dn-badge-bounce {
    animation: dnBadgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dnBadgeBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.45); background: #22c55e; }
    100% { transform: scale(1); }
}

/* Mobile Toast adjustments */
@media (max-width: 600px) {
    .dn-cart-toast-container {
        top: 20px;
        right: 14px;
        left: 14px;
        width: auto;
    }
}

/* ================================================================
   10. LUXURY RESPONSIVE CHECKOUT SYSTEM (Derma Natural)
   ================================================================ */

.hibo-wc-checkout-page-container {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.hibo-modern-checkout-form {
    width: 100% !important;
    margin-top: 10px !important;
}

/* 2-Column Responsive Layout */
.hibo-checkout-layout-grid {
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
}

/* Cards */
.hibo-checkout-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.hibo-sticky-review-card {
    position: sticky !important;
    top: 90px !important;
}

/* Card Headers */
.hibo-checkout-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 24px 28px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.hibo-checkout-card-header.hibo-emerald-header {
    background: linear-gradient(135deg, #063c31 0%, #0d5c4b 100%) !important;
    border-bottom: 1px solid #10b981 !important;
}

.hibo-step-badge {
    width: 36px !important;
    height: 36px !important;
    background: #0d5c4b !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(13, 92, 75, 0.25) !important;
}

.hibo-step-badge.hibo-badge-emerald {
    background: #10b981 !important;
    color: #063c31 !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35) !important;
}

.hibo-checkout-section-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.hibo-checkout-section-subtitle {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 3px 0 0 !important;
    line-height: 1.3 !important;
}

/* Card Bodies */
.hibo-checkout-billing-fields,
.hibo-checkout-shipping-fields,
.hibo-checkout-card-body {
    padding: 28px !important;
}

.hibo-checkout-shipping-fields {
    border-top: 1px dashed #e2e8f0 !important;
    padding-top: 20px !important;
}

/* Form Rows & Inputs */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
}

.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
.woocommerce-shipping-fields h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
}

.woocommerce form .form-row {
    margin: 0 0 16px !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: calc(50% - 8px) !important;
}

.woocommerce form .form-row-wide {
    width: 100% !important;
}

.woocommerce form .form-row label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 7px !important;
    line-height: 1.3 !important;
    display: block !important;
}

.woocommerce form .form-row label .required {
    color: #dc2626 !important;
    text-decoration: none !important;
    margin-left: 3px !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    font-family: inherit !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    outline: none !important;
}

.woocommerce form .form-row input.input-text {
    height: 48px !important;
}

.woocommerce form .form-row select {
    height: 48px !important;
    cursor: pointer !important;
}

.woocommerce form .form-row textarea {
    min-height: 90px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    background: #ffffff !important;
    border-color: #0d5c4b !important;
    box-shadow: 0 0 0 4px rgba(13, 92, 75, 0.12) !important;
}

/* Coupon Notice Bar */
.woocommerce-form-coupon-toggle {
    margin-bottom: 24px !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: #f0fdf4 !important;
    border: 1.5px dashed #0d5c4b !important;
    border-radius: 12px !important;
    color: #0d5c4b !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: #0d5c4b !important;
    text-decoration: underline !important;
    font-weight: 800 !important;
    margin-left: 6px !important;
}

.woocommerce-form-coupon {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.woocommerce-form-coupon .form-row-first {
    flex: 1 1 240px !important;
}

.woocommerce-form-coupon .form-row-last {
    flex: 0 0 auto !important;
}

.woocommerce-form-coupon button.button {
    height: 48px !important;
    background: #0d5c4b !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 0 24px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce-form-coupon button.button:hover {
    background: #094336 !important;
}

/* Trust Banner Below Billing */
.hibo-checkout-trust-banner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    margin-top: 20px !important;
}

.hibo-trust-pill {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 11.5px !important;
    color: #475569 !important;
    line-height: 1.3 !important;
}

.hibo-trust-pill strong {
    color: #0f172a !important;
}

.hibo-trust-icon {
    font-size: 20px !important;
    flex-shrink: 0 !important;
}

/* Order Review Table */
.hibo-modern-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 24px !important;
}

.hibo-modern-order-table thead th {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    padding: 0 0 12px !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
}

.hibo-modern-order-table tbody td {
    padding: 14px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.hibo-checkout-product-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.hibo-checkout-thumb-box {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    background: #f8fafc !important;
}

.hibo-checkout-thumb-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 9px !important;
}

.hibo-checkout-qty-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #0d5c4b !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.hibo-checkout-product-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    display: block !important;
}

.hibo-checkout-item-subtotal {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    text-align: right !important;
    display: block !important;
}

/* Totals rows */
.hibo-modern-order-table tfoot th {
    padding: 10px 0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.hibo-modern-order-table tfoot td {
    padding: 10px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: right !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.hibo-modern-order-table tfoot tr.order-total th {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

.hibo-modern-order-table tfoot tr.order-total td {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0d5c4b !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

/* Payment Methods List */
#payment {
    background: transparent !important;
    border-radius: 0 !important;
    margin-top: 16px !important;
}

#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#payment ul.payment_methods li.wc_payment_method {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

#payment ul.payment_methods li.wc_payment_method:hover {
    border-color: #0d5c4b !important;
    background: #f8fafc !important;
}

#payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
    accent-color: #0d5c4b !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    cursor: pointer !important;
}

#payment ul.payment_methods li.wc_payment_method > label {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

#payment div.payment_box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 14px !important;
    font-size: 13px !important;
    color: #475569 !important;
    margin: 12px 0 0 !important;
    line-height: 1.5 !important;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Place Order Button */
#payment #place_order {
    width: 100% !important;
    height: 54px !important;
    background: linear-gradient(135deg, #0d5c4b 0%, #15803d 100%) !important;
    color: #ffffff !important;
    font-size: 16.5px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(13, 92, 75, 0.32) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 14px !important;
}

#payment #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(13, 92, 75, 0.42) !important;
    filter: brightness(1.06) !important;
}

/* Terms and Conditions Checkbox */
.woocommerce-privacy-policy-text {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 14px 0 !important;
    line-height: 1.4 !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-top: 14px !important;
}

.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #334155 !important;
    cursor: pointer !important;
}

.woocommerce-form__input-checkbox {
    accent-color: #0d5c4b !important;
    width: 16px !important;
    height: 16px !important;
    margin-top: 3px !important;
    cursor: pointer !important;
}

/* ================================================================
   MOBILE RESPONSIVENESS (< 992px & < 768px)
   ================================================================ */
@media (max-width: 991px) {
    .hibo-checkout-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .hibo-sticky-review-card {
        position: static !important;
    }

    .hibo-checkout-trust-banner {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 767px) {
    .hibo-wc-checkout-page-container {
        padding: 16px 10px 60px !important;
    }

    .hibo-checkout-card-header {
        padding: 18px 16px !important;
    }

    .hibo-checkout-billing-fields,
    .hibo-checkout-shipping-fields,
    .hibo-checkout-card-body {
        padding: 18px 16px !important;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100% !important;
    }

    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row select {
        height: 46px !important;
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
    }

    .hibo-checkout-section-title {
        font-size: 16px !important;
    }

    #payment #place_order {
        height: 50px !important;
        font-size: 15px !important;
    }
}

/* Select2 Dropdown Refinement for Checkout */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background-color: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0d5c4b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(13, 92, 75, 0.12) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 16px !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.select2-dropdown {
    border-radius: 12px !important;
    border: 1.5px solid #0d5c4b !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #0d5c4b !important;
}

