/**
 * Berkah Voucher - Modern UI Override Styles
 * Complete visual redesign with dramatic layout transformations
 * Version: 2.0.0
 */

/* ==============================================
   CSS Custom Properties (Variables)
   ============================================== */
:root {
    --bv-primary: #0da487;
    --bv-primary-dark: #0b8a72;
    --bv-primary-light: #3eb89a;
    --bv-primary-rgb: 13, 164, 135;
    --bv-accent: #ff6b35;
    --bv-accent-rgb: 255, 107, 53;
    --bv-text-primary: #1e293b;
    --bv-text-secondary: #64748b;
    --bv-text-muted: #94a3b8;
    --bv-background: #f8fafc;
    --bv-background-alt: #f1f5f9;
    --bv-background-white: #ffffff;
    --bv-border: #e2e8f0;
    --bv-border-light: #f1f5f9;
    --bv-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --bv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --bv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bv-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --bv-shadow-hover: 0 20px 40px rgba(var(--bv-primary-rgb), 0.15);
    --bv-radius-sm: 8px;
    --bv-radius-md: 12px;
    --bv-radius-lg: 16px;
    --bv-radius-xl: 24px;
    --bv-radius-2xl: 32px;
    --bv-transition-fast: 0.15s ease;
    --bv-transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bv-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --bv-header-height: 80px;
}

/* ==============================================
   Base Styles & Typography
   ============================================== */
* {
    box-sizing: border-box;
}

body {
    color: var(--bv-text-primary);
    background: var(--bv-background) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bv-text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

p {
    color: var(--bv-text-secondary);
    line-height: 1.7;
}

a {
    color: var(--bv-primary);
    text-decoration: none;
    transition: all var(--bv-transition-fast);
}

a:hover {
    color: var(--bv-primary-dark);
}

/* ==============================================
   DRAMATIC HEADER TRANSFORMATION
   ============================================== */
header#header,
.header-2 {
    background: var(--bv-background-white) !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--bv-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Navigation Bar - Modern Slim Design */
.top-nav,
.top-header {
    background: var(--bv-text-primary) !important;
    padding: 0 !important;
    min-height: auto;
}

.top-nav .navbar-top,
.top-header .navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
    flex-wrap: wrap;
}

/* Logo - Prominent Left Position */
.navbar-top .web-logo,
.navbar-top .nav-logo {
    flex-shrink: 0;
}

.navbar-top .web-logo img,
.navbar-top .nav-logo img {
    height: 50px !important;
    width: auto !important;
    filter: brightness(0) invert(1);
    transition: transform var(--bv-transition-normal);
}

.navbar-top .web-logo:hover img,
.navbar-top .nav-logo:hover img {
    transform: scale(1.05);
}

/* Search Box - Centered Prominent Design */
.middle-box {
    flex: 1;
    min-width: 0;
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.middle-box form {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Category Filter Button */
.location-box-2 {
    position: relative;
    flex-shrink: 0;
}

.location-box-2 .location-button,
#category-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: var(--bv-radius-md) !important;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--bv-transition-fast);
    white-space: nowrap;
}

.location-box-2 .location-button:hover,
#category-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Explicitly override template's child color/background rules — inherited !important does NOT override explicit child rules */
#category-btn .locat-name,
#category-btn .location-arrow,
#category-btn .location-arrow span,
#category-btn i,
#category-btn span {
    color: #ffffff !important;
}

#category-btn .location-arrow {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.location-box-2 .locat-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Dropdown */
#category-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: auto !important;
    min-width: 220px;
    background: var(--bv-background-white) !important;
    border: 1px solid var(--bv-border) !important;
    border-radius: var(--bv-radius-lg) !important;
    box-shadow: var(--bv-shadow-xl) !important;
    overflow: hidden;
    z-index: 1000 !important;
}

.header-category {
    padding: 14px 20px !important;
    font-size: 14px;
    color: var(--bv-text-primary) !important;
    background: var(--bv-background-white) !important;
    border-bottom: 1px solid var(--bv-border-light);
    transition: all var(--bv-transition-fast);
    cursor: pointer;
}

.header-category:last-child {
    border-bottom: none;
}

.header-category:hover {
    background: var(--bv-background) !important;
    color: var(--bv-primary) !important;
    padding-left: 24px !important;
}

/* Search Input - Glass Style */
.searchbar-box {
    flex: 1;
    min-width: 0;
    display: flex !important;
    position: relative;
    width: 100%;
}

.searchbar-box .form-control,
.middle-box form .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 14px 50px 14px 20px !important;
    border-radius: var(--bv-radius-xl) !important;
    font-size: 14px;
    width: 100%;
    transition: all var(--bv-transition-fast);
}

.searchbar-box .form-control::placeholder,
.middle-box form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.searchbar-box .form-control:focus,
.middle-box form .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1) !important;
    outline: none;
}

.searchbar-box .search-button,
.middle-box form button {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--bv-primary) !important;
    border: none !important;
    color: #ffffff !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--bv-transition-fast);
}

.searchbar-box .search-button:hover,
.middle-box form button:hover {
    background: var(--bv-primary-dark) !important;
    transform: translateY(-50%) scale(1.05) !important;
}

/* Right Side Menu - User Actions */
.rightside-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.right-side-menu {
    display: flex !important;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.right-side-menu .right-side {
    list-style: none;
}

.right-side-menu .delivery-login-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.right-side-menu .delivery-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bv-transition-fast);
}

.right-side-menu .delivery-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.right-side-menu .delivery-icon svg,
.right-side-menu .delivery-icon i {
    color: #ffffff !important;
    width: 18px;
    height: 18px;
}

.right-side-menu .delivery-detail h6 {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0;
    font-weight: 400;
}

.right-side-menu .delivery-detail h5 {
    font-size: 14px;
    color: #ffffff !important;
    margin: 0;
    font-weight: 600;
}

/* Login/Register Links */
.right-side-menu a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--bv-radius-md);
    transition: all var(--bv-transition-fast);
}

.right-side-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.right-side-menu p {
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0;
}

/* User Dropdown */
.onhover-dropdown .onhover-div,
.onhover-div-login {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: var(--bv-background-white);
    border: 1px solid var(--bv-border);
    border-radius: var(--bv-radius-lg) !important;
    box-shadow: var(--bv-shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--bv-transition-normal);
    z-index: 1000;
}

.onhover-dropdown:hover .onhover-div,
.onhover-dropdown:hover .onhover-div-login {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-box-name {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-box-name li a {
    display: block;
    padding: 12px 16px !important;
    color: var(--bv-text-primary) !important;
    border-radius: var(--bv-radius-sm);
    font-weight: 500;
}

.user-box-name li a:hover {
    background: var(--bv-background) !important;
    color: var(--bv-primary) !important;
}

/* Hide mobile search */
.search-full,
.search-box {
    display: none !important;
}

@media (max-width: 1199px) {
    .search-box {
        display: flex !important;
    }
}

/* ==============================================
   MAIN CONTENT AREA TRANSFORMATION
   ============================================== */
/* Container Improvements */
.container-fluid-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacing */
section,
.section-b-space,
.section-t-space {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.section-lg-space {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Hero/Banner Areas */
.home-section,
.banner-section,
.home-slider {
    margin-top: 0;
}

/* ==============================================
   PRODUCT GRID TRANSFORMATION
   ============================================== */
/* Product Grid Container */
.product-section,
.product-wrapper,
.ratio_asos {
    background: transparent;
}

/* Row Spacing */
.row.g-sm-4 {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

/* Product Cards - Complete Redesign */
.product-box,
.product-box-3,
.product-box-4,
.product-box-5 {
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-xl) !important;
    border: none !important;
    overflow: hidden;
    transition: all var(--bv-transition-normal);
    position: relative;
    box-shadow: var(--bv-shadow-sm);
}

.product-box:hover,
.product-box-3:hover,
.product-box-4:hover,
.product-box-5:hover {
    transform: translateY(-12px);
    box-shadow: var(--bv-shadow-hover);
}

/* Product Image Container */
.product-box .product-image,
.product-box-3 .product-image,
.product-box .img-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bv-background-alt);
    aspect-ratio: 1 / 1;
}

.product-box .product-image img,
.product-box-3 .product-image img,
.product-box .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bv-transition-slow);
}

.product-box:hover .product-image img,
.product-box-3:hover .product-image img,
.product-box:hover .img-wrapper img {
    transform: scale(1.1);
}

/* Product Badge/Label */
.product-box .label,
.product-box .badge,
.product-box-3 .label {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: linear-gradient(135deg, var(--bv-accent), #e55a2b) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(var(--bv-accent-rgb), 0.3);
}

/* Product Details */
.product-box .product-detail,
.product-box-3 .product-detail,
.product-detail {
    padding: 20px !important;
    background: var(--bv-background-white);
}

.product-box .product-detail a,
.product-box-3 .product-detail a {
    display: block;
}

.product-box .product-detail h6,
.product-box-3 .product-detail h6,
.product-detail h6 {
    font-weight: 600;
    color: var(--bv-text-primary) !important;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.product-box .product-detail h6 a,
.product-box-3 .product-detail h6 a {
    color: inherit !important;
}

.product-box .product-detail h6 a:hover,
.product-box-3 .product-detail h6 a:hover {
    color: var(--bv-primary) !important;
}

/* Price Styling */
.product-box .product-detail h4,
.product-box-3 .product-detail h4,
.product-detail h4 {
    color: var(--bv-primary) !important;
    font-weight: 800;
    font-size: 20px;
    margin: 0;
}

.product-box .product-detail h4 del,
.product-detail h4 del {
    color: var(--bv-text-muted) !important;
    font-weight: 400;
    font-size: 14px;
    margin-left: 8px;
}

/* Add to Cart Button */
.product-box .add-to-cart-box,
.product-box .cart-detail {
    margin-top: 16px;
}

.product-box .add-to-cart-box button,
.product-box .add-to-cart-box a {
    width: 100%;
    padding: 12px 20px;
    background: var(--bv-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--bv-radius-md) !important;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--bv-transition-fast);
}

.product-box .add-to-cart-box button:hover,
.product-box .add-to-cart-box a:hover {
    background: var(--bv-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bv-primary-rgb), 0.3);
}

/* ==============================================
   SECTION TITLES TRANSFORMATION
   ============================================== */
.title,
.section-title,
.title-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.title h2,
.section-title h2,
.title-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--bv-text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.title h2::after,
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--bv-primary), var(--bv-primary-light));
    border-radius: 2px;
}

.title p,
.section-title p,
.title span {
    color: var(--bv-text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 16px auto 0;
}

/* ==============================================
   BUTTONS TRANSFORMATION
   ============================================== */
.btn,
.btn-solid,
.btn-animation,
.theme-color-2 .btn-animation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--bv-radius-lg) !important;
    border: none;
    cursor: pointer;
    transition: all var(--bv-transition-normal);
    text-transform: none;
    letter-spacing: 0;
}

.btn-solid,
.btn-animation,
.theme-color-2 .btn-animation {
    background: var(--bv-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(var(--bv-primary-rgb), 0.25);
}

.btn-solid:hover,
.btn-animation:hover,
.theme-color-2 .btn-animation:hover {
    background: var(--bv-primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--bv-primary-rgb), 0.35);
}

.btn-solid:active,
.btn-animation:active {
    transform: translateY(-1px);
}

/* Outline Button */
.btn-outline {
    background: transparent !important;
    border: 2px solid var(--bv-primary) !important;
    color: var(--bv-primary) !important;
}

.btn-outline:hover {
    background: var(--bv-primary) !important;
    color: #ffffff !important;
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ==============================================
   FORM INPUTS TRANSFORMATION
   ============================================== */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
    background: var(--bv-background-white) !important;
    border: 2px solid var(--bv-border) !important;
    border-radius: var(--bv-radius-md) !important;
    padding: 14px 18px !important;
    font-size: 15px;
    color: var(--bv-text-primary) !important;
    transition: all var(--bv-transition-fast);
    width: 100%;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--bv-primary) !important;
    box-shadow: 0 0 0 4px rgba(var(--bv-primary-rgb), 0.1) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: var(--bv-text-muted) !important;
}

label,
.form-label {
    display: block;
    font-weight: 600;
    color: var(--bv-text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

/* ==============================================
   CARDS & CONTAINERS TRANSFORMATION
   ============================================== */
.card {
    background: var(--bv-background-white);
    border: none !important;
    border-radius: var(--bv-radius-xl) !important;
    box-shadow: var(--bv-shadow-sm);
    overflow: hidden;
    transition: all var(--bv-transition-normal);
}

.card:hover {
    box-shadow: var(--bv-shadow-md);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--bv-border-light);
    padding: 24px;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: var(--bv-background-alt) !important;
    border-top: 1px solid var(--bv-border-light);
    padding: 20px 24px;
}

/* ==============================================
   BREADCRUMB TRANSFORMATION
   ============================================== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--bv-text-primary) 0%, #0f172a 100%) !important;
    padding: 48px 0 !important;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.breadcrumb-section h2,
.breadcrumb-section .breadcrumb-title {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.breadcrumb {
    background: transparent !important;
    padding: 0;
    margin: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
}

.breadcrumb-item a:hover {
    color: #ffffff !important;
}

.breadcrumb-item.active {
    color: var(--bv-primary-light) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4) !important;
    content: ">";
    padding: 0 10px;
}

/* ==============================================
   FOOTER COMPLETE TRANSFORMATION
   ============================================== */
footer {
    background: var(--bv-text-primary) !important;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    margin-top: 60px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--bv-text-primary));
    pointer-events: none;
}

/* Main Footer Area */
.main-footer {
    padding: 80px 0 40px !important;
}

.main-footer .row {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 40px;
}

/* Footer Logo Section */
.footer-logo {
    margin-bottom: 24px;
}

.footer-logo .theme-logo img {
    height: 60px !important;
    width: auto !important;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-logo-contain p,
.footer-logo-contain font {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px;
    line-height: 1.8;
}

/* Footer Titles */
.footer-title h4 {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bv-primary);
    border-radius: 2px;
}

/* Footer Links */
.footer-contain ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contain ul li {
    margin-bottom: 14px;
}

.footer-contain ul li a,
.footer-contain a.text-content {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--bv-transition-fast);
}

.footer-contain ul li a:hover,
.footer-contain a.text-content:hover {
    color: var(--bv-primary) !important;
    padding-left: 8px;
}

.footer-contain ul li a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--bv-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--bv-transition-fast);
}

.footer-contain ul li a:hover::before {
    opacity: 1;
}

/* Footer Contact */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .footer-number {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-contact .footer-number i,
.footer-contact .footer-number svg {
    color: var(--bv-primary) !important;
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

.footer-contact .contact-number h6 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact .contact-number h5,
.footer-contact .contact-number a {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
}

.footer-contact .contact-number a:hover {
    color: var(--bv-primary) !important;
}

/* Sub Footer / Copyright */
.sub-footer {
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 24px 0 !important;
    margin-top: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-footer .reserve h6,
.sub-footer p {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px;
    margin: 0;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link h6 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}

.social-link ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link ul li a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 16px;
    transition: all var(--bv-transition-fast);
}

.social-link ul li a:hover {
    background: var(--bv-primary) !important;
    transform: translateY(-4px);
}

/* ==============================================
   ALERTS & NOTIFICATIONS
   ============================================== */
.alert {
    border: none !important;
    border-radius: var(--bv-radius-lg) !important;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.15)) !important;
    color: #059669 !important;
    border-left: 4px solid #10b981 !important;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.15)) !important;
    color: #dc2626 !important;
    border-left: 4px solid #ef4444 !important;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15)) !important;
    color: #d97706 !important;
    border-left: 4px solid #f59e0b !important;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.15)) !important;
    color: #2563eb !important;
    border-left: 4px solid #3b82f6 !important;
}

/* ==============================================
   MODALS TRANSFORMATION
   ============================================== */
.modal-content {
    border: none !important;
    border-radius: var(--bv-radius-2xl) !important;
    box-shadow: var(--bv-shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--bv-background-white);
    border-bottom: 1px solid var(--bv-border-light);
    padding: 24px 28px;
}

.modal-title {
    font-weight: 700;
    font-size: 20px;
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    background: var(--bv-background-alt);
    border-top: 1px solid var(--bv-border-light);
    padding: 20px 28px;
}

.modal-backdrop.show {
    opacity: 0.5;
    backdrop-filter: blur(4px);
}

/* ==============================================
   BACK TO TOP BUTTON
   ============================================== */
.back-to-top,
.theme-option {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.back-to-top a,
#back-to-top {
    width: 56px;
    height: 56px;
    background: var(--bv-primary) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(var(--bv-primary-rgb), 0.4);
    transition: all var(--bv-transition-normal);
    border: none;
}

.back-to-top a:hover,
#back-to-top:hover {
    background: var(--bv-primary-dark) !important;
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(var(--bv-primary-rgb), 0.5);
}

/* ==============================================
   PAGINATION
   ============================================== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-item .page-link,
.page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: var(--bv-radius-md) !important;
    color: var(--bv-text-primary);
    background: var(--bv-background-white);
    font-weight: 600;
    box-shadow: var(--bv-shadow-xs);
    transition: all var(--bv-transition-fast);
}

.pagination .page-item .page-link:hover,
.page-link:hover {
    background: var(--bv-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--bv-shadow-sm);
}

.pagination .page-item.active .page-link {
    background: var(--bv-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(var(--bv-primary-rgb), 0.3);
}

/* ==============================================
   TABLES
   ============================================== */
.table {
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-lg);
    overflow: hidden;
    box-shadow: var(--bv-shadow-sm);
}

.table thead {
    background: var(--bv-background-alt);
}

.table thead th {
    border: none !important;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bv-text-secondary);
}

.table tbody td {
    padding: 18px 24px;
    border-color: var(--bv-border-light) !important;
    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--bv-transition-fast);
}

.table tbody tr:hover {
    background: var(--bv-background-alt);
}

/* ==============================================
   LOGIN/REGISTER PAGES
   ============================================== */
.log-in-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bv-background) 0%, var(--bv-background-alt) 100%);
}

.log-in-box {
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-2xl) !important;
    box-shadow: var(--bv-shadow-xl);
    padding: 48px;
    max-width: 480px;
    width: 100%;
}

.log-in-box .log-in-title {
    text-align: center;
    margin-bottom: 32px;
}

.log-in-box .log-in-title h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.log-in-box .log-in-title h4 {
    font-size: 15px;
    color: var(--bv-text-secondary);
    font-weight: 400;
}

/* ==============================================
   LOADING SPINNER
   ============================================== */
.fullpage-loader {
    background: var(--bv-background-white) !important;
}

.fullpage-loader span {
    background: var(--bv-primary) !important;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1199px) {
    .middle-box {
        max-width: 450px;
    }

    .searchbar-box {
        display: none !important;
    }

    .title h2,
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .top-nav .navbar-top {
        padding: 16px 0;
    }

    .middle-box {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin-top: 16px;
    }

    .breadcrumb-section {
        padding: 32px 0 !important;
    }

    .breadcrumb-section h2 {
        font-size: 26px;
    }

    .main-footer {
        padding: 60px 0 30px !important;
    }

    .footer-title h4 {
        margin-bottom: 20px;
    }

    .title h2,
    .section-title h2 {
        font-size: 26px;
    }

    section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

@media (max-width: 767px) {
    .navbar-top .web-logo img,
    .navbar-top .nav-logo img {
        height: 40px !important;
    }

    .right-side-menu {
        gap: 12px;
    }

    .right-side-menu .delivery-detail {
        display: none;
    }

    .product-box:hover {
        transform: translateY(-6px);
    }

    .log-in-box {
        padding: 32px 24px;
    }

    .title h2,
    .section-title h2 {
        font-size: 24px;
    }

    .container-fluid-lg {
        padding: 0 16px;
    }

    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .sub-footer > div {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-link {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .top-nav .navbar-top {
        padding: 12px 0;
    }

    .location-box-2 {
        display: none;
    }

    .breadcrumb-section h2 {
        font-size: 22px;
    }

    .product-box .product-detail {
        padding: 16px !important;
    }

    .product-box .product-detail h6 {
        font-size: 14px;
        min-height: auto;
    }

    .product-box .product-detail h4 {
        font-size: 18px;
    }

    .footer-logo .theme-logo img {
        height: 50px !important;
    }

    .back-to-top,
    .theme-option {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top a,
    #back-to-top {
        width: 48px;
        height: 48px;
    }
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */
.rounded-modern {
    border-radius: var(--bv-radius-xl) !important;
}

.shadow-modern {
    box-shadow: var(--bv-shadow-md) !important;
}

.shadow-modern-lg {
    box-shadow: var(--bv-shadow-lg) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bv-primary), var(--bv-primary-dark)) !important;
}

.text-primary-modern {
    color: var(--bv-primary) !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--bv-primary);
    color: #ffffff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bv-background-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--bv-border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bv-text-muted);
}

/* ==============================================
   HOMEPAGE - HERO BANNER (NEW LAYOUT)
   ============================================== */
.bv-hero-section {
    padding: 0 !important;
    margin: 0;
}

.bv-hero-carousel {
    width: 100%;
}

.bv-hero-slide {
    position: relative;
    overflow: hidden;
}

.bv-hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    display: block;
}

.bv-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        transparent 100%
    );
    pointer-events: none;
}

.bv-hero-content-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.bv-hero-text {
    max-width: 520px;
    padding: 40px 0;
}

.bv-hero-badge {
    display: inline-block;
    background: var(--bv-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.bv-hero-title {
    font-size: 44px;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.bv-hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.85) !important;
    margin: 0;
}

/* ==============================================
   CATEGORY PILLS STRIP
   ============================================== */
.bv-cat-strip {
    background: var(--bv-background-white);
    border-bottom: 1px solid var(--bv-border);
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.bv-cat-pills-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bv-cat-pills-wrap::-webkit-scrollbar {
    display: none;
}

.bv-cat-pills {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 4px 0;
}

.bv-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 24px;
    background: var(--bv-background-alt);
    color: var(--bv-text-secondary) !important;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all var(--bv-transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.bv-cat-pill:hover,
.bv-cat-pill.active {
    background: var(--bv-primary) !important;
    color: #fff !important;
    border-color: var(--bv-primary);
}

/* ==============================================
   HOMEPAGE - SECTION HEADER
   ============================================== */
.bv-section-header {
    margin-bottom: 32px;
}

.bv-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bv-label-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bv-primary);
    display: inline-block;
}

.bv-label-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--bv-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bv-section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--bv-text-primary);
    margin: 0;
}

/* ==============================================
   HOMEPAGE - HOT ITEMS HORIZONTAL SCROLL
   ============================================== */
.bv-hot-section {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
}

.bv-hot-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--bv-border) transparent;
}

.bv-hot-scroll::-webkit-scrollbar {
    height: 4px;
}

.bv-hot-scroll::-webkit-scrollbar-thumb {
    background: var(--bv-border);
    border-radius: 2px;
}

.bv-hot-card {
    flex: 0 0 160px;
    border-radius: var(--bv-radius-xl);
    overflow: hidden;
    background: var(--bv-background-white);
    box-shadow: var(--bv-shadow-sm);
    text-decoration: none;
    transition: all var(--bv-transition-normal);
    display: block;
}

.bv-hot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bv-shadow-hover);
}

.bv-hot-img-wrap {
    width: 160px;
    height: 160px;
    overflow: hidden;
    background: var(--bv-background-alt);
}

.bv-hot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bv-transition-slow);
}

.bv-hot-card:hover .bv-hot-img {
    transform: scale(1.08);
}

.bv-hot-info {
    padding: 12px;
    position: relative;
}

.bv-hot-badge {
    position: absolute;
    top: -12px;
    right: 10px;
    background: var(--bv-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.bv-hot-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--bv-text-primary) !important;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==============================================
   HOMEPAGE - PRODUCT GRID (4-col, bigger cards)
   ============================================== */
.bv-products-section {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

.bv-product-col {
    /* handled by Bootstrap row-cols */
}

.bv-product-card {
    display: block;
    border-radius: var(--bv-radius-xl);
    overflow: hidden;
    background: var(--bv-background-white);
    box-shadow: var(--bv-shadow-sm);
    text-decoration: none !important;
    transition: all var(--bv-transition-normal);
    height: 100%;
}

.bv-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--bv-shadow-hover);
}

.bv-product-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bv-background-alt);
}

.bv-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bv-transition-slow);
}

.bv-product-card:hover .bv-product-img {
    transform: scale(1.08);
}

.bv-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bv-product-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--bv-text-primary) !important;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.bv-product-cta {
    font-size: 12px;
    font-weight: 600;
    color: var(--bv-primary) !important;
    display: inline-flex;
    align-items: center;
}

.bv-loadmore-btn {
    background: transparent !important;
    border: 2px solid var(--bv-primary) !important;
    color: var(--bv-primary) !important;
    padding: 12px 40px !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    font-size: 15px;
    transition: all var(--bv-transition-fast);
}

.bv-loadmore-btn:hover {
    background: var(--bv-primary) !important;
    color: #fff !important;
}

/* ==============================================
   PRODUCT DETAIL - NEW LAYOUT
   ============================================== */
.bv-detail-section {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}

/* Sticky Checkout Sidebar */
.bv-checkout-sticky {
    position: sticky;
    top: 90px;
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-xl);
    box-shadow: var(--bv-shadow-lg);
    overflow: hidden;
}

.bv-checkout-identity {
    background: var(--bv-text-primary);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.bv-checkout-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--bv-radius-md);
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

.bv-checkout-product-name {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* Order Summary */
.bv-order-summary {
    padding: 20px 20px 0;
}

.bv-summary-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bv-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.bv-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--bv-border-light);
    font-size: 13px;
    color: var(--bv-text-secondary) !important;
}

.bv-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--bv-text-primary);
}

.bv-total-amount {
    color: var(--bv-primary) !important;
    font-size: 18px;
}

/* Order Button */
.bv-order-btn {
    background: linear-gradient(135deg, var(--bv-primary), var(--bv-primary-dark)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 18px 24px !important;
    font-weight: 700 !important;
    font-size: 15px;
    width: 100%;
    margin: 0 !important;
    display: block;
    transition: all var(--bv-transition-fast);
}

.bv-order-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--bv-primary-dark), #065e4e) !important;
    transform: none !important;
}

.bv-order-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

.bv-error-msg {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #dc2626 !important;
    padding: 12px 16px;
    font-size: 13px;
    margin: 0 20px;
    border-radius: 6px;
}

.bv-safe-badge {
    background: var(--bv-background-alt);
    padding: 14px 20px;
    font-size: 12px;
    color: var(--bv-text-secondary) !important;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--bv-border-light);
}

.bv-safe-badge i {
    color: var(--bv-primary);
}

/* Product Detail Right Column */
.bv-detail-img-wrap {
    position: relative;
    border-radius: var(--bv-radius-xl);
    overflow: hidden;
    box-shadow: var(--bv-shadow-md);
}

.bv-detail-hero-img {
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: var(--bv-radius-xl);
}

.bv-detail-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 28px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    border-radius: 0 0 var(--bv-radius-xl) var(--bv-radius-xl);
}

.bv-detail-hero-title {
    color: #fff !important;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Detail Cards */
.bv-detail-card {
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-lg);
    box-shadow: var(--bv-shadow-sm);
    overflow: hidden;
}

.bv-card-header {
    background: var(--bv-background-alt);
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bv-text-primary);
    border-bottom: 1px solid var(--bv-border-light);
}

.bv-card-body {
    padding: 20px;
}

/* Variant Grid */
.bv-variant-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 !important;
    list-style: none !important;
}

.bv-variant-grid li {
    background: transparent !important;
}

.bv-variant-grid li a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid var(--bv-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--bv-text-primary);
    background: var(--bv-background-white);
    transition: all var(--bv-transition-fast);
    text-decoration: none;
}

.bv-variant-grid li a:hover,
.bv-variant-grid li a.active {
    border-color: var(--bv-primary) !important;
    background: var(--bv-primary) !important;
    color: #fff !important;
}

.bv-variant-grid li a.bg-gray {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bv-background-alt) !important;
    border-color: var(--bv-border-light) !important;
    color: var(--bv-text-muted) !important;
}

/* Qty Row */
.bv-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bv-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bv-text-primary);
    margin: 0;
    white-space: nowrap;
}

.bv-qty-box {
    max-width: 160px;
}

/* Payment Tiles */
.bv-payment-group-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--bv-text-secondary) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px !important;
}

.bv-payment-tile {
    border: 2px solid var(--bv-border);
    border-radius: var(--bv-radius-md);
    padding: 14px 12px;
    cursor: pointer;
    transition: all var(--bv-transition-fast);
    background: var(--bv-background-white);
    text-align: center;
    height: 100%;
}

.bv-payment-tile:hover {
    border-color: var(--bv-primary);
    background: rgba(13, 164, 135, 0.04);
}

.bv-payment-tile.active {
    border-color: var(--bv-primary) !important;
    background: rgba(13, 164, 135, 0.08) !important;
    box-shadow: 0 0 0 4px rgba(13, 164, 135, 0.12);
}

.bv-payment-logo {
    height: 28px;
    width: auto;
    display: block;
    margin: 0 auto 8px;
    object-fit: contain;
}

.bv-payment-name {
    font-size: 11px;
    color: var(--bv-text-secondary) !important;
    margin: 0;
    line-height: 1.3;
}

/* ==============================================
   TRANSACTION / CHECKOUT PAGE - NEW LAYOUT
   ============================================== */

/* Transaction Header Banner */
.bv-txn-header {
    background: var(--bv-text-primary);
    padding: 32px 0;
    margin-bottom: 0;
}

.bv-txn-status-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bv-txn-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.bv-status-success { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.bv-status-pending { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.bv-status-process { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.bv-status-failed  { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.bv-txn-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px !important;
}

.bv-txn-status-text {
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.bv-countdown {
    color: var(--bv-accent) !important;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.bv-txn-body {
    padding-top: 36px !important;
}

/* Transaction Cards */
.bv-txn-card {
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-xl);
    box-shadow: var(--bv-shadow-sm);
    overflow: hidden;
}

.bv-txn-card-header {
    background: var(--bv-background-alt);
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bv-text-primary);
    border-bottom: 1px solid var(--bv-border-light);
}

.bv-txn-card-body {
    padding: 20px 24px;
}

/* Product summary row at top of payment card */
.bv-product-summary-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bv-txn-product-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--bv-radius-md);
    flex-shrink: 0;
}

.bv-txn-product-info {
    flex: 1;
    min-width: 120px;
}

.bv-txn-amount-block {
    text-align: right;
    margin-left: auto;
}

.bv-txn-amount-label {
    font-size: 11px;
    color: var(--bv-text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px !important;
}

.bv-txn-amount {
    color: var(--bv-primary) !important;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
}

.bv-divider {
    border: none;
    border-top: 1px solid var(--bv-border-light);
    margin: 16px 0;
}

/* Payment detail rows */
.bv-payment-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--bv-border-light);
    gap: 16px;
    flex-wrap: wrap;
}

.bv-payment-detail-row:last-child {
    border-bottom: none;
}

.bv-pd-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--bv-text-secondary) !important;
    min-width: 160px;
    flex-shrink: 0;
}

.bv-pd-value {
    font-size: 14px;
    color: var(--bv-text-primary) !important;
    font-weight: 500;
    text-align: right;
}

/* VA copy */
.bv-va-copy-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bv-va-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--bv-text-primary) !important;
    letter-spacing: 1px;
    font-family: monospace;
}

.bv-copy-btn {
    background: var(--bv-primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--bv-radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--bv-transition-fast);
}

.bv-copy-btn:hover {
    background: var(--bv-primary-dark);
}

.bv-copy-toast {
    color: var(--bv-primary) !important;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px !important;
}

.bv-qr-img {
    max-width: 200px;
    border-radius: var(--bv-radius-md);
    display: block;
}

.bv-dl-btn {
    background: var(--bv-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: var(--bv-radius-md) !important;
    font-size: 13px;
    font-weight: 600;
}

/* Guarantee / Notes Cards */
.bv-guarantee-card {
    background: linear-gradient(135deg, rgba(13, 164, 135, 0.08), rgba(13, 164, 135, 0.03));
    border: 2px solid rgba(13, 164, 135, 0.2);
    border-radius: var(--bv-radius-xl);
    padding: 20px;
}

.bv-guarantee-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bv-guarantee-badge {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.bv-guarantee-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--bv-text-primary) !important;
    margin-bottom: 4px;
}

.bv-guarantee-text {
    font-size: 13px;
    color: var(--bv-text-secondary) !important;
    margin: 0;
}

.bv-notes-card {
    background: var(--bv-background-white);
    border-radius: var(--bv-radius-xl);
    box-shadow: var(--bv-shadow-sm);
    overflow: hidden;
}

.bv-notes-header {
    background: var(--bv-text-primary);
    color: #ffffff;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
}

.bv-notes-header i {
    color: #f59e0b;
}

.bv-notes-list {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
}

.bv-notes-list li {
    font-size: 13px;
    color: var(--bv-text-secondary) !important;
    padding: 8px 0;
    border-bottom: 1px solid var(--bv-border-light);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.bv-notes-list li:last-child {
    border-bottom: none;
}

.bv-notes-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bv-primary);
    font-weight: 700;
}

/* ==============================================
   RESPONSIVE UPDATES
   ============================================== */
@media (max-width: 991px) {
    .bv-hero-img {
        height: 300px;
    }
    .bv-hero-title {
        font-size: 32px;
    }
    .bv-checkout-sticky {
        position: static;
    }
    .bv-detail-hero-img {
        height: 220px;
    }
    .bv-txn-header {
        padding: 24px 0;
    }
    .bv-txn-status-text {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .bv-hero-img {
        height: 240px;
    }
    .bv-hero-title {
        font-size: 26px;
    }
    .bv-hero-desc {
        font-size: 14px;
    }
    .bv-product-summary-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .bv-txn-amount-block {
        text-align: left;
        margin-left: 0;
    }
    .bv-pd-label {
        min-width: auto;
    }
    .bv-payment-detail-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .bv-pd-value {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .bv-hero-img {
        height: 200px;
    }
    .bv-hero-title {
        font-size: 22px;
    }
    .bv-hero-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
    .bv-hot-card {
        flex: 0 0 130px;
    }
    .bv-hot-img-wrap {
        width: 130px;
        height: 130px;
    }
    .bv-section-title {
        font-size: 22px;
    }
}

/* Alias for breadscrumb (typo in templates) */
.breadscrumb-section {
    background: linear-gradient(135deg, var(--bv-text-primary) 0%, #0f172a 100%) !important;
    padding: 40px 0 !important;
    position: relative;
    overflow: hidden;
}

.breadscrumb-section h2,
.breadscrumb-contain h2 {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 800;
}

.breadscrumb-section .breadcrumb-item,
.breadscrumb-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.breadscrumb-section .breadcrumb-item.active {
    color: var(--bv-primary-light) !important;
}

.breadscrumb-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4) !important;
    content: ">";
}
