* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Figtree';
    scroll-behavior: smooth;
}

.logo {
    font-family: 'Space Grotesk' !important;
}

a {
    text-decoration: none;
}

:root {
    /* --primary: #004e89; */
    --primary: #043164;
    /* --primary-dark: #ff6b35; */
    --primary--dark:#023c55;
    --secondary: #2DADE6;
    --accent: #F4F6F0;
    --text: #2C3E2D;
    --light: #ffffff;
    --gray: #f8f9fa;
    --border: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

body {
    background-color: var(--gray);
    color: var(--text);
    overflow-x: hidden !important;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  color:var(--primary-dark);
  position: relative;
  animation: l40 .5s infinite alternate;
}
.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 25px 25px;
  background-position: 0 0,100% 0,100% 100%,0 100%;
  background-repeat: no-repeat;
}
.loader:before {
  background-image:
    radial-gradient(farthest-side at top    left ,currentColor 96%,#0000),
    radial-gradient(farthest-side at top    right,currentColor 96%,#0000),
    radial-gradient(farthest-side at bottom right,currentColor 96%,#0000),
    radial-gradient(farthest-side at bottom left ,currentColor 96%,#0000);
  animation: l40-1 1s infinite;
}
.loader:after {
  background-image: 
    radial-gradient(farthest-side at top    left ,#0000 94%,currentColor 96%),
    radial-gradient(farthest-side at top    right,#0000 94%,currentColor 96%),
    radial-gradient(farthest-side at bottom right,#0000 94%,currentColor 96%),
    radial-gradient(farthest-side at bottom left ,#0000 94%,currentColor 96%);
  animation: l40-2 1s infinite;
}
@keyframes l40-1 {
  0%,10%,90%,100% {inset:0}
  40%,60% {inset:-10px}
}
@keyframes l40-2 {
  0%,40%  {transform: rotate(0)}
  60%,100%{transform: rotate(90deg)}
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
    animation: l15 2s infinite;
}

.loader::after {
    margin: 8px;
    animation-duration: 3s;
}

@keyframes l15 {
    100% { transform: rotate(1turn); }
}

/* Top Navigation */
.top-nav {
    background-color: var(--primary);
    color: var(--light);
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-nav-contact i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.top-nav-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-nav-social a {
    color: var(--light);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-nav-social a:hover {
    color: var(--secondary);
}

/* Main Navbar */
.navbar {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    position: relative;
    z-index: 100;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
}

.logo span {
    color: var(--secondary);
}

.logo img {
    width: 112px;
    height: 86px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}

.nav-links a:hover
{
    color: var(--primary-dark);
}

.nav-links li.active a {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons > div, .nav-icons > .cart-icon, .nav-icons > .dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-icons i {
    font-size: 1.2rem;
    color: var(--text);
}

.nav-icons div:hover {
    color: var(--primary);
}

.top-names {
    font-size: 0.85rem;
    margin-left: 5px;
    color: var(--text);
}

.cart-icon {
    position: relative;
}

.cart-icon a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: 18px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--light);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

.search-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
    margin-left: 10px;
}

.bottom-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--light);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 20px;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-nav-items li {
    text-align: center;
    position: relative;
}

.bottom-nav-items a {
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    transition: color 0.3s;
    text-decoration: none;
}

.bottom-nav-items a i {
    font-size: 22px;
}

.bottom-nav-items a:hover,
.bottom-nav-items li.active a {
    color: var(--primary);
}

.bottom-cart-count {
    position: relative;
}

.bottom-cart-count .cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    left: auto;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--light);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
    top: 100%;
    right: 0;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--accent);
}

.dropdown-content a:hover {
    background-color: var(--primary);
    color: white;
}

.dropdown-content i {
    width: 16px;
    font-size: 0.8rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu {
    display: none;
    background: var(--light);
    padding: 20px;
    overflow-y: scroll;
}

.mobile-menu.active {
    display: block;
}

.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-links li {
    margin: 15px 0;
}

.mobile-links a {
    color: var(--primary);
    font-weight: 500;
    display: block;
    padding: 10px 0;
    margin-left: 10px;
    border-bottom: 1px solid var(--accent);
}
.mobile-links a:hover{
    color: var(--primary-dark);

}
.mobile-links li.active a {
    color: var(--primary-dark);
    font-weight: 600;
}

.mobile-search {
    padding: 15px 0;
    border-bottom: 1px solid var(--accent);
}

.mobile-account {
    background: var(--accent);
    margin: 10px -20px -20px;
    padding: 10px 20px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #004e89e6 0%, #002d4de6 100%), url('/static/images/224089927a3ff3473d6e66f45c8560e3.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    padding: 70px 0 30px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.breadcrumb {
    padding: 15px 0;
    margin-bottom: 0;
    font-size: 0.9rem;
    justify-content: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--primary);
    font-size: 1.2rem;
    padding: 0 10px;
    font-weight: 300;
}

.breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--secondary);
    font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 25px;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--light);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    /* color: var(--light); */
}

/* Shop Container */
.shop-container {
    max-width: 1300px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-weight: 600;
    color: var(--text);
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-select, .view-select {
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--light);
    color: var(--text);
    outline: none;
    cursor: pointer;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--light);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn.active {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.view-btn:hover {
    border-color: var(--primary);
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
   
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--accent);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-title i {
    transition: transform 0.3s ease;
}

.filter-section.active .filter-title i {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-section.active .filter-content {
    max-height: 0;
}

.filter-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-option {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.filter-option input {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-option input[type="radio"] {
    accent-color: var(--primary);
}

.filter-option label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--text);
    font-size: 0.9rem;
}

.option-count {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Price Filter */
.price-filter-container {
    padding: 10px 0;
}

.price-range-slider {
    position: relative;
    height: 40px;
    margin-bottom: 20px;
}

.slider-track {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.price-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
}

.price-slider::-webkit-slider-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    -webkit-appearance: none;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.price-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.price-input-group .currency {
    background: #f5f5f5;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    border-right: 1px solid var(--border);
}

.price-input {
    flex: 1;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.price-separator {
    color: #999;
    font-weight: bold;
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    padding: 0 5px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.btn-apply {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    flex: 1;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-apply:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-reset {
    background-color: var(--accent);
    color: var(--text);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-reset:hover {
    background-color: #e8e8e8;
}

.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 12px 18px;
    background: var(--light);
    border-radius: 10px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
}

.filter-tag .remove-filter {
    cursor: pointer;
    color: #999;
    font-weight: bold;
}

.filter-tag .remove-filter:hover {
    color: var(--danger);
}

.clear-all-filters {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    margin-left: auto;
    font-weight: 500;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    transition: opacity 0.3s ease;
}

.product-card {
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.product-overlay .btn-view {
    background: white;
    color: var(--primary);
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.product-overlay .btn-view:hover {
    background: var(--primary);
    color: white;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    background-color: var(--primary);
}

.product-badge.sale {
    background-color: var(--danger);
}

.product-badge.new {
    background-color: var(--success);
}

.product-badge.best-seller {
    background-color: var(--warning);
    color: #333;
}

.product-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.65rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.product-category:hover {
    color: var(--primary);
}

.product-title {
    font-size:1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-title:hover {
    color: var(--primary);
}

.product-availability {
    margin-bottom: 6px;
    font-size: 0.7rem;
}

.in-stock {
    color: var(--success);
}

.out-of-stock {
    color: var(--danger);
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: var(--danger);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.btn-add-cart {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 5px;
    padding: 6px 8px;
    font-weight: 500;
    flex: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-add-cart:hover {
    background-color: var(--primary--dark) !important;
}

.btn-add-cart:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 8px;
    font-weight: 500;
    flex: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.8rem;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

.product-rating {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.product-rating i {
    color: #ffc107;
    font-size: 0.65rem;
}

.product-rating span {
    font-size: 0.65rem;
    color: #999;
}

/* List View */
.products-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 12px;
}

.products-grid.list-view .product-img {
    width: 120px;
    min-width: 120px;
    height: 120px;
    margin-bottom: 0;
}

.products-grid.list-view .product-info {
    flex: 1;
    text-align: left;
}

.products-grid.list-view .product-actions {
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 8px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--light);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.page-link:hover {
    background: var(--accent);
}

.page-item.active .page-link {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background: var(--accent);
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 500;
    margin-bottom: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Cart Messages */
#cart-messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    pointer-events: none;
}

#cart-messages-container .alert {
    pointer-events: auto;
    margin-bottom: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 280px;
    max-width: 400px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary);
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto 0;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--accent);
    padding: 60px 0;
    margin-top: 50px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 20px auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    /* background: linear-gradient(rgba(0, 0, 0, 0.911), rgba(0, 0, 0, 0.911)), url('/static/images/224089927a3ff3473d6e66f45c8560e3.jpg'); */
    color: var(--primary);
    background-color: #dbdbdb;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;

}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--primary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color:var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--light);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Product Detail Page */
.product-section {
    padding: 40px 0;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.main-image-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    margin-bottom: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.thumbnail-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--primary);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
}

.quantity-btn {
    background-color: var(--accent);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.quantity-value {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 40px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-meta {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 600;
    min-width: 120px;
}

/* Tabs */
.product-tabs {
    margin: 40px 0;
}

.nav-tabs {
    border-bottom: 2px solid var(--accent);
    display: flex;
    list-style: none;
    padding: 0;
}

.nav-tabs .nav-link {
    color: var(--text);
    font-weight: 500;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    background: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.tab-content {
    padding: 30px;
    background-color: var(--light);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 12px 0;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--light);
}

.category-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-image {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.category-card:hover h3 {
    color: var(--primary);
}

.category-card p {
    font-size: 0.7rem;
    color: #adb5bd;
    margin: 0;
}

/* Services Section */
.services-section {
    background: #eee;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    color: var(--primary);
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, var(--gray) 0%, var(--light) 100%);
    padding: 80px 0;
}

.choose-card {
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.card-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.5;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--accent);
}

.testimonial-card {
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating i {
    color: #ffc107;
}

/* Trust Badges */
.trust-badges {
    background-color: var(--light);
    border-bottom: 1px solid #eee;
}

.trust-item i {
    color: var(--primary);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: var(--light);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-modal-body {
    padding: 30px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-modal-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

.search-modal-input:focus {
    border-color: var(--primary);
}

.search-modal-submit {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 10px;
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    background-color: var(--accent);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
}

.suggestion-tag:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Cart Page */
.cart-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.cart-item {
    background: var(--light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-summary {
    background: var(--light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--accent);
    border-radius: 8px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

/* Responsive */
@media screen and (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        border-radius: 0;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    .mobile-filter-toggle {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .top-nav {
        display: none;
    }
    
    .nav-links, .nav-icons {
        display: none !important;
    }
    .trust-badges h6{
        font-size:1rem;
    }
    .trust-badges small{
        font-size:0.9rem;
    }
    .menu-toggle {
        display: block !important;
    }
    
    .navbar {
        padding: 10px 10px;
        min-height: 70px;
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .filters-sidebar{
        z-index:99999 !important;
    }
    
    .logo img {
        width: 140px;
        height: 70px;
        margin-left:20px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .bottom-navbar {
        display: block !important;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-img {
        height: 160px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
        padding: 12px;
    }
    .section-header h2{
        font-size:1.6rem;
        font-weight: 500;
    }
    .social-icons a{
        width:30px;
        height: 30px;
    }
}

@media screen and (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-img {
        width: 100%;
        min-width: auto;
    }
    
    .price-inputs {
        flex-direction: column;
    }
    
   
}

@media screen and (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
    
    .nav-links, .nav-icons {
        display: flex !important;
    }
    
    .bottom-navbar {
        display: none !important;
    }
}

/* Swiper Styles */
.best-sellers-swiper,
.new-arrivals-swiper {
    padding: 20px 10px 50px 10px;
    overflow: hidden;
}

.best-sellers-swiper .swiper-slide,
.new-arrivals-swiper .swiper-slide {
    height: auto;
}

.best-sellers-swiper .swiper-button-next,
.best-sellers-swiper .swiper-button-prev,
.new-arrivals-swiper .swiper-button-next,
.new-arrivals-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.best-sellers-swiper .swiper-button-next:hover,
.best-sellers-swiper .swiper-button-prev:hover,
.new-arrivals-swiper .swiper-button-next:hover,
.new-arrivals-swiper .swiper-button-prev:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.best-sellers-swiper .swiper-button-next::after,
.best-sellers-swiper .swiper-button-prev::after,
.new-arrivals-swiper .swiper-button-next::after,
.new-arrivals-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.best-sellers-swiper .swiper-pagination-bullet,
.new-arrivals-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.best-sellers-swiper .swiper-pagination-bullet-active,
.new-arrivals-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}

/* Hero Carousel - Bootstrap 5 */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
}

#heroCarousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.carousel-item.active .carousel-bg {
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.815) 0%, rgba(0, 0, 0, 0.658) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    padding: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.3); }
    50% { text-shadow: 0 0 40px var(--primary); }
}

.carousel-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #ffffff;
    line-height: 1.6;
}

.carousel-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-carousel-primary,
.btn-carousel-secondary {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-carousel-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-carousel-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 78, 137, 0.4);
}

.btn-carousel-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-carousel-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.carousel-indicators {
    bottom: 30px;
    z-index: 5;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators button.active {
    width: 30px;
    border-radius: 10px;
    background-color: var(--primary);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .hero-carousel-section {
        height: 40vh;
        min-height: 500px;
    }
    
    /* .carousel-title {
        font-size: 2.4rem;
    } */
    
    .carousel-description {
        font-size:18px;
    }
    
    .btn-carousel-primary,
    .btn-carousel-secondary {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media screen and (max-width: 576px) {
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-description {
        font-size: 1rem;
    }
    
    .btn-carousel-primary,
    .btn-carousel-secondary {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile devices (2 cards) */
@media screen and (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .product-img {
        height: 170px;
    }
}

/* Mobile Landscape - 2 cards */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-img {
        height: 160px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .btn-add-cart, .btn-whatsapp {
        padding: 10px 16px;
        font-size: 1.3rem;
    }
}

/* Mobile Portrait - 2 cards (small phones) */
@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-img {
        height: 140px;
    }
    
    .product-info {
        padding: 8px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-category {
        font-size: 0.6rem;
    }
    
    .current-price {
        font-size: 1.0rem;
    }
    
    .original-price {
        font-size: 0.9rem;
    }
    
    .btn-add-cart, .btn-whatsapp {
        padding: 4px 6px;
        font-size: 0.9rem;
    }
    
    .btn-add-cart i, .btn-whatsapp i {
        font-size: 0.6rem;
    }
    
    .product-actions {
        gap: 4px;
    }
    
    .discount-badge {
        font-size: 0.55rem;
        padding: 1px 4px;
    }
    
    .product-availability {
        font-size: 0.6rem;
    }
}

/* For very small devices (under 360px) - still 2 cards but tighter */
@media screen and (max-width: 360px) {
    .products-grid {
        gap: 8px;
    }
    
    .product-img {
        height: 120px;
    }
    
    .product-title {
        font-size: 0.7rem;
    }
    
    .current-price {
        font-size: 0.75rem;
    }
}

/* List view adjustments for mobile */
@media screen and (max-width: 767px) {
    .products-grid.list-view {
        gap: 10px;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    
    .products-grid.list-view .product-img {
        width: 100%;
        min-width: auto;
        height: 160px;
    }
    
    .products-grid.list-view .product-actions {
        justify-content: center;
    }
    
    .products-grid.list-view .product-info {
        text-align: center;
    }
}





/* Cart Page Styles */
.cart-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Cart Items */
.cart-items {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    flex-wrap: wrap;
}

.cart-item:last-child {
    border-bottom: none;
}

/* Cart Item Image */
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cart Item Details */
.cart-item-details {
    flex: 2;
    min-width: 150px;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.cart-item-title:hover {
    color: var(--primary);
}

.cart-item-category {
    font-size: 0.7rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 500;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    min-width: 100px;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary);
    color: var(--light);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 0;
    font-size: 0.9rem;
    background: var(--light);
}

/* Item Total */
.cart-item-total {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    min-width: 100px;
}

/* Delete Button */
.delete-item {
    cursor: pointer;
    color: var(--danger);
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.delete-item:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: var(--light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    padding-top: 15px;
    margin-top: 5px;
}

/* Shipping Section */
.shipping-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.shipping-section h5 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 12px;
}

.shipping-section select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Buttons */
.btn-checkout {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 78, 137, 0.3);
    color: var(--light);
}

.continue-shopping {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    margin-top: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    color: var(--primary-dark);
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: var(--light);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-cart-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 10px;
}

.empty-cart p {
    color: #6c757d;
    margin-bottom: 30px;
}

.btn-shopping {
    background: var(--primary);
    color: var(--light);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-shopping:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--light);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .cart-item-details {
        text-align: center;
    }
    
    .cart-item-price {
        margin: 5px 0;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    .cart-summary {
        position: static;
        margin-top: 20px;
    }
     .page-header h1 {
        font-size: 2rem;
        font-weight: 500;
    }
}

@media screen and (max-width: 576px) {
    .cart-container {
        padding: 0 15px;
    }
    
    .cart-item {
        padding: 15px;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .cart-item-title {
        font-size: 0.9rem;
    }
}


.content-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
    display: inline-block;
}

.policy-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-section p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.policy-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #334155;
    line-height: 1.6;
}

.policy-list li::before {
    content: "✓";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 25px 0;
}