/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Outfit:wght@400;500;600;700;800&family=Jost:wght@400;500;600;700&display=swap');

:root {
  /* Color Variables */
  --color-primary: #C48B25;
  --color-primary-hover: #a3721c;
  --color-dark-green: #FDFD96;
  --color-bg-light: #FFFBF0;
  --color-bg-white: #ffffff;
  --color-text-dark: #3A270B;
  --color-text-muted: rgba(58, 39, 11, 0.65);
  --color-border: #EADCB9;
  --color-shadow: rgba(58, 39, 11, 0.05);
  --color-success: #28a745;

  /* Font variables */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Layout variables */
  --border-radius-card: 16px;
  --border-radius-button: 30px;
  --border-radius-input: 8px;
  --max-width: 1280px;
  --transition-speed: 0.3s;
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--color-text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 12px 28px;
  border-radius: var(--border-radius-button);
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  outline: none;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-block {
  width: 100%;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 80px 0;
}

.badge {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Announcement Top Bar */
.announcement-bar {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  text-align: center;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 101;
}

/* Header */
.site-header {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px var(--color-shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text-dark);
}

/* Logo */
.logo-container a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-speed) ease;
}

.logo-container a:hover .logo-img {
  opacity: 0.95;
  transform: scale(1.02);
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  text-transform: uppercase;
  transition: color var(--transition-speed);
  margin-top: 16px;
  margin-left: 4px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 25px;
}

.main-nav a {
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  position: relative;
}

.search-input {
  padding: 8px 16px;
  padding-right: 36px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-button);
  outline: none;
  font-size: 14px;
  width: 200px;
  transition: width var(--transition-speed);
}

.search-input:focus {
  width: 250px;
  border-color: var(--color-primary);
}

.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
}

.cart-icon-btn {
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  font-size: 20px;
  color: var(--color-text-dark);
  padding: 5px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Hero Section & Slider */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.hero-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1590 / 495;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 300%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  height: 100%;
  display: block;
}

.hero-slide img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* Slider Controls */
.slider-arrow {
  display: none !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(58, 39, 11, 0.4);
  color: var(--color-bg-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.slider-arrow:hover {
  background-color: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

.slider-dots {
  display: none !important;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
}

.slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* Responsive adjustment for mobile screens */
@media (max-width: 600px) {
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .prev-arrow {
    left: 10px;
  }

  .next-arrow {
    right: 10px;
  }

  .slider-dots {
    bottom: 10px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }
}

/* Categories Section */
.categories-section {
  background-image:
    radial-gradient(circle at 100% 150%, var(--color-bg-light) 24%, var(--color-border) 25%, var(--color-border) 28%, var(--color-bg-light) 29%, var(--color-bg-light) 36%, var(--color-border) 36%, var(--color-border) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0% 150%, var(--color-bg-light) 24%, var(--color-border) 25%, var(--color-border) 28%, var(--color-bg-light) 29%, var(--color-bg-light) 36%, var(--color-border) 36%, var(--color-border) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, var(--color-border) 24%, var(--color-bg-light) 25%, var(--color-bg-light) 28%, var(--color-border) 29%, var(--color-border) 36%, var(--color-bg-light) 36%, var(--color-bg-light) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 0%, var(--color-bg-light) 24%, var(--color-border) 25%, var(--color-border) 28%, var(--color-bg-light) 29%, var(--color-bg-light) 36%, var(--color-border) 36%, var(--color-border) 40%, transparent 40%, transparent);
  background-size: 24px 42px;
  background-color: var(--color-bg-light);
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 50px;
}

.categories-section .section-subtitle {
  color: #000000;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.category-card {
  text-align: center;
  cursor: pointer;
}

.category-img-container {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 4px solid var(--color-border);
  box-shadow: 0 4px 15px var(--color-shadow);
  transition: all var(--transition-speed) ease;
  background-color: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card:hover .category-img-container {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(196, 139, 37, 0.4);
  transform: scale(1.05) translateY(-5px);
}

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

.category-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: color var(--transition-speed);
}

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

/* Products Catalog Section */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tab {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 8px 20px;
  border-radius: var(--border-radius-button);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
}

.sort-container select {
  padding: 8px 16px;
  border-radius: var(--border-radius-button);
  border: 1px solid var(--color-border);
  outline: none;
  background-color: var(--color-bg-white);
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Product Card */
.product-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 4px 15px var(--color-shadow);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(196, 139, 37, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--color-primary);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #d9534f;
  color: var(--color-bg-white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  /* square ratio */
  background-color: transparent;
}

.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.5s ease;
}

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

.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.product-card:hover .product-card-actions {
  transform: translateY(0);
}

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

.product-rating {
  color: var(--color-primary);
  font-size: 14px;
  margin-bottom: 8px;
}

.product-rating span {
  color: var(--color-text-muted);
  font-size: 12px;
  margin-left: 5px;
}

.product-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.product-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.price-compare {
  font-size: 14px;
  text-decoration: line-through;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.why-choose-section .section-title {
  color: var(--color-bg-white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.feature-box {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  font-size: 40px;
  color: var(--color-bg-white);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-bg-white);
}

.feature-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-bg-light);
  padding: 30px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 4px 10px var(--color-shadow);
}

.testimonial-stars {
  color: var(--color-primary);
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--color-text-dark);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.user-details h4 {
  font-size: 16px;
  font-weight: 600;
}

.user-details span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-post {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 10px var(--color-shadow);
  display: flex;
  flex-direction: column;
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.blog-post:hover .blog-img img {
  transform: scale(1.05);
}

.blog-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.blog-post h3 {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-post h3 a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.read-more {
  font-weight: 600;
  color: var(--color-primary);
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  color: var(--color-primary-hover);
}

/* Footer Section */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 70px 0 30px;
  border-top: 4px solid var(--color-primary-hover);
}

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-bg-white);
  transition: all var(--transition-speed) ease;
}

.social-link:hover {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-icon {
  width: 18px;
  height: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: var(--color-bg-white);
  font-size: 18px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-bg-white);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-bg-white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact i {
  color: var(--color-bg-white);
  margin-top: 4px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius-button) 0 0 var(--border-radius-button);
  outline: none;
  font-size: 14px;
  flex-grow: 1;
}

.newsletter-btn {
  background-color: var(--color-text-dark);
  color: var(--color-bg-white);
  border: none;
  padding: 10px 20px;
  border-radius: 0 var(--border-radius-button) var(--border-radius-button) 0;
  cursor: pointer;
  font-weight: bold;
}

.newsletter-btn:hover {
  background-color: #241807;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.payment-methods {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-bg-white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

/* Modals & Drawers Base */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-50px);
  transition: transform var(--transition-speed) ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text-dark);
  z-index: 10;
}

/* Product Detail Modal Specifics */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 40px;
}

.product-detail-images {
  background-color: transparent;
  border-radius: var(--border-radius-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 350px;
}

.product-detail-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.detail-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.detail-rating {
  margin-bottom: 15px;
}

.detail-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.detail-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

.variant-selector-wrap {
  margin-bottom: 20px;
}

.variant-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.variant-chips {
  display: flex;
  gap: 10px;
}

.variant-chip {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-button);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background-color: var(--color-bg-white);
  transition: all var(--transition-speed);
}

.variant-chip.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(196, 139, 37, 0.05);
}

.quantity-add-to-cart {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.quantity-selector {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-button);
  overflow: hidden;
  align-items: center;
  background-color: var(--color-bg-white);
}

.qty-btn {
  background: none;
  border: none;
  width: 40px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-text-dark);
}

.qty-btn:hover {
  background-color: var(--color-bg-light);
}

.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 600;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

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

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

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

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background-color: var(--color-bg-white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

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

.cart-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.free-shipping-progress {
  padding: 15px 25px;
  background-color: rgba(196, 139, 37, 0.05);
  border-bottom: 1px solid var(--color-border);
}

.progress-text {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--color-primary);
  width: 0%;
  transition: width 0.5s ease;
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 25px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fafafa;
}

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

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

.cart-item-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-qty-selector {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  height: 32px;
  align-items: center;
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 30px;
  height: 100%;
  cursor: pointer;
}

.cart-qty-input {
  width: 25px;
  text-align: center;
  border: none;
  font-size: 13px;
  font-weight: 600;
}

.cart-item-price {
  font-weight: bold;
  color: var(--color-primary);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  top: 0;
  right: 0;
}

.cart-item-remove:hover {
  color: #d9534f;
}

.empty-cart-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--color-text-muted);
  gap: 15px;
}

.empty-cart-icon {
  font-size: 48px;
  color: var(--color-border);
}

.cart-footer {
  padding: 25px;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 10px var(--color-shadow);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cart-subtotal-price {
  color: var(--color-primary);
}

.cart-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 15px;
}

/* Page Views / SPA Router Settings */
.view-section {
  display: none;
}

.view-section.active-view {
  display: block;
}

/* Checkout View Styles */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

.checkout-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px var(--color-shadow);
}

.checkout-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-input);
  outline: none;
  font-size: 15px;
  transition: border-color var(--transition-speed);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Payment selection layout */
.payment-selector {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-input);
  margin-bottom: 15px;
  overflow: hidden;
}

.payment-option {
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background-color: var(--color-bg-white);
  transition: background-color var(--transition-speed);
}

.payment-option:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.payment-option.active {
  background-color: rgba(196, 139, 37, 0.03);
}

.payment-option input {
  margin-top: 4px;
}

.payment-desc h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.payment-desc p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.bank-details-box {
  background-color: var(--color-bg-light);
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 13px;
  border: 1px dashed var(--color-primary);
  display: none;
}

.payment-option.active+.bank-details-box {
  display: block;
}

/* Checkout summary list */
.checkout-summary-list {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.summary-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-item-img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

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

.summary-item-title {
  font-size: 14px;
  font-weight: 500;
}

.summary-item-qty {
  font-size: 12px;
  color: var(--color-text-muted);
}

.summary-item-price {
  font-weight: 600;
  font-size: 14px;
}

.checkout-totals {
  margin-bottom: 25px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.totals-row.grand-total {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  border-top: 1px solid var(--color-border);
  padding-top: 15px;
  margin-top: 15px;
}

.grand-total .total-val {
  color: var(--color-primary);
}

/* Order Confirmation Screen */
.order-success-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  padding: 50px;
  max-width: 650px;
  margin: 60px auto;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px var(--color-shadow);
  text-center: center;
}

.success-icon {
  font-size: 60px;
  color: var(--color-success);
  margin-bottom: 20px;
}

.order-success-card h2 {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.order-id-label {
  display: inline-block;
  background-color: var(--color-bg-light);
  padding: 8px 20px;
  border-radius: var(--border-radius-button);
  font-weight: 600;
  margin-bottom: 25px;
  border: 1px solid var(--color-border);
}

.success-message {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.invoice-box {
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  background-color: #fafafa;
}

.invoice-header {
  font-weight: bold;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.invoice-row.invoice-total {
  font-weight: bold;
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
  margin-top: 10px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-size: 32px;
  z-index: 99;
  transition: transform var(--transition-speed);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Modal Backdrops Dim overlay */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Search Results Drawer/Overlay */
.search-results-overlay {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  width: 320px;
  background-color: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-border);
  display: none;
  max-height: 400px;
  overflow-y: auto;
  z-index: 150;
}

.search-results-overlay.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.search-result-item:hover {
  background-color: var(--color-bg-light);
}

.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-name {
  font-size: 14px;
  font-weight: 500;
}

.search-result-price {
  font-size: 12px;
  font-weight: bold;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .header-container {
    height: 70px;
  }

  .logo-img {
    height: 48px;
  }

  .logo-text {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
  }

  /* Side Drawer Navigation on Mobile */
  .main-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--color-bg-white);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    padding: 30px;
    transition: left var(--transition-speed) ease;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .main-nav a {
    font-size: 18px;
    display: block;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .product-detail-images {
    height: 280px;
  }

  .hero-title {
    font-size: 40px;
  }
}

@media screen and (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 16px;
  }

  .search-box {
    display: none;
    /* Hide topbar search input on mobile */
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .category-img-container {
    width: 140px;
    height: 140px;
  }

  .section-title {
    font-size: 26px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card-title {
    font-size: 15px;
  }

  .product-info {
    padding: 12px;
  }

  .product-pricing {
    font-size: 15px;
  }

  .product-card-actions {
    position: static;
    transform: translateY(0);
    padding: 10px;
    background: none;
    flex-direction: column;
    gap: 5px;
  }

  .product-card-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .site-footer {
    padding: 50px 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

/* Features Trust Badges Section */
.features-trust-section {
  background-color: var(--color-bg-light);
  padding: 40px 0;
}

.features-trust-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature-trust-icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  transition: transform var(--transition-speed) ease;
}

.feature-trust-item:hover .feature-trust-icon {
  transform: scale(1.1);
}

.feature-trust-title {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin: 0;
}

.feature-trust-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

/* About Section ("Who We Are") */
.about-section {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 80px 0;
  border-bottom: 1px solid var(--color-primary-hover);
}

.about-section .section-title {
  color: var(--color-bg-white);
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content .section-title {
  margin-bottom: 5px;
  text-align: left;
}

.about-lead {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-bg-light);
  line-height: 1.4;
}

.about-text {
  font-size: 16px;
  color: var(--color-bg-white);
  line-height: 1.7;
  opacity: 0.9;
}

.about-text strong {
  color: var(--color-bg-white);
  font-weight: 700;
}

.about-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-speed) ease;
}

.about-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  transition: all var(--transition-speed) ease;
}

.about-image-wrapper:hover .about-logo-img {
  transform: scale(1.05) translateY(-8px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

@media screen and (max-width: 991px) {
  .features-trust-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media screen and (max-width: 767px) {
  .about-section {
    padding: 50px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-lead {
    font-size: 18px;
  }

  .about-image-wrapper {
    padding: 30px;
    order: -1;
    /* Place image on top on mobile */
  }

  .about-logo-img {
    max-height: 200px;
  }
}

@media screen and (max-width: 576px) {
  .features-trust-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Promo Banners Section */
.promo-banners-section {
  padding: 40px 0 20px 0;
  background-color: var(--color-bg-light);
}

.promo-banners-section .container {
  max-width: 1480px;
  width: 100%;
}

.promo-banners-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promo-banner-card {
  position: relative;
  height: 490px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-shadow: 0 4px 15px var(--color-shadow);
  transition: all var(--transition-speed) ease;
  border: 1px solid var(--color-border);
}

.promo-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(58, 39, 11, 0.15);
}

.promo-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.promo-banner-card:hover .promo-banner-bg {
  transform: scale(1.05);
}

.promo-banner-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.promo-banner-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
}

.promo-banner-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  margin-bottom: 5px;
  opacity: 0.9;
  color: #ffffff;
}

.promo-banner-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 767px) {
  .promo-banners-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .promo-banner-card {
    height: 300px;
    padding: 20px;
  }

  .promo-banner-title {
    font-size: 22px;
  }
}

/* ==========================================
   ADMIN PORTAL STYLING
   ========================================== */

.admin-body {
  background-color: #f8f9fa;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

.admin-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 260px;
  background-color: var(--color-dark-green);
  color: var(--color-text-dark);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 4px solid var(--color-primary);
  z-index: 10;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sidebar-title {
  display: block;
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--color-text-dark);
}

.sidebar-subtitle {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-menu {
  flex-grow: 1;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.sidebar-menu ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px 12px 20px;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: all var(--transition-speed);
  border-left: 4px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--color-text-dark);
  background-color: rgba(58, 39, 11, 0.08);
  border-left-color: var(--color-primary);
}

/* Admin Main Content Area */
.admin-main {
  flex-grow: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.admin-topbar h2 {
  font-size: 28px;
  color: var(--color-primary);
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Admin Tabs */
.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
  animation: fadeIn var(--transition-speed) ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* KPI metric cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.kpi-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px var(--color-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
}

.kpi-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
}

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.kpi-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 2px;
}

/* Admin Cards & Panels */
.admin-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px var(--color-shadow);
  overflow: hidden;
}

.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-card-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Order status filters inside header */
.order-status-tabs {
  display: flex;
  gap: 5px;
  background-color: var(--color-bg-light);
  padding: 4px;
  border-radius: var(--border-radius-button);
}

.order-filter-btn {
  background: none;
  border: none;
  padding: 6px 14px;
  border-radius: var(--border-radius-button);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.order-filter-btn.active {
  background-color: var(--color-primary);
  color: white;
}

/* Admin Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.admin-table th {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-muted);
  background-color: #fafafa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table tr:hover td {
  background-color: #fbfbfb;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background-color: #fcf8e3;
  color: #f0ad4e;
  border: 1px solid #f5e79e;
}

.status-confirmed {
  background-color: #d9edf7;
  color: #0275d8;
  border: 1px solid #bce8f1;
}

.status-shipped {
  background-color: #dff0d8;
  color: var(--color-success);
  border: 1px solid #d6e9c6;
}

.status-cancelled {
  background-color: #f2dede;
  color: #d9534f;
  border: 1px solid #ebccd1;
}

/* Product Variant Form Rows (in modal) */
.variant-form-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.variant-form-row div {
  margin-bottom: 0 !important;
}

/* Mobile responsive admin styling */
@media screen and (max-width: 991px) {
  .admin-body {
    height: auto;
    overflow: auto;
  }

  .admin-wrapper {
    flex-direction: column;
    height: auto;
    overflow: auto;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 4px solid var(--color-primary);
  }

  .sidebar-menu ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 10px;
  }

  .sidebar-link {
    padding: 10px 15px;
    font-size: 13px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar-link:hover,
  .sidebar-link.active {
    border-left: none;
    border-bottom-color: var(--color-primary);
    background-color: rgba(58, 39, 11, 0.08);
  }

  .sidebar-menu li:last-child {
    margin-top: 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .admin-main {
    padding: 20px;
    height: auto;
    overflow-y: visible;
  }

  .admin-topbar {
    margin-bottom: 20px;
  }
}

/* Custom status select dropdown in admin tables */
.admin-status-select {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-bg-white);
  cursor: pointer;
  outline: none;
  width: 120px;
  transition: border-color var(--transition-speed);
}

.admin-status-select:focus {
  border-color: var(--color-primary);
}

/* Adjust padding for product variants inputs in modal */
.variant-form-row .form-control {
  padding: 8px 12px;
  font-size: 14px;
}

/* Form padding to align settings form inside card */
.admin-settings-form {
  padding: 24px;
}

/* Form row stacking on mobile */
@media screen and (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}