/* ===============================
   Header
=============================== */

.ultra-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    z-index: 999;
    margin-bottom: 20px;
    border-top: 5px solid var(--primary);
}

.ultra-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo a {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -.3px;
    color: var(--primary);
    ;
}

/* ===============================
   Navigation
=============================== */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

/* Menu links */
.main-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 2px;
    font-size: 12px;
    color: var(--muted, #777);
    transition: all .25s ease;
}

/* Hover */
.main-nav a:hover {
    color: var(--text, #111);
}

/* Active item */
.main-nav .current-menu-item>a,
.main-nav .current-menu-parent>a {
    color: var(--text, #111);
    font-weight: 600;
}

/* ===============================
   Sub Menu (Dropdown)
=============================== */

.main-nav .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    list-style: none;
    border: 1px solid #eee;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .25s ease;
    z-index: 999;
    display: inline;
}

/* Show submenu */
.main-nav li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Sub menu items */
.main-nav .sub-menu li {
    width: 100%;
}

/* Sub menu links */
.main-nav .sub-menu a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--text, #111);
}

/* Hover sub item */
.main-nav .sub-menu a:hover {
    background: var(--surface, #f6f7f9);
}

/* Active sub item */
.main-nav .sub-menu .current-menu-item>a {
    background: rgba(13, 110, 253, .1);
    color: var(--primary);
    font-weight: 600;
}

/* ===============================
   Sub Menu Level 2 (Fly-out – RTL)
=============================== */

/* ساب‌منوی تو در تو */
.main-nav .sub-menu .sub-menu {
    top: 0;
    right: 100%;
    /* ✅ باز شدن به سمت چپ (RTL) */
    margin-right: 8px;
    transform: translateY(0);
}

/* نمایش ساب‌منوی سطح دوم */
.main-nav .sub-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
}

/* ===============================
   Mobile Menu UI
=============================== */

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 20px;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* mobile menu list */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
    position: relative;
}

.mobile-menu a {
    display: block;
    padding: 12px 4px;
    font-size: 12px;
}

/* hide sub menu */
.mobile-menu .sub-menu {
    display: none;
    padding-right: 12px;
}

/* toggle icon */
.mobile-menu .menu-item-has-children>a::after {
    content: "▾";
    position: absolute;
    left: 0;
    font-size: 14px;
    transition: transform .25s ease;
}

/* open state */
.mobile-menu .menu-item-has-children.open>a::after {
    transform: rotate(180deg);
}

.mobile-menu .menu-item-has-children.open>.sub-menu {
    display: block;
}

/* ===============================
   Mobile Adjustments
=============================== */

@media (max-width: 768px) {

    .main-nav ul {
        flex-direction: column;
        gap: 14px;
    }

    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
    }
}

/* ===============================
   Header Actions
=============================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.icon-btn,
.search-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: none;
    cursor: pointer;
    transition: all .25s ease;
}

.icon-btn:hover,
.search-btn:hover {
    background: #eef1f5;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* SVG */
.header-actions svg {
    width: 20px;
    height: 20px;
}

/* Cart */
.cart-wrap {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 300;
    text-align: center;
    line-height: 18px;
}

.cart-wrap:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===============================
   Search Modal
=============================== */

.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.search-modal.active {
    display: flex;
}

.search-box {
    background: #fff;
    width: 90%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    padding: 22px;
}

.search-box input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #eee;
    font-family: inherit;
}

.search-item {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #111;
    text-decoration: none;
    font-size: 12px;
}

.search-item:hover {
    background: var(--surface);
}

/* ===============================
   Mobile
=============================== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {

    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        padding: 20px;
        transition: right .3s ease;
        z-index: 9999;
    }

    .mobile-menu.active {
        right: 0;
    }
}

/* ===============================
   Footer – Ultra Shop
=============================== */

.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 40px 20px 20px;
    font-size: 15px;
    color: #333;
    margin-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo a {
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    color: var(--primary);
    ;
}

.footer-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-title::before {
  content: "";
  width: 4px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--primary);
  display: inline-block;
  margin-left: 7px;
  box-shadow: 0px 5px 15px 0px rgba(14, 68, 230, 0.42);
}

.footer-text {
    line-height: 1.7;
    margin-top: 10px;
    color: #555;
    font-size: 12px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 6px;
}

.footer-nav a {
    text-decoration: none;
    color: #555;
    transition: color .2s;
    font-size: 12px;
}

.footer-nav a:hover {
    color: #111;
}

.footer-widget img {
    margin-left: 6px;
    opacity: .9;
    transition: transform .2s, opacity .2s;
    background: var(--surface);
    border-radius: var(--radius-md);
    width: 70px;
    padding: 5px;
}

.footer-widget img:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 10px;
    color: #666;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-title {
        margin-top: 20px;
    }
}


/* ===============================
   Mobile Bottom Bar – Ultra Shop
=============================== */

.mobile-bottom-bar {
    display: none;
    /* desktop hidden */
}

@media (max-width: 768px) {

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        height: 64px;
        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(10px);
        border-top: 1px solid #eee;
        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    /* prevent content hiding behind bar */
    body {
        padding-bottom: 64px;
    }

    .mobile-bottom-bar .bottom-item {
        flex: 1;
        text-align: center;
        font-size: 10px;
        color: var(--muted);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        transition: all .25s ease;
    }

    .mobile-bottom-bar .icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-bottom-bar svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
    }

    /* Active */
    .mobile-bottom-bar .bottom-item.active {
        color: var(--primary);
    }

    /* ===============================
       Home – Special (Professional)
    =============================== */

    .mobile-bottom-bar .bottom-home .icon {
        width: 48px;
        height: 48px;
        background: var(--surface);
        border-radius: 50%;
        margin-top: -22px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
        transition: all .25s ease;
    }

    .mobile-bottom-bar .bottom-home.active .icon {
        background: linear-gradient(135deg, var(--primary), #2563eb);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(13, 110, 253, .45);
    }
}

/* =====================================================
🛒 ULTRA CART – BASED ON YOUR cart.php (WORKING)
===================================================== */
.ultra-cart-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    margin-top: 30px;
    margin-bottom: 100px;
    padding: 0;
    align-items: start;
}

/* Mobile */
@media (max-width: 1024px) {
    .ultra-cart-section {
        grid-template-columns: 1fr;
    }
}

/* Title */
.ultra-cart-section .cart-title {
    grid-column: 1 / -1;
    font-size: 18px;
    margin-bottom: 10px;
}

/* =====================
Cart Table
===================== */

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}

.cart-table th {
    font-size: 12px;
    font-weight: 300;
    color: #6b7280;
    padding: 14px 10px;
    background: #f9fafb;
}

.cart-table td {
    padding: 16px 10px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f1f1;
}

/* Product image */
.cart-table .product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
}

/* Product name */
.cart-table .product-name a {
    font-size: 12px;
    color: #111;
    line-height: 1.9;
    text-decoration: none;
}

/* Price */
.cart-table bdi {
    font-size: 15px;
    font-weight: 600;
    color: #0d6efd;
}

.checkout-right bdi {
    font-size: 15px;
    color: #0d6efd;
}

/* Quantity */
.cart-table .quantity input.qty {
    width: 58px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

/* Remove button (Ajax safe) */
.cart-table .product-remove a.remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: .2s;
}

.cart-table .product-remove a.remove:hover {
    background: #fecaca;
}

/* =====================
Cart Actions
===================== */
.cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.cart-actions .btn-update-cart,
.cart-actions .btn-go-checkout {
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-update-cart {
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
}

.btn-go-checkout {
    background: var(--primary);
    color: #fff;
    border: none;
}

/* =====================
Cart Summary Box
===================== */

.cart-summary-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 110px;
}

.cart-summary-box h2 {
    font-size: 14px;
    margin-bottom: 16px;
}

.cart-summary-box .cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.cart-summary-box strong {
    font-weight: 600;
    font-size: 15px;
    color: #0d6efd;
}

/* Pay button */
.cart-summary-box .btn-pay-now {
    margin-top: 14px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    box-shadow: 0px 5px 15px 0px rgba(14, 68, 230, 0.42);
}

/* =====================================================
🛒 ULTRA CART – MOBILE RESPONSIVE (ONLY CSS)
===================================================== */

@media (max-width: 768px) {

    /* Grid → single column already OK */
    .ultra-cart-section {
        gap: 20px;
        margin-bottom: 40px;
    }

    /* =====================
     TABLE → CARD MODE
  ===================== */

    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table tr,
    .cart-table th,
    .cart-table td {
        display: block;
        width: 100%;
    }

    /* remove table header */
    .cart-table tr:first-child {
        display: none;
    }

    /* each product card */
    .cart-table tr {
        background: #fff;
        border-radius: 18px;
        padding: 20px;
        margin-bottom: 14px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
        position: relative;
    }

    .cart-table td {
        border: none;
    }

    /* =====================
     REMOVE BUTTON
  ===================== */
    .cart-table .product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    /* =====================
     PRODUCT IMAGE
  ===================== */
    .cart-table .product-thumbnail {
        text-align: center;
        margin-bottom: 8px;
    }

    .cart-table .product-thumbnail img {
        width: 90px;
        height: auto;
    }

    /* =====================
     PRODUCT NAME
  ===================== */
    .cart-table .product-name a {
        font-size: 14px;
        font-weight: 500;
        display: block;
        text-align: center;
        margin-bottom: 8px;
    }

    /* =====================
     PRICE / QTY / SUBTOTAL
  ===================== */
    .cart-table .product-price-cart,
    .cart-table .product-quantity,
    .cart-table .product-subtotal {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
    }

    .cart-table .product-price-cart::before {
        content: "قیمت:";
        color: #6b7280;
        font-size: 12px;
    }

    .cart-table .product-quantity::before {
        content: "تعداد:";
        color: #6b7280;
        font-size: 12px;
    }

    .cart-table .product-subtotal::before {
        content: "جمع:";
        color: #6b7280;
        font-size: 12px;
    }

    /* =====================
     CART ACTIONS
  ===================== */
    .cart-actions {
        flex-direction: column;
    }

    .cart-actions .btn-update-cart,
    .cart-actions .btn-go-checkout {
        width: 100%;
    }

    /* =====================
     SUMMARY BOX
  ===================== */
    .cart-summary-box {
        position: static;
    }
}

/* =====================================================
✅ ULTRA CHECKOUT – TWO COLUMN (LIKE CART)
===================================================== */

/* Wrapper */
.ultra-checkout-section {
    margin-top: 30px;
    padding: 0;
}

/* Title */
.ultra-checkout-section .checkout-title {
    font-size: 18px;
    margin-bottom: 20px;
}

/* =====================
Grid (same logic as cart)
===================== */

.ultra-checkout-section .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* Mobile */
@media (max-width: 1024px) {
    .ultra-checkout-section .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
Left / Right box (cart-summary-box style)
===================== */

.checkout-left,
.checkout-right {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 22px;
}

/* Sticky summary (like cart) */
.checkout-right {
    position: sticky;
    top: 100px;
}

/* Box titles */
.checkout-left h3,
.checkout-right h3 {
    font-size: 14px;
    margin-bottom: 16px;
}

/* =====================
WooCommerce form fields
===================== */

.woocommerce-checkout form.checkout {
    margin: 0;
}

/* Field groups */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    margin-bottom: 20px;
}

/* Each row */
.woocommerce-checkout .form-row {
    margin-bottom: 14px;
}

/* Labels */
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: #555;
}

/* Inputs */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    padding: 0 12px;
    font-family: inherit;
}

.woocommerce-checkout .form-row textarea {
    min-height: 90px;
    padding: 10px 12px;
}

/* =====================
Order Review (RIGHT)
===================== */

#order_review {
    margin: 0;
}

/* Review table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 300;
    color: #6b7280;
    padding: 8px 0;
    text-align: right;
}

.woocommerce-checkout-review-order-table td {
    font-weight: 500;
    padding: 8px 0;
    font-size: 12px;
}

/* =====================
Payment methods
===================== */

.woocommerce-checkout-payment {
    background: transparent;
    border: none;
    padding: 0;
}

.woocommerce-checkout-payment ul.payment_methods {
    margin: 0 0 14px;
    padding: 0;
}

.woocommerce-checkout-payment ul.payment_methods li {
    list-style: none;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    font-size: 13px;
}

/* =====================
Place order button (same vibe as cart)
===================== */
.woocommerce-privacy-policy-text {
    font-size: 12px;
}

#place_order {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 5px 15px 0px rgba(14, 68, 230, 0.42);
}

/* =========================================
   ✅ CHECKOUT – COUPON BOX (Ultra Style)
========================================= */
.woocommerce-form-coupon-toggle {
    font-size: 12px;
}

.woocommerce-form-coupon-toggle a {
    color: #0b5ed7;
}

#woocommerce-checkout-form-coupon {
    display: flex;
    gap: 8px;
}

#woocommerce-checkout-form-coupon button {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 5px 15px 0px rgba(14, 68, 230, 0.42);
    padding: 5px 20px 5px 20px;
}

#woocommerce-checkout-form-coupon input {
    width: 100%;
}

#woocommerce-checkout-form-coupon span {
    font-size: 12px;
}

.woocommerce-notices-wrapper {
    display: none;
}

/* ✅ Checkout password field styling */
.woocommerce-checkout .woocommerce-account-fields {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 16px;
    margin-top: 16px;
}

.woocommerce-checkout #account_password {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 13px;
}

.woocommerce-checkout .create-account label {
    font-size: 12px;
    color: #555;
}

/* =====================================
   ✅ Checkout – Show / Hide Password Button
===================================== */

.woocommerce-checkout .woocommerce-account-fields {
    position: relative;
}

/* Button (eye icon) */
.woocommerce-checkout .show-password-input {
    position: absolute;
    top: 76%;
    left: 25px;
    transform: translateY(-50%);
    width: 100px;
    height: 25px;
    border-radius: 10px;
    border: none;
    background: #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    z-index: 5;
}

/* Hover */
.woocommerce-checkout .show-password-input:hover {
    background: #e5e7eb;
}

/* Eye icon (default = hidden) */
.woocommerce-checkout .show-password-input::before {
    content: "نمایش رمز";
    font-size: 10px;
    opacity: .7;
}

/* When password is visible */
.woocommerce-checkout .show-password-input.display-password::before {
    content: "مخفی سازی";
    font-size: 10px;
    opacity: 1;
}

/* Password input padding fix */
.woocommerce-checkout #account_password {
    padding-left: 46px !important;
    /* space for eye button */
}

/* ===============================
   ✅ ULTRA THANK YOU PAGE
=============================== */

.ultra-thankyou-box {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ebebeb;
    margin-bottom: 25px;
}

.ultra-thankyou-box.success h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.ultra-thankyou-box.error {
    border-color: #ef394e;
    color: #ef394e;
}

.order-number {
    font-size: 14px;
    color: #555;
}

.ultra-order-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #ebebeb;
}

.ultra-order-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.ultra-order-items {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ultra-order-items th,
.ultra-order-items td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: right;
}

.ultra-order-totals {
    margin-top: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.ultra-thankyou-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.ultra-thankyou-actions a {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 12px;
    text-decoration: none;
}

/* ===============================
   🎁 NEXT PURCHASE COUPON (THANK YOU)
=============================== */

.ultra-next-purchase-coupon {
    margin-top: 25px;
    background: #fff;
    border: 1px dashed #0d6efd;
    border-radius: 20px;
    padding: 20px;
}

.ultra-next-purchase-coupon h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ultra-next-purchase-coupon p {
    font-size: 12px;
    color: #555;
    margin-bottom: 12px;
}

.coupon-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 10px 12px;
}

.coupon-code {
    font-size: 14px;
    font-weight: 700;
    color: #0d6efd;
    letter-spacing: 1px;
}

.coupon-copy-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 11px;
    cursor: pointer;
    transition: all .2s ease;
}

.coupon-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, .35);
}

.coupon-hint {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    color: #6b7280;
}

/* ===============================
✅ Ultra Toast Notification
=============================== */

.ultra-toast-wrap {
    position: fixed;
    top: 35px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ultra-toast {
    min-width: 260px;
    max-width: 360px;
    padding: 14px 16px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(-10px);
    transition: all .35s ease;
}

.ultra-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ultra-toast.success {
    background: #198754;
}

.ultra-toast.error {
    background: #dc3545;
}

.ultra-toast.info {
    background: #0d6efd;
}

.ultra-toast.warning {
    background: #ffc107;
    color: #111;
}

/* ✅ Mobile */
@media (max-width:768px) {
    .ultra-toast-wrap {
        top: 16px;
        left: 16px;
        right: 16px;
    }
}