/* ========================================
   TecnoStore — Main Stylesheet
   ======================================== */

:root {
    --primary:    #0d2137;
    --secondary:  #0066cc;
    --accent:     #e85d04;
    --bg:         #f4f6f9;
    --surface:    #ffffff;
    --text:       #1a1a2e;
    --text-light: #6b7280;
    --border:     #e2e8f0;
    --radius:     8px;
    --shadow:     0 2px 12px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 24px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); }

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */

.header-top {
    background: var(--primary);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    padding: 6px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    box-shadow: var(--shadow);
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon { font-size: 28px; }

.logo-text {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.logo-text strong {
    font-weight: 700;
    color: var(--secondary);
}

.header-search {
    flex: 1;
    max-width: 560px;
}

.header-search form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: border-color .2s;
}

.header-search form:focus-within {
    border-color: var(--secondary);
}

.header-search input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: 14px;
    background: transparent;
}

.header-search button {
    background: var(--secondary);
    border: none;
    color: #fff;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 16px;
    transition: background .2s;
}

.header-search button:hover { background: var(--primary); }

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

.cart-icon, .account-icon {
    position: relative;
    font-size: 22px;
    color: var(--primary);
    transition: color .2s;
}

.cart-icon:hover, .account-icon:hover { color: var(--secondary); }

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-nav {
    background: var(--primary);
}

.site-nav .container { padding-top: 0; padding-bottom: 0; }

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 14px 18px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: background .2s, color .2s;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all .2s;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #c94d02;
    border-color: #c94d02;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,93,4,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: #fff;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    font-size: 160px;
    line-height: 1;
    opacity: 0.15;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

/* ========================================
   Sections
   ======================================== */

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.categories-section {
    padding: 64px 0;
    background: var(--surface);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
    text-align: center;
}

.category-card:hover {
    border-color: var(--secondary);
    background: #eef4ff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--secondary);
}

.category-icon { font-size: 36px; }

.category-name {
    font-size: 13px;
    font-weight: 600;
}

.products-section {
    padding: 64px 0;
}

/* ========================================
   Trust section
   ======================================== */

.trust-section {
    background: var(--primary);
    padding: 48px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #fff;
}

.trust-icon { font-size: 36px; }

.trust-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: #0a1628;
    color: rgba(255,255,255,0.75);
}

.footer-main { padding: 64px 0 48px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo strong {
    font-weight: 700;
    color: var(--secondary);
}

.footer-col p, .footer-col li {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li a { color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

.footer-badges { display: flex; gap: 16px; }

.badge {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ========================================
   Content area
   ======================================== */

.content-area { padding: 48px 0; min-height: 60vh; }

.notice-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    padding: 16px 20px;
    color: #856404;
}

/* ========================================
   Search results
   ======================================== */

.search-header { margin-bottom: 32px; }
.search-count  { color: var(--text-light); font-size: 14px; margin-top: 6px; }

.search-empty {
    text-align: center;
    padding: 64px 32px;
}

.search-empty-icon { font-size: 64px; opacity: .2; margin-bottom: 16px; }
.search-empty p    { font-size: 18px; color: var(--text-light); margin-bottom: 24px; }

/* ========================================
   Products grid
   ======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    text-decoration: none;
    color: var(--text);
}

.product-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
    background: var(--bg);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-no-image {
    font-size: 64px;
    opacity: 0.25;
}

.product-no-image--large { font-size: 120px; }

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

.product-badge-out,
.product-badge-low {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-badge-out { background: #fee2e2; color: #b91c1c; }
.product-badge-low { background: #fef3c7; color: #92400e; }

.product-out-of-stock {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-light);
}

.btn-add-cart {
    margin: 0 16px 16px;
    padding: 10px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    width: calc(100% - 32px);
}

.btn-add-cart:hover  { background: var(--primary); }
.btn-add-cart.btn-added { background: #2e7d32; transform: scale(0.98); }

.btn-add-cart--large {
    margin: 0;
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* ========================================
   Shop header / filters
   ======================================== */

.shop-header { margin-bottom: 32px; }

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.filter-tag {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: all .2s;
}

.filter-tag:hover, .filter-tag.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* ========================================
   Single product
   ======================================== */

.breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 32px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb a { color: var(--secondary); }
.breadcrumb span { color: var(--text-light); }

.product-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.product-single-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.product-single-image img { width: 100%; height: 100%; object-fit: cover; }

.product-single-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-single-cats {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-single-cats a { color: var(--secondary); }

.product-single-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.product-stock {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-stock--in  { color: #2e7d32; }
.product-stock--out { color: #b91c1c; }
.stock-warning { font-weight: 400; color: #92400e; }

.product-sku {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.product-add-to-cart {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-control--small { }

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s;
    color: var(--text);
}

.qty-btn:hover { background: var(--border); }

.qty-input {
    width: 52px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn-buy-now {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--primary);
    margin-bottom: 20px;
    transition: background .2s;
}

.btn-buy-now:hover { background: #0d2e4e; color: #fff; }

.btn-disabled {
    background: var(--border);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius);
    padding: 14px;
    width: 100%;
    font-size: 15px;
    cursor: not-allowed;
    margin-bottom: 20px;
}

.product-trust-badges {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.product-description {
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.product-description h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-description-body {
    color: var(--text);
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   Cart page
   ======================================== */

.cart-empty {
    text-align: center;
    padding: 64px 32px;
}

.cart-empty-icon { font-size: 72px; opacity: .2; margin-bottom: 16px; }
.cart-empty p    { font-size: 18px; color: var(--text-light); margin-bottom: 24px; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th {
    padding: 14px 16px;
    background: var(--primary);
    color: #fff;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

.cart-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table tr:last-child td { border-bottom: none; }

.cart-td-name { max-width: 300px; }
.product-sku-small { color: var(--text-light); }

.cart-remove-btn {
    background: none;
    border: none;
    color: #b91c1c;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background .2s;
}

.cart-remove-btn:hover { background: #fee2e2; }

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.btn-outline-danger {
    background: transparent;
    color: #b91c1c;
    border: 2px solid #b91c1c;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}

.btn-outline-danger:hover { background: #b91c1c; color: #fff; }

.cart-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.cart-summary-row:last-of-type { border-bottom: none; }

.cart-summary-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    padding-top: 12px;
}

.btn-block { display: block; width: 100%; text-align: center; margin-top: 20px; padding: 14px; }

.cart-secure-badge {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
}

/* ========================================
   Checkout
   ======================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.checkout-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.checkout-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.checkout-section:last-of-type { border-bottom: none; }

.checkout-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-row { display: flex; gap: 16px; }
.form-row-2 > .form-group { flex: 1; }
.form-row-3 > .form-group { flex: 1; }

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    background: var(--surface);
    transition: border-color .2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,102,204,.12);
}

.payment-method {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.payment-method.active { border-color: var(--secondary); background: #f0f7ff; }

.payment-method-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 16px;
}

.card-fields { padding-top: 4px; }

.checkout-error {
    background: #fee2e2;
    color: #b91c1c;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-submit-order {
    font-size: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.checkout-legal {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.checkout-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 20px;
}

.checkout-summary h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.order-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.order-item-name { color: var(--text); flex: 1; }
.order-item-name em { color: var(--text-light); font-style: normal; }
.order-item-price { font-weight: 600; white-space: nowrap; }

/* ========================================
   Order confirmation
   ======================================== */

.order-confirm {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 0;
}

.order-confirm-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.order-confirm h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.order-confirm-sub {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 36px;
}

.order-confirm-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.order-confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.order-confirm-row:last-child { border-bottom: none; }
.order-confirm-row span { color: var(--text-light); }

.order-confirm-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.order-confirm-trust {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
}

/* ========================================
   Toast
   ======================================== */

.ts-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    z-index: 9999;
    max-width: 320px;
}

.ts-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Pagination
   ======================================== */

.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    transition: all .2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .categories-grid  { grid-template-columns: repeat(3, 1fr); }
    .trust-grid       { grid-template-columns: repeat(2, 1fr); }
    .footer-grid      { grid-template-columns: repeat(2, 1fr); }
    .products-grid    { grid-template-columns: repeat(3, 1fr); }
    .cart-layout      { grid-template-columns: 1fr 280px; }
    .checkout-layout  { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
    .hero-inner       { grid-template-columns: 1fr; }
    .hero-image       { display: none; }
    .hero-text h1     { font-size: 30px; }
    .categories-grid  { grid-template-columns: repeat(2, 1fr); }
    .header-main-inner{ flex-wrap: wrap; }
    .header-search    { order: 3; flex: 0 0 100%; max-width: 100%; }
    .trust-grid       { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; gap: 12px; }
    .products-grid    { grid-template-columns: repeat(2, 1fr); }
    .product-single   { grid-template-columns: 1fr; }
    .cart-layout      { grid-template-columns: 1fr; }
    .checkout-layout  { grid-template-columns: 1fr; }
    .form-row         { flex-direction: column; }
    .cart-actions     { flex-direction: column; gap: 12px; }
    .order-confirm-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .products-grid    { grid-template-columns: 1fr; }
    .categories-grid  { grid-template-columns: repeat(2, 1fr); }
}
