/* main.css - Giftnoviax Custom Theme */

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 999;
  border-bottom: 1px solid #eeeeee;
  transition: all 0.3s ease;
}

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

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.header-logo .logo-text {
  font-family: var(--title_font_family);
  font-size: 26px;
  font-weight: 700;
  color: var(--title_color);
  letter-spacing: 1px;
}

/* Nav Menu */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 40px;
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.header-nav li a {
  position: relative;
  font-family: var(--title_font_family);
  font-size: 16px;
  font-weight: 500;
  color: var(--title_color);
  padding: 8px 0;
  letter-spacing: 0.5px;
  display: inline-block;
}

.header-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--title_color);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.header-nav li a:hover::after,
.header-nav li.current-menu-item a::after {
  transform: scaleX(1);
}

/* Header Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.currency-selector {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--title_color);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.currency-selector:hover {
  background-color: #f7f7f7;
}

.currency-current-label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.currency-selector svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.currency-selector.active svg {
  transform: rotate(180deg);
}

.currency-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 6px 0;
  min-width: 150px;
  z-index: 1000;
}

.currency-selector.active .currency-dropdown {
  display: block;
}

.currency-dropdown .currency-item {
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease;
}

.currency-dropdown .currency-item:hover,
.currency-dropdown .currency-item.active {
  background-color: #f5f5f5;
  color: #1d1f21;
  font-weight: 600;
}

.currency-dropdown .currency-item .currency-sym {
  margin-left: auto;
  color: #888;
  font-size: 12px;
}

/* Mobile Currency Section in Menu Drawer */
.mobile-currency-section {
  padding: 24px 20px 20px 20px;
  border-top: 1px solid #eeeeee;
  margin-top: 20px;
}

.mobile-currency-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888888;
  margin-bottom: 12px;
}

.mobile-currency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-currency-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-currency-btn.active,
.mobile-currency-btn:hover {
  background: #1d1f21;
  border-color: #1d1f21;
  color: #ffffff;
}

.mobile-currency-btn.active span[style*="opacity"],
.mobile-currency-btn:hover span[style*="opacity"] {
  opacity: 0.85 !important;
  color: #ffffff !important;
}
  background-color: #f7f7f7;
}

.header-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--title_color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px;
}

.header-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  background-color: #f00b0b;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-count-badge.empty {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* Expandable Search Bar */
.search-popup-bar {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #f4f4f4;
  padding: 24px 0;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  z-index: 998;
}

.search-popup-bar.active {
  display: block;
}

.search-popup-form {
  display: flex;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-popup-form input[type=\"search\"] {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #1d1f21;
  border-right: none;
  background: #fff;
  font-size: 15px;
  outline: none;
}

.search-popup-form button[type=\"submit\"] {
  width: 130px;
  height: 48px;
  background: #1d1f21;
  color: #fff;
  border: 1px solid #1d1f21;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Section Common */
.section-block {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: var(--title_font_family);
  font-size: 32px;
  font-weight: 500;
  color: var(--title_color);
  letter-spacing: 0.5px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f7f7f7;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.04);
}

.product-badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--discount_tag_bg);
  color: var(--discount_tag_color);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  z-index: 2;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}

.product-badge-discount span:first-child {
  font-size: 14px;
}

.product-badge-discount span:last-child {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 16px 4px 8px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--general_font_family);
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  transition: color 0.2s ease;
}

.product-card:hover .product-title {
  color: #000000;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.price-current {
  color: var(--buying_parice_color);
  font-size: 16px;
  font-weight: 700;
}

.price-original {
  color: var(--original_price_color);
  font-size: 14px;
  text-decoration: line-through;
}

.save-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--buying_parice_color);
  font-weight: 500;
}

.section-footer-action {
  text-align: center;
  margin-top: 36px;
}

.btn-view-more {
  display: inline-block;
  padding: 10px 36px;
  font-size: 14px;
  color: #1d1f21;
  border: 1px solid #1d1f21;
  background: #ffffff;
  border-radius: 2px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-view-more:hover {
  background: #1d1f21;
  color: #ffffff;
}

/* Single Product Detail Page */
.single-product-container {
  padding: 40px 0 80px 0;
}

.breadcrumbs {
  font-size: 13px;
  color: #888888;
  margin-bottom: 30px;
}

.breadcrumbs a {
  color: #666;
}

.breadcrumbs a:hover {
  color: #000;
}

.breadcrumbs span {
  margin: 0 6px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* Gallery */
.product-gallery-sticky {
  position: sticky;
  top: 100px;
}

.gallery-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbfbfb;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 12px;
}

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

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-thumb-item {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: #1d1f21;
  opacity: 1;
}

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

/* Product Info Right */
.product-summary-right {
  display: flex;
  flex-direction: column;
}

.pdp-title {
  font-family: var(--title_font_family);
  font-size: 26px;
  font-weight: 600;
  color: var(--title_color);
  line-height: 1.35;
  margin-bottom: 16px;
}

.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eeeeee;
  flex-wrap: wrap;
}

.pdp-price-current {
  color: var(--buying_parice_color);
  font-size: 24px;
  font-weight: 700;
}

.pdp-price-original {
  color: var(--original_price_color);
  font-size: 18px;
  text-decoration: line-through;
}

.pdp-save-badge {
  background: #fff0f2;
  color: var(--buying_parice_color);
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
}

/* Variants Options */
.variant-option-group {
  margin-bottom: 20px;
}

.variant-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #1d1f21;
  margin-bottom: 10px;
}

.variant-option-label span {
  font-weight: 400;
  color: #666;
  margin-left: 6px;
}

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

.variant-pill {
  padding: 8px 16px;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  font-size: 13px;
  color: #333333;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  user-select: none;
}

.variant-pill:hover {
  border-color: #999999;
}

.variant-pill.selected {
  border-color: #1d1f21;
  background-color: #1d1f21;
  color: #ffffff;
}

/* Quantity and Actions */
.quantity-and-add {
  margin-top: 10px;
  margin-bottom: 24px;
}

.quantity-label {
  font-size: 14px;
  font-weight: 600;
  color: #1d1f21;
  margin-bottom: 10px;
}

.quantity-selector {
  display: inline-flex;
  border: 1px solid #cccccc;
  border-radius: 2px;
  margin-bottom: 16px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.qty-input {
  width: 50px;
  height: 40px;
  border: none;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  text-align: center;
  font-size: 15px;
  outline: none;
}

.action-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-add-to-cart {
  width: 100%;
  height: 48px;
  background: #ffffff;
  color: #1d1f21;
  border: 1px solid #1d1f21;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-add-to-cart:hover {
  background: #f5f5f5;
}

.btn-buy-now {
  width: 100%;
  height: 48px;
  background: #1d1f21;
  color: #ffffff;
  border: 1px solid #1d1f21;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-buy-now:hover {
  background: #333333;
}

/* PDP Trust Badges */
.pdp-trust-badges {
  margin-top: 24px;
  padding: 16px;
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333333;
  font-size: 13px;
  font-weight: 500;
}

.trust-badge-item svg {
  color: #27ae60;
  flex-shrink: 0;
}

/* Product Description Tab / Content */
.pdp-description-section {
  margin-top: 40px;
  border-top: 1px solid #eeeeee;
  padding-top: 30px;
}

.pdp-description-section h3 {
  font-family: var(--title_font_family);
  font-size: 20px;
  margin-bottom: 20px;
}

.pdp-rich-content {
  color: #444444;
  font-size: 14px;
  line-height: 1.7;
}

.pdp-rich-content img {
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: 4px;
}

.pdp-rich-content p {
  margin-bottom: 14px;
}

/* Sticky Bottom Cart Bar */
.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  padding: 12px 0;
  z-index: 990;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cart-bar.visible {
  display: block;
  transform: translateY(0);
}

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

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-product-info img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 2px;
}

.sticky-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1f21;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-price {
  color: var(--buying_parice_color);
  font-weight: 700;
  font-size: 16px;
}

.sticky-action-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-action-wrap .btn-add-to-cart {
  width: auto;
  padding: 0 28px;
  height: 42px;
  background: #1d1f21;
  color: #ffffff;
}

/* Mini Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eeeeee;
}

.cart-drawer-header h3 {
  font-family: var(--title_font_family);
  font-size: 20px;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-drawer-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f2f2f2;
}

.cart-item-thumb {
  width: 70px;
  height: 70px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #1d1f21;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--buying_parice_color);
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  margin-top: 4px;
  text-decoration: underline;
}

.cart-drawer-footer {
  border-top: 1px solid #eeeeee;
  padding: 20px 24px;
  background: #fafafa;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #1d1f21;
  margin-bottom: 16px;
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

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

.mobile-nav-panel {
  width: 300px;
  max-width: 80vw;
  height: 100vh;
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-nav-links {
  list-style: none;
  padding: 20px 0;
}

.mobile-nav-links li a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  font-family: var(--title_font_family);
  color: #1d1f21;
  border-bottom: 1px solid #f6f6f6;
}

/* Static Page Content */
.static-page-container {
  padding: 50px 0 80px 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-header-title {
  font-family: var(--title_font_family);
  font-size: 32px;
  text-align: center;
  margin-bottom: 36px;
  color: var(--title_color);
  letter-spacing: 0.5px;
}

.page-article-content {
  color: #444444;
  font-size: 14px;
  line-height: 1.8;
}

.page-article-content h1, 
.page-article-content h2, 
.page-article-content h3 {
  margin: 24px 0 12px 0;
}

.page-article-content p {
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background-color: #f6f6f6;
  padding: 50px 0 30px 0;
  border-top: 1px solid #eaeaea;
  margin-top: 60px;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  list-style: none;
  margin-bottom: 32px;
}

.footer-nav-list a {
  font-size: 12px;
  font-weight: 500;
  color: #1d1f21;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-nav-list a:hover {
  opacity: 0.7;
}

.footer-payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-payment-icons img,
.footer-payment-icons svg {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #888888;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-detail-layout {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-nav,
  .currency-selector,
  .header-icon-btn.search-btn,
  .header-icon-btn.account-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-gallery-sticky {
    position: static;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .footer-nav-list {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .sticky-product-info {
    display: none;
  }
  .sticky-action-wrap {
    width: 100%;
    display: flex;
    gap: 10px;
  }
  .sticky-action-wrap .btn-add-to-cart,
  .sticky-action-wrap .btn-buy-now {
    flex: 1;
    height: 46px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
  }
}

/* =========================================================================
   Mobile Specific PDP Optimizations (< 768px and < 480px)
   ========================================================================= */
@media (max-width: 768px) {
  /* Container Padding */
  .single-product-container {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 90px; /* Leave breathing room for sticky cart bar */
  }

  .breadcrumbs {
    font-size: 12px;
    margin-bottom: 16px;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  /* Gallery Mobile Adaptation */
  .gallery-main-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    margin-bottom: 12px;
  }

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

  .gallery-thumbs {
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .gallery-thumb-item {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    scroll-snap-align: start;
  }

  /* Typography & Pricing Hierarchy */
  .pdp-title {
    font-size: 20px;
    line-height: 1.35;
    margin-top: 6px;
    margin-bottom: 12px;
    font-weight: 700;
  }

  .pdp-price-box {
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    align-items: center;
  }

  .pdp-price-current {
    font-size: 22px;
    font-weight: 800;
  }

  .pdp-price-original {
    font-size: 16px;
  }

  .pdp-save-badge {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
  }

  /* Variants Mobile Touch Optimization */
  .variant-option-group {
    margin-bottom: 18px;
  }

  .variant-option-label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .variant-values-wrap {
    gap: 8px;
  }

  .variant-pill {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
  }

  /* Quantity Selector & Action Buttons Stack */
  .quantity-and-add {
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .quantity-label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .quantity-selector {
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
  }

  .qty-btn {
    width: 44px;
    height: 42px;
    font-size: 20px;
    background: #f8f8f8;
  }

  .qty-input {
    width: 55px;
    height: 42px;
    font-size: 16px;
    font-weight: 600;
  }

  .action-buttons-stack {
    gap: 10px;
  }

  .btn-add-to-cart,
  .btn-buy-now {
    height: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
  }

  /* Trust Badges on Mobile */
  .pdp-trust-badges {
    margin-top: 18px;
    padding: 14px;
    border-radius: 6px;
    gap: 10px;
  }

  .trust-badge-item {
    font-size: 12px;
  }

  /* Sticky Bottom Bar on Mobile */
  .sticky-cart-bar {
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }

  /* Description & Rich Content */
  .pdp-description-section {
    margin-top: 30px;
    padding-top: 24px;
  }

  .pdp-description-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .pdp-rich-content {
    font-size: 14px;
    line-height: 1.65;
  }

  .pdp-rich-content img {
    border-radius: 6px;
    margin: 12px auto;
  }
}


/* =========================================================================
   ENHANCED DTC LAYOUT SYSTEM - V1.5.0
   ========================================================================= */

/* Top Announcement Bar */
.site-announcement-bar {
  background-color: #1d1f21;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.announcement-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Banner Section */
.hero-section {
  background: linear-gradient(135deg, #fbf9f5 0%, #f4ede2 100%);
  padding: 60px 0 50px 0;
  border-bottom: 1px solid #ebd9c8;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-tag {
  display: inline-block;
  background: rgba(209, 36, 60, 0.1);
  color: #ae2238;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--title_font_family);
  font-size: 46px;
  line-height: 1.2;
  font-weight: 700;
  color: #1d1f21;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  max-width: 680px;
  margin: 0 auto 30px auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hero-primary {
  background: #1d1f21;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29,31,33,0.25);
}

.btn-hero-primary:hover {
  background: #ae2238;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(174,34,56,0.3);
}

.btn-hero-secondary {
  background: #ffffff;
  color: #1d1f21;
  border: 1px solid #1d1f21;
}

.btn-hero-secondary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.hero-badges-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid #e2d7cb;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

/* Trust Features Strip */
.trust-features-strip {
  background: #ffffff;
  padding: 26px 0;
  border-bottom: 1px solid #eeeeee;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fcfcfc;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
}

.trust-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4ede2;
  color: #1d1f21;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-feature-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: #1d1f21;
  margin: 0 0 2px 0;
}

.trust-feature-text p {
  font-size: 11px;
  color: #777;
  margin: 0;
}

/* Collection Navigation Pills */
.collection-pills-section {
  padding: 34px 0 16px 0;
  background: #ffffff;
}

.collection-pills-header h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #1d1f21;
  margin-bottom: 18px;
}

.collection-pills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.collection-pill-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: #fcfcfc;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-decoration: none;
  color: #1d1f21;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  transition: all 0.25s ease;
}

.collection-pill-card:hover {
  border-color: #1d1f21;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.collection-pill-card.active-pill {
  background: #1d1f21;
  border-color: #1d1f21;
  color: #ffffff;
}

.pill-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: #ae2238;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}

/* Section Header Enhancements */
.section-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ae2238;
  margin-bottom: 6px;
}

.section-desc {
  font-size: 14px;
  color: #666;
  margin-top: 6px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Card Upgrades */
.product-card {
  border-radius: 6px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.product-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #e2e2e2;
  transform: translateY(-3px);
}

.product-thumb-wrap {
  border-radius: 6px 6px 0 0;
}

.product-card-quick-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  display: flex;
  justify-content: center;
  z-index: 5;
}

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

.btn-card-quick-view {
  background: #ffffff;
  color: #1d1f21;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-decoration: none;
}

.btn-card-quick-view:hover {
  background: #1d1f21;
  color: #ffffff;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  font-size: 12px;
}

.stars-gold {
  color: #f59e0b;
  letter-spacing: 1px;
}

.rating-score {
  color: #888;
  font-size: 11px;
  font-weight: 500;
}

.product-badge-discount {
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Category Archive Page Upgrades */
.category-banner-header {
  background: linear-gradient(135deg, #fbf9f5 0%, #f4ede2 100%);
  padding: 40px 0 35px 0;
  text-align: center;
  border-bottom: 1px solid #ebd9c8;
}

.breadcrumbs-center {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.breadcrumbs-center a {
  color: #555;
  text-decoration: none;
}

.breadcrumbs-center span {
  margin: 0 6px;
}

.category-banner-title {
  font-family: var(--title_font_family);
  font-size: 36px;
  font-weight: 600;
  color: #1d1f21;
  margin-bottom: 10px;
}

.category-banner-desc {
  font-size: 15px;
  color: #666;
  max-width: 650px;
  margin: 0 auto 24px auto;
}

.category-filter-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-filter-btn {
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #dcd3c8;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: #1d1f21;
  border-color: #1d1f21;
  color: #ffffff;
}

.archive-toolbar {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.archive-count-text {
  font-size: 14px;
  color: #777;
  font-weight: 500;
}

/* VIP Newsletter Signup Section */
.newsletter-signup-section {
  background: #25282a;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.newsletter-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d21936;
  margin-bottom: 8px;
}

.newsletter-inner h2 {
  font-family: var(--title_font_family);
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 12px;
}

.newsletter-inner p {
  font-size: 14px;
  color: #b0b4b8;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 14px auto;
}

.newsletter-form input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #444;
  border-right: none;
  background: #ffffff;
  font-size: 14px;
  border-radius: 4px 0 0 4px;
  outline: none;
  color: #1d1f21;
}

.newsletter-form button {
  width: 130px;
  height: 48px;
  background: #d21936;
  color: #ffffff;
  border: 1px solid #d21936;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background: #b5152e;
}

.newsletter-guarantee {
  display: block;
  font-size: 12px;
  color: #888;
}

/* Footer Upgrades */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.footer-main-wrap {
  padding: 60px 20px 30px 20px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-brand .footer-logo img {
  max-height: 44px;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-trust-mini {
  font-size: 12px;
  color: #888;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1d1f21;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list li a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list li a:hover {
  color: #1d1f21;
}

.footer-safe-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-bottom-bar {
  border-top: 1px solid #eeeeee;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* Mobile Responsive System */
@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn-hero {
    width: 100%;
  }
  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .trust-feature-item {
    padding: 10px;
    gap: 10px;
  }
  .trust-feature-icon {
    width: 36px;
    height: 36px;
  }
  .trust-feature-text h4 {
    font-size: 12px;
  }
  .trust-feature-text p {
    font-size: 10px;
  }
  .collection-pills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .collection-pill-card {
    padding: 12px 14px;
    font-size: 13px;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input {
    border-right: 1px solid #444;
    border-radius: 4px;
    width: 100%;
  }
  .newsletter-form button {
    width: 100%;
    border-radius: 4px;
  }
  .category-banner-title {
    font-size: 28px;
  }
}


/* ==========================================================================
   LIFESTYLE DTC ENRICHED SECTIONS (v1.6.0)
   ========================================================================== */

/* 1. Hero Editorial Section */
.hero-editorial-section {
  background: linear-gradient(135deg, #faf7f2 0%, #f3ece3 100%);
  padding: 60px 0 70px 0;
  border-bottom: 1px solid #eae2d6;
}
.hero-editorial-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero-kicker-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #c04938;
  background-color: #faecea;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-editorial-title {
  font-family: var(--font-serif, "Frank Ruhl Libre", Georgia, serif);
  font-size: 46px;
  line-height: 1.18;
  color: #1e262a;
  margin: 0 0 18px 0;
  font-weight: 700;
}
.hero-editorial-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #555b5f;
  margin: 0 0 28px 0;
  max-width: 540px;
}
.hero-editorial-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}
.hero-editorial-ctas .btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background-color: #1e262a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.hero-editorial-ctas .btn-hero-primary:hover {
  background-color: #c04938;
  transform: translateY(-2px);
  color: #ffffff;
}
.hero-editorial-ctas .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  background-color: #ffffff;
  color: #1e262a;
  border: 1px solid #1e262a;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.hero-editorial-ctas .btn-hero-secondary:hover {
  background-color: #faf8f5;
  border-color: #c04938;
  color: #c04938;
}
.hero-editorial-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.perk-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #495057;
  background: #ffffff;
  border: 1px solid #e3ded6;
  padding: 6px 14px;
  border-radius: 20px;
}
.hero-editorial-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-visual-card.main-visual {
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(40,30,20,0.14);
}
.hero-visual-card.main-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  display: block;
}
.hero-visual-card.floating-card {
  position: absolute;
  bottom: -24px;
  left: -20px;
  width: 170px;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  border: 1px solid #eae2d6;
}
.hero-visual-card.floating-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.floating-badge-text {
  padding: 8px 4px 4px 4px;
  text-align: center;
}
.floating-badge-text strong {
  display: block;
  font-size: 11px;
  color: #c04938;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.floating-badge-text span {
  font-size: 10px;
  color: #777;
}

/* 2. Visual Categories Grid */
.visual-categories-section {
  padding: 60px 0 50px 0;
  background-color: #ffffff;
}
.visual-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-tile-card {
  display: block;
  text-decoration: none;
  background: #faf8f5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee7dc;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.category-tile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: #c04938;
}
.tile-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background-color: #f0ebe2;
}
.tile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.category-tile-card:hover .tile-image-wrap img {
  transform: scale(1.06);
}
.tile-caption {
  padding: 12px 10px;
  text-align: center;
}
.tile-caption h3 {
  font-size: 13px;
  font-weight: 600;
  color: #1e262a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.tile-link-text {
  font-size: 11px;
  font-weight: 600;
  color: #c04938;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 3. Shop by Budget Tiers */
.shop-by-budget-section {
  padding: 50px 0;
  background-color: #faf8f5;
  border-top: 1px solid #f0e9df;
  border-bottom: 1px solid #f0e9df;
}
.budget-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.budget-tier-card {
  display: block;
  background: #ffffff;
  border: 1px solid #eae2d6;
  border-radius: 10px;
  padding: 24px 20px;
  text-decoration: none;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
}
.budget-tier-card:hover {
  transform: translateY(-4px);
  border-color: #1e262a;
  box-shadow: 0 10px 24px rgba(0,0,0,0.07);
}
.budget-card-accent {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c04938;
  background-color: #faecea;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.budget-tier-card h4 {
  font-family: var(--font-serif, "Frank Ruhl Libre", Georgia, serif);
  font-size: 20px;
  color: #1e262a;
  margin: 0 0 8px 0;
}
.budget-tier-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 16px 0;
  min-height: 38px;
}
.budget-cta {
  font-size: 12px;
  font-weight: 700;
  color: #1e262a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
}
.budget-tier-card:hover .budget-cta {
  color: #c04938;
}

/* 4. Section Title with Between Action */
.section-title-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-title-between h2 {
  font-family: var(--font-serif, "Frank Ruhl Libre", Georgia, serif);
  font-size: 32px;
  color: #1e262a;
  margin: 4px 0 0 0;
}
.btn-outline-dark {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid #1e262a;
  color: #1e262a;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline-dark:hover {
  background: #1e262a;
  color: #ffffff;
}

/* 5. Editorial Story Split Banner */
.editorial-story-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid #f0e9df;
  border-bottom: 1px solid #f0e9df;
}
.editorial-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.editorial-story-media img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4 / 3.8;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  display: block;
}
.editorial-story-content h2 {
  font-family: var(--font-serif, "Frank Ruhl Libre", Georgia, serif);
  font-size: 36px;
  line-height: 1.25;
  color: #1e262a;
  margin: 6px 0 18px 0;
}
.editorial-story-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #555b5f;
  margin-bottom: 16px;
}
.story-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  margin: 10px 0 24px 0;
  border-top: 1px solid #eee7dc;
  border-bottom: 1px solid #eee7dc;
}
.stat-item .stat-number {
  display: block;
  font-family: var(--font-serif, "Frank Ruhl Libre", Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  color: #c04938;
}
.stat-item .stat-label {
  font-size: 12px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.story-action .btn-hero-primary {
  display: inline-block;
  padding: 12px 26px;
  background: #1e262a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.story-action .btn-hero-primary:hover {
  background: #c04938;
}

/* 6. Customer Testimonials & Reviews */
.customer-reviews-section {
  padding: 60px 0 70px 0;
  background-color: #faf8f5;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #ffffff;
  border: 1px solid #eae2d6;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.review-quote {
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  font-style: italic;
  margin: 0 0 20px 0;
  flex-grow: 1;
}
.review-author strong {
  display: block;
  font-size: 13px;
  color: #1e262a;
}
.review-author span {
  font-size: 11px;
  color: #888;
}

/* 7. UGC Community Gallery */
.ugc-gallery-section {
  padding: 60px 0 70px 0;
  background-color: #ffffff;
}
.ugc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ugc-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f0ebe2;
}
.ugc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ugc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 38, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ugc-overlay span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: 20px;
}
.ugc-item:hover img {
  transform: scale(1.08);
}
.ugc-item:hover .ugc-overlay {
  opacity: 1;
}

/* Responsive Overrides for Enriched Sections */
@media (max-width: 1024px) {
  .hero-editorial-title {
    font-size: 38px;
  }
  .visual-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .budget-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-editorial-section {
    padding: 36px 0 44px 0;
  }
  .hero-editorial-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-editorial-title {
    font-size: 30px;
  }
  .hero-editorial-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hero-editorial-ctas a {
    width: 100%;
  }
  .hero-visual-card.floating-card {
    display: none;
  }
  .visual-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .budget-tiers-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-title-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .editorial-story-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .editorial-story-content h2 {
    font-size: 26px;
  }
  .story-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .stat-item .stat-number {
    font-size: 22px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ugc-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}


/* ==========================================================================
   MODERN PAGINATION & ARCHIVE TOOLBAR (v1.6.1)
   ========================================================================== */

.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ede8e1;
  flex-wrap: wrap;
  gap: 14px;
}
.archive-toolbar-left {
  display: flex;
  align-items: center;
}
.archive-count-text {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}
.archive-toolbar-right .woocommerce-ordering {
  margin: 0;
}
.archive-toolbar-right .woocommerce-ordering select {
  font-size: 13px;
  font-family: inherit;
  padding: 8px 32px 8px 12px;
  border: 1px solid #ded6c9;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1e262a;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201l4%204%204-4%22%20stroke%3D%22%23666%22%20stroke-width%3D%221.5%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  appearance: none;
  -webkit-appearance: none;
}
.archive-toolbar-right .woocommerce-ordering select:focus {
  border-color: #c04938;
  box-shadow: 0 0 0 2px rgba(192, 73, 56, 0.12);
}

.archive-pagination-wrap {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid #eee7dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pagination-info {
  font-size: 13px;
  color: #777;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1e262a;
  background-color: #ffffff;
  border: 1px solid #ded6c9;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}
.archive-pagination a.page-numbers:hover {
  background-color: #faf8f5;
  border-color: #c04938;
  color: #c04938;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.archive-pagination .page-numbers.current {
  background-color: #1e262a;
  border-color: #1e262a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 38, 42, 0.22);
  cursor: default;
}
.archive-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 6px;
  color: #999;
}
.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
  gap: 8px;
  padding: 0 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.archive-pagination .page-numbers.prev svg,
.archive-pagination .page-numbers.next svg {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .archive-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .archive-toolbar-right {
    width: 100%;
  }
  .archive-toolbar-right .woocommerce-ordering,
  .archive-toolbar-right .woocommerce-ordering select {
    width: 100%;
  }
  .archive-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
    padding: 0 10px;
  }
  .archive-pagination .page-numbers.prev,
  .archive-pagination .page-numbers.next {
    padding: 0 12px;
  }
}
