/* =========================================================
   NORDIC CLEAN THEME — main.css
   Inspired by generiskapoteket.com — minimal, flat, Nordic
   ========================================================= */

:root {
  --theme-color: #79bb3e;
  --theme-color-light: #e7f6da;
  --theme-color-dark: #5a9a20;
  --text-color: #555555;
  --text-dark: #333333;
  --text-light: #888888;
  --border-color: #e6e3e9;
  --border-light: #f0eef3;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --footer-bg: #373737;
  --footer-text: #cccccc;
  --sidebar-width: 220px;
  --content-max: 1180px;
  --font: Arial, sans-serif;
  --font-size: 14px;
}

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

html { font-size: var(--font-size); scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--text-color);
  background: #f0f0f0;
  line-height: 1.43;
}

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

ul, ol { list-style: none; }

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

h1, h2, h3, h4, h5 { font-weight: bold; color: var(--text-dark); line-height: 1.3; }

/* ---- Outer Layout ---- */
.nc-outer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- HEADER ---- */
.nc-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: rgba(0,0,0,0.05) 0 2px 8px 0;
  padding: 12px 0;
}

.nc-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.nc-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nc-logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.nc-logo:hover { text-decoration: none; }

.nc-top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nc-top-nav a {
  font-size: 13px;
  color: var(--text-color);
  white-space: nowrap;
}

.nc-top-nav a:hover { text-decoration: underline; }

/* Cart icon in header */
.nc-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-color);
  padding: 4px 8px;
  border-radius: 3px;
  position: relative;
}

.nc-cart-btn:hover { background: var(--bg-light); }

.nc-cart-count {
  background: var(--theme-color);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile menu button */
.nc-mob-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ---- BODY LAYOUT: sidebar + content ---- */
.nc-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-height: calc(100vh - 120px);
  background: var(--bg-white);
  box-shadow: rgba(0,0,0,0.12) 0 22px 64px 0;
}

/* ---- SIDEBAR ---- */
.nc-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
  padding: 16px 0;
  min-height: 600px;
}

.nc-sidebar-logo {
  display: none; /* shown only on mobile overlay */
}

/* Category menu */
.nc-cat-menu { padding: 0; }

.nc-cat-item { border-bottom: 1px solid var(--border-light); }

.nc-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 9px 8px;
  font-weight: bold;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
}

.nc-cat-link:hover { color: var(--theme-color); text-decoration: none; }

.nc-cat-link.active { color: var(--theme-color); }

.nc-cat-arrow {
  font-size: 10px;
  color: var(--text-light);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nc-cat-item.open .nc-cat-arrow { transform: rotate(90deg); }

/* Product sub-menu */
.nc-prod-menu {
  display: none;
  padding: 2px 0 6px 0;
  background: var(--bg-white);
}

.nc-cat-item.open .nc-prod-menu { display: block; }

.nc-prod-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px 5px 16px;
  font-size: 13px;
  color: var(--text-color);
  text-decoration: none;
  line-height: 1.4;
}

.nc-prod-link:hover { color: var(--theme-color); text-decoration: none; }

.nc-prod-link.active { color: var(--theme-color); font-weight: bold; }

.nc-prod-price {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  margin-left: 6px;
  flex-shrink: 0;
}

/* Sidebar cart block */
.nc-sidebar-cart {
  margin: 16px 8px 0;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  font-size: 13px;
}

.nc-sidebar-cart-header {
  background: var(--theme-color);
  color: #fff;
  padding: 7px 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.nc-sidebar-cart-items { padding: 6px 10px; }

.nc-sidebar-cart-item {
  padding: 5px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
}

.nc-sidebar-cart-item:last-child { border-bottom: none; }

.nc-sidebar-cart-name { color: var(--text-color); font-size: 12px; flex: 1; }
.nc-sidebar-cart-price { font-size: 12px; font-weight: bold; color: var(--text-dark); white-space: nowrap; }

.nc-sidebar-cart-total {
  padding: 6px 10px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 13px;
}

.nc-sidebar-cart-btns {
  padding: 8px 10px;
  display: flex;
  gap: 6px;
}

.nc-sidebar-cart-btns a {
  flex: 1;
  text-align: center;
  padding: 5px 4px;
  font-size: 12px;
  text-decoration: none;
}

.nc-sidebar-cart-btns .btn-view { border: 1px solid var(--border-color); color: var(--text-color); }
.nc-sidebar-cart-btns .btn-view:hover { background: var(--bg-light); text-decoration: none; }
.nc-sidebar-cart-btns .btn-checkout { background: var(--theme-color); color: #fff; border: 1px solid var(--theme-color); }
.nc-sidebar-cart-btns .btn-checkout:hover { background: var(--theme-color-dark); text-decoration: none; }

/* Sidebar footer links */
.nc-sidebar-footer {
  padding: 16px 8px 8px;
  border-top: 1px solid var(--border-color);
  margin-top: 16px;
}

.nc-sidebar-footer a {
  display: block;
  padding: 3px 0;
  font-size: 12px;
  color: var(--text-light);
}

.nc-sidebar-footer a:hover { color: var(--theme-color); text-decoration: none; }

/* ---- MAIN CONTENT ---- */
.nc-content {
  flex: 1;
  min-width: 0;
  padding: 16px 0 16px 24px;
}

/* ---- BREADCRUMBS ---- */
.nc-breadcrumb {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nc-breadcrumb a { color: var(--text-light); text-decoration: none; }
.nc-breadcrumb a:hover { text-decoration: underline; color: var(--theme-color); }

.nc-breadcrumb-sep { color: #bbb; font-size: 11px; }

.nc-breadcrumb-current { color: var(--text-color); }

/* ---- PAGE H1 ---- */
.nc-page-h1 {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nc-h1-accent {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--theme-color);
  flex-shrink: 0;
}

/* ---- HOME PAGE ---- */
.nc-home-banner {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  margin-bottom: 20px;
}

.nc-home-intro { margin-bottom: 20px; font-size: 14px; line-height: 1.6; }

.nc-home-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.nc-home-cat-card {
  border: 1px solid var(--border-color);
  text-align: center;
  overflow: hidden;
}

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

.nc-home-cat-card-title {
  font-size: 14px;
  font-weight: bold;
  padding: 8px;
  color: var(--text-dark);
}

.nc-home-cat-card-btn {
  display: block;
  background: var(--footer-bg);
  color: #fff;
  padding: 8px;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}

.nc-home-cat-card-btn:hover { background: #222; text-decoration: none; color: #fff; }

.nc-seo-content {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.nc-seo-content h2 { font-size: 17px; margin: 20px 0 8px; }
.nc-seo-content h3 { font-size: 15px; margin: 16px 0 6px; }
.nc-seo-content p { margin-bottom: 12px; }
.nc-seo-content ul, .nc-seo-content ol { margin: 8px 0 12px 20px; list-style: disc; }
.nc-seo-content li { margin-bottom: 4px; }
.nc-seo-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.nc-seo-content table th, .nc-seo-content table td { border: 1px solid var(--border-color); padding: 7px 10px; font-size: 13px; }
.nc-seo-content table th { background: var(--theme-color-light); font-weight: bold; }

/* ---- CATEGORY PAGE ---- */
.nc-cat-header { margin-bottom: 16px; }
.nc-cat-desc { margin-bottom: 20px; font-size: 14px; line-height: 1.6; }

.nc-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.nc-product-card {
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.nc-product-card:hover { border-color: var(--theme-color); }

.nc-product-card-img {
  padding: 12px;
  text-align: center;
  background: var(--bg-white);
}

.nc-product-card-img img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto;
}

.nc-product-card-body {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nc-product-card-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.4;
}

.nc-product-card-title a { color: var(--text-dark); text-decoration: none; }
.nc-product-card-title a:hover { color: var(--theme-color); text-decoration: none; }

.nc-product-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
}

.nc-product-card-rating .stars span { color: #e0e0e0; font-size: 12px; }
.nc-product-card-rating .stars span.filled { color: var(--theme-color); }
.nc-product-card-rating .count { color: var(--text-light); }

.nc-product-card-price {
  font-size: 12px;
  color: var(--text-color);
  margin-top: auto;
}

.nc-product-card-price strong { color: var(--text-dark); }

.nc-product-card-btn {
  display: block;
  background: var(--theme-color);
  color: #fff;
  text-align: center;
  padding: 7px 10px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.15s;
  margin-top: auto;
}

.nc-product-card-btn:hover { background: var(--theme-color-dark); text-decoration: none; color: #fff; }

/* ---- PRODUCT PAGE ---- */
.nc-product-top {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.nc-product-img-col {
  flex-shrink: 0;
  width: 220px;
}

.nc-product-img-col img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.nc-product-info-col { flex: 1; min-width: 0; }

.nc-product-short-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

/* Dosage tabs */
.nc-dosage-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.nc-dosage-tab {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-color);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-bottom: none;
  cursor: pointer;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

.nc-dosage-tab:hover { color: var(--text-dark); background: var(--bg-light); }

.nc-dosage-tab.active {
  color: var(--text-dark);
  border-color: var(--border-color);
  border-bottom: 1px solid var(--bg-white);
  background: var(--bg-white);
  font-weight: bold;
}

/* Price table */
.nc-tab-pane { display: none; }
.nc-tab-pane.active { display: block; }

.nc-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--border-color);
}

.nc-price-table thead tr {
  background: var(--theme-color-light);
}

.nc-price-table th {
  padding: 9px 12px;
  text-align: left;
  font-weight: bold;
  font-size: 13px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.nc-price-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.nc-price-table tr:last-child td { border-bottom: none; }
.nc-price-table tr:hover td { background: var(--theme-color-light); }

.nc-price-table .col-bestill { text-align: right; width: 60px; }

/* Add to cart button — green cart icon */
.nc-add-cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--theme-color);
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 2px;
  transition: opacity 0.15s;
}

.nc-add-cart-btn:hover { opacity: 0.75; }
.nc-add-cart-btn.added { background: var(--theme-color); color: #fff; border-radius: 3px; }
.nc-add-cart-btn.added svg { stroke: #fff; }

/* Product page tabs (Description / Reviews) */
.nc-product-tabs-header {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin: 24px 0 0;
}

.nc-product-tab-btn {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-color);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--font);
}

.nc-product-tab-btn:hover { color: var(--text-dark); }

.nc-product-tab-btn.active {
  color: var(--text-dark);
  border-bottom-color: var(--theme-color);
  font-weight: bold;
}

.nc-product-tab-content { padding: 20px 0; }
.nc-product-tab-pane { display: none; }
.nc-product-tab-pane.active { display: block; }

/* Product description content */
.nc-product-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.nc-product-desc h2 { font-size: 17px; margin: 20px 0 8px; }
.nc-product-desc h3 { font-size: 15px; margin: 16px 0 6px; }
.nc-product-desc p { margin-bottom: 12px; }
.nc-product-desc ul, .nc-product-desc ol { margin: 8px 0 12px 20px; list-style: disc; }
.nc-product-desc li { margin-bottom: 4px; }

/* Rating bar on product page */
.nc-product-rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.nc-stars { display: flex; gap: 2px; }

.nc-stars span { font-size: 16px; color: #ddd; }
.nc-stars span.filled { color: var(--theme-color); }

.nc-rating-count { font-size: 13px; color: var(--text-light); }
.nc-rating-count a { color: var(--text-light); text-decoration: underline; }

/* Reviews */
.nc-reviews-list { margin-top: 16px; }

.nc-review-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.nc-review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 12px;
}

.nc-review-author { font-weight: bold; color: var(--text-dark); }
.nc-review-date { color: var(--text-light); }
.nc-review-text { font-size: 13px; line-height: 1.6; }

.nc-review-form { margin-top: 20px; }
.nc-review-form h3 { font-size: 15px; margin-bottom: 12px; }

.nc-star-selector {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.nc-star-selector span {
  font-size: 22px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.1s;
}

.nc-star-selector span.active { color: var(--theme-color); }

.nc-review-form input,
.nc-review-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 8px;
  outline: none;
}

.nc-review-form input:focus,
.nc-review-form textarea:focus { border-color: var(--theme-color); }

.nc-review-form textarea { resize: vertical; min-height: 80px; }

/* ---- BUTTONS ---- */
.nc-btn {
  display: inline-block;
  padding: 9px 20px;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}

.nc-btn-primary { background: var(--theme-color); color: #fff; }
.nc-btn-primary:hover { background: var(--theme-color-dark); color: #fff; text-decoration: none; }

.nc-btn-dark { background: var(--footer-bg); color: #fff; }
.nc-btn-dark:hover { background: #222; color: #fff; text-decoration: none; }

.nc-btn-outline { background: #fff; color: var(--text-color); border: 1px solid var(--border-color); }
.nc-btn-outline:hover { background: var(--bg-light); text-decoration: none; }

/* ---- CART PAGE ---- */
.nc-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}

.nc-cart-table th {
  background: var(--theme-color-light);
  padding: 9px 12px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
}

.nc-cart-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.nc-cart-table .col-img img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nc-qty-input {
  width: 50px;
  padding: 4px 6px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 13px;
}

.nc-remove-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  line-height: 1;
}

.nc-remove-btn:hover { color: #c00; }

.nc-cart-totals {
  max-width: 300px;
  margin-left: auto;
}

.nc-cart-total-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.nc-cart-total-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 15px;
}

/* Coupon section */
.nc-coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.nc-coupon-row input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  outline: none;
}

.nc-coupon-row input:focus { border-color: var(--theme-color); }

/* ---- CHECKOUT ---- */
.nc-checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  font-size: 13px;
}

.nc-checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.nc-checkout-step.active { color: var(--text-dark); font-weight: bold; }
.nc-checkout-step.done { color: var(--theme-color); }

.nc-checkout-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.nc-checkout-step.active .nc-checkout-step-num { border-color: var(--theme-color); color: var(--theme-color); }
.nc-checkout-step.done .nc-checkout-step-num { border-color: var(--theme-color); background: var(--theme-color); color: #fff; }

.nc-checkout-step-sep { width: 40px; height: 1px; background: var(--border-color); flex-shrink: 0; }

.nc-checkout-form-group { margin-bottom: 14px; }

.nc-checkout-form-group label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.nc-checkout-form-group input,
.nc-checkout-form-group select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-family: var(--font);
  color: var(--text-dark);
  outline: none;
  background: #fff;
}

.nc-checkout-form-group input:focus,
.nc-checkout-form-group select:focus { border-color: var(--theme-color); }

.nc-checkout-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nc-checkout-section-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

/* Payment options */
.nc-payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  cursor: pointer;
}

.nc-payment-option:hover { border-color: var(--theme-color); }
.nc-payment-option.selected { border-color: var(--theme-color); background: var(--theme-color-light); }

.nc-payment-option input[type=radio] { margin: 0; }

/* ---- STATIC PAGES (FAQ, About, etc.) ---- */
.nc-static-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 820px;
}

.nc-static-content h2 { font-size: 18px; margin: 22px 0 10px; color: var(--text-dark); }
.nc-static-content h3 { font-size: 16px; margin: 18px 0 8px; }
.nc-static-content p { margin-bottom: 14px; }
.nc-static-content ul, .nc-static-content ol { margin: 8px 0 14px 22px; list-style: disc; }
.nc-static-content li { margin-bottom: 6px; }

/* FAQ accordion */
.nc-faq-item {
  border-bottom: 1px solid var(--border-color);
}

.nc-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 13px 32px 13px 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  display: block;
}

.nc-faq-question::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--theme-color);
  font-weight: normal;
}

.nc-faq-item.open .nc-faq-question::after { content: '−'; }

.nc-faq-answer {
  display: none;
  padding: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-color);
}

.nc-faq-item.open .nc-faq-answer { display: block; }

/* ---- SEARCH PAGE ---- */
.nc-search-results { margin-top: 16px; }

.nc-search-result-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.nc-search-result-img {
  width: 70px;
  flex-shrink: 0;
}

.nc-search-result-img img {
  width: 70px;
  height: 60px;
  object-fit: contain;
}

.nc-search-result-info { flex: 1; }

.nc-search-result-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.nc-search-result-title a { color: var(--text-dark); }
.nc-search-result-title a:hover { color: var(--theme-color); text-decoration: none; }

.nc-search-result-price { font-size: 13px; color: var(--text-color); }

/* Search autocomplete */
.nc-search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-top: none;
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.nc-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-dark);
}

.nc-ac-item:hover { background: var(--bg-light); text-decoration: none; }
.nc-ac-item:last-child { border-bottom: none; }

.nc-ac-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.nc-ac-title { font-size: 13px; font-weight: bold; flex: 1; }
.nc-ac-price { font-size: 12px; color: var(--text-light); white-space: nowrap; }

/* Header search */
.nc-search-wrap {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.nc-search-form {
  display: flex;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.nc-search-input {
  flex: 1;
  padding: 7px 10px;
  border: none;
  font-size: 13px;
  font-family: var(--font);
  color: var(--text-dark);
  outline: none;
  background: #fff;
}

.nc-search-btn {
  background: var(--theme-color);
  border: none;
  cursor: pointer;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.15s;
}

.nc-search-btn:hover { background: var(--theme-color-dark); }

/* ---- FOOTER ---- */
.nc-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  margin-top: 32px;
}

.nc-footer-cols {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nc-footer-col-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.nc-footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-color);
  padding: 3px 0;
  text-decoration: none;
}

.nc-footer-col a:hover { color: var(--theme-color); text-decoration: none; }

.nc-footer-bottom {
  background: var(--footer-bg);
  padding: 12px 16px;
}

.nc-footer-bottom-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nc-footer-copy {
  font-size: 12px;
  color: var(--footer-text);
}

.nc-footer-copy a { color: var(--footer-text); text-decoration: underline; }

.nc-footer-payments {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nc-payment-icon {
  display: inline-block;
  width: 40px;
  height: 26px;
  border-radius: 3px;
  background: #555;
  border: 1px solid #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.3px;
}

.nc-payment-icon.visa { background: #1a1f71; }
.nc-payment-icon.mc { background: #eb001b; }
.nc-payment-icon.amex { background: #007bc1; }

/* Subscribe form in footer */
.nc-footer-subscribe-form {
  display: flex;
  gap: 0;
  margin-top: 8px;
}

.nc-footer-subscribe-form input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #555;
  background: #444;
  color: #eee;
  font-size: 12px;
  outline: none;
}

.nc-footer-subscribe-form button {
  padding: 7px 12px;
  background: var(--theme-color);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

/* ---- MESSAGES / ALERTS ---- */
.nc-alert {
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  border-left: 3px solid;
}

.nc-alert-success { background: var(--theme-color-light); border-color: var(--theme-color); color: var(--text-dark); }
.nc-alert-error { background: #fdf2f2; border-color: #c0392b; color: #c0392b; }
.nc-alert-info { background: #f0f4ff; border-color: #486b9b; color: #486b9b; }

/* ---- BACK TO TOP ---- */
.nc-back-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--theme-color);
  color: #fff;
  border-radius: 2px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  text-decoration: none;
  border: none;
}

.nc-back-top.visible { display: flex; }
.nc-back-top:hover { background: var(--theme-color-dark); text-decoration: none; color: #fff; }

/* ---- FLOATING CART (mobile) ---- */
.nc-floating-cart {
  position: fixed;
  bottom: 70px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--theme-color);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nc-floating-cart.has-items { display: flex; }
.nc-floating-cart:hover { background: var(--theme-color-dark); text-decoration: none; }

.nc-floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ---- MOBILE SIDEBAR OVERLAY ---- */
.nc-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 90;
  display: none;
}

.nc-sidebar-overlay.open { display: block; }

/* ---- MISC ---- */
.nc-empty-msg {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

.nc-empty-msg a { color: var(--theme-color); text-decoration: underline; }

.nc-related-products { margin-top: 32px; }
.nc-related-title { font-size: 16px; font-weight: bold; margin-bottom: 14px; color: var(--text-dark); }

/* Thank you page */
.nc-thankyou {
  text-align: center;
  padding: 40px 20px;
  max-width: 520px;
  margin: 0 auto;
}

.nc-thankyou-icon { font-size: 48px; margin-bottom: 16px; color: var(--theme-color); }
.nc-thankyou h1 { font-size: 24px; margin-bottom: 12px; }
.nc-thankyou p { font-size: 14px; color: var(--text-color); margin-bottom: 20px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nc-home-categories { grid-template-columns: repeat(2, 1fr); }
  .nc-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .nc-checkout-cols { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --sidebar-width: 240px; }

  .nc-mob-menu-btn { display: flex; }

  .nc-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100%;
    background: #fff;
    z-index: 95;
    overflow-y: auto;
    padding-top: 12px;
    transition: left 0.25s ease;
    border-right: 1px solid var(--border-color);
  }

  .nc-sidebar.open { left: 0; }

  .nc-sidebar-logo { display: block; padding: 8px 12px 12px; border-bottom: 1px solid var(--border-color); margin-bottom: 8px; }
  .nc-sidebar-logo-text { font-size: 16px; font-weight: bold; color: var(--text-dark); }

  .nc-layout { padding: 0 12px; }
  .nc-content { padding: 12px 0; }

  .nc-product-top { flex-direction: column; }
  .nc-product-img-col { width: 100%; max-width: 200px; }

  .nc-search-wrap { max-width: none; }

  .nc-top-nav { display: none; }

  .nc-home-categories { grid-template-columns: 1fr; }

  .nc-footer-cols { grid-template-columns: 1fr; }

  .nc-checkout-steps { gap: 4px; }
  .nc-checkout-step-sep { width: 20px; }

  /* Add to cart button text on mobile */
  .nc-add-cart-btn-text { display: none; }
}

@media (max-width: 480px) {
  .nc-header-inner { gap: 8px; }
  .nc-logo-text { font-size: 16px; }

  .nc-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .nc-price-table th, .nc-price-table td { padding: 7px 8px; font-size: 12px; }

  .nc-footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
