:root {
    --primary-color: #3F0051;
    --primary-hover: #ff6b00;
    --secondary-color: #ff6b00;
    --bg-light: #f5f5f5;
    --text-color: #333;
    --border-color: #e5e5e5;
    --mobile-color: #3F0051;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text-color); background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* Header */
.main-header { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: relative; z-index: 100; }
.logo-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.main-logo img { max-height: 50px; }
.main-search { flex: 1; max-width: 500px; margin: 0 20px; position: relative; }
.main-search form { display: flex; border: 2px solid var(--primary-color); border-radius: 30px; overflow: hidden; }
.main-search input { flex: 1; border: none; padding: 10px 20px; outline: none; font-size: 14px; }
.main-search button { background: var(--primary-color); color: #fff; border: none; padding: 10px 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.header-list-items ul { display: flex; align-items: center; gap: 20px; margin: 0; }
.header-list-items ul li { list-style: none; }
.header-list-items ul li a { font-size: 14px; color: var(--text-color); white-space: nowrap; }
.header-list-items ul li a i { margin-right: 5px; }
.cart-dialog { position: relative; }
.margin-shopping { position: relative; font-size: 24px; cursor: pointer; color: var(--text-color); margin: 0; }
.margin-shopping span { position: absolute; top: -8px; right: -10px; background: var(--secondary-color); color: #fff; font-size: 12px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.cshort-summary { position: absolute; top: 100%; right: 0; width: 300px; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 15px; display: none; z-index: 1000; box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.cart-dialog:hover .cshort-summary { display: block; }
.cshort-summary ul { max-height: 200px; overflow-y: auto; }
.cshort-summary ul li { padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.cshort-summary p { margin: 10px 0; font-size: 14px; }
.go_cart { display: block; text-align: center; background: var(--primary-color); color: #fff; padding: 10px; border-radius: 5px; font-size: 14px; }
.go_cart:hover { background: var(--primary-hover); color: #fff; }

/* Menu */
.menu-area { background: var(--primary-color); }
.catagory_menu ul.heder__category { display: flex; align-items: center; margin: 0; padding: 0; }
.catagory_menu ul.heder__category > div { list-style: none; }
.catagory_menu ul.heder__category > div > li a { color: #fff; padding: 12px 15px; display: block; font-size: 14px; }
.catagory_menu ul.heder__category > div > li a:hover { background: var(--primary-hover); }
.all__category__list { background: var(--primary-hover); position:relative; border:1px solid rgba(255,255,255,0.25); }
.all__category__list:hover { background:#F0E6F5; }
.all__category__list:hover > a { color:var(--primary-color) !important; }
.all__category__list .nav-cat-dropdown { display:none; position:absolute; top:100%; left:0; min-width:230px; background:#fff; border:1px solid var(--border-color); border-radius:0 0 5px 5px; box-shadow:2px 2px 12px rgba(0,0,0,0.1); z-index:400; padding:5px 0; }
.all__category__list:hover .nav-cat-dropdown { display:block; }
.all__category__list .nav-cat-dropdown ul { margin:0; padding:0; list-style:none; }
.all__category__list .nav-cat-dropdown ul > li { position:relative; }
.all__category__list .nav-cat-dropdown ul > li > a { display:flex; align-items:center; gap:8px; padding:8px 14px; font-size:13px; color:var(--text-color) !important; transition:0.2s; white-space:nowrap; }
.all__category__list .nav-cat-dropdown ul > li > a:hover { background:#f8f0ff; color:var(--primary-color) !important; }
.all__category__list .nav-cat-dropdown ul > li > a img { width:18px; height:18px; object-fit:contain; }
.all__category__list .nav-cat-submenu { display:none; position:absolute; left:100%; top:0; min-width:200px; background:#fff; border:1px solid var(--border-color); border-radius:5px; box-shadow:2px 2px 10px rgba(0,0,0,0.1); z-index:401; }
.all__category__list .nav-cat-dropdown ul > li:hover > .nav-cat-submenu { display:block; }
.all__category__list .nav-cat-submenu li a { display:block; padding:8px 14px; font-size:13px; color:var(--text-color) !important; white-space:nowrap; }
.all__category__list .nav-cat-submenu li a:hover { background:#f8f0ff; color:var(--primary-color) !important; }
.right__menu__top { margin-left: auto; display: flex; align-items: center; }
.right__menu__top li p { margin: 0; }
.right__menu__top li p a { color: #fff; display: flex; align-items: center; gap: 5px; }

/* Sidebar Menu */
.sidebar-menu { background: #fff; border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.sidebar-menu ul.hideshow { margin: 0; padding: 0; }
.sidebar-menu ul.hideshow > li { position: relative; list-style: none; }
.sidebar-menu ul.hideshow > li > a { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--border-color); font-size: 13px; color: var(--text-color); transition: 0.3s; }
.sidebar-menu ul.hideshow > li > a img { width: 20px; height: 20px; margin-right: 8px; object-fit: contain; }
.sidebar-menu ul.hideshow > li > a i.fa-chevron-right { margin-left: auto; font-size: 10px; }
.sidebar-menu ul.hideshow > li > a:hover { background: #f8f0ff; color: var(--primary-color); }
.sidebar-menu ul.hideshow > li > a.active { background: #f0e6f5; color: var(--primary-color); border-left: 3px solid var(--primary-color); }
.sidebar-submenu, .sidebar-childmenu { display: none; position: absolute; left: 100%; top: 0; background: #fff; border: 1px solid var(--border-color); min-width: 200px; z-index: 200; box-shadow: 2px 2px 10px rgba(0,0,0,0.1); }
.sidebar-menu ul.hideshow > li:hover > .sidebar-submenu { display: block; }
.sidebar-submenu li { position: relative; list-style: none; }
.sidebar-submenu li a { display: flex; align-items: center; padding: 10px 15px; border-bottom: 1px solid var(--border-color); font-size: 13px; color: var(--text-color); }
.sidebar-submenu li a i { margin-left: auto; font-size: 10px; }
.sidebar-submenu li:hover > .sidebar-childmenu { display: block; }

/* Slider Section */
.slider-section { padding: 20px 0; }
.home-slider-container { border-radius: 8px; overflow: hidden; }
.main_slider .slider-item { position: relative; }
.main_slider .slider-item img { width: 100%; border-radius: 8px; max-height: 400px; object-fit: cover; }
.main_slider .owl-nav button { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(63,0,81,0.8) !important; color: #fff !important; border-radius: 50% !important; font-size: 18px !important; outline: none; }
.main_slider .owl-nav .owl-prev { left: 10px; }
.main_slider .owl-nav .owl-next { right: 10px; }
.main_slider .owl-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); }
.main_slider .owl-dots button { outline: none; }
.main_slider .owl-dots button span { background: rgba(255,255,255,0.5); width: 10px; height: 10px; margin: 3px; border-radius: 50%; display: block; }
.main_slider .owl-dots button.active span { background: #fff; }

/* Section Title */
.sec_title { margin-bottom: 20px; }
.section-title-header { background: linear-gradient(135deg, var(--primary-color), #6a0080); color: #fff; padding: 12px 20px; border-radius: 5px; font-size: 18px; margin: 0; font-weight: 600; }
.timer_inner { display: flex; align-items: center; justify-content: space-between; }
.section-title-name { font-weight: 600; }

/* Products */
.homeproduct { padding: 20px 0; }
.product_item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; margin: 5px; transition: all 0.3s ease; }
.product_item:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }
.product_item_inner { position: relative; padding: 10px; }
.sale-badge { position: absolute; top: 10px; left: 10px; z-index: 10; }
.sale-badge-box { background: var(--secondary-color); color: #fff; padding: 5px 8px; border-radius: 4px; text-align: center; font-size: 11px; line-height: 1.2; }
.sale-badge-text p { margin: 0; font-weight: bold; font-size: 14px; }
.sale-badge-text { font-size: 10px; display: block; line-height: 1.1; }
.pro_img { text-align: center; height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pro_img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.pro_des { padding: 0; }
.pro_name { margin: 8px 0; }
.pro_name a { font-size: 13px; color: var(--text-color); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; min-height: 36px; }
.pro_name a:hover { color: var(--primary-color); }
.pro_price { padding: 0 10px 10px; }
.pro_price p { font-size: 16px; font-weight: bold; color: var(--primary-color); margin: 0; }
.pro_price del { font-size: 13px; color: #999; margin-right: 8px; font-weight: normal; }
.pro_btn { padding: 0 10px 10px; }
.pro_btn .btn { border-radius: 4px; font-size: 13px; }

/* Category Slider */
.category-slider .cat_item { text-align: center; padding: 10px; }
.cat_img { width: 80px; height: 80px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; border: 2px solid var(--primary-color); display: flex; align-items: center; justify-content: center; background: #fff; }
.cat_img img { width: 100%; height: 100%; object-fit: cover; }
.cat_name a { font-size: 12px; color: var(--text-color); font-weight: 500; }
.cat_name a:hover { color: var(--primary-color); }

/* Mobile Header */
.mobile-header { display: none; background: var(--mobile-color); padding: 10px 15px; position: sticky; top: 0; z-index: 999; }
.mobile-logo { display: flex; align-items: center; justify-content: space-between; }
.menu-bar a { color: #fff; font-size: 22px; }
.menu-logo img { max-height: 35px; }
.menu-bag a, .menu-bag p { color: #fff; position: relative; margin: 0; }
.mobilecart-qty { position: absolute; top: -8px; right: -10px; background: var(--secondary-color); color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-search { display: none; padding: 10px 15px; background: #f5f5f5; position: relative; }
.mobile-search form { display: flex; border: 1px solid var(--border-color); border-radius: 25px; overflow: hidden; background: #fff; }
.mobile-search input { flex: 1; border: none; padding: 8px 15px; outline: none; font-size: 13px; }
.mobile-search button { background: none; border: none; padding: 8px 15px; color: var(--primary-color); cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 9999; overflow-y: auto; transition: 0.3s ease; box-shadow: 2px 0 10px rgba(0,0,0,0.1); }
.mobile-menu.open { left: 0; }
.mobile-menu-logo { display: flex; align-items: center; justify-content: space-between; padding: 15px; border-bottom: 1px solid var(--border-color); }
.mobile-menu-logo .logo-image img { max-height: 35px; }
.mobile-menu-close { font-size: 20px; cursor: pointer; color: var(--primary-color); }
ul.first-nav { margin: 0; padding: 0; }
ul.first-nav > li { list-style: none; position: relative; border-bottom: 1px solid var(--border-color); }
ul.first-nav > li > a { display: flex; align-items: center; padding: 12px 15px; font-size: 14px; color: var(--text-color); }
ul.first-nav > li > a img.side_cat_img { width: 20px; height: 20px; margin-right: 10px; object-fit: contain; }
.menu-category-toggle { position: absolute; right: 15px; top: 12px; cursor: pointer; font-size: 12px; color: #999; }
ul.second-nav { background: #f9f9f9; }
ul.second-nav > li { list-style: none; }
ul.second-nav > li > a { padding: 10px 15px 10px 35px !important; font-size: 13px !important; display: block; color: var(--text-color); border-bottom: 1px solid #eee; }
ul.third-nav { background: #f0f0f0; }

/* Search Results */
.search_result, .search_result_mobile { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 5px 5px; z-index: 1000; max-height: 300px; overflow-y: auto; display: none; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.search_result_mobile { position: absolute; top: 100%; left: 15px; right: 15px; }
.search-results-list { padding: 0; }
.search-result-item { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: var(--text-color); transition: 0.2s; }
.search-result-item:hover { background: #f8f0ff; color: var(--primary-color); }
.search-result-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 4px; }

/* Footer */
.footer-section { background: #1a1a2e; color: #ccc; padding: 50px 0 0; margin-top: 40px; }
.footer-widget { margin-bottom: 30px; }
.footer-widget h4 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; font-weight: 600; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--secondary-color); }
.footer-widget p { font-size: 14px; line-height: 1.8; color: #aaa; }
.footer-widget ul { padding: 0; margin: 0; }
.footer-widget ul li { list-style: none; margin-bottom: 8px; }
.footer-widget ul li a { color: #ccc; font-size: 14px; transition: all 0.3s; }
.footer-widget ul li a:hover { color: var(--secondary-color); padding-left: 5px; }
.contact-info li { margin-bottom: 10px; display: flex; align-items: flex-start; color: #ccc; font-size: 14px; }
.contact-info li i { width: 25px; color: var(--secondary-color); margin-top: 3px; }
.social-links { margin-top: 15px; }
.social-links a { display: inline-block; width: 35px; height: 35px; background: rgba(255,255,255,0.1); color: #fff; text-align: center; line-height: 35px; border-radius: 50%; margin-right: 8px; transition: all 0.3s; }
.social-links a:hover { background: var(--secondary-color); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-top: 30px; }
.footer-bottom p { margin: 0; font-size: 14px; color: #888; }
.store-badges { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge-item { display: inline-block; }
.store-badge-item img { height: 40px; width: auto; border-radius: 4px; transition: opacity 0.3s; }
.store-badge-item img:hover { opacity: 0.8; }

/* Pagination */
.pagination { justify-content: center; margin-top: 20px; }
.page-item.active .page-link { background-color: var(--primary-color); border-color: var(--primary-color); }
.page-link { color: var(--primary-color); }

/* Product Detail - Legacy (replaced by inline styles in product-detail.blade.php) */

/* Checkout */
.checkout-section .card { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.checkout-section .card-body { padding: 25px; }
.checkout-section .form-label { font-weight: 500; font-size: 14px; }

/* Auth */
.auth-section .card { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.auth-section .card-body { padding: 30px; }

/* Contact */
.contact-section .card { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }

/* Track Order */
.track-order-section .card { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }

/* Order Success */
.order-success-section .card { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }

/* Page Content */
.page-content { font-size: 15px; line-height: 1.8; color: var(--text-color); }
.page-content img { max-width: 100%; height: auto; }