/* Eco Tech visual refresh - presentation only. Original slider and banner markup untouched. */
:root { --eco-blue:#2067dc; --eco-ink:#132342; --eco-line:#e2eaf4; --eco-muted:#61728e; --eco-soft:#f4f8fe; }
.ecotech-refresh { overflow-x:clip; }
.ecotech-refresh .categories-nav-bar { position:relative; top:auto; z-index:100; box-shadow:0 3px 12px rgba(24,63,112,.12); }
.ecotech-refresh .categories-nav-scroll { scrollbar-width:none; }
.ecotech-refresh .categories-nav-scroll::-webkit-scrollbar { display:none; }
.ecotech-home .categories-section { margin:16px 0 36px; padding:26px clamp(12px,2vw,28px); border:1px solid var(--eco-line); border-radius:24px; background:linear-gradient(145deg,#fff,#f2f7ff); box-shadow:0 10px 32px rgba(26,62,112,.06); }
.ecotech-home .ecotech-category-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; color:var(--eco-ink); }
.ecotech-home .ecotech-category-heading span {font-size:clamp(19px,2vw,25px);font-weight:800;}
.ecotech-home .ecotech-category-heading i { color:var(--eco-blue); margin-inline-end:8px; }
.ecotech-home .ecotech-category-heading small {color:var(--eco-muted);font-weight:600;font-size:13px;}
.ecotech-home .categories-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:13px; padding:0; justify-items:stretch; }
.ecotech-home .cat-card { width:100%; max-width:none; background:#fff; border:1px solid var(--eco-line); border-radius:16px; padding:14px 10px 11px; min-width:0; display:flex; align-items:center; justify-content:center; gap:5px; box-shadow:0 4px 12px rgba(22,50,104,.04); transition:transform .2s,box-shadow .2s,border .2s; }
.ecotech-home .cat-card:hover { transform:translateY(-3px); border-color:#a9cbfa; box-shadow:0 10px 22px rgba(22,83,158,.1); }
.ecotech-home .cat-card-image { width:100px; height:90px; border:0; border-radius:12px; background:#f8fbff; padding:9px; box-shadow:none; }
.ecotech-home .cat-card img { object-fit:contain; }
.ecotech-home .cat-card-name { margin:5px 0 0; min-height:2.4em; font-size:clamp(12px,1.1vw,15px); font-weight:700; line-height:1.35; text-align:center; color:var(--eco-ink); overflow-wrap:anywhere; }
.ecotech-home .ecotech-cat-link { display:inline-flex; align-items:center; justify-content:center; width:24px;height:24px; border-radius:50%; background:#eaf2ff; color:#2067dc; font-size:11px; }
.ecotech-home .category-products-section { margin-bottom:clamp(25px,4vw,48px); }
.ecotech-home .products-slider-wrapper { padding-inline:clamp(20px,3vw,42px); }
.ecotech-home .products-slider { gap:14px; padding:12px 2px; scroll-snap-type:x mandatory; scroll-padding-inline:4px; }
.ecotech-home .products-slider .card { width:clamp(190px,20vw,246px); min-width:0; scroll-snap-align:start; border:1px solid var(--eco-line); border-radius:16px; box-shadow:0 4px 13px rgba(16,50,99,.06); }
.ecotech-home .products-slider .card:hover { box-shadow:0 10px 28px rgba(16,50,99,.12); }
.ecotech-home .card-image-wrapper { height:clamp(160px,18vw,200px); padding:14px; background:#fbfdff; }
.ecotech-home .card .p { padding:12px; gap:4px; }
.ecotech-home .card-brand {font-size:11px; letter-spacing:0; margin:0; color:#5c7390;}
.ecotech-home .card h3 {font-size:clamp(12px,1.1vw,14px);line-height:1.48;min-height:2.9em;margin:3px 0 5px; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; overflow-wrap:anywhere;}
.ecotech-home .card .price-tag { font-size:clamp(15px,1.25vw,19px);margin:4px 0 8px; }
.ecotech-home .card .price-tag .currency {font-size:11px;}
.ecotech-home .card-actions {margin-top:auto;}
.ecotech-home .card-actions .btn {min-height:38px;width:100%;font-size:12px;padding:9px 6px;line-height:1.3;}
.ecotech-home .slider-arrow-left, .ecotech-home .slider-arrow-right {width:34px;height:34px;font-size:14px;box-shadow:0 3px 12px rgba(32,103,220,.2);}
.ecotech-category .products-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr)); gap:15px; }
.ecotech-category .product-card { border:1px solid var(--eco-line);border-radius:16px;box-shadow:0 3px 13px rgba(20,54,95,.055);min-width:0; }
.ecotech-category .product-image-wrapper { height:200px;padding:14px;background:#fbfdff; }
.ecotech-category .product-info { padding:13px; }
.ecotech-category .product-name {font-size:14px;overflow-wrap:anywhere;}
.ecotech-category .product-price {font-size:18px;margin:6px 0 10px;}
.ecotech-category .btn-add-cart { min-height:40px;border-radius:10px;font-size:12px; }
.ecotech-pagination { display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin:25px 0 10px;direction:ltr; }
.ecotech-pagination a { text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-width:41px;height:41px;padding:0 10px;background:#fff;border:1px solid #d7e4f5;border-radius:12px;color:#1754a8;font-weight:800; }
.ecotech-pagination a:hover,.ecotech-pagination a.is-current {background:#2067dc;color:#fff;border-color:#2067dc;}
.ecotech-result-count {text-align:center;color:#64748b;font-size:13px;margin-bottom:18px;}
.ecotech-cart .cart-table-wrapper,.ecotech-cart .summary-box,.ecotech-checkout .form-section,.ecotech-checkout .order-summary { border-radius:18px; border:1px solid var(--eco-line);box-shadow:0 8px 24px rgba(18,53,98,.065); }
.ecotech-cart .cart-table-wrapper {overflow-x:auto;}
.ecotech-cart .cart-table img {object-fit:contain;}
.ecotech-checkout .checkout-layout {align-items:start;gap:22px;}
.ecotech-checkout .form-section,.ecotech-checkout .order-summary {min-width:0;}
.ecotech-checkout .order-item {gap:12px;}
.ecotech-checkout .order-item-info {min-width:0;}
.ecotech-checkout .order-item-info h4 {overflow-wrap:anywhere;}
.ecotech-checkout input,.ecotech-checkout select,.ecotech-checkout textarea {max-width:100%;}
@media (max-width: 768px) {
  .ecotech-home .categories-section {margin:12px 0 25px;padding:16px 10px;border-radius:16px;}
  .ecotech-home .categories-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .ecotech-home .cat-card {padding:9px 4px 8px;border-radius:12px;}
  .ecotech-home .cat-card-image {width:70px;height:63px;padding:5px;}
  .ecotech-home .cat-card-name {font-size:11px;min-height:2.65em;margin:0;}
  .ecotech-home .ecotech-category-heading small {display:none;}
  .ecotech-home .section-title { flex-direction:row;gap:8px;margin:18px 0 10px;padding:12px;border-radius:13px;align-items:center; }
  .ecotech-home .section-title-left {width:auto;flex:1;min-width:0;justify-content:start;}
  .ecotech-home .section-title h2 {font-size:clamp(14px,4vw,19px);line-height:1.4;}
  .ecotech-home .view-all-btn {width:auto; flex:0 0 auto;font-size:11px;padding:8px 10px;white-space:nowrap;}
  .ecotech-home .products-slider-wrapper {padding-inline:8px;}
  .ecotech-home .products-slider {gap:9px;scroll-padding-inline:8px;}
  .ecotech-home .products-slider .card {width:calc((100% - 9px)/2);min-width:calc((100% - 9px)/2);border-radius:12px;}
  .ecotech-home .card-image-wrapper {height:clamp(110px,36vw,175px);padding:7px;}
  .ecotech-home .card .p {padding:8px 8px 9px;gap:3px;}
  .ecotech-home .card-brand {font-size:10px;}
  .ecotech-home .card h3 {font-size:12px;margin:0;min-height:2.9em;}
  .ecotech-home .card .price-tag {font-size:14px; margin:4px 0;}
  .ecotech-home .card-actions .btn {font-size:11px;min-height:34px;padding:6px 2px;}
  .ecotech-home .slider-arrow-left,.ecotech-home .slider-arrow-right {display:none;}
  .ecotech-category .products-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .ecotech-category .product-image-wrapper {height:clamp(120px,35vw,170px);padding:8px;}
  .ecotech-category .product-info {padding:9px;}
  .ecotech-category .product-name {font-size:12px;min-height:2.8em;}
  .ecotech-category .product-brand {font-size:10px;}
  .ecotech-category .product-price {font-size:15px;}
  .ecotech-category .btn-add-cart {font-size:11px !important;min-height:34px;padding:6px 2px;}
  .ecotech-checkout .checkout-layout {grid-template-columns:minmax(0,1fr);gap:16px;}
  .ecotech-checkout .order-summary {position:static;max-height:none;width:100%;}
  .ecotech-cart .cart-layout {grid-template-columns:minmax(0,1fr);}
  .ecotech-cart .cart-table-wrapper,.ecotech-cart .summary-box {min-width:0;}
  .ecotech-cart .cart-table td {overflow-wrap:anywhere;}
}
@media(max-width:360px){
  .ecotech-home .categories-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .ecotech-home .products-slider .card {width:calc((100% - 8px)/2);min-width:calc((100% - 8px)/2);}
  .ecotech-home .card .p {padding:6px;}
  .ecotech-home .card-actions .btn span {font-size:10px;}
  .ecotech-category .product-image-wrapper {height:115px;}
}
@media(prefers-reduced-motion:reduce){.ecotech-refresh .card,.ecotech-refresh .cat-card {transition:none!important;} .ecotech-refresh .products-slider {scroll-behavior:auto;}}

/* Cart-to-checkout progression: strictly presentational */
.ecotech-checkout-steps{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:8px 0 20px;padding:12px 14px;border:1px solid #e0e9f5;border-radius:15px;background:#fff;color:#6a7e99;font-size:12px;font-weight:700;}
.ecotech-checkout-steps span,.ecotech-checkout-steps a{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:inherit;}
.ecotech-checkout-steps b{display:grid;place-items:center;width:26px;height:26px;background:#e7edf5;color:#56718c;border-radius:50%;font-size:12px;}
.ecotech-checkout-steps .is-active{color:#1d59c6}.ecotech-checkout-steps .is-active b{background:#2467e8;color:#fff;}
.ecotech-checkout-steps>a b{background:#d8f5e5;color:#15905c;}
.ecotech-checkout-steps>i{font-size:11px;color:#94a3b8;}
@media(max-width:420px){.ecotech-checkout-steps{gap:5px;padding:10px 5px;font-size:10px}.ecotech-checkout-steps b{width:21px;height:21px;font-size:10px}.ecotech-checkout-steps>i{font-size:9px;}}

/* Safe, keyboard-friendly product suggestions */
.ecotech-home .suggestion-item{width:100%;border:0;border-bottom:1px solid #e7edf7;background:#fff;font:inherit;text-align:start;color:inherit;}
.ecotech-home .suggestion-item:focus-visible{outline:2px solid #2563eb;outline-offset:-3px;background:#f1f7ff;}
