/* ============================================================
   TIENDA GDL — Store Theme CSS
   Estilo grocery / e-commerce moderno
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
    --store-green:       #2e7d32;
    --store-green-light: #4caf50;
    --store-green-pale:  #e8f5e9;
    --store-orange:      #f57c00;
    --store-orange-pale: #fff3e0;
    --store-red:         #d32f2f;
    --store-gray-light:  #f5f5f5;
    --store-gray-mid:    #e0e0e0;
    --store-gray-text:   #757575;
    --store-dark:        #1b2631;
    --store-radius:      10px;
    --store-radius-sm:   6px;
    --store-shadow:      0 2px 12px rgba(0,0,0,.08);
    --store-shadow-hover:0 6px 24px rgba(0,0,0,.14);
    --store-transition:  .2s ease;
}

/* ── Reset parcial dentro de store ───────────────────────── */
.store-page * { box-sizing: border-box; }

/* ── Topbar de la tienda ──────────────────────────────────── */
.store-topbar {
    background: var(--store-green);
    color: #fff;
    padding: 7px 24px;
    font-size: .78rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}
.store-topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.store-topbar a:hover { color: #fff; }
.store-topbar-right { display: flex; gap: 16px; align-items: center; }

/* ── Header principal ─────────────────────────────────────── */
.store-header {
    background: #fff;
    border-bottom: 2px solid var(--store-green-pale);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
.store-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.store-logo-icon {
    width: 40px; height: 40px;
    background: var(--store-green);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem;
}
.store-logo-text { font-size: 1.3rem; font-weight: 700; color: var(--store-dark); line-height: 1.1; }
.store-logo-text span { color: var(--store-green); }

.store-search-wrap {
    flex: 1;
    max-width: 560px;
    position: relative;
}
.store-search-wrap input {
    width: 100%;
    border: 2px solid var(--store-gray-mid);
    border-radius: 50px;
    padding: 10px 50px 10px 20px;
    font-size: .95rem;
    outline: none;
    transition: border-color var(--store-transition);
    font-family: inherit;
}
.store-search-wrap input:focus { border-color: var(--store-green); }
.store-search-btn {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: var(--store-green); border: none; border-radius: 50px;
    width: 38px; height: 38px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: #fff;
    transition: background var(--store-transition);
}
.store-search-btn:hover { background: var(--store-green-light); }

.store-header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.store-header-btn {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; background: none; border: none; cursor: pointer;
    padding: 6px 10px; border-radius: var(--store-radius-sm);
    color: var(--store-dark); font-size: .72rem; font-weight: 500;
    transition: background var(--store-transition);
    position: relative;
}
.store-header-btn:hover { background: var(--store-green-pale); color: var(--store-green); }
.store-header-btn .icon { font-size: 1.4rem; }
.store-cart-badge {
    position: absolute; top: 2px; right: 6px;
    background: var(--store-red); color: #fff; border-radius: 50%;
    width: 18px; height: 18px; font-size: .65rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ── Nav de categorías ────────────────────────────────────── */
.store-catnav {
    background: var(--store-dark);
    padding: 0 24px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.store-catnav::-webkit-scrollbar { display: none; }
.store-catnav-item {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 18px; color: rgba(255,255,255,.82);
    font-size: .85rem; font-weight: 500; white-space: nowrap;
    cursor: pointer; transition: all var(--store-transition);
    text-decoration: none; border-bottom: 3px solid transparent;
}
.store-catnav-item:hover, .store-catnav-item.active {
    color: #fff; border-bottom-color: var(--store-green-light);
    background: rgba(255,255,255,.07);
}

/* ── Hero / Banner ────────────────────────────────────────── */
.store-hero {
    background: linear-gradient(135deg, #1b2631 0%, #2e7d32 100%);
    min-height: 380px;
    display: flex; align-items: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}
.store-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.store-hero-content { position: relative; z-index: 1; max-width: 560px; }
.store-hero-badge {
    display: inline-block; background: var(--store-orange); color: #fff;
    padding: 4px 14px; border-radius: 50px; font-size: .8rem; font-weight: 600;
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px;
}
.store-hero h1 { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.15; margin: 0 0 12px; }
.store-hero h1 span { color: #a5d6a7; }
.store-hero p { color: rgba(255,255,255,.78); font-size: 1.05rem; margin: 0 0 28px; }
.store-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn-primary {
    background: var(--store-green-light); color: #fff; border: none;
    padding: 13px 28px; border-radius: 50px; font-size: .95rem;
    font-weight: 600; cursor: pointer; display: flex; align-items: center;
    gap: 8px; transition: all var(--store-transition); text-decoration: none;
    font-family: inherit;
}
.store-btn-primary:hover { background: #388e3c; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(76,175,80,.4); }
.store-btn-outline {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    padding: 11px 24px; border-radius: 50px; font-size: .95rem;
    font-weight: 600; cursor: pointer; display: flex; align-items: center;
    gap: 8px; transition: all var(--store-transition); text-decoration: none;
    font-family: inherit;
}
.store-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.store-hero-stats {
    position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 16px;
}
.store-hero-stat {
    background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2); border-radius: var(--store-radius);
    padding: 16px 22px; text-align: center; min-width: 120px; color: #fff;
}
.store-hero-stat-num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.store-hero-stat-label { font-size: .75rem; opacity: .8; margin-top: 3px; }

/* ── Trust bar ────────────────────────────────────────────── */
.store-trust {
    background: #fff;
    border-bottom: 1px solid var(--store-gray-mid);
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 0;
}
.store-trust-item {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 32px; border-right: 1px solid var(--store-gray-mid);
    flex: 1; min-width: 200px;
}
.store-trust-item:last-child { border-right: none; }
.store-trust-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--store-green-pale); display: flex;
    align-items: center; justify-content: center;
    color: var(--store-green); font-size: 1.2rem; flex-shrink: 0;
}
.store-trust-title { font-weight: 700; font-size: .9rem; color: var(--store-dark); }
.store-trust-sub { font-size: .78rem; color: var(--store-gray-text); }

/* ── Secciones generales ──────────────────────────────────── */
.store-section { padding: 48px 24px; }
.store-section-alt { background: var(--store-gray-light); }
.store-section-title {
    font-size: 1.6rem; font-weight: 800; color: var(--store-dark);
    margin: 0 0 4px;
}
.store-section-sub { color: var(--store-gray-text); font-size: .9rem; margin: 0 0 28px; }
.store-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
}
.store-link-all {
    color: var(--store-green); font-weight: 600; font-size: .88rem;
    text-decoration: none; display: flex; align-items: center; gap: 4px;
    white-space: nowrap;
}
.store-link-all:hover { color: var(--store-dark); }

/* ── Categorías ───────────────────────────────────────────── */
.store-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}
.store-cat-card {
    background: #fff; border-radius: var(--store-radius);
    padding: 24px 12px 18px; text-align: center;
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--store-transition); box-shadow: var(--store-shadow);
    text-decoration: none; display: flex; flex-direction: column;
    align-items: center; gap: 10px;
}
.store-cat-card:hover, .store-cat-card.active {
    border-color: var(--store-green); transform: translateY(-3px);
    box-shadow: var(--store-shadow-hover);
}
.store-cat-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; transition: all var(--store-transition);
}
.store-cat-card:hover .store-cat-icon, .store-cat-card.active .store-cat-icon {
    transform: scale(1.1);
}
.store-cat-name { font-size: .82rem; font-weight: 600; color: var(--store-dark); }
.store-cat-count { font-size: .72rem; color: var(--store-gray-text); }

/* ── Tabs de productos ────────────────────────────────────── */
.store-tabs {
    display: flex; gap: 0; border-bottom: 2px solid var(--store-gray-mid);
    margin-bottom: 28px; overflow-x: auto; scrollbar-width: none;
}
.store-tab {
    padding: 11px 22px; font-size: .9rem; font-weight: 600;
    color: var(--store-gray-text); border: none; background: none;
    cursor: pointer; border-bottom: 3px solid transparent;
    margin-bottom: -2px; white-space: nowrap; transition: all var(--store-transition);
    font-family: inherit;
}
.store-tab:hover { color: var(--store-green); }
.store-tab.active { color: var(--store-green); border-bottom-color: var(--store-green); }

/* ── Grid de productos ────────────────────────────────────── */
.store-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

/* ── Tarjeta de producto ──────────────────────────────────── */
.store-product-card {
    background: #fff; border-radius: var(--store-radius);
    box-shadow: var(--store-shadow); overflow: hidden;
    display: flex; flex-direction: column;
    transition: all var(--store-transition); position: relative;
    border: 1px solid var(--store-gray-mid);
}
.store-product-card:hover {
    transform: translateY(-4px); box-shadow: var(--store-shadow-hover);
    border-color: var(--store-green-pale);
}

.store-product-img-wrap {
    height: 185px; overflow: hidden; position: relative;
    background: var(--store-gray-light); display: flex;
    align-items: center; justify-content: center;
}
.store-product-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s ease;
}
.store-product-card:hover .store-product-img-wrap img { transform: scale(1.06); }
.store-product-img-placeholder {
    font-size: 4rem; color: var(--store-gray-mid);
}
.store-product-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--store-red); color: #fff;
    font-size: .7rem; font-weight: 700; padding: 3px 9px;
    border-radius: 50px; text-transform: uppercase; letter-spacing: .4px;
}
.store-product-badge.new { background: var(--store-green); }
.store-product-badge.offer { background: var(--store-orange); }
.store-product-actions-hover {
    position: absolute; top: 10px; right: 10px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(10px);
    transition: all var(--store-transition);
}
.store-product-card:hover .store-product-actions-hover {
    opacity: 1; transform: translateX(0);
}
.store-product-action-btn {
    width: 34px; height: 34px; background: #fff;
    border: none; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: .95rem;
    color: var(--store-dark); transition: all var(--store-transition);
}
.store-product-action-btn:hover { background: var(--store-green); color: #fff; }

.store-product-body { padding: 14px 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.store-product-brand { font-size: .73rem; font-weight: 600; color: var(--store-green); text-transform: uppercase; letter-spacing: .5px; }
.store-product-name {
    font-size: .92rem; font-weight: 600; color: var(--store-dark);
    line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.store-product-unit { font-size: .75rem; color: var(--store-gray-text); }

.store-product-price-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.store-product-price { font-size: 1.15rem; font-weight: 800; color: var(--store-green); }
.store-product-price-old { font-size: .82rem; color: var(--store-gray-text); text-decoration: line-through; }
.store-product-price-locked {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--store-orange-pale); color: var(--store-orange);
    border-radius: 50px; padding: 4px 10px; font-size: .78rem; font-weight: 600;
}

.store-product-stock { font-size: .72rem; margin-top: 2px; }
.store-product-stock.ok { color: var(--store-green); }
.store-product-stock.low { color: var(--store-orange); }
.store-product-stock.out { color: var(--store-red); }

.store-product-footer { padding: 0 14px 14px; display: flex; gap: 8px; align-items: center; }
.store-add-btn {
    flex: 1; background: var(--store-green); color: #fff; border: none;
    border-radius: 50px; padding: 9px 14px; font-size: .85rem; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 6px; transition: all var(--store-transition); font-family: inherit;
}
.store-add-btn:hover { background: #388e3c; }
.store-add-btn:disabled { background: var(--store-gray-mid); cursor: not-allowed; }
.store-view-btn {
    width: 38px; height: 38px; background: var(--store-gray-light);
    border: none; border-radius: 50%; cursor: pointer; display: flex;
    align-items: center; justify-content: center; color: var(--store-dark);
    font-size: 1rem; transition: all var(--store-transition); flex-shrink: 0;
    text-decoration: none;
}
.store-view-btn:hover { background: var(--store-green-pale); color: var(--store-green); }

/* ── Quantity stepper ─────────────────────────────────────── */
.store-qty {
    display: flex; align-items: center; gap: 0;
    background: var(--store-gray-light); border-radius: 50px;
    overflow: hidden; height: 38px; border: 1px solid var(--store-gray-mid);
}
.store-qty-btn {
    width: 36px; height: 38px; background: none; border: none;
    cursor: pointer; font-size: 1rem; color: var(--store-dark);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--store-transition);
}
.store-qty-btn:hover { background: var(--store-green-pale); color: var(--store-green); }
.store-qty-val {
    min-width: 32px; text-align: center; font-weight: 700;
    font-size: .9rem; color: var(--store-dark);
}

/* ── Banner promocional ───────────────────────────────────── */
.store-promo-banner {
    background: linear-gradient(120deg, var(--store-orange) 0%, #e65100 100%);
    border-radius: var(--store-radius); padding: 32px 40px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px; color: #fff; position: relative; overflow: hidden;
}
.store-promo-banner::after {
    content: '🎁'; position: absolute; right: 120px; top: 50%;
    transform: translateY(-50%); font-size: 5rem; opacity: .2;
}
.store-promo-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.store-promo-sub { opacity: .9; font-size: .95rem; }
.store-promo-code {
    display: inline-block; background: rgba(255,255,255,.22);
    border: 2px dashed rgba(255,255,255,.6); border-radius: 8px;
    padding: 6px 16px; font-size: 1rem; font-weight: 700; margin-top: 10px;
    letter-spacing: 1px;
}

/* ── Layout de catálogo (sidebar + grid) ─────────────────── */
.store-catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .store-catalog-layout { grid-template-columns: 1fr; }
    .store-sidebar { display: none; }
    .store-sidebar.open { display: block; }
}

/* ── Sidebar del catálogo ─────────────────────────────────── */
.store-sidebar {
    background: #fff; border-radius: var(--store-radius);
    box-shadow: var(--store-shadow); padding: 20px;
    position: sticky; top: 80px;
}
.store-sidebar-title {
    font-size: 1rem; font-weight: 700; color: var(--store-dark);
    padding-bottom: 12px; border-bottom: 2px solid var(--store-green-pale);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.store-sidebar-title::before {
    content: ''; width: 4px; height: 18px;
    background: var(--store-green); border-radius: 2px;
}
.store-filter-section { margin-bottom: 20px; }
.store-filter-label { font-size: .8rem; font-weight: 600; color: var(--store-gray-text); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; }

.store-brand-list { display: flex; flex-direction: column; gap: 6px; }
.store-brand-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; border-radius: var(--store-radius-sm);
    cursor: pointer; transition: background var(--store-transition);
    font-size: .88rem; color: var(--store-dark); font-weight: 500;
    border: 1px solid transparent;
}
.store-brand-item:hover { background: var(--store-green-pale); }
.store-brand-item.active { background: var(--store-green-pale); border-color: var(--store-green); color: var(--store-green); }
.store-brand-count {
    background: var(--store-gray-light); color: var(--store-gray-text);
    border-radius: 50px; padding: 1px 8px; font-size: .72rem; font-weight: 600;
}
.store-brand-item.active .store-brand-count { background: var(--store-green); color: #fff; }

.store-filter-btn {
    width: 100%; background: var(--store-green); color: #fff;
    border: none; border-radius: 50px; padding: 11px;
    font-size: .9rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background var(--store-transition); font-family: inherit;
}
.store-filter-btn:hover { background: #388e3c; }
.store-filter-clear {
    width: 100%; background: none; color: var(--store-gray-text);
    border: 1px solid var(--store-gray-mid); border-radius: 50px; padding: 9px;
    font-size: .88rem; font-weight: 500; cursor: pointer; margin-top: 8px;
    transition: all var(--store-transition); font-family: inherit;
}
.store-filter-clear:hover { border-color: var(--store-green); color: var(--store-green); }

/* ── Search input del sidebar ─────────────────────────────── */
.store-input-search {
    width: 100%;
    border: 2px solid var(--store-gray-mid);
    border-radius: 50px;
    padding: 9px 16px 9px 38px;
    font-size: .88rem; outline: none;
    transition: border-color var(--store-transition);
    background: var(--store-gray-light);
    font-family: inherit;
}
.store-input-search:focus { border-color: var(--store-green); background: #fff; }
.store-input-wrap { position: relative; }
.store-input-wrap .search-icon {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: var(--store-gray-text); font-size: .9rem;
}

/* ── Alerta de estado cliente ─────────────────────────────── */
.store-client-alert {
    border-radius: var(--store-radius); padding: 14px 16px;
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .88rem; margin-top: 16px;
}
.store-client-alert.pending { background: #fff8e1; border-left: 4px solid #ffc107; }
.store-client-alert.blocked { background: #ffebee; border-left: 4px solid var(--store-red); }
.store-client-alert.info    { background: #e3f2fd; border-left: 4px solid #2196f3; }
.store-client-alert .alert-icon { font-size: 1.2rem; margin-top: 1px; flex-shrink: 0; }
.store-client-alert a { color: var(--store-green); font-weight: 600; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.store-breadcrumb {
    padding: 12px 24px;
    background: #fff;
    border-bottom: 1px solid var(--store-gray-mid);
    font-size: .82rem; color: var(--store-gray-text);
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.store-breadcrumb a { color: var(--store-green); text-decoration: none; font-weight: 500; }
.store-breadcrumb a:hover { text-decoration: underline; }
.store-breadcrumb-sep { color: var(--store-gray-mid); }

/* ── Paginación ───────────────────────────────────────────── */
.store-pagination {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 36px; flex-wrap: wrap;
}
.store-page-btn {
    width: 38px; height: 38px; border: 2px solid var(--store-gray-mid);
    background: #fff; border-radius: var(--store-radius-sm);
    cursor: pointer; font-size: .9rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--store-transition); color: var(--store-dark);
}
.store-page-btn:hover { border-color: var(--store-green); color: var(--store-green); }
.store-page-btn.active { background: var(--store-green); border-color: var(--store-green); color: #fff; }
.store-page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Empty state ──────────────────────────────────────────── */
.store-empty {
    text-align: center; padding: 64px 24px;
    color: var(--store-gray-text);
}
.store-empty-icon { font-size: 4rem; margin-bottom: 12px; opacity: .4; }
.store-empty-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--store-dark); }

/* ── Skeleton loader ──────────────────────────────────────── */
.store-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.4s infinite;
    border-radius: var(--store-radius);
}
@keyframes skeleton-wave { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.store-skeleton-card { height: 310px; }

/* ── Footer ───────────────────────────────────────────────── */
.store-footer {
    background: var(--store-dark); color: rgba(255,255,255,.8);
    padding: 48px 24px 24px;
}
.store-footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px; margin-bottom: 36px;
}
.store-footer-brand-name { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.store-footer-brand-name span { color: var(--store-green-light); }
.store-footer-desc { font-size: .85rem; line-height: 1.6; }
.store-footer-heading { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: #fff; margin-bottom: 14px; }
.store-footer-links { display: flex; flex-direction: column; gap: 8px; }
.store-footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .85rem; transition: color var(--store-transition); }
.store-footer-links a:hover { color: var(--store-green-light); }
.store-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px; font-size: .8rem;
}

/* ── Detalle de producto ──────────────────────────────────── */
.store-detail-wrap { padding: 0 24px 48px; }
.store-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: start;
}
@media (max-width: 768px) { .store-detail-grid { grid-template-columns: 1fr; } }

.store-detail-img-main {
    background: var(--store-gray-light);
    border-radius: var(--store-radius); overflow: hidden;
    aspect-ratio: 1; display: flex; align-items: center;
    justify-content: center; border: 1px solid var(--store-gray-mid);
}
.store-detail-img-main img { width: 100%; height: 100%; object-fit: cover; }

.store-detail-name { font-size: 1.8rem; font-weight: 800; color: var(--store-dark); line-height: 1.2; margin-bottom: 8px; }
.store-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.store-detail-brand { background: var(--store-green-pale); color: var(--store-green); border-radius: 50px; padding: 4px 14px; font-size: .8rem; font-weight: 600; }
.store-detail-unit-badge { background: var(--store-gray-light); color: var(--store-gray-text); border-radius: 50px; padding: 4px 12px; font-size: .8rem; }
.store-detail-price { font-size: 2rem; font-weight: 800; color: var(--store-green); margin-bottom: 8px; }
.store-detail-stock { font-size: .88rem; margin-bottom: 20px; }
.store-detail-desc { font-size: .92rem; line-height: 1.7; color: var(--store-gray-text); margin-bottom: 24px; }
.store-detail-add-wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Cart sidebar ─────────────────────────────────────────── */
.store-cart-item {
    display: flex; gap: 12px; padding: 14px 0;
    border-bottom: 1px solid var(--store-gray-mid); align-items: flex-start;
}
.store-cart-item-img {
    width: 58px; height: 58px; border-radius: var(--store-radius-sm);
    object-fit: cover; background: var(--store-gray-light); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

/* ── Newsletter ───────────────────────────────────────────── */
.store-newsletter {
    background: linear-gradient(135deg, #1b2631 0%, #2e7d32 100%);
    border-radius: var(--store-radius); padding: 40px;
    text-align: center; color: #fff;
}
.store-newsletter h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.store-newsletter p { opacity: .85; margin-bottom: 20px; }
.store-newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.store-newsletter-form input {
    flex: 1; border: none; border-radius: 50px; padding: 11px 20px;
    font-size: .9rem; outline: none; font-family: inherit;
}

/* ── Utilities ────────────────────────────────────────────── */
.store-page { font-family: 'Poppins', 'Rubik', sans-serif; background: var(--store-gray-light); min-height: 100vh; }
.store-container { max-width: 1280px; margin: 0 auto; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
