/* Critical CSS - Above the fold styles for fast first paint */
/* Keep this file minimal - only styles needed for initial viewport */

/* Reset & Base */
*,
::after,
::before {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #334155;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased
}

/* CSS Variables */
:root {
  --primary: #f86b5b;
  --primary-dark: #e74b3a;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #fff;
  --radius: .5rem;
}

/* Layout */
.d-flex {
  display: flex !important
}

.d-none {
  display: none !important
}

.d-block {
  display: block !important
}

.flex-column {
  flex-direction: column !important
}

.align-items-center {
  align-items: center !important
}

.justify-content-between {
  justify-content: space-between !important
}

.justify-content-center {
  justify-content: center !important
}

.min-vh-100 {
  min-height: 100vh !important
}

.flex-grow-1 {
  flex-grow: 1 !important
}

.w-100 {
  width: 100% !important
}

.h-100 {
  height: 100% !important
}

.position-relative {
  position: relative !important
}

.position-fixed {
  position: fixed !important
}

.overflow-hidden {
  overflow: hidden !important
}

/* Spacing */
.p-0 {
  padding: 0 !important
}

.p-2 {
  padding: .5rem !important
}

.p-3 {
  padding: 1rem !important
}

.px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important
}

.py-2 {
  padding-top: .5rem !important;
  padding-bottom: .5rem !important
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important
}

.mb-0 {
  margin-bottom: 0 !important
}

.mb-3 {
  margin-bottom: 1rem !important
}

.mt-3 {
  margin-top: 1rem !important
}

.gap-2 {
  gap: .5rem !important
}

.gap-3 {
  gap: 1rem !important
}

/* Container */
.container {
  width: 100%;
  padding-right: calc(1.5rem*.5);
  padding-left: calc(1.5rem*.5);
  margin-right: auto;
  margin-left: auto
}

@media(min-width:576px) {
  .container {
    max-width: 540px
  }
}

@media(min-width:768px) {
  .container {
    max-width: 720px
  }
}

@media(min-width:992px) {
  .container {
    max-width: 960px
  }
}

@media(min-width:1200px) {
  .container {
    max-width: 1140px
  }
}

@media(min-width:1400px) {
  .container {
    max-width: 1320px
  }
}

/* Grid Row */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  margin-right: -.75rem;
  margin-left: -.75rem
}

.row>* {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: .75rem;
  padding-left: .75rem
}

.col-6 {
  flex: 0 0 auto;
  width: 50%
}

.col-12 {
  flex: 0 0 auto;
  width: 100%
}

@media(min-width:768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333%
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%
  }
}

@media(min-width:992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333%
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%
  }

  .d-lg-flex {
    display: flex !important
  }

  .d-lg-none {
    display: none !important
  }

  .d-lg-block {
    display: block !important
  }
}

/* Typography */
.text-center {
  text-align: center !important
}

.text-white {
  color: #fff !important
}

.fw-bold {
  font-weight: 700 !important
}

.fw-semibold {
  font-weight: 600 !important
}

.fs-5 {
  font-size: 1.25rem !important
}

.fs-6 {
  font-size: 1rem !important
}

.text-decoration-none {
  text-decoration: none !important
}

/* Background */
.bg-white {
  background-color: #fff !important
}

.bg-light {
  background-color: #f8fafc !important
}

.bg-primary {
  background-color: var(--primary) !important
}

/* Border */
.border {
  border: 1px solid #e2e8f0 !important
}

.border-0 {
  border: 0 !important
}

.rounded {
  border-radius: .5rem !important
}

.rounded-3 {
  border-radius: .75rem !important
}

.rounded-circle {
  border-radius: 50% !important
}

/* Shadow */
.shadow-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important
}

/* Header */
.logo-img {
  height: 2.5rem;
  width: auto;
  object-fit: contain
}

/* Button Base */
.btn {
  display: inline-block;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: .375rem;
  transition: color .15s, background-color .15s, border-color .15s
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto
}

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

.object-fit-cover {
  object-fit: cover !important
}

/* Hero Skeleton */
.hero-slide {
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: .5rem
}

@media(min-width:992px) {
  .hero-slide {
    min-height: 460px
  }
}

/* Product Card Skeleton */
.product-card {
  background: #fff;
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid #f1f5f9
}

.product-card .card-body {
  padding: 1rem
}

/* Navigation minimal */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none
}

.nav-link {
  display: block;
  padding: .5rem 1rem;
  text-decoration: none;
  transition: color .15s
}

/* Carousel placeholder */
.carousel {
  position: relative
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%
}

.carousel-item.active {
  display: block
}

/* Mobile responsive */
@media(max-width:767.98px) {
  .d-md-none {
    display: none !important
  }

  .d-md-block {
    display: block !important
  }
}