:root {
  /* New color scheme - warm terracotta/orange tones instead of green */
  --brand: #e67e22;        /* Warm orange (replaces #4f7942) */
  --brand-alt: #d35400;    /* Deep orange (replaces #a0522d) */
  --brand-soft: #fff3e9;   /* Light orange-tinted background (replaces #ecfdf3) */
  --taupe: #d1d5db;        /* Keeping this the same */
  --text-main: #1f2937;    /* Keeping this the same */
  --bg-soft: #fef9f4;      /* Warm off-white (replaces #f9fafb) */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
}

/* NAVBAR - UPDATED VERSION */

.navbar {
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  padding: 0.75rem 0;
}

.navbar-scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
}

.brand-logo {
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--brand) !important;
  position: relative;
  transition: all 0.3s ease;
}

.brand-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.brand-logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link {
  font-weight: 500;
  color: #6b7280;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 0;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 80%;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.btn-brand {
  background-color: var(--brand);
  color: #ffffff;
  border-radius: 8px;
  padding-inline: 1.5rem;
  padding-block: 0.5rem;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-brand:hover::before {
  width: 300px;
  height: 300px;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: #cc6b1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn-outline-brand {
  border-radius: 8px;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
  background-color: transparent;
  font-size: 0.9rem;
  padding-inline: 1.5rem;
  padding-block: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background-color: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.cart-icon {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.cart-icon:hover {
  transform: scale(1.1);
}

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

/* HERO */

.hero-section {
  position: relative;
}

.hero-image {
  height: 70vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.25)
  );
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #bbf7d0;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  color: #f9fafb;
  margin-bottom: 0.5rem;
}

.hero-text {
  font-size: 0.95rem;
  color: #e5e7eb;
  max-width: 35rem;
  margin-bottom: 1.25rem;
}

/* SECTIONS */

.section-padding {
  padding-block: 4rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-text {
  font-size: 0.95rem;
  color: #6b7280;
}

.bg-soft {
  background-color: var(--bg-soft);
}

/* ABOUT */

.about-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* FEATURE CARDS */

.feature-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 20px;
  height: 20px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-text {
  font-size: 0.9rem;
  color: #6b7280;
}

/* CATEGORY CARDS */

.category-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  background-color: #ffffff;
}

.category-image-wrapper {
  position: relative;
  overflow: hidden;
}

.category-image {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.65),
    rgba(15, 23, 42, 0.05)
  );
}

.category-caption {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
}

.category-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
}

/* PRODUCT CARDS */

/* PRODUCT CARDS - GLOBALLY UPDATED */

.product-card {
  border-radius: 1rem;
  overflow: hidden;
  border: none;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-alt) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 1;
}

.product-card:hover::before {
  transform: scaleX(1);
}

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

.product-image-wrapper {
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  position: relative;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  transition: color 0.3s ease;
  line-height: 1.4;
}

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

.product-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  position: relative;
  display: inline-block;
}

.product-price::before {
  font-size: 0.9rem;
  position: relative;
  top: -2px;
  margin-right: 2px;
}

.product-stars {
  font-size: 0.85rem;
  color: #fbbf24;
}

/* Button inside product cards */
.product-card .btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-alt) 100%);
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card .btn-brand::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.product-card .btn-brand:hover::before {
  width: 150px;
  height: 150px;
}

.product-card .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3);
}

/* Flex container for price and button */
.product-card .d-flex {
  align-items: center;
  gap: 1rem;
}

/* Optional: Add a hover effect overlay */
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(230, 126, 34, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover::after {
  opacity: 1;
}

.thumb-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.thumb-img:hover {
  opacity: 1;
}

.active-thumb {
  opacity: 1;
  border-color: #4f7942; /* deep sage brand color */
}

/* TESTIMONIAL */

.testimonial {
  max-width: 620px;
}

.testimonial-stars {
  font-size: 1.1rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: #6b7280;
}

/* NEWSLETTER */

.newsletter-section {
  background-color: var(--brand);
  color: #ecfeff;
}

.newsletter-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-text {
  font-size: 0.95rem;
  color: #d1fae5;
}

.newsletter-input {
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background-color: rgba(255, 255, 255, 0.95);
}

.newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4);
  border-color: transparent;
}

.newsletter-btn {
  border-radius: 999px;
  font-weight: 600;
}

/* FOOTER */

.footer-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b2e 100%);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--brand);
}

/* Subtle pattern overlay */
.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 40%, rgba(230, 126, 34, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-logo {
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-logo .brand-logo {
  transition: all 0.3s ease;
}

.footer-logo .brand-logo:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.footer-text {
  font-size: 0.9rem;
  max-width: 18rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.footer-heading {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  transition: all 0.25s ease;
  color: var(--brand);
}

.footer-links a:hover {
  color: var(--brand);
  transform: translateX(8px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -20px;
}

/* Social Circle Styling */
.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 126, 34, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.social-circle:hover {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

/* Footer Meta */
.footer-meta {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-meta a:hover {
  color: #f39c12;
  text-decoration: underline;
}

/* OFFCANVAS CART */

.offcanvas {
  border-left: 1px solid #e5e7eb;
}

#cart-items {
  max-height: 400px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid #e5e7eb;
}

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

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--brand);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.cart-qty-input {
  width: 52px;
  padding: 0.1rem 0.25rem;
  font-size: 0.8rem;
}

.cart-remove-btn {
  font-size: 0.75rem;
}

/* SHOP PAGE CONTROLS */

.shop-controls {
  align-items: center;
}

.price-range-wrapper {
  background-color: #f3f4f6;
  border-radius: 0.75rem;
  padding: 0.4rem 0.6rem;
}

.price-range-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.price-range-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
}

.price-range {
  height: 0.2rem;
}

.cart-qty-input {
  width: 60px !important;
  text-align: center;
  padding: 4px;
}
.cart-remove-btn i {
  font-size: 1rem;
}

.spec-error {
    border-color: #dc3545 !important;
    background-color: #ffe6e6 !important;
}

.auth-form-container {
  max-width: 420px;
  margin: 0 auto;
}


/* Wrapper ensures consistent height */
/* Flex container for perfect alignment */
.password-flex {
  display: flex;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 0 12px;
  height: 46px; /* Same as Bootstrap form-control */
  background: #fff;
}

/* Make the input fill remaining width */
.password-flex input {
  flex: 1;
  height: 100%;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Icon perfect center */
.password-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle i {
  font-size: 1.2rem;
  color: #6b7280;
}

.color-select{
    position:relative;
    width:100%;
}

.color-select-trigger{
    border:1px solid #ccc;
    border-radius:6px;
    padding:6px 10px;
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    background:#fff;
}

.selected-color-box{
    width:16px;
    height:16px;
    border-radius:3px;
    border:1px solid #999;
}

.dropdown-arrow{
    margin-left:auto;
    font-size:12px;
}

.color-options{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ccc;
    border-radius:6px;
    margin-top:4px;
    max-height:220px;
    overflow-y:auto;
    display:none;
    z-index:50;
}

.color-select.open .color-options{
    display:block;
}

.color-option{
    display:flex;
    align-items:center;
    gap:8px;
    padding:6px 10px;
    cursor:pointer;
}

.color-option:hover{
    background:#f5f5f5;
}

.color-box{
    width:16px;
    height:16px;
    border-radius:3px;
    border:1px solid #999;
}

/* CHECKOUT PAGE - MODERN & BEAUTIFUL */

/* Checkout Page Container */
.container .section-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.container .section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-alt));
  border-radius: 3px;
}

/* Billing & Shipping Cards */
.container .card {
  border: none;
  border-radius: 1.25rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.container .card.shadow-sm {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
}

.container .card:hover {
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

.container .card-body {
  padding: 2rem;
}

.container .card-body h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.container .card-body h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* Form Styling */
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-control {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: #fafbfc;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
  background-color: #ffffff;
  outline: none;
}

.form-control[readonly] {
  background-color: #f3f4f6;
  cursor: not-allowed;
  opacity: 0.8;
}

/* Checkbox Styling */
.form-check {
  padding-left: 2rem;
}

.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: -2rem;
  cursor: pointer;
  border: 1.5px solid #d1d5db;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

.form-check-label {
  font-size: 0.9rem;
  color: #6b7280;
  cursor: pointer;
}

.form-check-label a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.form-check-label a:hover {
  color: var(--brand-alt);
  text-decoration: underline;
}

/* Shipping Section Toggle */
#shipping-section {
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Order Notes Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

/* Order Summary Card */
.col-lg-5 .card {
  position: sticky;
  top: 100px;
  background: linear-gradient(135deg, #ffffff 0%, #fef9f4 100%);
}

.col-lg-5 .card-body {
  padding: 1.75rem;
}

/* Order Items */
.col-lg-5 .border.rounded {
  border: 1px solid #f0f0f0 !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease;
  background: #ffffff;
}

.col-lg-5 .border.rounded:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateX(4px);
}

.col-lg-5 img {
  border-radius: 0.75rem;
  object-fit: cover;
  width: 80px;
  height: 80px;
}

.col-lg-5 h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.col-lg-5 a:hover h6 {
  color: var(--brand);
}

/* Product Specs Badges */
.badge.bg-light.text-dark.border {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  border: 1px solid #e5e7eb !important;
  font-weight: 500;
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  display: inline-block;
  border-radius: 6px;
}

/* Price Styling in Summary */
.col-lg-5 .fw-semibold {
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}

.col-lg-5 .text-muted small {
  font-size: 0.8rem;
}

/* Subtotal Section */
.col-lg-5 hr {
  margin: 1.5rem 0;
  border-color: #e5e7eb;
}

.col-lg-5 .d-flex.justify-content-between {
  font-size: 1rem;
  padding: 0.5rem 0;
}

.col-lg-5 .d-flex.justify-content-between .fw-semibold {
  font-size: 1.1rem;
}

/* Payment Method Accordion */
#paymentAccordion {
  margin-top: 1rem;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  margin-bottom: 0.75rem;
  border-radius: 12px !important;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header {
  border: none;
}

.accordion-button {
  background: #fafbfc;
  font-weight: 600;
  color: var(--text-main);
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #fff3e9 0%, #ffffff 100%);
  color: var(--brand);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.accordion-body {
  padding: 1.5rem;
  background: #ffffff;
}

.accordion-body .btn-outline-brand {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Payment Buttons */
#paypal-pay-btn, #stripe-pay-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-alt) 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

#paypal-pay-btn:hover, #stripe-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
  color: white;
}

/* Responsive Design for Checkout */
@media (max-width: 991.98px) {
  .container .card-body {
    padding: 1.5rem;
  }
  
  .col-lg-5 .card {
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
  
  .container .section-title {
    font-size: 1.8rem;
  }
  
  .col-lg-5 img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 767.98px) {
  .container .card-body {
    padding: 1.25rem;
  }
  
  .container .section-title {
    font-size: 1.5rem;
  }
  
  .container .card-body h5 {
    font-size: 1.1rem;
  }
  
  .accordion-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .col-lg-5 .border.rounded {
    padding: 1rem !important;
  }
  
  .col-lg-5 img {
    width: 50px;
    height: 50px;
  }
  
  .badge.bg-light.text-dark.border {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Custom Scrollbar for Order Items */
#cart-items, .col-lg-5 .card-body {
  scrollbar-width: thin;
  scrollbar-color: var(--brand) #e5e7eb;
}

#cart-items::-webkit-scrollbar, .col-lg-5 .card-body::-webkit-scrollbar {
  width: 6px;
}

#cart-items::-webkit-scrollbar-track, .col-lg-5 .card-body::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 10px;
}

#cart-items::-webkit-scrollbar-thumb, .col-lg-5 .card-body::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

/* Animation for form fields */
.form-control, .accordion-button, .btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect for order items */
.col-lg-5 .border.rounded {
  transition: all 0.3s ease;
}

/* Optional: Add a subtle gradient background to the checkout page */
.container:first-of-type {
  position: relative;
}

.container:first-of-type::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
/* UTILITIES & RESPONSIVE */

@media (max-width: 991.98px) {
  .hero-image {
    height: 60vh;
  }

  .hero-caption {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding-block: 3rem;
  }

  .product-image {
    height: 210px;
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .product-img {
    height: 220px;
  }
  
  .product-body {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .product-img {
    height: 200px;
  }
  
  .product-body {
    padding: 1rem;
  }
  
  .product-price {
    font-size: 1.1rem;
  }
  
  .product-card .btn-brand {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}
/* Responsive adjustments for footer */
@media (max-width: 767.98px) {
  .footer-section {
    text-align: center;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links a:hover {
    transform: translateX(0);
  }
  
  .footer-links a::before {
    display: none;
  }
}