/* Medion — Health & Medical ecommerce look (template-matched, lightweight) */
:root {
  --teal: #03a297;
  --teal-soft: #0ecfe0;
  --pink: #ff6b9d;
  --navy: #023350;
  --muted: #757f95;
  --border: #e8eef5;
  --hero-bg: #e8f9fb;
  --font: Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--muted);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 { color: var(--navy); font-weight: 900; letter-spacing: -0.02em; margin: 0; }
.container { width: min(1200px, calc(100% - 2rem)); margin-inline: auto; }
.main { min-height: 40vh; }

.theme-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--teal); color: #fff; border: 0; border-radius: 8px;
  padding: 0.85rem 1.45rem; font-weight: 700; font-family: inherit; cursor: pointer;
}
.theme-btn:hover { filter: brightness(0.95); color: #fff; }
.theme-btn2 { background: var(--pink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: 0; border-radius: 8px; padding: 0.75rem 1.25rem; font-weight: 700; font-family: inherit; cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.88rem; }

/* ===== Header ===== */
.header { background: #fff; position: relative; z-index: 50; }
.header-top { background: #f7fbfd; border-bottom: 1px solid var(--border); font-size: 0.84rem; }
.header-top-wrapper {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 42px; gap: 1rem; flex-wrap: wrap;
}
.header-top-list { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.header-top-list a, .header-top-list span { color: var(--navy); display: inline-flex; align-items: center; gap: 0.35rem; }
.header-top-list i { color: var(--teal); }
.header-top .social { display: inline-flex; align-items: center; gap: 0.55rem; }
.header-top .social a { color: var(--navy); }
.header-top .social a:hover { color: var(--teal); }

.header-middle { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.header-middle-row { display: flex; align-items: center; gap: 1rem; }
.navbar-brand {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--teal); font-size: 1.75rem; font-weight: 900; text-transform: lowercase; flex-shrink: 0;
}
.brand-mark { display: inline-flex; line-height: 0; }
.header-middle-search { flex: 1; max-width: 560px; margin-inline: auto; }
.search-content {
  display: flex; align-items: stretch; border: 1px solid var(--border);
  border-radius: 999px; overflow: hidden; background: #f8fbfd;
}
.search-content .select {
  border: 0; background: transparent; padding: 0 0.85rem;
  max-width: 150px; color: var(--navy); font: inherit; outline: none;
  border-right: 1px solid var(--border);
}
.search-content .form-control {
  flex: 1; border: 0; background: transparent; padding: 0.8rem 1rem; font: inherit; outline: none; min-width: 0;
}
.search-btn {
  width: 52px; border: 0; background: var(--teal); color: #fff; cursor: pointer; font-size: 1rem;
}

.header-middle-list { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.list-item {
  display: flex; align-items: center; gap: 0.55rem; color: inherit; padding: 0.35rem 0.5rem; border-radius: 10px;
}
.list-item-icon {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: #f0faf9; color: var(--navy); display: grid; place-items: center; font-size: 1.15rem;
}
.list-item-icon span {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  background: var(--pink); color: #fff; border-radius: 50%; font-size: 0.65rem;
  display: grid; place-items: center; font-weight: 700;
}
.list-item-info h6 { margin: 0; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.list-item-info h5 { margin: 0; font-size: 0.92rem; font-weight: 800; color: var(--navy); }
.dropdown-cart { position: relative; }
.dropdown-cart-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 320px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(2,51,80,0.12); padding: 1rem; display: none; z-index: 60;
}
.dropdown-cart:hover .dropdown-cart-menu { display: block; }
.dropdown-cart-header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-weight: 700; color: var(--navy); }
.dropdown-cart-item { display: grid; grid-template-columns: 56px 1fr; gap: 0.75rem; align-items: center; padding: 0.55rem 0; border-top: 1px solid var(--border); }
.cart-img img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #f3f8fa; }
.cart-info h4 { font-size: 0.88rem; margin: 0 0 0.2rem; }
.cart-info h4 a { color: var(--navy); }
.cart-qty { margin: 0; font-size: 0.82rem; }
.dropdown-cart-bottom { margin-top: 0.75rem; display: grid; gap: 0.75rem; }
.dropdown-cart-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--navy); }
.dropdown-cart-empty { margin: 0.5rem 0 0; text-align: center; }
.mobile-only { display: none; }
.navbar-toggler {
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; display: grid; gap: 5px; place-content: center; cursor: pointer;
}
.navbar-toggler span { display: block; width: 18px; height: 2px; background: var(--navy); }

.main-navigation { background: #fff; border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 1rem; min-height: 58px; }
.category-all { position: relative; flex-shrink: 0; }
.category-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--teal); color: #fff; border: 0; border-radius: 8px;
  padding: 0.75rem 1.1rem; font-weight: 700; font-family: inherit; cursor: pointer;
}
.main-category {
  position: absolute; left: 0; top: calc(100% + 6px); width: 280px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 36px rgba(2,51,80,0.1); padding: 0.5rem 0; display: none; z-index: 55;
}
.main-category.is-open, .category-all:hover .main-category { display: block; }
.main-category a {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem; color: var(--navy); font-weight: 500;
}
.main-category a:hover { background: #f0faf9; color: var(--teal); }
.main-category i { width: 18px; color: var(--teal); text-align: center; }
.navbar-nav { display: flex; align-items: center; gap: 1.35rem; flex: 1; flex-wrap: wrap; }
.navbar-nav .nav-link { color: var(--navy); font-weight: 600; padding: 0.5rem 0; }
.navbar-nav .nav-link.is-active,
.navbar-nav .nav-link:hover { color: var(--teal); }
.nav-right { display: flex; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.nav-right-link { color: var(--navy); font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-right-link i { color: var(--teal); }

/* ===== Hero ===== */
.hero-section { padding: 1.5rem 0 0; }
.hero-single {
  background: var(--hero-bg); border-radius: 18px; padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
}
.hero-sub-title {
  display: inline-block; background: var(--teal); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 0.4rem 0.9rem; border-radius: 4px 12px 12px 4px; margin-bottom: 1rem; text-transform: uppercase;
}
.hero-title { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; margin-bottom: 0.9rem; max-width: 14ch; }
.hero-title span { color: var(--teal-soft); }
.hero-content p { margin: 0 0 1.4rem; max-width: 46ch; }
.hero-btn { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-right { position: relative; text-align: center; }
.hero-img { position: relative; display: inline-block; }
.hero-img img { max-height: 360px; margin: 0 auto; object-fit: contain; position: relative; z-index: 1; }
.hero-img::before {
  content: ""; position: absolute; inset: 8% 10%; background: rgba(3,162,151,0.22);
  border-radius: 50%; z-index: 0;
}
.hero-img-price {
  position: absolute; right: 4%; top: 8%; z-index: 2;
  width: 90px; height: 90px; border-radius: 50%; border: 2px dashed var(--pink);
  background: #ffe8ef; color: var(--navy); display: grid; place-items: center; text-align: center;
  font-size: 0.78rem; font-weight: 800; line-height: 1.2;
}

/* ===== Sections ===== */
.section, .category-area, .product-area, .feature-area, .product-list, .deal-area, .newsletter-area { padding: 3.5rem 0; }
.section-alt { background: #f8fbfd; }
.site-heading-inline {
  display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.5rem; gap: 1rem;
}
.site-title { font-size: 1.7rem; }
.site-heading-inline a { color: var(--teal); font-weight: 700; }

.category-slider {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.category-item a { color: inherit; }
.category-info {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem;
  display: flex; align-items: center; gap: 0.9rem; transition: 0.2s;
}
.category-item a:hover .category-info { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(3,162,151,0.12); }
.category-info .icon {
  width: 56px; height: 56px; border-radius: 16px; background: rgba(3,162,151,0.12);
  color: var(--teal); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0;
}
.category-info h4 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.category-info p { margin: 0; font-size: 0.88rem; }

.small-banner { padding: 0 0 3.5rem; }
.banner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.banner-item {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 170px;
  padding: 1.5rem; display: flex; align-items: end;
  background: linear-gradient(135deg, #d9f7f4, #eefcfb);
}
.banner-item.b2 { background: linear-gradient(135deg, #023350, #03a297); color: #fff; }
.banner-item.b2 h3, .banner-item.b2 p, .banner-item.b2 a { color: #fff; }
.banner-item.b3 { background: linear-gradient(135deg, #ffe4ec, #fff0f5); }
.banner-content p { margin: 0 0 0.35rem; font-weight: 700; font-size: 0.85rem; color: var(--teal); }
.banner-item.b2 .banner-content p { color: #9fe8e2; }
.banner-content h3 { font-size: 1.35rem; margin-bottom: 0.55rem; line-height: 1.25; }
.banner-content h3 span { color: var(--pink); }
.banner-content a { font-weight: 800; color: var(--navy); }

.product-wrap .product-grid,
.item-2 .product-grid,
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
}
.product-item {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: 0.2s;
}
.product-item:hover { box-shadow: 0 14px 30px rgba(2,51,80,0.08); }
.product-img { position: relative; aspect-ratio: 1; background: #f3f8fa; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .type {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.55rem; border-radius: 6px;
}
.type.new { background: var(--teal); }
.type.hot { background: #ff7a00; }
.type.oos { background: #e74c3c; }
.type.discount { background: var(--pink); }
.product-action-wrap {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(2,51,80,0.35); opacity: 0; transition: 0.2s; z-index: 1;
}
.product-item:hover .product-action-wrap { opacity: 1; }
.product-action { display: flex; gap: 0.45rem; }
.product-action a {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center;
}
.product-action a:hover { background: var(--teal); color: #fff; }
.product-content { padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-title { font-size: 1rem; }
.product-title a { color: var(--navy); }
.product-rate { color: #f5b301; font-size: 0.82rem; display: flex; gap: 0.15rem; }
.product-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 0.45rem; }
.product-price { color: var(--teal); font-weight: 800; }
.product-price del { color: var(--muted); font-weight: 500; margin-right: 0.35rem; }
.product-cart-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: #f8fbfd; color: var(--navy); cursor: pointer;
}
.product-cart-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.product-cart-btn.is-disabled { opacity: 0.45; cursor: not-allowed; }
.product-cart-form { margin: 0; }

.feature-wrap {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item {
  display: flex; align-items: center; gap: 0.85rem; padding: 1.35rem 1.2rem;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: 0; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(3,162,151,0.12);
  color: var(--teal); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0;
}
.feature-content h4 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.feature-content p { margin: 0; font-size: 0.88rem; }

.popular-layout { display: grid; grid-template-columns: 1fr 260px; gap: 1.25rem; align-items: start; }
.item-tab .nav-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.item-tab .nav-link {
  border: 1px solid var(--border); background: #fff; color: var(--navy);
  border-radius: 999px; padding: 0.5rem 1rem; font-weight: 700; font-family: inherit; cursor: pointer;
}
.item-tab .nav-link.active, .item-tab .nav-link:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.product-banner {
  border-radius: 16px; overflow: hidden; min-height: 420px;
  background: linear-gradient(180deg, #023350, #03a297); color: #fff;
  padding: 2rem 1.25rem; display: flex; flex-direction: column; justify-content: end; gap: 0.5rem;
}
.product-banner h3 { color: #fff; font-size: 1.5rem; }
.product-banner p { margin: 0; color: #c9eef0; }
.product-banner a { color: #fff; font-weight: 800; }

.big-banner { padding: 0 0 3.5rem; }
.banner-wrap {
  border-radius: 18px; padding: 3.5rem 2rem; text-align: center;
  background: linear-gradient(120deg, rgba(2,51,80,0.92), rgba(3,162,151,0.88)),
    radial-gradient(circle at 20% 30%, #0ecfe0 0, transparent 40%);
  color: #fff;
}
.banner-wrap h6 { color: #9fe8e2; margin-bottom: 0.5rem; font-size: 0.95rem; }
.banner-wrap h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.4rem; }
.banner-wrap h2 span { color: #ffd166; }
.banner-wrap p { margin: 0 0 1.25rem; color: #d7eaf0; }
.banner-wrap .theme-btn { background: #fff; color: var(--teal); }

.product-list-box {
  border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; background: #fff; height: 100%;
}
.product-list-title { font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product-list-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.product-list-item:last-child { border-bottom: 0; }
.product-list-img img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #f3f8fa; }
.product-list-content h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.product-list-content h4 a { color: var(--navy); }
.product-list-rate { color: #f5b301; font-size: 0.75rem; margin-bottom: 0.2rem; }
.product-list-price { color: var(--teal); font-weight: 800; }
.product-list-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--navy);
}
.product-list-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.deal-area { background: #f4fbfc; position: relative; overflow: hidden; }
.deal-text-shape {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: clamp(6rem, 18vw, 14rem); font-weight: 900; color: rgba(3,162,151,0.08);
  pointer-events: none; line-height: 1; text-transform: uppercase;
}
.deal-wrap {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
}
.deal-info span { color: var(--teal); font-weight: 800; text-transform: uppercase; font-size: 0.85rem; }
.deal-info h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0.5rem 0 0.75rem; }
.deal-info p { margin: 0 0 1.25rem; max-width: 48ch; }
.deal-img { text-align: center; position: relative; }
.deal-img img { max-height: 300px; margin: 0 auto; object-fit: contain; }
.deal-discount {
  position: absolute; left: 8%; top: 8%; width: 78px; height: 78px; border-radius: 50%;
  background: var(--pink); color: #fff; display: grid; place-items: center; text-align: center;
  font-weight: 800; line-height: 1.1; font-size: 0.95rem;
}

.newsletter-wrap {
  border-radius: 18px; padding: 2.5rem 1.5rem; text-align: center;
  background: linear-gradient(120deg, #e8f9fb, #f0fffe); border: 1px solid var(--border);
}
.newsletter-content h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.newsletter-content h3 span { color: var(--pink); }
.newsletter-content p { margin: 0 0 1.25rem; }
.subscribe-form form { display: flex; gap: 0.5rem; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.subscribe-form input {
  flex: 1; min-width: 220px; border: 1px solid var(--border); border-radius: 8px;
  padding: 0.85rem 1rem; font: inherit;
}

/* ===== Inner pages ===== */
.page-hero { padding: 2rem 0 1rem; }
.page-hero h1 { margin: 0 0 0.35rem; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; }
.shop-sidebar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; }
.shop-sidebar h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.cat-list a { display: flex; justify-content: space-between; padding: 0.45rem 0; color: var(--muted); }
.cat-list a.is-active { color: var(--teal); font-weight: 700; }
.search-form { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.search-form input, .contact-form input, .contact-form textarea, .qty-wrap input, .footer-subscribe input {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.8rem; font: inherit;
}
.result-count { margin: 0 0 1rem; font-weight: 600; color: var(--navy); }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.product-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #f3f8fa; border: 1px solid var(--border); }
.thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; flex-wrap: wrap; }
.thumb { border: 1px solid var(--border); border-radius: 10px; width: 72px; height: 72px; padding: 0; overflow: hidden; cursor: pointer; background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-meta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin-bottom: 1rem; }
.price { color: var(--teal); font-weight: 800; font-size: 1.35rem; }
.stock.in { color: var(--teal); font-weight: 700; }
.stock.out { color: #e74c3c; font-weight: 700; }
.feature-list { padding-left: 1.1rem; }
.add-form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin: 1.25rem 0; }
.qty-wrap { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-wrap button { border: 0; background: #f5fafb; width: 38px; height: 38px; cursor: pointer; }
.qty-wrap input { width: 52px; border: 0; text-align: center; border-radius: 0; padding: 0.4rem 0; }
.sku { font-size: 0.85rem; }
.prose { max-width: 70ch; }

.cart-table { display: flex; flex-direction: column; gap: 1rem; }
.cart-row {
  display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 1rem; align-items: center;
  border: 1px solid var(--border); border-radius: 14px; padding: 0.85rem; background: #fff;
}
.cart-img img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; background: #f3f8fa; }
.cart-info h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.cart-info a { color: var(--navy); }
.cart-actions { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; align-items: center; }
.cart-summary { text-align: right; }
.link-btn { background: none; border: 0; color: #e74c3c; cursor: pointer; font: inherit; text-decoration: underline; }
.empty-cart, .empty { text-align: center; padding: 2rem; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.contact-form { display: grid; gap: 0.9rem; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 700; color: var(--navy); }
.flash { margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: 12px; font-weight: 600; }
.flash-success { background: #e5f8f5; color: #03665f; }
.flash-error { background: #fdeceb; color: #8f1f16; }

/* ===== Footer ===== */
.footer-area { background: #023350; color: #c9d7e2; margin-top: 2rem; }
.footer-widget { padding: 3.5rem 0 2rem; }
.footer-widget-wrapper {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.2fr; gap: 1.5rem;
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: #fff; font-size: 1.5rem; font-weight: 900; text-transform: lowercase; margin-bottom: 0.85rem;
}
.footer-widget-box p { margin: 0 0 1rem; }
.footer-contact li { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.45rem 0; }
.footer-contact a { color: #c9d7e2; }
.footer-contact i { color: var(--teal-soft); margin-top: 0.2rem; }
.footer-widget-title { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-list a { display: block; color: #c9d7e2; margin: 0.4rem 0; }
.footer-list a:hover { color: var(--teal-soft); }
.footer-subscribe { display: grid; gap: 0.55rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); }
.copyright-wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; flex-wrap: wrap;
}
.copyright-text { margin: 0; }
.copyright-text a { color: var(--teal-soft); }
.footer-social { display: flex; align-items: center; gap: 0.65rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  color: #fff; display: grid; place-items: center;
}
.footer-social a:hover { background: var(--teal); }

#scroll-top {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(3,162,151,0.35); opacity: 0; pointer-events: none; transition: 0.2s; z-index: 80;
}
#scroll-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) {
  .popular-layout { grid-template-columns: 1fr; }
  .product-banner { min-height: 180px; }
  .footer-widget-wrapper { grid-template-columns: 1fr 1fr; }
  .nav-right { display: none; }
}
@media (max-width: 980px) {
  .hero-single, .deal-wrap, .product-layout, .shop-layout, .contact-layout { grid-template-columns: 1fr; }
  .product-grid, .banner-grid, .product-list-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .category-slider { grid-template-columns: repeat(2, 1fr); }
  .header-middle-search, .d-none-md { display: none; }
  .list-item-info { display: none; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .mobile-only { display: list-item; }
  .header-top-right .social, .help { display: none; }
  .navbar-nav {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 100%;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    flex-direction: column; align-items: stretch; padding: 0.75rem; gap: 0;
    box-shadow: 0 16px 30px rgba(2,51,80,0.1); z-index: 70;
  }
  .main-navigation { position: relative; }
  .navbar-nav.is-open { display: flex; }
  .navbar-nav .nav-link { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--border); }
  .product-grid, .banner-grid, .product-list-grid, .feature-grid, .category-slider, .footer-widget-wrapper {
    grid-template-columns: 1fr;
  }
  .cart-row { grid-template-columns: 72px 1fr; }
  .dropdown-cart:hover .dropdown-cart-menu { display: none; }
}
