/*
 Theme Name:   LushNaturals Child
 Theme URI:    https://lushnaturalsuk.com
 Description:  LushNaturals UK child theme for GeneratePress. All design tokens, global styles, and WooCommerce overrides.
 Author:       LushNaturals UK
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  lushnaturals-child
*/

/* ============================================================
   TABLE OF CONTENTS
   1.  Design Tokens
   2.  Base / Reset
   3.  Typography
   4.  Buttons
   5.  Header
   6.  Announcement Bar
   7.  Navigation
   8.  Side Cart
   9.  Breadcrumb
   10. Sections & Containers
   11. Product Cards
   12. WooCommerce — Global
   13. WooCommerce — Shop / Archive
   14. WooCommerce — Single Product
   15. WooCommerce — Cart
   16. WooCommerce — Checkout
   17. Footer
   18. Utilities
   19. Responsive
============================================================ */

/* ============================================================
   1. DESIGN TOKENS
============================================================ */
:root {
  /* Brand colours */
  --ln-gold:             #d4af37;
  --ln-gold-hover:       #bfa02e;
  --ln-red:              #c6213b;
  --ln-red-hover:        #a81b32;
  --ln-black:            #000000;
  --ln-white:            #ffffff;
  --ln-off-white:        #fafafa;
  --ln-light-gray:       #f0f0f0;
  --ln-mid-gray:         #808080;
  --ln-border:           #e5e5e5;
  --ln-text:             #000000;
  --ln-text-muted:       #808080;

  /* Typography */
  --ln-font:             'Plus Jakarta Sans', sans-serif;
  --ln-size-xs:          12px;
  --ln-size-sm:          13px;
  --ln-size-base:        14px;
  --ln-size-btn:         16px;
  --ln-size-nav:         18px;
  --ln-size-h6:          16px;
  --ln-size-h5:          20px;
  --ln-size-h4:          24px;
  --ln-size-h3:          30px;
  --ln-size-h2:          40px;
  --ln-size-h1:          72px;
  --ln-lh-base:          24px;
  --ln-lh-h1:            80px;
  --ln-lh-h2:            52px;
  --ln-lh-h3:            42px;

  /* Layout */
  --ln-container:        1280px;
  --ln-radius-btn:       10px;
  --ln-radius-card:      0px;
  --ln-transition:       all 0.3s ease;

  /* WooCommerce overrides */
  --wc-primary:          var(--ln-gold);
  --wc-primary-text:     var(--ln-white);
}

/* ============================================================
   2. BASE / RESET
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ln-font);
  font-size: var(--ln-size-base);
  font-weight: 400;
  line-height: var(--ln-lh-base);
  color: var(--ln-text);
  background: var(--ln-white);
}

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

a {
  transition: var(--ln-transition);
}

/* ============================================================
   3. TYPOGRAPHY
============================================================ */
h1, .h1 {
  font-family: var(--ln-font);
  font-size: var(--ln-size-h1);
  font-weight: 700;
  line-height: var(--ln-lh-h1);
  color: var(--ln-black);
}

h2, .h2 {
  font-family: var(--ln-font);
  font-size: var(--ln-size-h2);
  font-weight: 600;
  line-height: var(--ln-lh-h2);
  color: var(--ln-black);
}

h3, .h3 {
  font-family: var(--ln-font);
  font-size: var(--ln-size-h3);
  font-weight: 500;
  line-height: var(--ln-lh-h3);
  color: var(--ln-black);
}

h4, .h4 { font-family: var(--ln-font); font-size: var(--ln-size-h4); font-weight: 500; color: var(--ln-black); }
h5, .h5 { font-family: var(--ln-font); font-size: var(--ln-size-h5); font-weight: 500; color: var(--ln-black); }
h6, .h6 { font-family: var(--ln-font); font-size: var(--ln-size-h6); font-weight: 500; color: var(--ln-black); }

p { margin-bottom: 16px; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

a { color: var(--ln-red); }
a:hover { color: var(--ln-red-hover); }

/* ============================================================
   4. BUTTONS
============================================================ */
.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--ln-font) !important;
  font-size: var(--ln-size-btn) !important;
  font-weight: 500 !important;
  background: var(--ln-gold) !important;
  color: var(--ln-white) !important;
  border: 2px solid var(--ln-gold) !important;
  border-radius: var(--ln-radius-btn) !important;
  padding: 14px 32px !important;
  transition: var(--ln-transition) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--ln-red) !important;
  border-color: var(--ln-red) !important;
  color: var(--ln-white) !important;
}

/* Alt button — dark */
.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--ln-black) !important;
  border-color: var(--ln-black) !important;
}

.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--ln-gold) !important;
  border-color: var(--ln-gold) !important;
}

/* ============================================================
   5. HEADER
============================================================ */
.site-header,
.main-navigation-container,
#site-navigation {
  background: var(--ln-black) !important;
}

/* GeneratePress header overrides */
.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.site-logo img {
  max-height: 44px;
  width: auto;
}

/* Header becomes sticky via GeneratePress settings —
   enable under Customizer > Layout > Sticky Navigation */

/* ============================================================
   6. ANNOUNCEMENT BAR
   Add via GeneratePress Elements (hook: wp_body_open)
   or as a Custom HTML block at top of page template
============================================================ */
.ln-announcement-bar {
  background: var(--ln-black);
  color: var(--ln-white);
  font-size: var(--ln-size-xs);
  font-weight: 500;
  letter-spacing: 0.5px;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 999;
}

.ln-announcement-track {
  display: flex;
  animation: ln-marquee 22s linear infinite;
  white-space: nowrap;
  gap: 80px;
}

.ln-announcement-track span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ln-announcement-track span::before {
  content: '✦';
  color: var(--ln-gold);
  font-size: 10px;
}

@keyframes ln-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   7. NAVIGATION
============================================================ */
.main-navigation a,
.nav-primary a {
  font-family: var(--ln-font);
  font-size: var(--ln-size-nav);
  font-weight: 500;
  color: rgba(255,255,255,0.85) !important;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--ln-transition);
}

.main-navigation a:hover,
.nav-primary a:hover {
  color: var(--ln-white) !important;
  background: rgba(255,255,255,0.08) !important;
}

.main-navigation .current-menu-item > a,
.nav-primary .current-menu-item > a {
  color: var(--ln-gold) !important;
}

/* Submenu */
.main-navigation .sub-menu {
  background: var(--ln-black) !important;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.main-navigation .sub-menu a {
  font-size: var(--ln-size-base) !important;
  color: rgba(255,255,255,0.75) !important;
  padding: 10px 16px;
}

.main-navigation .sub-menu a:hover {
  color: var(--ln-gold) !important;
  background: rgba(255,255,255,0.05) !important;
}

/* Header icons (cart, wishlist, account) */
.header-widget,
.nav-widget {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* WooCommerce mini cart trigger in header */
.woocommerce-cart-link,
.cart-contents {
  position: relative;
  color: var(--ln-white);
  padding: 8px 10px;
  border-radius: 6px;
  transition: var(--ln-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.woocommerce-cart-link:hover { background: rgba(255,255,255,0.1); }

.cart-contents-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--ln-gold);
  color: var(--ln-black);
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile header */
.mobile-menu-control-wrapper button,
.menu-toggle {
  color: var(--ln-white) !important;
}

/* ============================================================
   8. SIDE CART (off-canvas)
   Requires GeneratePress WooCommerce side cart setting or
   custom JS in custom.js
============================================================ */
.ln-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.ln-cart-overlay.open { opacity: 1; pointer-events: all; }

.ln-side-cart {
  position: fixed;
  top: 0; right: -420px;
  width: 400px; max-width: 90vw;
  height: 100vh;
  background: var(--ln-white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 40px rgba(0,0,0,0.2);
}
.ln-side-cart.open { right: 0; }

.ln-side-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ln-border);
  background: var(--ln-black);
  color: var(--ln-white);
}
.ln-side-cart__header h3 { font-size: 16px; font-weight: 600; color: var(--ln-white); margin: 0; }

.ln-side-cart__close {
  color: var(--ln-white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: var(--ln-transition);
}
.ln-side-cart__close:hover { color: var(--ln-gold); }

.ln-side-cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.ln-side-cart__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--ln-border);
}

.ln-side-cart__checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: var(--ln-gold);
  color: var(--ln-white);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--ln-radius-btn);
  transition: var(--ln-transition);
  text-decoration: none;
}
.ln-side-cart__checkout:hover { background: var(--ln-red); color: var(--ln-white); }

/* ============================================================
   9. BREADCRUMB
============================================================ */
.breadcrumb-trail,
.woocommerce-breadcrumb,
.generatepress-breadcrumb {
  font-size: var(--ln-size-sm);
  color: var(--ln-text-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--ln-border);
  background: var(--ln-white);
}

.woocommerce-breadcrumb a,
.breadcrumb-trail a {
  color: var(--ln-text-muted);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover,
.breadcrumb-trail a:hover {
  color: var(--ln-red);
}

/* ============================================================
   10. SECTIONS & CONTAINERS
============================================================ */
.grid-container {
  max-width: var(--ln-container);
}

/* Section padding */
.wp-block-group,
.entry-content > section {
  padding: 80px 0;
}

/* Section eyebrow label */
.ln-eyebrow {
  display: inline-block;
  font-size: var(--ln-size-xs);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ln-gold);
  margin-bottom: 12px;
}

/* Section heading */
.ln-section-title {
  font-size: var(--ln-size-h2);
  font-weight: 600;
  line-height: var(--ln-lh-h2);
  color: var(--ln-black);
  margin-bottom: 12px;
}

.ln-section-sub {
  font-size: 15px;
  color: var(--ln-text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   11. PRODUCT CARDS
============================================================ */
.woocommerce ul.products li.product,
.wc-block-grid__product {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: var(--ln-radius-card);
  overflow: hidden;
  transition: var(--ln-transition);
  position: relative;
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
  border-color: #cccccc;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Product image */
.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover a img,
.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.04);
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: var(--ln-black) !important;
  padding: 12px 14px 0 !important;
  font-family: var(--ln-font) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
  color: var(--ln-red) !important;
}

/* Price */
.woocommerce ul.products li.product .price,
.wc-block-grid__product-price {
  color: var(--ln-black) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 4px 14px 0 !important;
  font-family: var(--ln-font) !important;
}

.woocommerce ul.products li.product .price del,
.wc-block-grid__product-price del {
  color: var(--ln-mid-gray) !important;
  font-weight: 400 !important;
  margin-right: 6px;
}

.woocommerce ul.products li.product .price ins,
.wc-block-grid__product-price ins {
  color: var(--ln-red) !important;
  text-decoration: none !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.wc-block-grid__product-onsale {
  background: var(--ln-red) !important;
  color: var(--ln-white) !important;
  border-radius: 3px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  min-height: unset !important;
  min-width: unset !important;
  line-height: 1.4 !important;
  top: 10px !important;
  left: 10px !important;
}

/* Add to cart button on card */
.woocommerce ul.products li.product .button {
  margin: 10px 14px 14px !important;
  width: calc(100% - 28px) !important;
  font-size: var(--ln-size-xs) !important;
  padding: 9px 16px !important;
}

/* Star ratings */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: var(--ln-black) !important;
}

/* ============================================================
   12. WOOCOMMERCE — GLOBAL
============================================================ */
.woocommerce-notices-wrapper .woocommerce-message {
  border-top-color: var(--ln-gold) !important;
  background: #fffdf0;
}

.woocommerce-notices-wrapper .woocommerce-message a.button {
  background: var(--ln-gold) !important;
  border-color: var(--ln-gold) !important;
}

.woocommerce-notices-wrapper .woocommerce-error {
  border-top-color: var(--ln-red) !important;
}

/* Form fields */
.woocommerce .input-text,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce select,
.woocommerce textarea {
  font-family: var(--ln-font) !important;
  font-size: var(--ln-size-sm) !important;
  border: 1px solid var(--ln-border) !important;
  border-radius: 0 !important;
  padding: 11px 14px !important;
  color: var(--ln-text) !important;
  background: var(--ln-white) !important;
  transition: var(--ln-transition) !important;
}

.woocommerce .input-text:focus,
.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus {
  border-color: var(--ln-black) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06) !important;
  outline: none !important;
}

/* Labels */
.woocommerce label {
  font-family: var(--ln-font);
  font-size: var(--ln-size-sm);
  font-weight: 600;
  color: var(--ln-black);
}

/* ============================================================
   13. WOOCOMMERCE — SHOP / ARCHIVE
============================================================ */
.woocommerce-products-header__title,
.woocommerce .page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ln-black);
  margin-bottom: 24px;
}

/* Shop toolbar */
.woocommerce-ordering select,
.woocommerce-result-count {
  font-family: var(--ln-font);
  font-size: var(--ln-size-sm);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--ln-text);
}

/* Product grid - 4 columns desktop, handled by GeneratePress settings */
.woocommerce ul.products {
  gap: 20px !important;
}

/* Sidebar widgets */
.widget-area .widget_title,
.widget-area .widgettitle {
  font-size: var(--ln-size-base);
  font-weight: 700;
  color: var(--ln-black);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ln-border);
  margin-bottom: 14px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: var(--ln-light-gray);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--ln-gold);
}

/* ============================================================
   14. WOOCOMMERCE — SINGLE PRODUCT
============================================================ */
.woocommerce div.product .product_title {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--ln-black) !important;
  margin-bottom: 14px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--ln-black) !important;
  margin-bottom: 20px !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  color: var(--ln-red) !important;
  text-decoration: none !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--ln-mid-gray) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
  border: 1px solid var(--ln-border) !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  background: var(--ln-white) !important;
  width: 48px !important;
  height: 44px !important;
  text-align: center !important;
  font-family: var(--ln-font) !important;
  font-weight: 600 !important;
}

/* Add to cart button — single product */
.woocommerce div.product .cart .single_add_to_cart_button {
  font-size: var(--ln-size-btn) !important;
  padding: 14px 32px !important;
  height: 44px !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 0 !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--ln-font) !important;
  font-size: var(--ln-size-base) !important;
  font-weight: 500 !important;
  color: var(--ln-text-muted) !important;
  padding: 14px 24px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--ln-black) !important;
  font-weight: 600 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--ln-gold) !important;
  border-bottom-width: 2px !important;
}

/* ============================================================
   15. WOOCOMMERCE — CART
============================================================ */
.woocommerce-cart table.cart {
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  overflow: hidden;
}

.woocommerce-cart table.cart th {
  font-family: var(--ln-font);
  font-size: var(--ln-size-xs);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ln-text-muted);
  background: var(--ln-off-white);
  padding: 14px 16px;
}

.woocommerce-cart table.cart td {
  padding: 18px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--ln-border);
}

.woocommerce-cart table.cart .product-name a {
  font-weight: 500;
  color: var(--ln-black);
  text-decoration: none;
}

.woocommerce-cart table.cart .product-name a:hover {
  color: var(--ln-red);
}

.woocommerce-cart .cart_totals {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ln-white);
  background: var(--ln-black);
  padding: 16px 20px;
  margin: 0;
}

.woocommerce-cart .cart_totals table {
  padding: 16px 20px;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--ln-border);
  font-family: var(--ln-font);
  font-size: var(--ln-size-sm);
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  font-size: 16px;
  font-weight: 700;
  border-bottom: none;
}

.woocommerce #coupon_code {
  border-radius: 0 !important;
}

/* ============================================================
   16. WOOCOMMERCE — CHECKOUT
============================================================ */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout h3#order_review_heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--ln-white);
  background: var(--ln-off-white);
  padding: 18px 24px;
  margin: 0 0 0;
  border: 1px solid var(--ln-border);
  border-bottom: none;
  color: var(--ln-black);
}

.woocommerce-checkout #order_review {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  overflow: hidden;
}

.woocommerce-checkout #order_review .shop_table th {
  background: var(--ln-black);
  color: var(--ln-white);
  font-size: var(--ln-size-sm);
  font-weight: 600;
  padding: 14px 16px;
}

.woocommerce-checkout #payment {
  background: var(--ln-off-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
}

.woocommerce-checkout #payment ul.payment_methods li {
  border-bottom: 1px solid var(--ln-border);
  padding: 14px 16px;
}

.woocommerce-checkout #payment .payment_box {
  background: var(--ln-light-gray);
  font-size: var(--ln-size-sm);
}

.woocommerce-checkout #payment div.place-order .button {
  font-size: 16px !important;
  padding: 17px !important;
  width: 100% !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

/* ============================================================
   17. FOOTER
============================================================ */
.site-footer {
  background: var(--ln-gold) !important;
  color: var(--ln-white) !important;
  padding: 60px 0 0 !important;
}

.site-footer a {
  color: rgba(255,255,255,0.75);
}

.site-footer a:hover {
  color: var(--ln-white);
}

.footer-widgets .widget-title,
.footer-widgets .widgettitle {
  font-size: var(--ln-size-base);
  font-weight: 600;
  color: var(--ln-white);
  margin-bottom: 18px;
}

.footer-widgets p,
.footer-widgets li {
  color: rgba(255,255,255,0.75);
  font-size: var(--ln-size-sm);
}

/* Footer bottom bar */
.site-info {
  background: var(--ln-gold) !important;
  border-top: 1px solid rgba(255,255,255,0.2) !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: var(--ln-size-xs) !important;
  padding: 20px 0 !important;
}

.site-info a {
  color: rgba(255,255,255,0.7);
}
.site-info a:hover { color: var(--ln-white); }

/* ============================================================
   18. UTILITIES
============================================================ */
/* Trust badge row */
.ln-trust-bar {
  background: var(--ln-white);
  border-bottom: 1px solid var(--ln-border);
}

.ln-trust-bar .grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ln-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--ln-border);
  transition: var(--ln-transition);
}
.ln-trust-item:last-child { border-right: none; }
.ln-trust-item:hover { background: var(--ln-off-white); }

.ln-trust-icon {
  width: 44px; height: 44px;
  background: var(--ln-black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ln-trust-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--ln-black); }
.ln-trust-text span   { font-size: var(--ln-size-xs); color: var(--ln-text-muted); }

/* Product category nav icons */
.ln-cat-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* Back to top */
.ln-back-top {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ln-white);
  cursor: pointer;
  transition: var(--ln-transition);
}
.ln-back-top:hover { background: var(--ln-white); color: var(--ln-gold); }

/* ============================================================
   19. RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  :root {
    --ln-size-h1: 48px;
    --ln-lh-h1:  56px;
  }

  .woocommerce ul.products[class*="columns-4"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  :root {
    --ln-size-h1: 36px;
    --ln-lh-h1:  44px;
    --ln-size-h2: 28px;
    --ln-lh-h2:  36px;
    --ln-size-h3: 22px;
  }

  .ln-trust-bar .grid-container {
    grid-template-columns: 1fr;
  }

  .ln-trust-item {
    border-right: none;
    border-bottom: 1px solid var(--ln-border);
  }

  .woocommerce ul.products[class*="columns-4"],
  .woocommerce ul.products[class*="columns-3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products[class*="columns-"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ============================================================
   SHOP PAGE LAYOUT (archive-product.php)
============================================================ */
.ln-breadcrumb-wrap {
  background: var(--ln-white);
  border-bottom: 1px solid var(--ln-border);
  padding: 14px 0;
}

.ln-shop-page-header {
  background: var(--ln-white);
  padding: 32px 0 0;
}

.ln-shop-page-header .page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Category tabs */
.ln-cat-tabs {
  display: flex;
  border-bottom: 2px solid var(--ln-border);
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.ln-cat-tabs::-webkit-scrollbar { display: none; }

.ln-cat-tab {
  font-size: var(--ln-size-base);
  font-weight: 500;
  color: var(--ln-text-muted);
  padding: 12px 20px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--ln-transition);
  text-decoration: none;
}
.ln-cat-tab:hover { color: var(--ln-black); }
.ln-cat-tab.active {
  color: var(--ln-black);
  border-bottom-color: var(--ln-gold);
  font-weight: 600;
}

/* Shop two-column layout */
.ln-shop-layout {
  background: var(--ln-off-white);
  padding: 28px 0 80px;
}

.ln-shop-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar */
.ln-shop-sidebar {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 108px;
}

.ln-sidebar-widget {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ln-border);
}
.ln-sidebar-widget:last-child { border-bottom: none; }

.ln-sidebar-widget-title {
  font-size: var(--ln-size-base);
  font-weight: 700;
  color: var(--ln-black);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ln-border);
}

.ln-shop-sidebar .widget { border-bottom: 1px solid var(--ln-border); padding: 18px 20px; }
.ln-shop-sidebar .widget:last-child { border-bottom: none; }
.ln-shop-sidebar .widgettitle { font-size: var(--ln-size-base); font-weight: 700; margin-bottom: 14px; }

/* Toolbar */
.ln-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 4px;
  gap: 12px;
}

.ln-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ln-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  font-size: var(--ln-size-sm);
  font-weight: 500;
  color: var(--ln-text);
  background: var(--ln-white);
  cursor: pointer;
  transition: var(--ln-transition);
}
.ln-mobile-filter-btn:hover { border-color: var(--ln-black); }

.woocommerce-result-count {
  font-size: var(--ln-size-sm);
  color: var(--ln-text-muted);
  margin: 0;
}

.woocommerce-ordering select {
  font-family: var(--ln-font);
  font-size: var(--ln-size-sm);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  padding: 8px 32px 8px 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 180px;
}

/* Product grid */
.ln-shop-main .woocommerce,
.ln-shop-main {
  min-width: 0;
}

/* Pagination */
.woocommerce-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  font-size: var(--ln-size-sm);
  font-weight: 500;
  color: var(--ln-text);
  text-decoration: none;
  transition: var(--ln-transition);
}
.woocommerce-pagination ul li a:hover { border-color: var(--ln-black); }
.woocommerce-pagination ul li span.current {
  background: var(--ln-gold);
  border-color: var(--ln-gold);
  color: var(--ln-white);
}

/* ============================================================
   SINGLE PRODUCT LAYOUT
============================================================ */
.ln-single-product-wrap {
  padding: 40px 0 72px;
}

/* ============================================================
   CART PAGE LAYOUT
============================================================ */
.ln-cart-page { padding: 20px 0 0; }

.ln-cart-steps {
  display: flex;
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}

.ln-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  font-size: var(--ln-size-sm);
  font-weight: 500;
  color: var(--ln-text-muted);
  border-right: 1px solid var(--ln-border);
}
.ln-step:last-child { border-right: none; }

.ln-step--active { color: var(--ln-black); font-weight: 600; }
.ln-step--active .ln-step__num { background: var(--ln-gold); color: var(--ln-white); }
.ln-step--done .ln-step__num { background: var(--ln-black); color: var(--ln-white); }

.ln-step__num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ln-light-gray);
  color: var(--ln-text-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ln-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.ln-cart-table-wrap {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  overflow: hidden;
}

/* Remove item link */
.ln-remove-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid transparent;
  color: var(--ln-text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: var(--ln-transition);
}
.ln-remove-item:hover {
  background: #fef1f4;
  color: var(--ln-red);
  border-color: #fce8e8;
}

/* Cart actions row */
.ln-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  margin-top: 16px;
}

.ln-coupon-form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 400px;
}

.ln-coupon-form .input-text {
  flex: 1;
  border: 1px solid var(--ln-border) !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  font-size: var(--ln-size-sm) !important;
}

.ln-btn-outline {
  background: transparent !important;
  color: var(--ln-black) !important;
  border-color: var(--ln-border) !important;
}
.ln-btn-outline:hover {
  border-color: var(--ln-black) !important;
  background: var(--ln-black) !important;
  color: var(--ln-white) !important;
}

/* Cart sidebar */
.ln-cart-sidebar { position: sticky; top: 108px; }

.ln-order-summary {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  overflow: hidden;
}

.ln-summary-header {
  background: var(--ln-black);
  padding: 16px 20px;
}
.ln-summary-header h3 {
  color: var(--ln-white);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

/* WooCommerce cart totals inside the sidebar */
.ln-order-summary .cart_totals { background: none; border: none; float: none; width: 100%; }
.ln-order-summary .cart_totals h2 { display: none; } /* Hide duplicate heading */

.ln-order-summary .cart_totals table { padding: 8px 20px 0; width: 100%; }
.ln-order-summary .cart_totals table th,
.ln-order-summary .cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--ln-border);
  font-size: var(--ln-size-sm);
  font-family: var(--ln-font);
}
.ln-order-summary .cart_totals .order-total th,
.ln-order-summary .cart_totals .order-total td {
  font-size: 18px;
  font-weight: 700;
  border-bottom: none;
  padding-bottom: 20px;
}

.ln-order-summary .wc-proceed-to-checkout {
  padding: 0 20px 20px;
}
.ln-order-summary .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 16px !important;
}

/* ============================================================
   CHECKOUT PAGE LAYOUT
============================================================ */
.ln-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.ln-form-block {
  background: var(--ln-white);
  border: 1px solid var(--ln-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.ln-form-block:last-child { margin-bottom: 0; }

.ln-form-block-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ln-border);
  background: var(--ln-off-white);
}
.ln-form-block-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ln-black);
  margin: 0;
}

.ln-form-block-body {
  padding: 24px;
}

.ln-checkout-sidebar { position: sticky; top: 108px; }

/* Checkout order review */
.ln-order-summary .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}
.ln-order-summary .woocommerce-checkout-review-order-table th,
.ln-order-summary .woocommerce-checkout-review-order-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--ln-border);
  font-size: var(--ln-size-sm);
  font-family: var(--ln-font);
}
.ln-order-summary .woocommerce-checkout-review-order-table thead th {
  background: var(--ln-off-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
  color: var(--ln-text-muted);
}
.ln-order-summary .woocommerce-checkout-review-order-table .order-total th,
.ln-order-summary .woocommerce-checkout-review-order-table .order-total td {
  font-size: 16px;
  font-weight: 700;
  border-bottom: none;
}

/* Payment section inside sidebar */
.ln-order-summary #payment {
  background: var(--ln-off-white);
  border: none;
  border-top: 1px solid var(--ln-border);
}

.ln-order-summary #payment .place-order {
  padding: 20px;
}

/* ============================================================
   RESPONSIVE — SHOP, CART, CHECKOUT
============================================================ */
@media (max-width: 1024px) {
  .ln-shop-inner { grid-template-columns: 220px 1fr; }
  .ln-cart-layout { grid-template-columns: 1fr; }
  .ln-cart-sidebar { position: static; }
  .ln-checkout-layout { grid-template-columns: 1fr; }
  .ln-checkout-sidebar { position: static; }
}

@media (max-width: 768px) {
  .ln-shop-inner { grid-template-columns: 1fr; }

  .ln-shop-sidebar {
    position: fixed;
    top: 0; left: -300px;
    width: 280px; height: 100vh;
    z-index: 900;
    overflow-y: auto;
    border-radius: 0;
    transition: left 0.3s ease;
  }
  .ln-shop-sidebar.open { left: 0; }
  .ln-mobile-filter-btn { display: flex; }
  .ln-cart-steps { display: none; }
  .ln-cart-layout { gap: 20px; }
}

@media (max-width: 640px) {
  .ln-coupon-form { max-width: 100%; }
  .ln-cart-actions { flex-direction: column; align-items: stretch; }
}
