:root {
    --bs-primary: #137fec;
    --bs-primary-rgb: 19, 127, 236;
    --primary-color: #137fec;
     --primary-hover: #0b6ad4;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Material Symbols alignment */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Helper Class for Search width */
.max-w-320 {
    max-width: 320px;
}

/* Navbar Customization */
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s transform;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: white;
}

.navbar-brand svg {
    color: var(--bs-primary);
}

/* Footer Social Icons */
.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.social-icon:hover {
    background-color: var(--bs-primary);
}

/* Bootstrap 5.3 Dark Mode Specifics */
[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: #101922 !important;
}

[data-bs-theme="dark"] .navbar {
    border-bottom-color: #2d3748 !important;
}


footer{
    background: #0d141b;
}

/* Custom Helpers */
.fw-900 { font-weight: 900; }
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.max-w-600 { max-width: 600px; }

/* Hero Styles */
.hero-card {
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Icon Box for Trust Indicators */
.icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Utilities */
.bg-cover {
    background-size: cover;
    background-position: center;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.group-hover:hover .overlay-dark {
    background: rgba(0, 0, 0, 0.25);
}

/* Product Card Logic */
.product-card {
    transition: transform 0.3s ease;
}

.hover-scale {
    transition: transform 0.5s ease;
}

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

.cart-btn {
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .cart-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Dark Mode Overrides */
[data-bs-theme="dark"] .bg-primary-subtle {
    background-color: rgba(19, 127, 236, 0.1) !important;
}

[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: #1a242d !important;
}

/* Material Symbol Fill for Stars */
.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1;
}

/* Ensure the background image fills the ratio container */
.bg-cover {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-center {
    background-position: center;
}

/* Hover Effects */
.group-hover:hover .title-text {
    color: var(--bs-primary) !important;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.group-hover:hover .overlay-dark {
    background-color: rgba(0, 0, 0, 0.25);
}

.transition-colors {
    transition: color 0.2s ease;
}

/* Custom 4:5 ratio (Bootstrap doesn't provide it) */
.ratio-4x5 {
  --bs-aspect-ratio: 125%; /* 5 / 4 */
}

.object-fit-cover {
  object-fit: cover;
}

.category-card {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
}

.category-card img {
  width: 100%;
  height: 100%;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.12);
  transition: background-color 0.25s ease;
}

.category-card:hover .overlay {
  background-color: rgba(0, 0, 0, 0.22);
}

.category-card:hover .category-title {
  color: var(--bs-primary) !important;
  transition: color 0.25s ease !important;
}

.product-card:hover .product-title {
  color: var(--bs-primary);
  transition: color 0.25s ease;
}



/* listing page */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-2px);
  transition: 0.2s ease;
}
.card-body {
  padding: 0.5rem;
}
.no-wrap {
  white-space: nowrap !important;
}

/* Cart Page  */
    .fw-black { font-weight: 900; }
    .fade-out { opacity: 0; transform: translateX(-20px); transition: all 0.3s ease; }
    .cart-item { transition: transform 0.2s ease; }
    .cart-item:hover { transform: translateY(-2px); }

  /* Checkout page */
      .cursor-pointer { cursor: pointer; }
    .shipping-option { transition: all 0.2s ease; }
    .shipping-option:hover { border-color: var(--bs-primary) !important; }
    .breadcrumb-item + .breadcrumb-item::before {
        content: "\e5cc";
        font-family: 'Material Symbols Outlined';
        font-size: 14px;
        vertical-align: middle;
        color: #cbd5e1;
    }
    .btn-check:checked + .btn-outline-primary {
        background-color: var(--bs-primary);
        color: white;}

