/* ==========================================================================
   DGIBYT Electronics - Custom Theme Main CSS
   ========================================================================== */

/* --- Layout Defaults --- */
.dgibyt-container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   GLOBAL BUTTON ANIMATIONS — Buy Now Ripple & Glow
   ========================================================================== */

/* Ambient glow pulse on hover */
@keyframes btnGlowPulse {
    0% {
        box-shadow: 0 8px 20px rgba(227, 27, 35, 0.45);
    }

    50% {
        box-shadow: 0 8px 28px rgba(227, 27, 35, 0.70);
    }

    100% {
        box-shadow: 0 8px 20px rgba(227, 27, 35, 0.45);
    }
}

/* Ripple circle that expands from click point */
@keyframes btnRippleOut {
    0% {
        transform: scale(0);
        opacity: 0.55;
    }

    80% {
        transform: scale(4.5);
        opacity: 0.15;
    }

    100% {
        transform: scale(5);
        opacity: 0;
    }
}

/* Bounce keyframe for the button text/icon on click */
@keyframes btnBounceIn {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.88);
    }

    70% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

/* Ripple span injected by JS */
.btn-ripple-wave {
    position: absolute;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    animation: btnRippleOut 0.65s ease-out forwards;
    pointer-events: none;
    margin-top: -30px;
    margin-left: -30px;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* WooCommerce & Standard Page Wrappers */
.dgibyt-woocommerce-page-wrap,
.dgibyt-page-content-wrapper {
    width: 100%;
    min-height: 60vh;
    background: #f8fafc;
}

/* Account and checkout pages have their own backgrounds */
.woocommerce-account .dgibyt-woocommerce-page-wrap,
.woocommerce-checkout .dgibyt-woocommerce-page-wrap {
    background: transparent;
    min-height: unset;
}

/* --- 3-Level Header Layout --- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

/* Level 1: Top Welcome Bar */
.top-welcome-bar {
    background-color: #1e1e1e;
    color: #aeaeae;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #2d2d2d;
}

.top-welcome-bar .dgibyt-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    font-weight: 400;
}

.top-bar-right {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-bar-right a {
    color: #aeaeae;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar-right a:hover {
    color: #ffffff;
}

/* Level 2: Middle Logo and AJAX Search Bar */
.middle-header-bar {
    padding: 16px 0;
    background-color: #ffffff;
}

.middle-header-bar .dgibyt-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.header-logo a {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.header-logo a span {
    color: var(--primary-color);
}

/* Prominent Search Container */
.header-search-wrapper {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.search-form-header {
    display: flex;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}

.search-input-header {
    flex-grow: 1;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    outline: none;
    color: var(--text-color);
}

.search-input-header::placeholder {
    color: #888888;
}

.search-icons-group {
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 12px;
    color: var(--text-light);
}

.search-icons-group i {
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.search-icons-group i:hover {
    color: var(--primary-color);
}

.search-btn-header {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn-header:hover {
    background-color: var(--primary-hover);
}

/* AJAX Search Suggestions Panel */
.search-suggestions-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 110;
    display: none;
    max-height: 480px;
    overflow-y: auto;
    padding: 15px;
}

.suggestion-section {
    margin-bottom: 15px;
}

.suggestion-section:last-child {
    margin-bottom: 0;
}

.suggestion-title {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 4px;
}

.suggestion-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    background-color: #f1f1f1;
    color: var(--text-color);
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.suggestion-tag:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.suggested-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.suggested-item-link:hover {
    background-color: #f7f7f7;
}

.suggested-item-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.suggested-item-info {
    flex-grow: 1;
}

.suggested-item-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
}

.suggested-item-meta {
    font-size: 11px;
    color: var(--text-light);
}

.suggested-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--price-color);
}

/* User & Cart Icons */
.header-actions-group {
    display: flex;
    gap: 22px;
    align-items: center;
}

.header-action-btn {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 20px;
    position: relative;
    transition: color 0.2s;
}

.header-action-btn:hover {
    color: var(--primary-color);
}

.header-action-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Level 3: Navigation & Mega Menu Bar */
.bottom-navigation-bar {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

.bottom-navigation-bar .dgibyt-container {
    display: flex;
    align-items: center;
}

.nav-menu-wrapper {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu-item {
    position: relative;
}

.nav-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s, background-color 0.2s;
}

.nav-menu-link:hover,
.nav-menu-item.active .nav-menu-link {
    color: var(--primary-color);
    background-color: #fafafa;
}

.nav-menu-link.all-categories-trigger {
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.nav-menu-link.all-categories-trigger:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

/* ── WordPress Nav Menu Sub-Menu Dropdowns (from Walker) ── */
.nav-menu-item.has-submenu {
    position: relative;
}

.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav-menu-item.has-submenu:hover>.nav-submenu,
.nav-menu-item.has-submenu:focus-within>.nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-submenu-link {
    display: block;
    padding: 9px 18px;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    white-space: nowrap;
}

.nav-submenu-link:hover,
.nav-submenu-link.active {
    background: #f1f5f9;
    color: var(--primary-color);
    padding-left: 24px;
}

/* Nested sub-sub-menus (depth 2) */
.nav-submenu--deep {
    top: 0;
    left: 100%;
    border-radius: var(--radius-sm);
    margin-top: -8px;
}

.nav-submenu-item {
    position: relative;
}

.nav-submenu-item:hover>.nav-submenu--deep {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-submenu--deep {
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

/* --- Mega Menu Hover Panel --- */
.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 120;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    grid-template-columns: 2fr 1fr;
    padding: 24px;
}

.nav-menu-item:hover .mega-menu-panel {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mega-menu-column h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 8px;
}

.mega-menu-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s, padding-left 0.2s;
}

.mega-menu-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.mega-menu-promo {
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-menu-promo-card {
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    color: #ffffff;
    padding: 18px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mega-menu-promo-card h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
}

.mega-menu-promo-card p {
    font-size: 11px;
    color: #cccccc;
    margin: 0 0 15px 0;
}

.mega-menu-promo-card .btn-promo {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.mega-menu-promo-card .btn-promo:hover {
    background-color: var(--primary-hover);
}

/* --- Chinese Marketplace Hero Section --- */
.hero-section-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Category Menu Sidebar */
.hero-sidebar-categories {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.hero-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-sidebar-item {
    position: relative;
}

.hero-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.hero-sidebar-link:hover {
    background-color: #f7f7f7;
    color: var(--primary-color);
}

/* Banner Slider & Promo Grid */
.hero-banner-main-area {
    display: grid;
    grid-template-rows: 320px auto;
    gap: 20px;
}

.big-hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1593305841991-05c297ba4575?q=80&w=1000') no-repeat center center;
    background-size: cover;
    border-radius: var(--radius-md);
    padding: 40px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.big-hero-banner h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.big-hero-banner p {
    font-size: 16px;
    margin: 0 0 20px 0;
    color: #e0e0e0;
}

.hero-btn {
    background-color: #ffffff;
    color: var(--secondary-color);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s, transform 0.2s;
}

.hero-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-small-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-small-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    cursor: pointer;
}

.promo-small-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promo-small-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.promo-small-card-content p {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.promo-small-card-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* --- Flash Sale Section --- */
.flash-sale-container {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.flash-sale-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0;
}

.flash-sale-title i {
    color: #ff5a00;
}

.flash-sale-timer-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flash-timer-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}

.flash-countdown {
    display: flex;
    gap: 6px;
}

.countdown-box {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 6px 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    min-width: 24px;
    text-align: center;
}

.countdown-divider {
    color: var(--secondary-color);
    font-weight: 700;
    align-self: center;
}

/* Flash Sale Products Grid */
.products-carousel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* --- Product Card Design --- */
.product-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    padding: 15px;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #d1d1d1;
}

/* Badges & Actions Overlay */
.card-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 2;
}

.card-quick-actions {
    position: absolute;
    top: 10px;
    right: -45px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.3s ease;
    z-index: 2;
}

.product-card:hover .card-quick-actions {
    right: 10px;
}

.card-action-icon {
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-size: 13px;
    border: 1px solid #f0f0f0;
}

.card-action-icon:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Image */
.card-img-wrap {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

/* Details Section */
.card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-brand {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0 0 6px 0;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-rating-sales {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin-bottom: 8px;
}

.card-stars {
    color: #ffb300;
}

.card-sales-count {
    color: var(--text-light);
    border-left: 1px solid var(--border-color);
    padding-left: 8px;
}

.card-pricing {
    margin-top: auto;
    margin-bottom: 8px;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--price-color);
}

.price-mrp {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-light);
}

.card-savings {
    font-size: 11px;
    font-weight: 600;
    color: var(--success-color);
}

.card-delivery-info {
    font-size: 11px;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

/* Sold Progress Bar */
.card-sold-progress-wrap {
    margin-bottom: 12px;
}

.card-sold-progress-bar {
    background-color: #eee;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
}

.card-sold-progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    height: 100%;
}

.card-sold-text {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 4px;
    display: block;
}

/* Card Actions Row & Buttons */
.card-actions-row {
    display: flex;
    gap: 6px;
    margin-top: auto;
    width: 100%;
}

.card-add-to-cart {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    text-align: center;
    flex: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.card-add-to-cart:hover {
    background-color: #333333;
    color: #ffffff;
}

.card-buy-now-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.25s;
    text-align: center;
    flex: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(227, 27, 35, 0.2);
    position: relative;
    overflow: hidden;
}

.card-buy-now-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.45);
    animation: btnGlowPulse 1.2s ease-in-out infinite;
}

.card-buy-now-btn:active {
    transform: scale(0.93) translateY(1px);
    box-shadow: 0 2px 8px rgba(227, 27, 35, 0.3);
    animation: none;
}

/* --- Category Landing Pages --- */
.category-landing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.category-landing-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}

.subcategories-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.subcategory-chip {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.subcategory-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #fff9f9;
}

.category-deal-banner {
    background: linear-gradient(135deg, #E31B23, #FF5A00);
    border-radius: var(--radius-md);
    padding: 30px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.category-deal-banner h2 {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.category-deal-banner p {
    margin: 0;
    font-size: 14px;
    color: #ffdede;
}

/* Advanced Sidebar Filtering */
.shop-layout-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

/* ── WooCommerce Products Grid Styling ── */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

ul.products li.product,
ul.products .product-card {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 1200px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .shop-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}


.shop-filter-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    align-self: start;
}

.filter-widget {
    margin-bottom: 25px;
}

.filter-widget:last-child {
    margin-bottom: 0;
}

.filter-widget-title {
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--secondary-color);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    cursor: pointer;
}

.filter-list li:hover {
    color: var(--primary-color);
}

.filter-list input[type="checkbox"] {
    cursor: pointer;
}

/* --- Product Detail Page --- */
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(300px, 450px) 1fr;
    gap: 40px;
    background-color: transparent;
    padding: 0;
}

/* Vertical Gallery Style */
.detail-gallery-wrap {
    display: flex;
    gap: 20px;
}

.gallery-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.gallery-thumbnail-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.22s ease-in-out;
}

.gallery-thumbnail-img:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.gallery-thumbnail-img.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.15);
    transform: translateY(-2px);
}

.gallery-featured-img {
    flex-grow: 1;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.gallery-featured-img img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-featured-img:hover img {
    transform: scale(1.04);
}

/* Right Content Info */
.detail-info-wrap {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.25;
    color: #0f172a;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 18px;
    color: #64748b;
}

.detail-meta-row .card-stars {
    color: #ffb300;
    font-size: 14px;
}

.detail-price-box {
    padding: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 24px;
}

.detail-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-price-current {
    font-size: 36px;
    font-weight: 700;
    color: #111111;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.detail-price-current .woocommerce-Price-amount {
    color: var(--price-color);
}

.detail-price-mrp {
    font-size: 16px;
    text-decoration: line-through;
    color: #64748b;
}

.detail-price-savings {
    font-size: 12px;
    font-weight: 600;
    color: #111111;
    background: #f5f5f7;
    padding: 4px 10px;
    border-radius: 6px;
}

.detail-delivery-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #111111;
    font-weight: 500;
    margin-top: 12px;
}

/* Indian PIN Code Delivery Estimation Block */
.delivery-pincode-checker {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.delivery-pincode-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111111;
}

.pincode-input-group {
    display: flex;
    max-width: 320px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pincode-input-group:focus-within {
    border-color: #111111;
}

.pincode-input {
    flex-grow: 1;
    border: none;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    font-weight: 500;
}

.pincode-check-btn {
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pincode-check-btn:hover {
    background-color: #333333;
}

.pincode-check-btn:active {
    background-color: #000000;
}

.pincode-response-msg {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    display: none;
}

.pincode-response-msg.success {
    color: var(--success-color);
    display: block;
}

.pincode-response-msg.error {
    color: var(--primary-color);
    display: block;
}

/* Trust Badges */
.trust-badges-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
    padding: 12px 0;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #555555;
    flex: 1;
}

.trust-badge-item i {
    font-size: 24px;
    color: #111111;
}

/* Quantity and Action Buttons */
.detail-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.qty-selector {
    display: flex;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.qty-btn {
    border: none;
    background-color: #f8fafc;
    width: 38px;
    height: 42px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s;
}

.qty-btn:hover {
    background-color: #e2e8f0;
}

.qty-input {
    border: none;
    border-left: 1.5px solid #cbd5e1;
    border-right: 1.5px solid #cbd5e1;
    width: 48px;
    height: 42px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.btn-detail-add-to-cart {
    background-color: #ffffff;
    color: #111111;
    border: 1px solid #111111;
    padding: 12px 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    flex-grow: 1;
    text-align: center;
    text-decoration: none;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-detail-add-to-cart:hover {
    background-color: #f5f5f5;
}

.btn-detail-buy-now {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-grow: 1;
    text-align: center;
    text-decoration: none;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-detail-buy-now:hover {
    background-color: var(--primary-hover);
}

/* Indian GST Billing Box */
.business-gst-invoice-panel {
    border: 1px solid #e5e5e5;
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 16px;
}

.gst-invoice-title {
    font-size: 13px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gst-invoice-desc {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 12px;
}

.gstin-input-group {
    display: flex;
    max-width: 320px;
    border: 1.5px solid #d45d00;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

.gstin-input {
    flex-grow: 1;
    border: none;
    padding: 9px 12px;
    font-size: 12px;
    outline: none;
    background-color: transparent;
    font-weight: 600;
}

.gstin-submit-btn {
    background-color: #d45d00;
    color: #ffffff;
    border: none;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.gstin-submit-btn:hover {
    background-color: #b54f00;
}

/* Highlights, Tabs, & Details Specs */
.detail-highlights {
    margin-top: 30px;
}

.detail-highlights-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlights-list {
    padding-left: 20px;
    margin: 0;
}

.highlights-list li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #475569;
    line-height: 1.6;
}

/* Specifications Table */
.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.detail-specs-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.detail-specs-table th,
.detail-specs-table td {
    padding: 14px 20px;
    font-size: 13px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-specs-table tr:last-child th,
.detail-specs-table tr:last-child td {
    border-bottom: none;
}

.detail-specs-table th {
    background-color: #f1f5f9;
    font-weight: 700;
    width: 220px;
    text-align: left;
    color: #334155;
}

.detail-specs-table td {
    color: #475569;
    font-weight: 500;
}


/* --- Footer & Mobile UI --- */
.site-footer {
    background: var(--footer-bg, linear-gradient(145deg, #0d121f 0%, #172033 100%));
    color: var(--footer-text, #94a3b8);
    padding: 60px 0 20px 0;
    margin-top: 60px;
    border-top: 4px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget-title {
    color: var(--footer-heading, #ffffff);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: var(--footer-text, #94a3b8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: var(--primary-color);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--footer-text, #94a3b8);
}

/* Mobile Fixed Bottom Navigation */
.mobile-bottom-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    height: 56px;
}

.mobile-bottom-tabs {
    display: flex;
    height: 100%;
}

.mobile-tab-item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-light);
    gap: 3px;
}

.mobile-tab-item.active,
.mobile-tab-item:hover {
    color: var(--primary-color);
}

.mobile-tab-item i {
    font-size: 18px;
}

.mobile-tab-item span {
    font-size: 10px;
    font-weight: 600;
}


/* --- Categories Grid Section --- */
.categories-grid-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    text-align: center;
}

.category-grid-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: transform 0.2s;
}

.category-grid-item:hover .category-icon-circle {
    transform: scale(1.1);
}

.category-grid-label {
    font-size: 12px;
    font-weight: 600;
}

/* Colors for Category Circles */
.bg-green {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.bg-brown {
    background-color: #efebe9;
    color: #4e342e;
}

.bg-blue {
    background-color: #e1f5fe;
    color: #0277bd;
}

.bg-pink {
    background-color: #fce4ec;
    color: #c2185b;
}

.bg-orange {
    background-color: #fff3e0;
    color: #ef6c00;
}

.bg-purple {
    background-color: #ede7f6;
    color: #673ab7;
}

.bg-cyan {
    background-color: #e0f7fa;
    color: #00838f;
}

/* --- Brands Grid Section --- */
.brands-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}

.brand-showcase-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.brand-showcase-card strong {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}

.brand-name-portronics {
    color: #555;
}

.brand-name-samsung {
    color: #0f52ba;
}

.brand-name-cpplus {
    color: #e11e26;
}

.brand-name-tplink {
    color: #1a8a8a;
}

.brand-name-boat {
    color: #111;
}

.brand-name-hp {
    color: #0096d6;
}

/* --- Deals Grid Section --- */
.deals-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.deal-banner-card {
    border-radius: 12px;
    padding: 35px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.deal-banner-card:hover {
    transform: translateY(-3px);
}

.deal-dark {
    background: linear-gradient(135deg, #111, #333);
}

.deal-red-orange {
    background: linear-gradient(135deg, #e31b23, #ff5a00);
}

.deal-card-content {
    z-index: 2;
    max-width: 60%;
}

.deal-card-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.deal-card-badge.bg-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.deal-card-badge.bg-white {
    background-color: #fff;
    color: var(--primary-color);
}

.deal-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin: 10px 0 6px 0;
}

.deal-card-desc {
    font-size: 13px;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.deal-dark .deal-card-desc {
    color: #ccc;
}

.deal-red-orange .deal-card-desc {
    color: #ffe5e5;
}

.deal-card-btn {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s, transform 0.15s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.deal-card-btn.btn-white {
    background-color: #ffffff;
    color: #111;
}

.deal-card-btn.btn-white:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(227, 27, 35, 0.4);
    animation: btnGlowPulse 1.2s ease-in-out infinite;
}

.deal-card-btn.btn-white:active,
.deal-card-btn.btn-dark:active {
    transform: scale(0.93) translateY(1px);
    animation: none;
}

.deal-card-btn.btn-dark {
    background-color: #111;
    color: #fff;
}

.deal-card-btn.btn-dark:hover {
    background-color: #fff;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.deal-card-img {
    max-height: 140px;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.3s ease;
}

.deal-banner-card:hover .deal-card-img {
    transform: scale(1.06);
}

/* --- Mobile Drawer Categories Menu --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    z-index: 2000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.mobile-drawer-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary-color);
}

.mobile-drawer-close {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.mobile-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-drawer-item {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-drawer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.mobile-drawer-link i {
    font-size: 11px;
    transition: transform 0.2s;
}

.mobile-drawer-link.active i {
    transform: rotate(180deg);
}

.mobile-drawer-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fafafa;
    display: none;
    border-top: 1px solid #eee;
}

.mobile-drawer-submenu li a {
    display: block;
    padding: 10px 30px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f9f9f9;
}

.mobile-drawer-submenu li a:hover {
    color: var(--primary-color);
    background-color: #fff5f5;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.drawer-overlay.open {
    display: block;
}

/* --- Mobile / Responsive Styles --- */
@media (max-width: 1024px) {
    .products-carousel-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mega-menu-panel {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dgibyt-container {
        width: 100%;
        padding: 0 15px;
    }

    .top-welcome-bar {
        display: none;
        /* Hide top bar on mobile */
    }

    .middle-header-bar {
        padding: 10px 0;
    }

    /* Make Middle Header Responsive */
    .middle-header-bar .dgibyt-container {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }

    /* Move search bar below logo and actions */
    .header-search-wrapper {
        grid-column: 1 / span 2;
        max-width: 100%;
    }

    .bottom-navigation-bar {
        display: none;
        /* Hide desktop main navigation menu */
    }

    /* Hero section simplified for mobile */
    .hero-section-grid {
        grid-template-columns: 1fr;
    }

    .hero-sidebar-categories {
        display: none;
        /* Hide category sidebar on mobile homepage */
    }

    .hero-banner-main-area {
        grid-template-rows: 240px auto;
    }

    .big-hero-banner h1 {
        font-size: 26px;
    }

    .hero-small-banners {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Categories Grid Mobile */
    .categories-grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    /* Brands Showcase Mobile */
    .brands-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* Deals Showcase Mobile */
    .deals-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .deal-banner-card {
        padding: 25px;
    }

    .deal-card-title {
        font-size: 18px;
    }

    /* Flash Sale Grid */
    .products-carousel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Detail page */
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .detail-gallery-wrap {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .gallery-thumbnails-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery-featured-img {
        height: 280px;
        width: 100%;
    }

    .detail-specs-table th {
        width: auto;
        display: block;
        background-color: transparent;
        padding: 8px 0 2px 0;
        font-size: 12px;
        color: var(--text-light);
        border: none;
    }

    .detail-specs-table td {
        display: block;
        padding: 2px 0 8px 0;
        font-size: 14px;
        color: var(--text-color);
        font-weight: 600;
    }

    .detail-specs-table tr {
        border-bottom: 1px solid var(--border-color);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-bottom: 80px;
        /* Space for fixed bottom navbar */
    }

    /* Show mobile fixed footer menu */
    .mobile-bottom-navbar {
        display: block;
    }
}

@media (max-width: 480px) {
    .categories-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .brands-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .big-hero-banner {
        padding: 20px;
    }

    .big-hero-banner h1 {
        font-size: 22px;
    }

    .big-hero-banner p {
        font-size: 13px;
    }

    .products-carousel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .price-current {
        font-size: 14px;
    }

    .price-mrp {
        font-size: 10px;
    }
}

/* --- Off-Canvas Drawers (Mini Cart & Wishlist) --- */
.offcanvas-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background-color: #ffffff;
    z-index: 2500;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.offcanvas-drawer.open {
    right: 0;
}

.offcanvas-drawer-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.offcanvas-drawer-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
}

.offcanvas-drawer-close {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.mini-cart-drawer-body,
.wishlist-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.mini-cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.mini-cart-img img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.mini-cart-details {
    flex-grow: 1;
}

.mini-cart-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
}

.mini-cart-price-qty {
    font-size: 12px;
    color: var(--text-light);
}

.mini-cart-price-qty strong {
    color: var(--price-color);
}

.mini-cart-remove {
    color: #bbb;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.mini-cart-remove:hover {
    color: var(--primary-color);
}

.mini-cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background-color: #fafafa;
}

.mini-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mini-cart-subtotal-row strong {
    color: var(--primary-color);
    font-size: 17px;
}

.mini-cart-buttons-row {
    display: flex;
    gap: 10px;
}

.btn-mini-cart {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-mini-cart.view-cart {
    background-color: #e9ecef;
    color: #333;
}

.btn-mini-cart.view-cart:hover {
    background-color: #dee2e6;
}

.btn-mini-cart.checkout {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-mini-cart.checkout:hover {
    background-color: var(--primary-hover);
}

/* --- Quick View Modal Overlay --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.quickview-modal-box {
    background-color: #ffffff;
    width: 850px;
    max-width: 95%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.quickview-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.quickview-modal-close:hover {
    color: var(--primary-color);
}

.quickview-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.quickview-gallery img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.quickview-details h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.quickview-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}

.view-full-details-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Voice Search Pulse Animation */
.recording-pulse {
    color: var(--primary-color) !important;
    animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   SIGN IN & SIGN UP PAGE STYLES (Split Card & Tabs Layout)
   ========================================================================== */
.dgibyt-auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f4f7fc 0%, #e9edf5 100%);
}

.dgibyt-auth-container {
    width: 1000px;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 420px 1fr;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Left Hero Branding Sidebar */
.auth-banner-sidebar {
    background: linear-gradient(145deg, #111625 0%, #1a233a 100%);
    color: #ffffff;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-banner-sidebar::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.25;
    pointer-events: none;
}

.auth-brand-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-banner-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 15px;
    color: #ffffff;
}

.auth-banner-subtext {
    font-size: 13px;
    color: #b0b9cf;
    line-height: 1.6;
    margin-bottom: 30px;
}

.auth-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.auth-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #e1e7f5;
}

.auth-features-list li i {
    color: #22c55e;
    font-size: 16px;
    margin-top: 2px;
}

.auth-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-trust-badge i {
    color: #38bdf8;
    font-size: 16px;
}

/* Right Card & Forms */
.auth-form-card {
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
}

.auth-tabs-nav {
    display: flex;
    background-color: #f1f5f9;
    padding: 5px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-tab-btn.active {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.auth-tab-panel {
    display: none;
}

.auth-tab-panel.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header-title {
    margin-bottom: 25px;
}

.auth-header-title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0 0 6px 0;
}

.auth-header-title p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.auth-input-group {
    margin-bottom: 20px;
}

.auth-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
}

.input-with-icon .form-control {
    padding-left: 42px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid #cbd5e1;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-with-icon .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
}

.btn-toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
    transition: color 0.2s;
}

.btn-toggle-password:hover {
    color: var(--secondary-color);
}

.lost-password-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.lost-password-link:hover {
    text-decoration: underline;
}

.auth-options-row {
    margin-bottom: 22px;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.btn-auth-submit {
    width: 100%;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(227, 27, 35, 0.25);
}

.btn-auth-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.35);
}

.password-strength-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.password-strength-bar {
    flex-grow: 1;
    height: 5px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    background-color: #ef4444;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    min-width: 90px;
}

@media (max-width: 900px) {
    .dgibyt-auth-container {
        grid-template-columns: 1fr;
    }

    .auth-banner-sidebar {
        padding: 30px;
    }

    .auth-features-list {
        margin-bottom: 20px;
    }

    .auth-form-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   PREMIUM MY ACCOUNT DASHBOARD â€” PROFESSIONAL ECOM REDESIGN
   ========================================================================== */

/* ── Wrapper ── */
.dgibyt-myaccount-wrapper {
    background: linear-gradient(160deg, #f0f4ff 0%, #f8fafc 60%, #fff5f5 100%);
    min-height: 90vh;
    padding: 28px 0 60px;
    width: 100%;
    box-sizing: border-box;
}

.dgibyt-myaccount-wrapper .dgibyt-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ── Account Top Header Bar ── */
.account-page-header-bar {
    background: linear-gradient(135deg, #0d121f 0%, #1a2540 60%, #1e293b 100%);
    border-bottom: 3px solid var(--primary-color);
    padding: 18px 30px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    position: relative;
    overflow: hidden;
}

.account-page-header-bar::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.account-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-header-avatar-mini {
    position: relative;
    flex-shrink: 0;
}

.account-header-avatar-mini img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
    display: block;
}

.avatar-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #0d121f;
}

.account-header-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 3px;
}

.account-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.account-title-name {
    color: #7dd3fc;
}

.account-header-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-account-header {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-account-header:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-logout-header {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.btn-logout-header:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

/* â”€â”€ Dashboard Grid â”€â”€ */
.myaccount-dashboard-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    align-items: start;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}

/* â”€â”€ Sidebar Card â”€â”€ */
.myaccount-sidebar-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: sticky;
    top: 100px;
    min-width: 300px;
    width: 100%;
}

/* â”€â”€ Sidebar Profile Header â”€â”€ */
.myaccount-user-profile-header {
    background: linear-gradient(145deg, #0d121f 0%, #1e293b 100%);
    padding: 30px 20px 24px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--primary-color);
}

.myaccount-user-profile-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b6b 100%);
}

.user-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
}

.user-avatar-wrap img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.user-avatar-status-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b, #f59e0b) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.04);
    }
}

.user-display-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 6px 0;
}

.user-email-badge {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.07);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-meta-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    align-items: center;
}

.user-status-pill {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.14);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.user-member-since {
    font-size: 11px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* â”€â”€ Sidebar Nav â”€â”€ */
.myaccount-nav-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.myaccount-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.nav-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.nav-icon-wrap .nav-icon {
    font-size: 14px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.nav-label {
    flex: 1;
}

.nav-arrow {
    font-size: 10px;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.myaccount-nav-list li.is-active>a,
.myaccount-nav-list li a:hover {
    background: linear-gradient(90deg, #fff0f1 0%, #ffffff 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.myaccount-nav-list li.is-active>a .nav-icon-wrap,
.myaccount-nav-list li a:hover .nav-icon-wrap {
    background: rgba(227, 27, 35, 0.1);
}

.myaccount-nav-list li.is-active>a .nav-icon,
.myaccount-nav-list li a:hover .nav-icon {
    color: var(--primary-color);
}

.myaccount-nav-list li a:hover .nav-arrow {
    transform: translateX(3px);
    color: var(--primary-color);
}

.nav-logout-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

.nav-item-logout a {
    color: #ef4444;
}

.nav-item-logout a .nav-icon-wrap {
    background: #fef2f2;
}

.nav-item-logout a .nav-icon {
    color: #ef4444;
}

.nav-item-logout a:hover {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #dc2626;
}

/* â”€â”€ Sidebar Footer â”€â”€ */
.sidebar-footer-strip {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 12px 20px;
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 7px;
}

.sidebar-footer-strip i {
    color: #10b981;
    font-size: 13px;
}

/* â”€â”€ Content Panel â”€â”€ */
.myaccount-content-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    min-height: 500px;
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

/* â”€â”€ Dashboard Home â”€â”€ */
.myaccount-dashboard-home {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* â”€â”€ Hero Welcome Banner â”€â”€ */
.dashboard-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c1a35 100%);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.hero-greeting {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.hero-greeting strong {
    color: #7dd3fc;
}

.hero-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 22px 0;
    max-width: 480px;
    line-height: 1.6;
}

.hero-sub span {
    color: #38bdf8;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
    font-family: 'Outfit', sans-serif;
}

.hero-btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.35);
}

.hero-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(227, 27, 35, 0.45);
    color: #ffffff;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.09);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-banner-deco {
    flex-shrink: 0;
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.hero-deco-1 {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    animation: decoFloat 4s ease-in-out infinite;
}

.hero-deco-2 {
    width: 80px;
    height: 80px;
    background: #38bdf8;
    animation: decoFloat 4s ease-in-out infinite 1s;
}

.hero-deco-icon {
    position: relative;
    z-index: 1;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.15);
}

@keyframes decoFloat {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.12) rotate(8deg);
    }
}

/* â”€â”€ Stats Grid â”€â”€ */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.22s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.stat-card:hover .stat-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
}

.stat-blue {
    border-left-color: #0284c7;
}

.stat-orange {
    border-left-color: #ea580c;
}

.stat-green {
    border-left-color: #16a34a;
}

.stat-purple {
    border-left-color: #9333ea;
}

.stat-blue .stat-icon-wrap {
    background: #e0f2fe;
    color: #0284c7;
}

.stat-orange .stat-icon-wrap {
    background: #ffedd5;
    color: #ea580c;
}

.stat-green .stat-icon-wrap {
    background: #dcfce7;
    color: #16a34a;
}

.stat-purple .stat-icon-wrap {
    background: #f3e8ff;
    color: #9333ea;
}

.stat-blue::before {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.stat-orange::before {
    background: linear-gradient(90deg, #ea580c, #fb923c);
}

.stat-green::before {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}

.stat-purple::before {
    background: linear-gradient(90deg, #9333ea, #c084fc);
}

.stat-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.stat-link:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* â”€â”€ Section Card (Recent Orders) â”€â”€ */
.dashboard-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.section-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-card-title i {
    color: var(--primary-color);
}

.section-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap 0.2s ease;
}

.section-card-link:hover {
    gap: 4px;
}

.recent-orders-table-wrap {
    overflow-x: auto;
}

.recent-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.recent-orders-table th {
    padding: 10px 22px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.recent-orders-table td {
    padding: 14px 22px;
    border-bottom: 1px solid #f8fafc;
    color: #334155;
    vertical-align: middle;
}

.recent-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.recent-orders-table tbody tr:hover td {
    background: #fafbff;
}

.order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-completed {
    background: #dcfce7;
    color: #15803d;
}

.status-processing {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-on-hold {
    background: #fef9c3;
    color: #854d0e;
}

.status-pending {
    background: #f1f5f9;
    color: #475569;
}

.status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.status-refunded {
    background: #f3e8ff;
    color: #7e22ce;
}

.status-failed {
    background: #ffedd5;
    color: #9a3412;
}

.order-total-col {
    font-weight: 700;
    color: #0f172a;
}

.btn-view-order {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-view-order:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* â”€â”€ Shortcut Action Cards â”€â”€ */
.dashboard-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.shortcut-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.shortcut-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.shortcut-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.shortcut-card:hover::after {
    opacity: 1;
}

.shortcut-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.shortcut-card:hover .shortcut-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.shortcut-icon-blue {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #ffffff;
}

.shortcut-icon-green {
    background: linear-gradient(135deg, #16a34a, #4ade80);
    color: #ffffff;
}

.shortcut-icon-purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #ffffff;
}

.shortcut-icon-red {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: #ffffff;
}

.shortcut-text {
    flex: 1;
}

.shortcut-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.shortcut-text p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.shortcut-arrow {
    font-size: 11px;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.shortcut-card:hover .shortcut-arrow {
    transform: translateX(4px);
    color: var(--primary-color);
}

.shortcut-logout .shortcut-text h4 {
    color: #dc2626;
}

.shortcut-logout:hover {
    border-color: #fca5a5;
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.1);
}

.shortcut-logout:hover .shortcut-arrow {
    color: #dc2626;
}

/* â”€â”€ Trust Strip â”€â”€ */
.dashboard-trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 18px 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

.trust-item i {
    font-size: 16px;
    color: var(--primary-color);
}

.trust-item:nth-child(2) i {
    color: #0284c7;
}

.trust-item:nth-child(3) i {
    color: #7c3aed;
}

.trust-item:nth-child(4) i {
    color: #16a34a;
}

.trust-item:nth-child(5) i {
    color: #ea580c;
}




/* ==========================================================================
   CHECKOUT PAGE STYLES (2-Column Conversion Layout)
   ========================================================================== */
.dgibyt-checkout-wrapper {
    background-color: #f8fafc;
    min-height: 80vh;
}

.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 30px;
    align-items: start;
}

.checkout-step-card,
.checkout-order-summary-card {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.checkout-step-header {
    background-color: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-step-header .step-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.checkout-step-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.checkout-step-body,
.order-summary-body {
    padding: 25px;
}

/* WooCommerce Form Elements Alignment inside Checkout */
.woocommerce-checkout .form-row {
    margin-bottom: 18px;
}

.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #cbd5e1;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce-checkout textarea {
    height: 90px;
    padding: 10px 14px;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.12);
    outline: none;
}

/* Order Review Table & Payment Gateways */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    color: #1e293b;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .order-total {
    text-align: right;
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    font-size: 18px;
    color: var(--primary-color);
}

/* Payment Gateway Options List */
#payment {
    background-color: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 18px;
    border: 1px solid #e2e8f0;
}

#payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#payment ul.payment_methods li {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 10px;
}

#payment ul.payment_methods li label {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#payment #place_order {
    width: 100%;
    height: 52px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(227, 27, 35, 0.3);
    transition: background-color 0.25s, transform 0.15s;
}

#payment #place_order:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* ── Checkout Qty Stepper ── */
.woocommerce-checkout-review-order-table .product-qty-col {
    text-align: center;
    white-space: nowrap;
    width: 120px;
}

.co-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.co-qty-stepper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(227, 27, 35, 0.15);
}

.co-qty-btn {
    width: 30px;
    height: 34px;
    border: none;
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s, transform 0.1s;
    flex-shrink: 0;
    padding: 0;
}

.co-qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.co-qty-btn:active {
    background: var(--primary-hover);
    transform: scale(0.88);
}

.co-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.co-qty-input {
    width: 38px;
    height: 34px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
    outline: none;
}

.co-qty-input::-webkit-outer-spin-button,
.co-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.co-item-subtotal.updating {
    opacity: 0.3;
    transition: opacity 0.18s;
}

@keyframes subtotalFlash {
    0% {
        color: var(--primary-color);
        transform: scale(1.1);
    }

    100% {
        color: inherit;
        transform: scale(1);
    }
}

.co-item-subtotal.updated {
    animation: subtotalFlash 0.45s ease forwards;
}

.co-qty-stepper.loading {
    pointer-events: none;
    opacity: 0.55;
}

/* ── Checkout Remove Item Button ── */
.co-product-name-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.co-product-name-text {
    flex: 1;
    min-width: 0;
}

.co-remove-item {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #fff0f0;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.2s, transform 0.2s, background 0.18s, color 0.18s;
    padding: 0;
    margin-top: 2px;
}

.woocommerce-checkout-review-order-table tr:hover .co-remove-item,
.co-remove-item:focus {
    opacity: 1;
    transform: scale(1);
}

.co-remove-item:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.12);
}

.co-remove-item:active {
    transform: scale(0.92);
}

/* Row slide-out animation when item is removed */
@keyframes coRowRemove {
    0% {
        opacity: 1;
        transform: translateX(0) scaleY(1);
        max-height: 80px;
    }

    60% {
        opacity: 0;
        transform: translateX(24px) scaleY(0.7);
    }

    100% {
        opacity: 0;
        transform: translateX(40px) scaleY(0);
        max-height: 0;
        padding: 0;
        margin: 0;
    }
}

.cart_item.co-removing {
    animation: coRowRemove 0.38s ease-out forwards;
    pointer-events: none;
    overflow: hidden;
}


/* ==========================================================================
   RESPONSIVE â€” ACCOUNT & CHECKOUT
   ========================================================================== */

/* â”€â”€ Large desktop (1400px+): generous sidebar â”€â”€ */
@media (min-width: 1400px) {
    .myaccount-dashboard-grid {
        grid-template-columns: 300px 1fr;
        gap: 32px;
    }
}

/* â”€â”€ Tablet landscape (1024â€“1200px): narrow sidebar â”€â”€ */
@media (max-width: 1200px) {
    .myaccount-dashboard-grid {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }

    .myaccount-nav-list li a {
        padding: 11px 14px;
        font-size: 13px;
    }

    .nav-icon-wrap {
        width: 30px;
        height: 30px;
    }
}

/* â”€â”€ Tablet portrait (up to 1024px): full-width stacked layout â”€â”€ */
@media (max-width: 1024px) {

    .myaccount-dashboard-grid,
    .checkout-grid-layout {
        grid-template-columns: 1fr;
    }

    .myaccount-sidebar-card {
        position: static;
        /* Show sidebar as horizontal nav strip on tablet */
    }

    .myaccount-user-profile-header {
        flex-direction: row;
        text-align: left;
        padding: 20px 24px;
    }

    .user-avatar-wrap {
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .user-avatar-wrap img {
        width: 60px;
        height: 60px;
    }

    .user-meta-row {
        flex-direction: row;
        align-items: center;
    }

    .myaccount-nav-list {
        display: flex;
        flex-wrap: wrap;
        padding: 12px 8px;
        gap: 4px;
    }

    .myaccount-nav-list li {
        flex: 1 1 auto;
    }

    .myaccount-nav-list li a {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
        padding: 9px 14px;
        font-size: 12.5px;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .myaccount-nav-list li.is-active>a,
    .myaccount-nav-list li a:hover {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
        background: rgba(227, 27, 35, 0.06);
        padding-left: 14px;
    }

    .nav-arrow {
        display: none;
    }

    .nav-label {
        font-size: 11px;
    }

    .nav-logout-divider {
        display: none;
    }

    .sidebar-footer-strip {
        display: none;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-banner-deco {
        display: none;
    }

    .account-page-header-bar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 20px;
    }
}

/* â”€â”€ Mobile (up to 768px) â”€â”€ */
@media (max-width: 768px) {
    .dgibyt-myaccount-wrapper {
        padding: 16px 0 40px;
    }

    .dgibyt-myaccount-wrapper .dgibyt-container {
        width: 100%;
        padding: 0 14px;
    }

    .account-page-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .account-header-right {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .btn-account-header {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 12px;
    }

    .account-page-title {
        font-size: 17px;
    }

    .myaccount-content-card {
        padding: 18px 14px;
    }

    .dashboard-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 18px;
        gap: 16px;
    }

    .hero-greeting {
        font-size: 20px;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .dashboard-shortcuts-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-trust-strip {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .recent-orders-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .recent-orders-table th,
    .recent-orders-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    .myaccount-nav-list li a {
        padding: 8px 10px;
    }
}

/* â”€â”€ Small mobile (up to 480px) â”€â”€ */
@media (max-width: 480px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-number {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .myaccount-nav-list li a {
        padding: 7px 8px;
        font-size: 11px;
    }

    .nav-icon-wrap {
        width: 26px;
        height: 26px;
    }

    .nav-icon-wrap .nav-icon {
        font-size: 11px;
    }

    .myaccount-content-card {
        padding: 14px 10px;
    }

    .account-page-header-bar {
        padding: 12px 14px;
    }

    .account-page-title {
        font-size: 15px;
    }
}


/* ==========================================================================
   MY ACCOUNT â€” LOGIN / REGISTER FORM (form-login.php)
   ========================================================================== */

.dgibyt-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #fafafa 100%);
    padding: 40px 20px;
}

.dgibyt-auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

/* â”€â”€ Left branding sidebar â”€â”€ */
.auth-banner-sidebar {
    background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 50px 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-banner-sidebar::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-banner-sidebar::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-banner-content {
    position: relative;
    z-index: 1;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.auth-brand-logo i {
    color: var(--primary-color);
    font-size: 26px;
}

.auth-banner-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.auth-banner-subtext {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0 0 28px 0;
}

.auth-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.auth-features-list li i {
    color: #22c55e;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
}

.auth-trust-badge i {
    color: #22c55e;
}

/* â”€â”€ Right form card â”€â”€ */
.auth-form-card {
    background: #ffffff;
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
}

/* â”€â”€ Tab navigation â”€â”€ */
.auth-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.auth-tab-btn:hover {
    color: var(--primary-color);
}

.auth-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* â”€â”€ Tab panels â”€â”€ */
.auth-tab-panel {
    display: none;
}

.auth-tab-panel.active {
    display: block;
}

/* â”€â”€ Panel header â”€â”€ */
.auth-header-title {
    margin-bottom: 26px;
}

.auth-header-title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.auth-header-title p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

/* â”€â”€ Input groups â”€â”€ */
.auth-input-group {
    margin-bottom: 18px;
}

.auth-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
}

.auth-input-group label .required {
    color: var(--primary-color);
    margin-left: 2px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 2;
}

.input-with-icon .form-control {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 42px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
}

.input-with-icon .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(227, 27, 35, 0.1);
}

.input-with-icon:focus-within .input-icon {
    color: var(--primary-color);
}

/* Password toggle button */
.btn-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    font-size: 14px;
    transition: color 0.2s;
    line-height: 1;
    z-index: 2;
}

.btn-toggle-password:hover {
    color: var(--primary-color);
}

/* â”€â”€ Options row (remember me / terms) â”€â”€ */
.auth-options-row {
    margin-bottom: 20px;
}

.custom-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.lost-password-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.lost-password-link:hover {
    opacity: 0.75;
}

/* â”€â”€ Submit button â”€â”€ */
.auth-submit-row {
    margin-top: 4px;
}

.btn-auth-submit {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c5151c 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.3);
}

.btn-auth-submit:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(227, 27, 35, 0.38);
}

/* â”€â”€ Password strength indicator â”€â”€ */
.password-strength-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.password-strength-bar {
    height: 5px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: #ef4444;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.password-strength-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

/* â”€â”€ Responsive: Auth â”€â”€ */
@media (max-width: 768px) {
    .dgibyt-auth-container {
        grid-template-columns: 1fr;
    }

    .auth-banner-sidebar {
        display: none;
    }

    .auth-form-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .auth-form-card {
        padding: 28px 18px;
    }

    .auth-tab-btn {
        font-size: 13px;
        padding: 10px 10px;
    }
}
/* --- Custom Cart Page Layout --- */
@media (max-width: 991px) {
    .dgibyt-custom-cart-wrapper {
        grid-template-columns: 1fr !important;
    }
}

.cart_totals .shop_table {
    border: none !important;
    margin: 0 0 20px 0 !important;
}
.cart_totals .shop_table th, .cart_totals .shop_table td {
    border-top: none !important;
    border-bottom: 1px solid #e7e7e7 !important;
    padding: 12px 0 !important;
}
.cart_totals .shop_table tr:last-child th, .cart_totals .shop_table tr:last-child td {
    border-bottom: none !important;
}
.cart_totals .shop_table th {
    font-weight: 400 !important;
    color: #555 !important;
}
.cart_totals .shop_table td {
    text-align: right !important;
    font-weight: 700 !important;
    color: #0f1111 !important;
}

.cart_totals .wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 15px !important;
    text-align: center !important;
    display: block !important;
    text-transform: uppercase !important;
    transition: background-color 0.2s !important;
}
.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
    background-color: var(--secondary-color) !important;
}

.dgibyt-custom-cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
}

