.store-shell {
  --store-shell-bg: #ffffff;
  --store-shell-border: rgba(15, 23, 42, 0.08);
  --store-shell-text: #0f172a;
  --store-shell-muted: #475569;
  --store-shell-accent: #0f766e;
  --store-shell-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --store-shell-radius: 14px;
}

/* Header */
.store-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--store-shell-border);
}

.store-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.store-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.store-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.store-brand__text {
  display: none;
  color: var(--store-shell-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 992px) {
  .store-brand__text {
    display: inline;
  }
}

.store-search,
.store-search__box,
.store-search__input {
  display: none !important;
}

.store-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.store-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--store-shell-border);
  background: #fff;
  color: var(--store-shell-text);
  padding: 6px 9px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  box-shadow: none;
}

.store-action:hover {
  background: #f8fafc;
  color: var(--store-shell-text);
}

.store-action--primary {
  border-color: rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}

.store-actions i {
  font-size: 13px;
}

.store-action--primary:hover {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.store-action__label {
  display: none;
}

@media (min-width: 1200px) {
  .store-action__label {
    display: inline;
  }
}

/* Hide legacy nav list but keep for mobile menu JS if needed */
.header-style6 #nav {
  display: none !important;
}

/* Footer */
.store-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.88);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.store-footer__top {
  padding: 42px 0 24px;
}

.store-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

@media (max-width: 991px) {
  .store-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .store-footer__grid {
    grid-template-columns: 1fr;
  }
}

.store-footer__brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.store-footer__title {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.95;
}

.store-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.store-footer__links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.store-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.store-footer__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.store-footer__badge {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.04);
}

.store-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}

/* -------------------------------------------------------------------------
   Mini carrito (dropdown): fondo sólido, tipografía compacta, cantidad clara
   ------------------------------------------------------------------------- */
.store-shell .attr-nav > ul > li.dropdown ul.dropdown-menu.store-cart-dd,
.store-shell .attr-nav > ul > li.dropdown ul.dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.18);
  min-width: 288px;
  padding: 0;
  margin-top: 8px;
}

.store-shell .attr-nav ul.cart-list.store-cart-dd,
.store-shell .attr-nav ul.cart-list {
  width: min(340px, calc(100vw - 24px));
  padding: 0;
}

.store-shell .attr-nav ul.cart-list > li.store-cart-dd__item {
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 12px 14px !important;
  overflow: hidden;
}

.store-shell .attr-nav ul.cart-list > li.store-cart-dd__item::after {
  content: "";
  display: table;
  clear: both;
}

.store-shell .attr-nav ul.cart-list > li > a.store-cart-dd__thumb,
.store-shell .attr-nav ul.cart-list > li > a.photo {
  margin-right: 12px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc;
}

.store-shell .attr-nav ul.cart-list > li img.cart-thumb,
.store-shell .attr-nav ul.cart-list > li img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  border: none !important;
  display: block;
}

.store-shell .attr-nav ul.cart-list > li > h6.store-cart-dd__title {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.store-shell .attr-nav ul.cart-list > li > h6.store-cart-dd__title a {
  color: #0f172a !important;
  padding: 0 !important;
  text-decoration: none;
}

.store-shell .attr-nav ul.cart-list > li > h6.store-cart-dd__title a:hover {
  color: #0f766e !important;
}

.store-shell .attr-nav ul.cart-list > li > p.store-cart-dd__meta {
  margin: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  color: #475569 !important;
}

.store-shell .attr-nav ul.cart-list > li > p.store-cart-dd__meta .store-cart-dd__qty {
  font-weight: 700;
  color: #0f172a;
}

.store-shell .attr-nav ul.cart-list > li > p.store-cart-dd__meta .store-cart-dd__sub {
  font-weight: 700;
  color: #0f172a;
}

.store-shell .attr-nav ul.cart-list > li.total.store-cart-dd__footer,
.store-shell .attr-nav ul.cart-list > li.total {
  background: #f1f5f9 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: none !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100% !important;
}

.store-shell .attr-nav ul.cart-list > li.total .store-cart-dd__total-label,
.store-shell .attr-nav ul.cart-list > li.total > span.pull-left {
  float: none !important;
  padding: 0 !important;
  color: #0f172a !important;
  font-size: 0.88rem !important;
}

.store-shell .attr-nav ul.cart-list > li.total .store-cart-dd__cta,
.store-shell .attr-nav ul.cart-list > li.total > .butn {
  float: none !important;
  margin: 0 !important;
}

