/*
Theme Name: Glass Store
Theme URI: https://example.com/glass-store
Author: Glass Store Team
Author URI: https://example.com
Description: A premium WooCommerce ecommerce theme with a clean, professional design. Features a red primary color scheme, Poppins typography, WooCommerce product cards, and full shop functionality.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glass-store
Tags: e-commerce, woocommerce, two-columns, left-sidebar, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

/* ─── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

/* ─── CSS Variables ────────────────────────────────── */
:root {
  --primary:       #e63946;
  --primary-dark:  #c1121f;
  --primary-light: #ff6b6b;
  --dark:          #1a1a1a;
  --dark-2:        #222222;
  --gray:          #555555;
  --gray-light:    #888888;
  --border:        #e8e8e8;
  --bg:            #ffffff;
  --bg-alt:        #f8f8f8;
  --text:          #1a1a1a;
  --radius:        4px;
  --shadow:        0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 24px rgba(0,0,0,0.14);
  --font-body:     'Poppins', sans-serif;
  --font-display:  'Playfair Display', serif;
  --transition:    all 0.25s ease;
}

/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--dark);
}

ul { list-style: none; }

/* ─── Container ────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Utility Bar ──────────────────────────────────── */
.utility-bar {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 8px 0;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-bar a { color: #fff; }
.utility-bar a:hover { opacity: 0.8; }

/* ─── Main Header ──────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-logo {
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1;
}
.site-logo .logo-name span { color: var(--primary); }
.site-logo .logo-tagline {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-search {
  flex: 1;
  display: flex;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.header-search:focus-within { border-color: var(--primary); }
.header-search input {
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border: none;
  outline: none;
  color: var(--text);
}
.header-search button {
  background: var(--primary);
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--primary-dark); }

.header-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
  font-size: 11px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
}
.header-icon:hover { color: var(--primary); background: #fff5f5; }
.header-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.cart-count {
  position: absolute;
  top: 4px; right: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Navigation Bar ───────────────────────────────── */
.main-nav {
  background: var(--dark);
  border-bottom: 3px solid var(--primary);
}
.main-nav .container { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 0; }
.main-nav ul li a {
  display: block;
  padding: 14px 18px;
  color: #ccc;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a,
.main-nav ul li.current_page_item a {
  color: #fff;
  border-bottom-color: var(--primary);
}
.main-nav ul li a.deals { color: #ffcc00; }

/* ─── Breadcrumb ───────────────────────────────────── */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--gray-light);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.breadcrumb a { color: var(--gray-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ─── Hero Banner ──────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b35 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  text-decoration: none;
}
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.hero-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.hero-image img { width: 100%; }

/* ─── Features Bar ─────────────────────────────────── */
.features-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.feature-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.feature-text span {
  font-size: 12px;
  color: var(--gray-light);
}

/* ─── Section Headings ─────────────────────────────── */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-header p { color: var(--gray); font-size: 15px; max-width: 500px; margin: 0 auto; }
.section-divider {
  width: 50px; height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
}

/* ─── Category Grid ────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.category-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark);
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  color: var(--primary);
}
.category-icon { font-size: 32px; margin-bottom: 10px; }
.category-name { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.category-count { font-size: 11px; color: var(--gray-light); margin-top: 4px; }

/* ─── Product Grid ─────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: #ddd;
}
.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-alt);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge-sale, .badge-new, .badge-hot {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-sale { background: var(--primary); color: #fff; }
.badge-new { background: #1d3557; color: #fff; }
.badge-hot { background: #ff6b35; color: #fff; }
.product-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: var(--primary); }
.quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  cursor: pointer;
}
.product-card:hover .quick-add { transform: translateY(0); }
.quick-add:hover { background: var(--primary); }

.product-body { padding: 16px; }
.product-category {
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-rating {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 10px;
}
.stars { color: #f4a517; font-size: 13px; letter-spacing: 1px; }
.rating-count { font-size: 11px; color: var(--gray-light); }
.product-price { display: flex; align-items: center; gap: 8px; }
.price-current { font-size: 17px; font-weight: 700; color: var(--primary); }
.price-original { font-size: 13px; color: var(--gray-light); text-decoration: line-through; }
.product-add-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.product-add-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ─── Promo Banners ────────────────────────────────── */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.promo-card {
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-card-red { background: linear-gradient(135deg, var(--primary), #c1121f); color: #fff; }
.promo-card-dark { background: linear-gradient(135deg, #1a1a1a, #333); color: #fff; }
.promo-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }
.promo-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.promo-desc { font-size: 13px; opacity: 0.8; margin-bottom: 20px; }

/* ─── Newsletter ───────────────────────────────────── */
.newsletter-section {
  background: var(--bg-alt);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.newsletter-section h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.newsletter-section p { color: var(--gray); margin-bottom: 28px; font-size: 15px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.newsletter-form:focus-within { border-color: var(--primary); }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  border: none;
  outline: none;
}
.newsletter-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  background: #111;
  color: #aaa;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--primary); }
.footer-about { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: #aaa; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-newsletter input {
  width: 100%;
  padding: 10px 14px;
  background: #222;
  border: 1px solid #333;
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input:focus { border-color: var(--primary); }
.footer-newsletter input::placeholder { color: #555; }
.footer-newsletter button {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--primary-dark); }
.footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.payment-badges { display: flex; gap: 8px; }
.payment-badge {
  background: #222;
  color: #aaa;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid #333;
  letter-spacing: 0.5px;
}

/* ─── Shop Layout ──────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
}
.shop-sidebar { position: sticky; top: 100px; }
.widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.widget-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.widget-search input:focus { border-color: var(--primary); }
.cat-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
  color: var(--gray);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  transition: var(--transition);
}
.cat-list a:hover { color: var(--primary); padding-left: 4px; }
.cat-list a span { color: var(--gray-light); font-size: 12px; }
.cat-list a.active-cat { color: var(--primary); font-weight: 600; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.results-count { font-size: 13px; color: var(--gray); }
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.sort-select:focus { border-color: var(--primary); }
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Single Product ───────────────────────────────── */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
}
.product-gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.product-summary .product-cat {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.product-summary h1 { font-size: 28px; margin-bottom: 12px; }
.product-summary .product-price { font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-summary .product-desc { color: var(--gray); font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.qty-add {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.qty-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-input button {
  padding: 10px 14px;
  background: var(--bg-alt);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.qty-input button:hover { background: var(--border); }
.qty-input input {
  width: 50px;
  text-align: center;
  border: none;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}
.product-meta { font-size: 13px; color: var(--gray-light); margin-top: 20px; }
.product-meta span { color: var(--dark); font-weight: 500; }

/* ─── Cart Page ────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 32px 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  border-bottom: 2px solid var(--border);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.cart-product-name { font-size: 14px; font-weight: 500; color: var(--dark); }
.cart-product-cat { font-size: 12px; color: var(--gray-light); }
.cart-remove { color: var(--gray-light); font-size: 18px; cursor: pointer; transition: color 0.2s; }
.cart-remove:hover { color: var(--primary); }
.order-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; }
.order-summary h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--gray); }
.summary-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--dark); margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--border); }

/* ─── Checkout ─────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 40px 0; }
.form-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 20px; }
.form-section h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  color: var(--dark);
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }

/* ─── Orders ───────────────────────────────────────── */
.orders-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.orders-table th { background: var(--bg-alt); padding: 14px 20px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); }
.orders-table td { padding: 16px 20px; border-top: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.order-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-processing { background: #fff3cd; color: #856404; }
.status-completed { background: #d1e7dd; color: #0a3622; }
.status-pending { background: #cfe2ff; color: #084298; }

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-section .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .products-grid, .shop-products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout, .single-product-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .main-nav ul { overflow-x: auto; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products-grid, .shop-products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
