.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2.5rem;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--dark-brown);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--medium-brown);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-brown);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-brown);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--light-brown);
}

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

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--dark-brown);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    background: var(--cream);
    color: var(--light-brown);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--light-brown);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Shop Page Styles */
.page-header {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 42px 0 34px;
  text-align: center;
  color: white;
  margin-top: 0;
}

.page-header h1 {
  font-size: 2.35rem;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.25;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.95;
  margin: 0;
}

.page-header a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

.shop-section {
  padding: 34px 0 44px;
  background: #f8f9fa;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  color: #ff6b35;
}

.product-detail-section {
  padding: 56px 0;
  background: #f8f9fa;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 36px;
  align-items: start;
}

.product-detail-media,
.product-detail-info,
.product-description-box,
.related-products,
.product-empty {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.product-detail-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.82;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  background: #ff6b35;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.product-detail-info {
  padding: 30px;
}

.detail-category {
  display: inline-block;
  margin-bottom: 12px;
  color: #ff6b35;
  font-weight: 700;
}

.product-detail-info h2 {
  font-size: 2rem;
  color: #2d3436;
  margin-bottom: 12px;
}

.detail-short {
  color: #636e72;
  margin-bottom: 20px;
}

.detail-meta,
.detail-notes {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  color: #636e72;
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}

.detail-price strong {
  color: #ff6b35;
  font-size: 1.8rem;
}

.detail-cart-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.detail-cart-form label {
  font-weight: 700;
}

.detail-cart-form input {
  width: 88px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.purchase-limit-note {
  color: #636e72;
  font-size: 0.82rem;
  line-height: 1.7;
}

.package-picker {
  display: grid;
  grid-template-columns: auto minmax(120px, 180px) minmax(120px, 180px);
  align-items: center;
  gap: 10px;
  width: 100%;
}

.package-picker select,
.package-picker input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.package-price-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #636e72;
}

.package-price-preview strong {
  color: #ff6b35;
  font-size: 1rem;
}

.btn-disabled {
  background: #b2bec3;
  color: #fff;
  cursor: not-allowed;
}

.product-description-box,
.related-products,
.product-empty {
  margin-top: 28px;
  padding: 28px;
}

.product-description-box h3 {
  margin-bottom: 14px;
  color: #2d3436;
}

.product-video-box {
  margin-top: 28px;
  padding: 28px;
}

.product-video-box h3 {
  margin-bottom: 14px;
  color: #2d3436;
}

.product-video-box video {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 12px;
  background: #1f1f1f;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-card h3 {
  padding: 14px 14px 4px;
  font-size: 1rem;
}

.related-card span {
  display: block;
  padding: 0 14px 16px;
  color: #ff6b35;
  font-weight: 700;
}

.product-alert.error {
  background: #fff0f0;
  color: #b00020;
  padding: 16px;
  border-radius: 8px;
}

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

.shop-layout-loading {
  opacity: 0.65;
  pointer-events: none;
}

.shop-layout-updated .products-grid,
.shop-layout-updated .shop-toolbar {
  animation: shopSoftIn 0.32s ease;
}

@keyframes shopSoftIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sidebar Filters */
.shop-sidebar {
  position: sticky;
  top: 92px;
  height: fit-content;
}

.filter-box {
  background: white;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #2d3436;
  font-weight: 600;
}

.filter-list {
  list-style: none;
}

.filter-list li {
  margin-bottom: 9px;
}

.filter-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  color: #636e72;
  transition: color 0.3s;
}

.filter-list label:hover {
  color: #ff6b35;
}

.filter-list input[type="checkbox"],
.filter-list input[type="radio"] {
  margin-left: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ff6b35;
}

.filter-list span {
  color: #b2bec3;
  font-size: 0.85rem;
}

/* Price Range Slider */
.price-range-filter {
  display: grid;
  gap: 12px;
}

.price-range-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  direction: ltr;
}

.price-range-values span {
  direction: rtl;
  display: grid;
  gap: 4px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 107, 53, 0.14);
  border-radius: 10px;
  background: #fff8f4;
  color: #7b6b61;
  font-size: 0.8rem;
}

.price-range-values strong {
  color: #2d3436;
  font-size: 0.88rem;
  line-height: 1.5;
}

.price-range-sliders {
  position: relative;
  direction: ltr;
  height: 28px;
  border-radius: 999px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(139, 111, 71, 0.18)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 5px rgba(74, 55, 40, 0.08);
}

.price-range-sliders::before {
  content: "";
  position: absolute;
  inset: 11px 12px;
  border-radius: 999px;
  background: #f1e4d8;
}

.price-range-sliders::after {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: calc(12px + (100% - 24px) * (1 - var(--range-end-ratio, 1)));
  right: calc(12px + (100% - 24px) * var(--range-start-ratio, 0));
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8c42, #ff6b35);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.22);
  pointer-events: none;
}

.price-range-sliders input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  direction: ltr;
  transform: scaleX(-1);
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  color: transparent;
  accent-color: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.price-range-sliders input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border: none;
  background: transparent;
}

.price-range-sliders input[type="range"]::-moz-range-track {
  height: 4px;
  border: none;
  background: transparent;
}

.price-range-sliders input[type="range"]::-moz-range-progress {
  height: 4px;
  background: transparent;
}

.price-range-sliders input[type="range"]::-webkit-slider-thumb {
  transform: scaleX(-1);
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ff6b35;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.32);
  cursor: grab;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.price-range-sliders input[type="range"]::-moz-range-thumb {
  transform: scaleX(-1);
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ff6b35;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.32);
  cursor: grab;
  pointer-events: auto;
}

.price-range-sliders input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.08);
}

.filter-search input,
.price-inputs input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-search {
  position: relative;
}

.filter-search input {
  padding-left: 50px;
}

.filter-search-button {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: none;
  border-radius: 8px;
  background: #ff6b35;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.filter-search-button:hover,
.filter-search-button:focus-visible {
  background: #f05f2b;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.22);
}

.filter-search-button svg {
  flex: 0 0 auto;
}

.filter-search input:focus,
.price-inputs input:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  direction: ltr;
}

.price-inputs label {
  direction: rtl;
  display: grid;
  gap: 6px;
  color: #636e72;
  font-size: 0.9rem;
}

.filter-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.auto-filter-status,
.btn-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.auto-filter-status {
  gap: 8px;
  background: #fff8f4;
  color: #8b6f47;
  border: 1px solid rgba(255, 107, 53, 0.16);
  font-size: 0.9rem;
}

.auto-filter-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25b26b;
  box-shadow: 0 0 0 4px rgba(37, 178, 107, 0.12);
}

.btn-filter-reset {
  background: #fff;
  color: #636e72;
  border: 1px solid #e0e0e0;
}

.active-filter-count {
  display: inline-flex;
  margin-right: 8px;
  color: #ff6b35;
  font-weight: 700;
}

/* Special Offers */
.special-offers .offer-card {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 20px;
  border-radius: 10px;
  color: white;
  text-align: center;
}

.offer-badge {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.offer-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.offer-price {
  margin: 15px 0;
}

.offer-price .old-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.offer-price .new-price {
  font-size: 1.3rem;
  font-weight: 700;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.results-count {
  color: #636e72;
  font-size: 0.95rem;
}

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

.sort-select {
  padding: 10px 15px;
  border: 1px solid #dfe6e9;
  border-radius: 8px;
  background: white;
  color: #2d3436;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s;
}

.sort-select:hover {
  border-color: #ff6b35;
}

.view-toggle {
  display: flex;
  gap: 5px;
  background: #f8f9fa;
  padding: 5px;
  border-radius: 8px;
}

.view-btn {
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #636e72;
  cursor: pointer;
  transition: all 0.3s;
}

.view-btn:hover {
  color: #ff6b35;
}

.view-btn.active {
  background: white;
  color: #ff6b35;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.products-grid.products-grid-list {
  grid-template-columns: 1fr;
}

.products-grid.products-grid-list .product-card {
  display: grid;
  grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
  min-height: 240px;
}

.products-grid.products-grid-list .product-card:hover {
  transform: translateY(-2px);
}

.products-grid.products-grid-list .product-image {
  height: 100%;
  min-height: 240px;
}

.products-grid.products-grid-list .product-info {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.products-grid.products-grid-list .product-rating,
.products-grid.products-grid-list .product-title,
.products-grid.products-grid-list .product-meta,
.products-grid.products-grid-list .product-price {
  margin-bottom: 0;
}

.products-grid.products-grid-list .product-title {
  font-size: 1.25rem;
}

.products-grid.products-grid-list .product-price {
  justify-content: flex-start;
}

.products-grid.products-grid-list .btn-add-cart {
  width: min(220px, 100%);
}

@media (max-width: 680px) {
  .products-grid.products-grid-list .product-card {
    grid-template-columns: 1fr;
  }

  .products-grid.products-grid-list .product-image {
    height: 220px;
    min-height: 220px;
  }

  .products-grid.products-grid-list .btn-add-cart {
    width: 100%;
  }
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.product-empty-card {
  grid-column: 1 / -1;
  max-width: 520px;
  width: 100%;
  margin: 14px auto 0;
  text-align: center;
}

.product-empty-card:hover {
  transform: none;
}

.product-empty-card .product-info {
  padding: 28px;
}

.product-empty-card .product-title {
  margin-bottom: 12px;
}

.product-empty-card p {
  max-width: 360px;
  margin: 0 auto 18px;
  color: #636e72;
  line-height: 1.9;
}

.empty-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 107, 53, 0.28);
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.08);
  color: #ff6b35;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.empty-filter-reset:hover,
.empty-filter-reset:focus-visible {
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.product-badges {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  text-align: center;
}

.badge-sale {
  background: #e74c3c;
}

.badge-new {
  background: #3498db;
}

.badge-hot {
  background: #e67e22;
}

.badge-bestseller {
  background: #9b59b6;
}

.btn-wishlist {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-wishlist:hover {
  background: #ff6b35;
  color: white;
  transform: scale(1.1);
}

.btn-wishlist svg {
  transition: all 0.3s;
}

.btn-wishlist:hover svg {
  fill: white;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #f8f9fa;
}

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

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

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

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

.btn-quick-view {
  text-decoration: none;
  padding: 10px 25px;
  background: white;
  color: #2d3436;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-quick-view:hover {
  background: #ff6b35;
  color: white;
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.stars {
  color: #f39c12;
  font-size: 0.9rem;
}

.rating-count {
  color: #b2bec3;
  font-size: 0.85rem;
}

.product-title {
  font-size: 1.1rem;
  color: #2d3436;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 3.08em;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #636e72;
  gap: 8px;
  min-height: 30px;
}

.stock {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.in-stock {
  background: #d4edda;
  color: #27ae60;
}

.low-stock {
  background: #fff3cd;
  color: #f39c12;
}

.out-stock {
  background: #f8d7da;
  color: #e74c3c;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  min-height: 52px;
  flex-wrap: wrap;
}

.product-price .old-price {
  text-decoration: line-through;
  color: #b2bec3;
  font-size: 0.95rem;
}

.product-price .price {
  font-size: 1.3rem;
  color: #ff6b35;
  font-weight: 700;
}

.btn-add-cart {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  margin-top: auto;
  box-sizing: border-box;
  white-space: nowrap;
  position: relative;
}

.btn-add-cart svg {
  flex: 0 0 auto;
}

.btn-add-cart [data-cart-button-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.btn-add-cart.added {
  background: #27ae60;
}

.btn-add-cart.cart-action-loading {
  padding-left: 38px;
}

.btn-add-cart.cart-action-loading::after {
  position: absolute;
  left: 14px;
  margin: 0;
}

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

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dfe6e9;
  background: white;
  color: #2d3436;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-btn:hover:not(:disabled):not(.disabled) {
  border-color: #ff6b35;
  color: #ff6b35;
}

.page-btn.active {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

.page-btn:disabled,
.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #2d1f15 100%);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--light-brown);
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-brown), transparent);
    border-radius: 2px;
}

.footer-section p,
.footer-section ul {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    transition: all 0.3s ease;
    padding-right: 10px;
}

.footer-section ul li:hover {
    padding-right: 0;
    color: var(--light-brown);
    transform: translateX(-5px);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--light-brown);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--light-brown);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-brown);
    transform: translateY(-5px) rotate(360deg);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}
/* Responsive */
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
  }

  .filter-box {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 32px 0 26px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  .shop-section {
    padding: 24px 0 34px;
  }
  
  .shop-toolbar {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    margin-bottom: 16px;
  }
  
  .shop-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .sort-select {
    flex: 1;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  
  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-info h2 {
    font-size: 1.5rem;
  }

  .package-picker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 26px 0 22px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-image {
    height: 240px;
  }

  .detail-cart-form {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-cart-form input {
    width: 100%;
  }
}
