@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ── Footer ──────────────────────────────────────────────────────────── */

.zt-footer {
    background-color: #000000;
    font-family: 'Inter', sans-serif;
    color: #f4620d;
}
.zt-footer a,
.zt-footer small,
.zt-footer p,
.zt-footer h1, .zt-footer h2, .zt-footer h3, .zt-footer h4,
.zt-footer li, .zt-footer span {
    font-family: 'Inter', sans-serif;
    color: #f4620d;
}
.zt-footer,
.zt-footer * {
    font-size: 12px !important;
}

/* ── Navbar — Departamente dropdown ─────────────────────────────────── */

.navbar-dept-link {
    transition: color 0.1s ease, background 0.1s ease;
}
.navbar-dept-link:hover {
    color: #0F4C75;
    background: #f0f7ff;
}
.navbar-dept-link:hover svg {
    stroke: #0F4C75;
}

/* ── Walmart-style Departament menu (legacy header version) ──────────── */

.dept-trigger { transition: opacity 0.15s; }
.dept-trigger:hover { opacity: 0.88; }

.dept-chevron { transition: transform 0.2s ease; }
.dept-chevron--open { transform: rotate(180deg); }

.dept-link {
    color: #374151;
    border-left: 3px solid transparent;
    transition: color 0.1s ease, background 0.1s ease, border-color 0.1s ease;
}
.dept-link:hover,
.dept-link--active {
    color: #0F4C75;
    background: #ffffff;
    border-left-color: #0F4C75;
}
.dept-link[aria-current="page"] {
    color: #0F4C75;
    font-weight: 700;
    background: #ffffff;
    border-left-color: #0F4C75;
}
.dept-link-arrow { color: #9ca3af; width: 14px !important; height: 14px !important; }
.dept-link:hover .dept-link-arrow,
.dept-link--active .dept-link-arrow { color: #0F4C75; }

.dept-section-label { color: #9ca3af; }

.dept-sub-link { color: #4b5563; transition: color 0.1s ease; }
.dept-sub-link:hover { color: #0F4C75; text-decoration: underline; }
.dept-sub-link[aria-current="page"] { color: #0F4C75; font-weight: 600; }

.dept-view-all { color: #0F4C75; transition: opacity 0.1s ease; }
.dept-view-all:hover { opacity: 0.75; text-decoration: underline; }


/* ── Search box ─────────────────────────────────────────────────────── */

.zeltek-search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    background: #fff;
    outline: none;
    color: #111827;
}
.zeltek-search-input::placeholder { color: #9ca3af; }
.zeltek-search-input:focus {
    border-color: #f8600c;
    box-shadow: 0 0 0 2px rgba(248,96,12,0.15);
}

.zeltek-search-btn {
    background-color: #f8600c;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}
.zeltek-search-btn:hover { background-color: #d94f08; }
.zeltek-search-btn:focus { outline: 2px solid #f8600c; outline-offset: 2px; }


/* ── Header — 3-column layout with permanent search ─────────────────── */

.zeltek-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    width: 100%;
    padding: 12px 24px;
    box-sizing: border-box;
}

.zeltek-header-logo { flex-shrink: 0; }

/* Mobile: search wraps below logo+icons, full width */
.zeltek-header-search {
    order: 1;
    flex-basis: 100%;
    min-width: 0;
    position: relative; /* for suggestions dropdown */
}

.zeltek-header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Desktop: single row — logo | search | icons */
@media (min-width: 1024px) {
    .zeltek-header-inner { flex-wrap: nowrap; gap: 16px; }
    .zeltek-header-logo { flex: 1; display: flex; align-items: center; }
    .zeltek-header-search {
        order: 0;
        flex: 0 1 560px;
        min-width: 200px;
    }
    .zeltek-header-icons {
        flex: 1;
        justify-content: flex-end;
        margin-left: 0;
    }
}

/* ── Home Page Banner ────────────────────────────────────────────────── */
.zt-banner-grid {
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .zt-banner-grid { grid-template-columns: 1fr 1fr; }
}
.zt-banner-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .zt-banner-left { grid-template-columns: 1fr; }
}
.zt-banner-figure {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    display: block;
    text-decoration: none;
}
.zt-banner-figure-sm { height: 15rem; }
.zt-banner-figure-lg { height: 18rem; }
@media (min-width: 640px) {
    .zt-banner-figure-lg { height: 24rem; }
}
@media (min-width: 1024px) {
    .zt-banner-figure-lg { height: 100%; }
}
.zt-banner-figure img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.zt-banner-figure:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}
.zt-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 80%, transparent 100%);
    border-radius: 0 0 0.75rem 0.75rem;
}
.zt-banner-figure-lg .zt-banner-overlay { padding: 1.75rem 2rem; }
.zt-banner-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 1.3;
}
.zt-banner-figure-lg .zt-banner-title { font-size: 1.35rem; }
.zt-banner-cta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 0.4rem;
    transition: opacity 0.2s, gap 0.2s;
}
.zt-banner-figure:hover .zt-banner-cta { opacity: 1; gap: 0.6rem; }
.zt-banner-cta svg { flex-shrink: 0; transition: transform 0.2s; }
.zt-banner-figure:hover .zt-banner-cta svg { transform: translateX(3px); }

/* ── Home Page Deals ────────────────────────────────────────────────── */
.zt-deals-section {
    background-color: #f4620d;
    padding: 2.5rem 1rem;
    width: calc(100vw - 4px);
    margin-left: calc(50% - 50vw + 2px);
    margin-right: calc(50% - 50vw + 2px);
    border-radius: 0.75rem;
}
.zt-deals-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.zt-deals-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}
.zt-deals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .zt-deals-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .zt-deals-grid { grid-template-columns: repeat(5, 1fr); }
}
.zt-deals-card {
    position: relative;
    display: block;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.zt-deals-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}
.zt-deals-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: #0F4C75;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.6rem;
    border-radius: 0.35rem;
    z-index: 1;
}
.zt-deals-heart {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    z-index: 1;
}
.zt-deals-heart svg { stroke: #555; }
.zt-deals-image {
    display: block;
    height: 9rem;
    margin-bottom: 0.75rem;
}
.zt-deals-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.zt-deals-price-now {
    display: block;
    color: #2e7d32;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}
.zt-deals-price-was {
    display: block;
    color: #6b6b6b;
    font-size: 0.85rem;
    text-decoration: line-through;
    margin-top: 0.1rem;
}
.zt-deals-name {
    display: -webkit-box;
    color: #1a1a1a;
    font-size: 0.85rem;
    line-height: 1.3;
    margin-top: 0.5rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Hide internal SKU from product page */
.attribute-sku { display: none !important; }


/* Add to Cart button color */
.btn-primary {
    --btn-bg: #f8600c;
    --btn-stroke: #f8600c;
    --btn-hover-bg: #d94f08;
    --btn-hover-stroke: #d94f08;
    --btn-active-bg: #c44607;
    --btn-active-stroke: #c44607;
}

/* ── Product page detail sections (description / more info) as accordions ── */

.accordion-section {
    border-bottom: 1px solid #e5e7eb;
}
.accordion-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
}
.accordion-section summary::-webkit-details-marker {
    display: none;
}
.accordion-section__icon {
    flex-shrink: 0;
    width: 1.5rem;
    font-size: 1.5rem;
    line-height: 1;
    color: #111827;
    text-align: center;
}
.accordion-section__icon::before {
    content: '+';
}
.accordion-section[open] .accordion-section__icon::before {
    content: '\2212';
}
.accordion-section__content {
    padding-bottom: 1.5rem;
}
