/*
Theme Name:  Zemro
Theme URI:   https://zemro.in
Author:      Zemro Team
Author URI:  https://zemro.in
Description: Zemro Custom WordPress WooCommerce Theme — Tech Accessories
Version:     2.1.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zemro
Tags:        e-commerce, custom, responsive, woocommerce
*/

/* ============================================
   ZEMRO — Main Stylesheet v2.1 (Reorganised)
   Bootstrap 5 | WooCommerce | Custom Design
   ============================================ */


/* ════════════════════════════════════════
   1. CSS VARIABLES
════════════════════════════════════════ */
:root {
  --blue:        #1565c0;
  --blue-dark:   #0d47a1;
  --green:       #00a65a;
  --red:         #e53935;
  --gray-border: #e0e0e0;
  --text-gray:   #666;
  --promo-h:     34px;
  --header-h:    64px;
  --topbar-total: calc(var(--promo-h) + var(--header-h));
}


/* ════════════════════════════════════════
   2. RESET & BASE
════════════════════════════════════════ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #111;
  background: #fff;
  margin: 0 !important;
}

main,
.site-main,
#main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.admin-bar .sticky-top-wrap { top: 0px; }


/* ════════════════════════════════════════
   3. STICKY HEADER WRAPPER
════════════════════════════════════════ */
.sticky-top-wrap {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}


/* ════════════════════════════════════════
   4. PROMO BAR
════════════════════════════════════════ */
.promo-bar {
  background: #dce8f5;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  padding: 7px 16px;
  color: #222;
  letter-spacing: 0.2px;
}


/* ════════════════════════════════════════
   5. SITE HEADER
════════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 998;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 35px !important;
  width: auto;
  display: block;
  object-fit: contain;
}


/* ════════════════════════════════════════
   6. DESKTOP NAVIGATION
════════════════════════════════════════ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #222 !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
}

.main-nav .dropdown-toggle::after {
  display: none !important;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  background: #f5f5f5;
  color: #111 !important;
}


/* ════════════════════════════════════════
   7. SEARCH
════════════════════════════════════════ */
.search-wrap {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.search-wrap input {
  width: 100%;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  padding: 8px 34px 8px 12px;
  font-size: 13.5px;
  outline: none;
  background: #fafafa;
  color: #333;
  font-family: inherit;
}

.search-wrap input:focus {
  border-color: var(--blue);
  background: #fff;
}

.search-wrap .bi-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 15px;
  pointer-events: none;
}


/* ════════════════════════════════════════
   8. HEADER RIGHT (Account / Cart)
════════════════════════════════════════ */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

.btn-login:hover { color: var(--blue); }
.btn-login .bi   { font-size: 19px; }

.cart-btn {
  font-size: 22px;
  color: #222;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.cart-btn:hover { color: var(--blue); }


/* ════════════════════════════════════════
   9. HAMBURGER
════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #222;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ════════════════════════════════════════
   10. MOBILE OVERLAY & DRAWER
════════════════════════════════════════ */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mob-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #fff;
  z-index: 1050;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.mobile-menu.open { transform: translateX(0); }

.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.mob-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.mob-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}

.mob-close:hover { background: #f3f3f3; color: #111; }

.mob-menu-body { flex: 1; overflow-y: auto; }

.mob-search {
  padding: 14px 16px 8px;
  position: relative;
}

.mob-search input {
  width: 100%;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 38px 10px 14px;
  font-size: 14px;
  outline: none;
  background: #f7f7f7;
  color: #333;
  font-family: inherit;
}

.mob-search input:focus { border-color: var(--blue); background: #fff; }

.mob-search .bi-search {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 15px;
  pointer-events: none;
}

.mob-nav-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s, color 0.15s;
}

.mob-nav-link:hover { background: #f5f8ff; color: var(--blue); }

.mob-footer-actions {
  border-top: 1px solid #ebebeb;
  padding: 8px 0 16px;
  flex-shrink: 0;
}

.mob-action-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mob-action-link .bi { font-size: 19px; color: #555; }

.mob-action-link:hover { background: #f5f8ff; color: var(--blue); }
.mob-action-link:hover .bi { color: var(--blue); }


/* ════════════════════════════════════════
   11. HERO SLIDER
════════════════════════════════════════ */
.hero-section {
  width: 100%;
  height: calc(100vh - var(--topbar-total) - 89px);
  overflow: hidden;
  display: block;
  line-height: 0;
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  padding: 0;
}

.hero-section .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: 1;
}

.hero-section .carousel-caption {
  position: absolute;
  top: 50%;
  left: 6%;
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  text-align: left;
  width: 38%;
  max-width: 38%;
  padding: 0;
  z-index: 2;
}

.zemro-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin: 0 0 14px 0;
  white-space: normal;
  word-break: break-word;
}

.hero-caption-sub {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  display: block;
  width: 100%;
}

.hero-caption-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none !important;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.18s;
  box-shadow: 0 4px 18px rgba(21, 101, 192, 0.35);
  white-space: nowrap;
}

.hero-caption-btn:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  background: rgba(0, 0, 0, 0.28) !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.30) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px !important;
  z-index: 20 !important;
  opacity: 1 !important;
  transition: background 0.2s, border-color 0.2s !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}

.hero-arrow-left  { left: 16px !important;  right: auto !important; }
.hero-arrow-right { right: 16px !important; left: auto !important; }

.hero-dots {
  bottom: 14px !important;
  margin: 0 !important;
  align-items: center !important;
}

.hero-dots button {
  width: 24px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.38) !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  margin: 0 3px !important;
  padding: 0 !important;
  opacity: 1 !important;
  transition: width 0.25s, background 0.25s !important;
}

.hero-dots button.active {
  width: 42px !important;
  background: rgba(255, 255, 255, 0.92) !important;
}


/* ════════════════════════════════════════
   12. TRUST ROW
════════════════════════════════════════ */
.trust-row {
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 14px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: #222;
}

.trust-item .bi { font-size: 22px; color: #444; }


/* ════════════════════════════════════════
   13. EXPLORE CATEGORIES
════════════════════════════════════════ */
.explore-section {
  padding: 28px 0 16px;
}

.explore-section h2 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 22px;
}

.cat-row {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}

.cat-row::-webkit-scrollbar { display: none; }

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 90px;
  flex-shrink: 0;
  text-decoration: none;
  padding: 4px 6px;
}

.cat-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #deeaf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #1a4fa0;
  overflow: hidden;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cat-item:hover .cat-icon {
  background: #c4d9f5;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(21,101,192,0.15);
}

.cat-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #333;
  text-align: center;
  white-space: nowrap;
}

.cat-item:hover .cat-label { color: var(--blue); }


/* ════════════════════════════════════════
   14. PRODUCTS SECTION & GRID
════════════════════════════════════════ */
.products-section { padding: 24px 0; }

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sec-head h2 { font-size: 21px; font-weight: 800; }

.more-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.more-link:hover { text-decoration: underline; }

ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.products li.product {
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

ul.products::before,
ul.products::after,
.zemro-products-grid::before,
.zemro-products-grid::after {
  display: none !important;
  content: none !important;
}


/* ════════════════════════════════════════
   15. PRODUCT CARD — .pc
════════════════════════════════════════ */
li.pc {
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.22s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

li.pc:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  transform: translateY(-4px);
}

.pc-img {
  position: relative;
  background: #fff;
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.pc-img img,
.pc-img .woo-img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.dbadge {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(229,57,53,0.35);
}

.sold-ov {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sold-lbl {
  background: rgba(30,30,30,.75);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 22px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.pc-info {
  padding: 12px 14px 10px;
  flex: 1;
  background: #f3f3f3;
}

.pc-tag {
  font-size: 10px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 5px;
}

.pc-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
  line-height: 1.45;
  margin-bottom: 10px;
  min-height: 40px;
}

.pc-prices {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.pd {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  background: #ffeaea;
  border: 1px solid #ffd0d0;
  border-radius: 3px;
  padding: 2px 7px;
}

.pn {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
}

.pn .woocommerce-Price-amount,
.pn bdi { font-size: inherit; font-weight: inherit; color: inherit; }

.po {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
}

.pc-footer {
  padding: 10px 14px 14px;
  background: #f3f3f3;
}

.pc-cart-btn {
  width: 100%;
  background: var(--blue);
  color: #fff !important;
  border: none;
  border-radius: 7px;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.18s, transform 0.15s;
  letter-spacing: 0.3px;
  text-decoration: none !important;
}

.pc-cart-btn:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
}

.pc-cart-btn.added,
.pc-cart-btn.loading {
  background: #2e7d32 !important;
}

.pc-inner-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

li.is-sold .pc-footer { display: none; }


/* ════════════════════════════════════════
   16–22. PRODUCT PAGE (unchanged)
════════════════════════════════════════ */
.product-wrap {
  display: flex;
  gap: 32px;
  padding-bottom: 32px;
  align-items: flex-start;
}

.product-images {
  flex-shrink: 0;
  width: 420px;
}

.woocommerce-product-gallery { width: 100% !important; }
.product-info { flex: 1; }

.woocommerce-loop-product__title,
h1.product_title,
.product_title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #111 !important;
  line-height: 1.25 !important;
  margin-bottom: 8px !important;
}

.woocommerce-product-rating { margin-bottom: 12px !important; }

p.price,
span.price {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #111 !important;
  margin-bottom: 6px !important;
}

p.price ins,
span.price ins { text-decoration: none; color: var(--blue) !important; }

p.price del,
span.price del { color: #aaa !important; font-size: 15px !important; }

.woocommerce-price-suffix {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 400;
}

.single_add_to_cart_button,
button.single_add_to_cart_button {
  background: var(--green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 28px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.18s !important;
  font-family: inherit !important;
  letter-spacing: 0.3px !important;
}

.single_add_to_cart_button:hover { background: #008a4a !important; }

.woocommerce .quantity .qty {
  border: 1.5px solid var(--gray-border) !important;
  border-radius: 6px !important;
  padding: 8px 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  width: 70px !important;
  text-align: center !important;
  font-family: inherit !important;
}

.delivery-label { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #111; }

.delivery-input-row { display: flex; align-items: center; margin-bottom: 10px; }

.delivery-input-row input {
  border: 1.5px solid var(--gray-border);
  border-radius: 6px 0 0 6px;
  padding: 8px 13px;
  font-size: 14px;
  outline: none;
  width: 200px;
  color: #111;
  font-family: inherit;
}

.delivery-input-row input:focus { border-color: #555; }

.btn-change {
  background: #111;
  color: #fff;
  border: 1.5px solid #111;
  border-radius: 0 6px 6px 0;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.btn-change:hover { background: #333; }

.free-delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #111;
  margin-bottom: 16px;
}

.free-delivery .bi-truck { font-size: 18px; color: var(--green); }
.free-delivery strong     { color: var(--green); }

.trust-pills { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  padding: 11px 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #222;
}

.trust-pill .bi { font-size: 20px; color: #444; }

.lower-wrap { padding: 28px 0; }
.lower-cols { display: flex; gap: 32px; align-items: flex-start; }
.col-left  { width: 380px; flex-shrink: 0; }
.col-right { flex: 1; }

.acc-item { border: 1.5px solid var(--gray-border); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }

.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: #111;
  user-select: none;
}

.acc-header .bi { font-size: 14px; color: #666; transition: transform 0.25s; }

.acc-body { display: none; padding: 12px 18px 16px; font-size: 13.5px; color: #444; line-height: 1.75; }
.acc-body.open { display: block; }

.spec-table              { width: 100%; font-size: 13px; border-collapse: collapse; }
.spec-table td           { padding: 5px 0; vertical-align: top; }
.spec-table td:first-child { color: #888; width: 45%; }

.reviews-title { font-size: 18px; font-weight: 800; margin-bottom: 18px; color: #111; }
.review-item              { border-bottom: 1px solid #eee; padding-bottom: 16px; margin-bottom: 16px; }
.review-item:last-child   { border-bottom: none; }
.review-date              { font-size: 12.5px; color: var(--text-gray); margin-bottom: 5px; }
.review-stars             { display: flex; gap: 2px; margin-bottom: 7px; }
.review-stars .bi-star-fill,
.review-stars .bi-star-half { color: #f5a623; font-size: 14px; }
.review-text              { font-size: 14px; color: #111; line-height: 1.55; margin-bottom: 6px; }
.review-author            { font-size: 12.5px; color: var(--text-gray); }
#review_form_wrapper .comment-form-rating label { font-weight: 600; }

.btn-add-review {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
}

.btn-add-review:hover { background: #333; }

.related-section { padding: 32px 0; border-top: 1px solid var(--gray-border); }
.related-section h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.related-sub        { font-size: 13.5px; color: var(--text-gray); margin-bottom: 18px; }

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

.rc {
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  background: #f5f5f5;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.rc:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }

.rc-img { background: #eaeaea; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 150px; }
.rc-img img { width: 100%; max-height: 120px; object-fit: contain; }

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f5a623;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  z-index: 2;
}

.rc-info  { padding: 10px 12px 14px; background: #fff; }
.rc-brand { font-size: 11px; color: var(--text-gray); font-weight: 500; margin-bottom: 3px; }
.rc-name  { font-size: 13px; font-weight: 600; color: #111; margin-bottom: 6px; line-height: 1.35; }


/* ════════════════════════════════════════
   23. FOOTER
════════════════════════════════════════ */
.site-footer {
  background: #dde4ec;
  padding: 56px 40px 0;
  margin-top: 0;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }

.footer-logo { display: inline-flex; align-items: center; text-decoration: none; margin-bottom: 18px; }
.footer-logo-img { height: 36px !important; width: auto; object-fit: contain; display: block; }
.footer-address { font-size: 13.5px; color: #4a5568; line-height: 1.8; margin-bottom: 14px; }
.footer-contact { font-size: 13.5px; color: #4a5568; line-height: 2; }
.footer-contact strong { color: #1a1a1a; font-weight: 700; }
.footer-contact a      { color: #4a5568; text-decoration: none; }
.footer-contact a:hover { color: var(--blue); }

.footer-social { display: flex; gap: 9px; margin-top: 18px; }

.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center; color: #444;
  font-size: 15px; text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover           { transform: translateY(-2px); }
.footer-social a.fb:hover        { background: #1877f2; color: #fff; }
.footer-social a.tw:hover        { background: #000; color: #fff; }
.footer-social a.ig:hover        { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.footer-social a.yt:hover        { background: #ff0000; color: #fff; }
.footer-social a.li:hover        { background: #0a66c2; color: #fff; }

.footer-col-title {
  font-size: 16px; font-weight: 800; color: #1a1a1a; margin-bottom: 18px;
  position: relative; padding-bottom: 10px;
}

.footer-col-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 3px; background: var(--blue); border-radius: 2px;
}

.footer-col-links { list-style: none; padding: 0; margin: 0; }

.footer-col-links li {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px;
}

.footer-col-links li::before {
  content: '•'; color: var(--blue); font-size: 14px; line-height: 1.6; flex-shrink: 0;
}

.footer-col-links a {
  font-size: 13.5px; color: #49515a; text-decoration: none; line-height: 1.5;
  transition: color 0.18s, padding-left 0.18s;
}

.footer-col-links a:hover { color: #0d47a1; padding-left: 3px; }

.footer-bottom {
  background: #2d3748; margin: 0 -40px; padding: 16px 40px;
  display: flex; align-items: center; justify-content: center;
}

.footer-bottom p      { font-size: 13px; color: #a0aec0; margin: 0; text-align: center; }
.footer-bottom strong { color: #e2e8f0; }


/* ════════════════════════════════════════
   24. WOOCOMMERCE — GENERAL OVERRIDES
════════════════════════════════════════ */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  font-family: inherit;
  border-radius: 7px;
  font-weight: 600;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 8px;
  font-family: inherit;
}

.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.woocommerce-breadcrumb a { color: var(--text-gray); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--blue); }

.woocommerce-loop-product__title {
  font-size: 13.5px !important;
  padding: 0 !important;
}


/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */

@media (max-width: 1200px) {
  ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 1024px) {
  .hero-section .carousel-caption { width: 45%; max-width: 45%; }
  .zemro-hero-title { font-size: clamp(18px, 2.8vw, 32px); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 992px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .product-wrap { flex-direction: column; }
  .product-images { width: 100%; }
  .lower-cols { flex-direction: column; }
  .col-left { width: 100%; }
}

@media (max-width: 768px) {
  :root { --promo-h: 30px; --header-h: 56px; }
  .main-nav, .search-wrap, .header-right { display: none !important; }
  .hamburger { display: flex !important; }
  .hero-section .carousel-caption { left: 4%; width: 60%; max-width: 60%; top: 50%; transform: translateY(-50%); }
  .zemro-hero-title { font-size: clamp(16px, 4.5vw, 22px); margin-bottom: 10px; }
  .hero-caption-sub { font-size: 12px; margin-bottom: 14px; display: block; }
  .hero-caption-btn { padding: 15px 21px; font-size: 12px; }
  .hero-arrow { width: 28px !important; height: 28px !important; font-size: 12px !important; }
  ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-pills { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  body.admin-bar .sticky-top-wrap { top: 46px; }
}

@media (max-width: 600px) {
  .site-footer { padding: 36px 20px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { margin: 0 -20px; padding: 14px 20px; }
  .products-section, .explore-section { padding: 18px 0; }
}

@media (max-width: 480px) {
  :root { --promo-h: 28px; --header-h: 52px; }
  .hero-section .carousel-caption { max-width: 100%; width: 80%; left: 10%; right: 10%; text-align: center; }
  .hero-section { width: 100%; height: calc(60vh - var(--topbar-total) - 89px); }
  .zemro-hero-title { font-size: 32px; margin-bottom: 8px; }
  .hero-caption-sub { font-size: 17px; line-height: 1.5; margin-bottom: 12px; padding: 0px 10px; }
  .hero-caption-btn { padding: 15px 22px; font-size: 15px; gap: 5px; }
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .product-wrap { padding: 0 0 24px; }
  .trust-row .container-fluid.px-5 { padding-left: 12px !important; padding-right: 12px !important; }
  .trust-item { font-size: 11.5px; gap: 6px; justify-content: flex-start; padding: 4px 0; }
  .trust-item .bi { font-size: 18px; flex-shrink: 0; }
  .explore-section .container-fluid.px-5, .products-section .container-fluid.px-5 { padding-left: 12px !important; padding-right: 12px !important; }
}

@media (max-width: 360px) {
  .promo-bar { font-size: 11px; padding: 6px 10px; line-height: 1.4; }
  .site-header { padding: 0 10px; height: 52px; gap: 8px; }
  .logo-img { height: 30px !important; }
  .hero-section { height: calc(100vh - var(--topbar-total) - 70px); }
  .hero-section .carousel-caption { width: 80%; max-width: 80%; }
  .zemro-hero-title { font-size: 13px; }
  .hero-caption-sub { display: none; }
  .trust-row .container-fluid.px-5 { padding-left: 8px !important; padding-right: 8px !important; }
  .trust-row .row { row-gap: 2px !important; }
  .trust-item { font-size: 11px; gap: 5px; justify-content: flex-start; }
  .trust-item .bi { font-size: 16px; }
  .cat-icon { width: 58px; height: 58px; font-size: 22px; }
  .cat-item { min-width: 72px; gap: 7px; }
  .cat-label { font-size: 11px; }
  .explore-section .container-fluid.px-5, .products-section .container-fluid.px-5 { padding-left: 10px !important; padding-right: 10px !important; }
  .explore-section h2, .sec-head h2 { font-size: 17px; }
  ul.products { gap: 6px !important; }
  .pc-img { padding: 10px 10px 8px; min-height: 120px; }
  .pc-img img, .pc-img .woo-img { max-height: 90px; }
  .pc-info { padding: 8px 10px 6px; }
  .pc-tag { font-size: 9px; }
  .pc-name { font-size: 12px; min-height: 34px; margin-bottom: 6px; }
  .pn { font-size: 14px; }
  .po { font-size: 10.5px; }
  .pd { font-size: 9px; padding: 1px 5px; }
  .pc-footer { padding: 6px 10px 10px; }
  .pc-cart-btn { padding: 7px 0; font-size: 11.5px; }
  .site-footer { padding: 28px 14px 0; }
  .footer-bottom { margin: 0 -14px; padding: 12px 14px; }
  .footer-bottom p { font-size: 11px; }
}

@media (max-width: 320px) {
  .promo-bar { font-size: 10px; padding: 5px 8px; }
  .site-header { padding: 0 8px; height: 48px; }
  .logo-img { height: 26px !important; }
  .trust-row .container-fluid.px-5 { padding-left: 6px !important; padding-right: 6px !important; }
  .trust-item { font-size: 10.5px; gap: 4px; }
  .trust-item .bi { font-size: 15px; }
  .explore-section .container-fluid.px-5, .products-section .container-fluid.px-5 { padding-left: 6px !important; padding-right: 6px !important; }
}


/* ════════════════════════════════════════════════════════
   CHECKOUT — SHOPIFY-STYLE BILLING FIELDS
════════════════════════════════════════════════════════ */

/* Hide default WooCommerce billing heading */
.woocommerce-billing-fields h3,
.woocommerce-billing-fields__field-wrapper > h3 {
    display: none !important;
}

/* Base reset for billing form rows */
.zemro-checkout-section .form-row {
    display: inline-block !important;
    vertical-align: top !important;
    float: none !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* ── Row 1: First name + Last name ── */
#billing_first_name_field {
    display: inline-block !important;
    width: 48% !important;
    margin-right: 4% !important;
    vertical-align: top !important;
}
#billing_last_name_field {
    display: inline-block !important;
    width: 48% !important;
    vertical-align: top !important;
}

/* ── Row 2: Phone + Email ── */
#billing_phone_field {
    display: inline-block !important;
    width: 48% !important;
    margin-right: 4% !important;
    vertical-align: top !important;
}
#billing_email_field {
    display: inline-block !important;
    width: 48% !important;
    vertical-align: top !important;
}

/* ── Row 3: Address 1 (full) ── */
#billing_address_1_field {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}
#billing_address_1_field input {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: none !important;
}

/* ── Row 4: Address 2 (full) ── */
#billing_address_2_field {
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
}
#billing_address_2_field input {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* ── Row 5: City + State + PIN Code ── */
#billing_city_field {
    display: inline-block !important;
    width: 30% !important;
    margin-right: 3% !important;
    vertical-align: top !important;
}
#billing_state_field {
    display: inline-block !important;
    width: 34% !important;
    margin-right: 3% !important;
    vertical-align: top !important;
}
#billing_postcode_field {
    display: inline-block !important;
    width: 30% !important;
    vertical-align: top !important;
}

/* City input */
#billing_city_field input {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    height: 44.33px !important;
}

/* State dropdown — native select */
#billing_state_field select {
    height: 44.33px !important;
    padding: 0 14px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    appearance: auto !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

/* State dropdown — Select2 override */
#billing_state_field .select2-container {
    height: 44.33px !important;
}
#billing_state_field .select2-container .select2-selection--single {
    height: 44.33px !important;
    padding: 12px 14px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
}
#billing_state_field .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    line-height: 24px !important;
    color: #333 !important;
}
#billing_state_field .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 8px !important;
}

/* PIN Code input */
#billing_postcode_field input {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    height: 44.33px !important;
}

/* Hide country */
#billing_country_field {
    display: none !important;
}

/* Hide billing labels (placeholder-only style) */
.woocommerce-billing-fields .form-row label {
    display: none !important;
}

/* Global checkout input styling */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    appearance: auto !important;
}

/* Checkbox fix */
.woocommerce-checkout .form-row input[type="checkbox"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    border-radius: 3px !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row input[type="checkbox"] + span,
.woocommerce-checkout .form-row input[type="checkbox"] + label {
    display: inline !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    color: #444 !important;
}

/* Focus states */
#billing_first_name_field input:focus,
#billing_last_name_field input:focus,
#billing_phone_field input:focus,
#billing_email_field input:focus,
#billing_address_1_field input:focus,
#billing_address_2_field input:focus,
#billing_city_field input:focus,
#billing_postcode_field input:focus,
#billing_state_field select:focus,
#billing_state_field .select2-container--focus .select2-selection--single {
    border-color: #222 !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05) !important;
}

/* Validation */
#billing_first_name_field.woocommerce-invalid input,
#billing_last_name_field.woocommerce-invalid input,
#billing_phone_field.woocommerce-invalid input,
#billing_email_field.woocommerce-invalid input,
#billing_address_1_field.woocommerce-invalid input,
#billing_address_2_field.woocommerce-invalid input,
#billing_city_field.woocommerce-invalid input,
#billing_postcode_field.woocommerce-invalid input,
#billing_state_field.woocommerce-invalid select,
#billing_state_field.woocommerce-invalid .select2-container .select2-selection--single {
    border-color: #dc3545 !important;
}

#billing_first_name_field.woocommerce-validated input,
#billing_last_name_field.woocommerce-validated input,
#billing_phone_field.woocommerce-validated input,
#billing_email_field.woocommerce-validated input,
#billing_address_1_field.woocommerce-validated input,
#billing_address_2_field.woocommerce-validated input,
#billing_city_field.woocommerce-validated input,
#billing_postcode_field.woocommerce-validated input,
#billing_state_field.woocommerce-validated select,
#billing_state_field.woocommerce-validated .select2-container .select2-selection--single {
    border-color: #28a745 !important;
}

/* Shipping fields — keep full width with visible labels */
.woocommerce-shipping-fields .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row {
    display: block !important;
    width: 100% !important;
}

.woocommerce-shipping-fields .form-row label,
.woocommerce-shipping-fields__field-wrapper .form-row label {
    display: block !important;
}

/* Ship to different address checkbox */
.woocommerce-shipping-fields #ship-to-different-address {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-shipping-fields #ship-to-different-address input[type="checkbox"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

/* Order notes textarea */
#order_comments_field {
    display: block !important;
    width: 100% !important;
}

#order_comments_field label {
    display: block !important;
}

#order_comments {
    width: 100% !important;
    min-height: 100px !important;
    padding: 14px 16px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    resize: vertical !important;
}

/* Additional Information — full width */
.zemro-card .form-row[id*="order_"] {
    display: block !important;
    width: 100% !important;
}

/* ══ BILLING CHECKBOX — left aligned with text ══ */
.woocommerce-billing-fields .form-row:has(input[type="checkbox"]) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
}


/* ════════════════════════════════════════════════════════
   SHIPPING FIELDS — mirror billing layout exactly
════════════════════════════════════════════════════════ */

/* Hide shipping labels */
.woocommerce-shipping-fields__field-wrapper .form-row label {
    display: none !important;
}

/* Shipping first name + last name side by side */
#shipping_first_name_field {
    display: inline-block !important;
    width: 48% !important;
    margin-right: 4% !important;
    vertical-align: top !important;
}
#shipping_last_name_field {
    display: inline-block !important;
    width: 48% !important;
    vertical-align: top !important;
}

/* Shipping address 1 — full width, connected top */
#shipping_address_1_field {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}
#shipping_address_1_field input {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: none !important;
}

/* Shipping address 2 — full width, connected bottom */
#shipping_address_2_field {
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
}
#shipping_address_2_field input {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Shipping city + state + postcode — 3 columns */
#shipping_city_field {
    display: inline-block !important;
    width: 30% !important;
    margin-right: 3% !important;
    vertical-align: top !important;
}
#shipping_state_field {
    display: inline-block !important;
    width: 34% !important;
    margin-right: 3% !important;
    vertical-align: top !important;
}
#shipping_postcode_field {
    display: inline-block !important;
    width: 30% !important;
    vertical-align: top !important;
}

/* Shipping field heights to match billing */
#shipping_city_field input {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    height: 44.33px !important;
}
#shipping_state_field select {
    height: 44.33px !important;
    padding: 0 14px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    appearance: auto !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}
#shipping_state_field .select2-container {
    height: 44.33px !important;
}
#shipping_state_field .select2-container .select2-selection--single {
    height: 44.33px !important;
    padding: 12px 14px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
}
#shipping_state_field .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    line-height: 24px !important;
    color: #333 !important;
}
#shipping_state_field .select2-container .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 8px !important;
}
#shipping_postcode_field input {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    height: 44.33px !important;
}

/* Hide shipping country */
#shipping_country_field {
    display: none !important;
}

/* Shipping focus states */
#shipping_first_name_field input:focus,
#shipping_last_name_field input:focus,
#shipping_address_1_field input:focus,
#shipping_address_2_field input:focus,
#shipping_city_field input:focus,
#shipping_postcode_field input:focus,
#shipping_state_field select:focus,
#shipping_state_field .select2-container--focus .select2-selection--single {
    border-color: #222 !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05) !important;
}

/* Shipping validation */
#shipping_first_name_field.woocommerce-invalid input,
#shipping_last_name_field.woocommerce-invalid input,
#shipping_address_1_field.woocommerce-invalid input,
#shipping_city_field.woocommerce-invalid input,
#shipping_postcode_field.woocommerce-invalid input,
#shipping_state_field.woocommerce-invalid select,
#shipping_state_field.woocommerce-invalid .select2-container .select2-selection--single {
    border-color: #dc3545 !important;
}
#shipping_first_name_field.woocommerce-validated input,
#shipping_last_name_field.woocommerce-validated input,
#shipping_address_1_field.woocommerce-validated input,
#shipping_city_field.woocommerce-validated input,
#shipping_postcode_field.woocommerce-validated input,
#shipping_state_field.woocommerce-validated select,
#shipping_state_field.woocommerce-validated .select2-container .select2-selection--single {
    border-color: #28a745 !important;
}


/* ══ Checkout mobile responsive — billing + shipping ══ */
@media (max-width: 600px) {
    #billing_first_name_field,
    #billing_last_name_field,
    #billing_phone_field,
    #billing_email_field,
    #billing_city_field,
    #billing_state_field,
    #billing_postcode_field,
    #shipping_first_name_field,
    #shipping_last_name_field,
    #shipping_city_field,
    #shipping_state_field,
    #shipping_postcode_field {
        width: 100% !important;
        margin-right: 0 !important;
        display: block !important;
    }
}

