.inner-page{padding:55px 0 80px;min-height:55vh;background:#fbfaf7}.page-heading h1{font-size:38px}.page-heading em{color:#d69b00;font-style:normal}.text-page{max-width:900px;line-height:2;color:#555}.text-page h2{color:#17191c}.text-page ul{line-height:2.2}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:40px}.detail-main{width:100%;height:420px;object-fit:contain;background:white;border:1px solid #eee;border-radius:12px}.thumb-row{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.thumb-row img{width:70px;height:70px;object-fit:contain;border:1px solid #ddd;padding:4px}.detail-info h1{font-size:28px;line-height:1.6}.contact-grid,.footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.contact-tile{background:white;padding:20px;border:1px solid #eee;border-radius:12px}.contact-tile a{display:block;direction:ltr;text-align:right;color:#9a7415}.site-footer{background:#151719;color:white}.footer-cols{padding:40px 0}.footer-cols a{display:block;color:#ddd;margin:8px 0;font-size:12px}.footer-cols p{color:#aaa;font-size:12px;line-height:2}.copyright{border-top:1px solid #ffffff22;padding:18px 0;color:#aaa;font-size:11px}.copyright .wrap{display:flex;justify-content:space-between}.copyright a{color:#f2b51b;font-weight:bold}.page-image{width:100%;max-height:420px;object-fit:cover;border-radius:14px}.blog-card,.faq details{background:white;border:1px solid #eee;border-radius:12px;padding:20px;margin:12px 0}@media(max-width:700px){.product-detail{grid-template-columns:1fr}.contact-grid,.footer-cols{grid-template-columns:1fr 1fr}.copyright .wrap{display:block}}
.product-gallery{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.product-gallery img{width:76px;height:76px;object-fit:cover;border:1px solid #ddd;border-radius:10px}

/* Hierarchical catalogue menu */
.nav{display:flex;align-items:center;gap:15px;flex-wrap:nowrap}
.nav .main-categories,.mobile-categories,.submenu{list-style:none;margin:0;padding:0}
.nav .main-categories{display:flex;align-items:center;gap:2px}
.main-categories>li{position:relative}
.main-categories>li>a{display:flex;align-items:center;gap:5px;padding:12px 9px;color:inherit;font-weight:700;white-space:nowrap;border-radius:8px}
.main-categories>li:hover>a,.main-categories>li:focus-within>a{background:rgba(255,255,255,.09)}
.menu-arrow{font-size:14px;opacity:.7}
.submenu{display:none;position:absolute;right:0;top:100%;min-width:225px;background:#fff;color:#182235;border:1px solid #e7eaf0;border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.16);z-index:1000;padding:8px}
.main-categories li:hover> .submenu,.main-categories li:focus-within> .submenu{display:block}
.submenu li{position:relative}
.submenu a{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:7px;color:#182235;font-weight:700;white-space:nowrap}
.submenu a:hover{background:#f2f5f8;color:#b78b3b}
.submenu .submenu{right:100%;top:0}
.mobile-nav{max-height:75vh;overflow:auto}
.mobile-categories>li{border-bottom:1px solid rgba(255,255,255,.12)}
.mobile-categories a{display:flex;align-items:center;justify-content:space-between;padding:11px 8px}
.mobile-categories .submenu{display:block;position:static;background:rgba(0,0,0,.12);border:0;box-shadow:none;padding:0 12px 5px}
.mobile-categories .submenu a{color:inherit;padding:8px 10px;font-weight:600}
@media(max-width:1050px){.nav{gap:5px}.nav .main-categories>li>a{padding:10px 6px;font-size:13px}}
@media(max-width:850px){.nav{display:none}.mobile-nav.open{display:block}.mobile-categories{display:block}}

.nav-categories{position:relative}
.nav-categories>a{display:block;padding:30px 0;white-space:nowrap}
.nav-categories:hover>.main-categories,.nav-categories:focus-within>.main-categories{display:block}
.nav .main-categories{display:none;position:absolute;right:0;top:100%;min-width:270px;max-height:75vh;overflow:visible;background:#fff;color:#182235;border:1px solid #e7eaf0;border-radius:10px;box-shadow:0 14px 34px rgba(0,0,0,.16);z-index:1000;padding:8px}
.nav .main-categories>li>a{padding:10px 12px;border-radius:7px;color:#182235}
.nav .main-categories>li>a:hover{background:#f2f5f8;color:#b78b3b}
.nav .main-categories .submenu{right:100%;top:0}

/* Navigation centered on desktop */
@media(min-width:851px){
 .head-row{display:grid;grid-template-columns:1fr auto 1fr;gap:18px}
 .brand{grid-column:1;justify-self:start}
 .nav{grid-column:2;justify-self:center;display:flex;justify-content:center;gap:20px}
 .head-actions{grid-column:3;justify-self:end}
 .nav-categories{position:relative}
}
.nav{margin-inline:auto}
.nav>a,.nav-categories>a{white-space:nowrap}
.copyright .wrap{align-items:center;gap:12px;flex-wrap:wrap}
.copyright a{color:#f2b51b}
.social-links{display:flex;gap:9px;margin-top:14px}
.social-links a{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f2b51b;color:#17191c;font-weight:900;font-size:17px}
.customer-wrap{max-width:980px;margin:auto}
.customer-card{background:#fff;border:1px solid #e9e5db;border-radius:16px;padding:24px;margin:18px 0;box-shadow:0 10px 30px #00000008}
.customer-card h2{margin-top:0}
.customer-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.customer-form label{display:grid;gap:7px;font-weight:700;font-size:13px}
.customer-form input,.customer-form textarea,.customer-form select{font:inherit;padding:12px;border:1px solid #ddd;border-radius:8px;min-width:0}
.customer-form .wide{grid-column:1/-1}
.customer-table{width:100%;border-collapse:collapse}
.customer-table th,.customer-table td{padding:12px;border-bottom:1px solid #eee;text-align:right}
.status-pill{display:inline-block;border-radius:30px;padding:5px 10px;background:#f7edcf;color:#795a0a;font-size:12px}
@media(max-width:700px){.customer-form{grid-template-columns:1fr}.customer-form .wide{grid-column:auto}.copyright .wrap{display:flex}}

/* Official El Diesel identity */
.brand{min-width:150px;justify-content:flex-start}
.brand-logo{display:block;width:145px;height:68px;object-fit:contain}
.footer-brand{min-width:0}
.footer-logo{display:block;width:145px;height:105px;object-fit:contain;background:#fff;border-radius:8px;padding:3px;margin-bottom:10px}
.social-links a.facebook{background:#1877f2;color:#fff}
.social-links a.instagram{background:linear-gradient(135deg,#7b35b6,#e1306c,#f9a13b);color:#fff}
.social-links a:hover{transform:translateY(-2px);filter:brightness(1.08)}
@media(max-width:850px){.brand-logo{width:125px;height:62px}}

/* Marketplace-inspired homepage layout */
.market-home{background:#f3f4f6;padding-bottom:38px}
.market-search-band{background:#172b3b;color:#fff;padding:17px 0}
.market-search-inner{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(280px,1.8fr) auto;align-items:center;gap:24px}
.market-welcome span,.market-welcome strong{display:block}.market-welcome span{font-size:11px;color:#f2c45b}.market-welcome strong{font-size:16px;font-weight:900}
.market-search{height:48px;display:flex;background:#fff;border-radius:7px;overflow:hidden;border:2px solid #e7ad28}
.market-search input{flex:1;min-width:0;border:0;outline:0;padding:0 16px;font:inherit;font-size:13px;color:#263442}
.market-search button{width:76px;border:0;background:#f2b51b;color:#17202a;font:inherit;font-weight:900;cursor:pointer}
.market-all-link{font-size:12px;font-weight:800;white-space:nowrap}.market-all-link span{color:#f2b51b}
.market-hero{margin-top:22px;background:#fff;border-radius:10px;display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:30px;padding:28px 38px;min-height:330px;box-shadow:0 2px 9px #17202a0a}
.market-hero-copy{padding:12px 0}.market-kicker,.market-section-heading>div>span{font-size:11px;font-weight:800;color:#a47713}
.market-hero h1{font-size:36px;line-height:1.5;margin:10px 0;color:#172b3b;font-weight:900}.market-hero h1 em{font-style:normal;color:#c38b12}
.market-hero p{font-size:13px;line-height:2;color:#68737c;max-width:500px;margin:0 0 18px}
.market-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.market-primary,.market-secondary{display:inline-flex;align-items:center;justify-content:center;padding:11px 22px;border-radius:6px;font-size:12px;font-weight:900}.market-primary{background:#f2b51b;color:#17202a}.market-secondary{border:1px solid #dce1e5;color:#344554}
.market-benefits{display:flex;gap:16px;flex-wrap:wrap;margin-top:22px;color:#68737c;font-size:10px}.market-benefits span:first-letter{color:#198754}
.market-hero-image{height:275px;display:block;overflow:hidden;border-radius:8px;background:#f1f2f3}.market-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.market-categories{padding-top:34px;padding-bottom:34px}.market-section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:17px}.market-section-heading h2{font-size:23px;color:#172b3b;margin:2px 0 0;font-weight:900}.market-section-heading>a{font-size:11px;color:#936b12;font-weight:800;white-space:nowrap}
.market-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.market-category{background:#fff;border:1px solid #e9ecef;border-radius:8px;padding:12px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;transition:.2s}.market-category:hover{border-color:#d5a22d;box-shadow:0 5px 18px #17202a12;transform:translateY(-2px)}
.market-category-image{width:100%;height:130px;display:grid;place-items:center;background:#f7f8f9;border-radius:5px;overflow:hidden}.market-category-image img{width:100%;height:100%;object-fit:contain;padding:8px}.market-category strong{font-size:13px;margin:10px 0 3px;color:#263746}.market-category small{font-size:10px;color:#a47713}
.market-products-section{background:#fff;padding:34px 0 42px}.market-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.market-product-grid .product-card{border:1px solid #e6e9ec;border-radius:7px;box-shadow:none;display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s,border-color .2s}.market-product-grid .product-card:hover{transform:none;border-color:#d7a42d;box-shadow:0 5px 18px #17202a12}
.market-product-grid .product-img{height:205px;min-height:205px;padding:12px;background:#fff;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #f0f1f2}.market-product-grid .product-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.market-product-grid .product-info{padding:13px;display:flex;flex-direction:column;flex:1}.market-product-grid .product-info small{font-size:10px;min-height:16px}.market-product-grid .product-info h3{font-size:13px;line-height:1.8;min-height:46px;color:#273746;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-product-grid .product-price{margin:8px 0 12px;min-height:25px}.market-product-grid .product-price strong{font-size:16px;color:#172b3b;font-weight:900}.market-product-grid .product-info>a{margin-top:auto;border-top:1px solid #edf0f2;padding-top:10px;color:#946b12;font-size:11px}
.market-help{margin-top:24px;background:#fff;border:1px solid #e7eaed;border-radius:8px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.market-help>div{display:flex;align-items:center;gap:13px}.market-help-icon{width:40px;height:40px;border-radius:50%;background:#fff3d4;color:#946b12;display:grid;place-items:center;font-size:20px}.market-help strong,.market-help small{display:block}.market-help strong{font-size:13px;color:#243746}.market-help small{font-size:11px;color:#7b858d;margin-top:3px}.market-help>a{background:#16865b;color:#fff;border-radius:6px;padding:10px 17px;font-size:11px;font-weight:900;white-space:nowrap}
@media(max-width:900px){.market-search-inner{grid-template-columns:1fr auto}.market-search{grid-column:1/-1;grid-row:2}.market-welcome{grid-column:1}.market-all-link{grid-column:2;grid-row:1}.market-hero{padding:22px;gap:18px}.market-hero h1{font-size:30px}.market-category-grid,.market-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.market-search-band{padding:13px 0}.market-search-inner{gap:11px}.market-welcome strong{font-size:13px}.market-all-link{font-size:10px}.market-search{height:44px}.market-search input{font-size:11px;padding:0 10px}.market-search button{width:58px;font-size:11px}.market-hero{grid-template-columns:1fr;padding:20px;margin-top:12px;gap:15px}.market-hero h1{font-size:27px}.market-hero p{font-size:12px}.market-hero-image{height:190px;grid-row:1}.market-benefits{gap:9px;font-size:9px}.market-categories{padding-top:26px;padding-bottom:26px}.market-section-heading h2{font-size:20px}.market-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.market-category-image{height:115px}.market-products-section{padding:26px 0}.market-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.market-product-grid .product-img{height:155px;min-height:155px;padding:8px}.market-product-grid .product-info{padding:10px}.market-product-grid .product-info h3{font-size:11px;min-height:40px}.market-product-grid .product-price strong{font-size:14px}.market-help{padding:14px;align-items:flex-start;flex-direction:column}.market-help small{line-height:1.8}.market-help>a{align-self:stretch;text-align:center}}

/* Marketplace tools: cart, wishlist, compare and service shortcuts */
.market-header-tool{font-size:12px!important;font-weight:800;color:#fff!important;background:#233d50;border-radius:6px;padding:9px 12px!important;white-space:nowrap}
.market-header-tool:hover{background:#34566c}
.cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#f2b51b;color:#17202a;font-size:11px}
.market-card-actions{display:flex;gap:6px;margin:0 0 10px}
.market-card-actions button{font:inherit;cursor:pointer;border:1px solid #dfe4e8;background:#fff;border-radius:5px;padding:7px 8px;color:#263746;font-size:10px;font-weight:800}
.market-card-actions button:first-child{flex:1;background:#f2b51b;border-color:#f2b51b;color:#17202a}
.market-card-actions button.selected{background:#e8f5ee;border-color:#16865b;color:#16865b}
.market-quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px;margin-bottom:8px}
.market-quick-links>a,.market-extra-grid>a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e7eaed;border-radius:8px;padding:15px;min-width:0;transition:.2s}
.market-quick-links>a:hover,.market-extra-grid>a:hover{border-color:#d7a42d;box-shadow:0 4px 15px #17202a10}
.market-quick-links>a>b{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;background:#fff3d4;color:#946b12;font-size:20px}
.market-quick-links strong,.market-quick-links small,.market-extra-grid strong,.market-extra-grid small{display:block}
.market-quick-links strong,.market-extra-grid strong{font-size:12px;color:#263746}
.market-quick-links small,.market-extra-grid small{font-size:10px;color:#7b858d;margin-top:3px;line-height:1.7}
.market-extra{padding-top:28px;padding-bottom:4px}
.market-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.market-extra-grid>a{display:block}
.market-extra-grid strong{font-size:13px}
.market-drawer{position:fixed;z-index:1002;top:0;bottom:0;left:0;width:min(410px,92vw);background:#fff;box-shadow:0 0 35px #0002;transform:translateX(-105%);transition:transform .25s;display:flex;flex-direction:column;padding:18px}
.market-drawer.open{transform:translateX(0)}
.market-drawer-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid #eee}
.market-drawer-head strong{font-size:18px}.market-drawer-head button{border:0;background:#f2f3f4;border-radius:50%;width:34px;height:34px;font-size:23px;cursor:pointer}
.market-cart-items{overflow:auto;flex:1;padding:12px 0}.market-cart-row{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eee}.market-cart-row img{width:66px;height:66px;object-fit:contain;border:1px solid #eee;border-radius:6px}.market-cart-row b,.market-cart-row small{display:block}.market-cart-row b{font-size:12px}.market-cart-row small{font-size:11px;color:#777;margin:5px 0}.market-cart-row button{border:0;background:none;color:#b33;font:inherit;font-size:11px;cursor:pointer;padding:0}
.market-drawer-foot{border-top:1px solid #eee;padding-top:15px;display:grid;gap:12px}.market-drawer-foot strong{display:flex;justify-content:space-between;font-size:14px}.market-drawer-foot .market-primary{text-align:center}
.market-drawer-backdrop{display:none;position:fixed;inset:0;background:#10182066;z-index:1001}.market-drawer-backdrop.open{display:block}
.market-toast{position:fixed;z-index:1100;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#172b3b;color:#fff;border-radius:7px;padding:11px 18px;font-size:12px;box-shadow:0 6px 22px #0002;transition:.2s}.market-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.market-quick-links,.market-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-header-tool{font-size:10px!important;padding:7px 9px!important}}
@media(max-width:650px){.market-quick-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-quick-links>a{padding:10px;gap:8px}.market-quick-links>a>b{flex-basis:32px;height:32px}.market-quick-links strong{font-size:10px}.market-quick-links small{font-size:9px}.market-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-extra-grid>a{padding:11px}.market-card-actions button{padding:7px 5px;font-size:9px}}


/* Requested shop refinements: consistent product image frames and visible pricing */
.inner-page .product-grid{align-items:stretch}
.inner-page .product-card{display:flex;flex-direction:column;min-width:0;height:100%}
.inner-page .product-img{display:flex;align-items:center;justify-content:center;width:100%;height:220px;min-height:220px;padding:12px;overflow:hidden;background:#f7f8f9}
.inner-page .product-img img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:normal}
.inner-page .product-info{display:flex;flex:1;flex-direction:column}
.inner-page .product-price{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 13px;padding:8px 0}
.inner-page .product-price strong{font-size:17px;font-weight:900;color:#172b3b}
.inner-page .product-price del{font-size:12px;color:#9299a0}
.inner-page .product-info>a:last-child{margin-top:auto}
.brand{min-width:190px}
.brand-logo{width:185px;height:82px;object-fit:contain;display:block}
.heater-deals{background:#fbfaf6}
.heater-deals .market-section-heading>div>span{color:#a47713}
.copyright .wrap>span:last-child{font-weight:700}
.copyright a{color:#f2b51b;text-decoration:none}
@media(max-width:850px){.brand{min-width:160px}.brand-logo{width:160px;height:72px}}
@media(max-width:650px){
 .inner-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .inner-page .product-img{height:165px;min-height:165px;padding:8px}
 .inner-page .product-info{padding:10px}
 .inner-page .product-info h3{font-size:13px;line-height:1.7;min-height:44px}
 .inner-page .product-price strong{font-size:14px}
 .brand{min-width:145px}
 .brand-logo{width:150px;height:66px}
}


/* Responsive header and layout refinements */
@media (min-width: 851px) {
  .header .head-row {
    display:flex !important;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:8px 18px;
    height:auto;
    min-height:82px;
    padding-top:8px;
    padding-bottom:8px;
  }
  .header .brand { order:1; flex:0 0 auto; min-width:0; }
  .header .head-actions { order:2; margin-inline-start:auto; }
  .header .nav {
    order:3;
    display:flex !important;
    flex:1 0 100%;
    width:100%;
    min-width:0;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:2px 5px;
    margin:0;
    padding:4px 0 2px;
    font-size:12px;
  }
  .header .nav>a,
  .header .nav-categories>a {
    display:inline-flex;
    align-items:center;
    padding:8px 9px;
    line-height:1.5;
    white-space:normal;
    border-radius:7px;
  }
  .header .nav>a:hover,
  .header .nav-categories>a:hover { background:#f5f6f7; }
  .header .nav .market-header-tool { padding:7px 9px !important; }
  .header .nav .main-categories { top:100%; }
}
@media (max-width: 850px) {
  .header .head-row {
    display:flex !important;
    height:auto;
    min-height:70px;
    flex-wrap:nowrap;
    justify-content:space-between;
    gap:10px;
    padding-top:7px;
    padding-bottom:7px;
  }
  .header .brand { min-width:0; }
  .header .brand-logo { width:145px; height:58px; }
  .header .nav { display:none !important; }
  .header .menu-toggle {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:44px;
    height:42px;
    flex:0 0 44px;
    border:0;
    border-radius:8px;
    background:#172b3b;
    color:#fff;
    font-size:23px;
    cursor:pointer;
  }
  .header .mobile-nav {
    display:none;
    max-height:calc(100vh - 70px);
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:8px 18px 16px;
    background:#172b3b;
    color:#fff;
  }
  .header .mobile-nav.open { display:block !important; }
  .header .mobile-nav>a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:11px 7px;
    border-bottom:1px solid #ffffff20;
    color:#fff;
    font-size:13px;
    line-height:1.6;
  }
  .header .mobile-categories { margin:0; padding:0 8px; }
  .header .mobile-categories>li { list-style:none; }
  .header .mobile-categories a { color:#fff; white-space:normal; }
}
@media (max-width: 600px) {
  .wrap { width:calc(100% - 28px); }
  .top-inner { gap:8px; font-size:10px; flex-wrap:wrap; }
  .header .brand-logo { width:126px; height:52px; }
  .header .head-row { min-height:62px; }
  .market-hero { grid-template-columns:1fr !important; gap:18px !important; }
  .market-hero-copy { padding:28px 0 0 !important; }
  .market-hero-copy h1 { font-size:clamp(27px,8vw,38px) !important; }
  .market-hero-image { min-height:210px; }
  .market-section-heading { align-items:flex-start; gap:10px; flex-wrap:wrap; }
  .market-section-heading h2 { font-size:22px; }
  .market-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:9px !important; }
  .market-product-grid .product-card { min-width:0; }
  .market-product-grid .product-img { height:145px; min-height:145px; }
  .market-product-grid .product-info { min-width:0; padding:9px; }
  .market-product-grid .product-info h3 { font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
  .market-product-grid .product-card-description { font-size:10px; }
  .market-products-section { padding-top:28px !important; padding-bottom:28px !important; }
  .market-categories { padding-top:30px !important; padding-bottom:30px !important; }
  .market-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:9px !important; }
  .market-category { min-width:0; }
  .market-category img { max-width:100%; }
  .white-friday-banner { padding:22px !important; gap:15px !important; flex-wrap:wrap; }
  .white-friday-mark { font-size:25px; }
  .footer-cols { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .copyright .wrap { display:flex; flex-direction:column; align-items:flex-start; }
}
@media (max-width: 380px) {
  .market-product-grid { grid-template-columns:1fr !important; }
  .market-product-grid .product-img { height:190px; min-height:190px; }
  .footer-cols { grid-template-columns:1fr !important; }
}
html, body { max-width:100%; overflow-x:hidden; }
img, video, iframe { max-width:100%; }
input, select, textarea, button { max-width:100%; }
.market-home, main, section, .wrap { min-width:0; }


/* WebBasma header refinement: logo stays at the right of the desktop menu row */
@media (min-width: 1101px) {
  .header .head-row {
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:18px !important;
    min-height:94px;
    height:auto !important;
    padding-top:9px;
    padding-bottom:9px;
  }
  .header .brand {
    order:0 !important;
    flex:0 0 132px !important;
    min-width:132px !important;
    justify-content:flex-start;
  }
  .header .brand-logo {
    display:block;
    width:128px !important;
    height:62px !important;
    object-fit:contain;
  }
  .header .nav {
    order:1 !important;
    display:flex !important;
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    align-content:center;
    align-items:center;
    gap:2px 12px !important;
    margin:0 !important;
    padding:0 !important;
    font-size:11px !important;
    line-height:1.35;
  }
  .header .nav > a,
  .header .nav-categories > a {
    display:inline-flex;
    align-items:center;
    padding:7px 0 !important;
    white-space:nowrap;
  }
  .header .nav a.active:after { bottom:1px; }
  .header .menu-toggle { display:none !important; }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .header .head-row {
    display:flex !important;
    flex-wrap:nowrap !important;
    min-height:76px;
    height:auto !important;
    justify-content:space-between;
  }
  .header .brand { order:0 !important; margin-inline-end:auto; }
  .header .brand-logo { width:132px !important; height:56px !important; object-fit:contain; }
  .header .nav { display:none !important; }
  .header .menu-toggle { display:inline-flex !important; order:1; }
}


/* Larger brand mark and balanced responsive navigation */
@media (min-width:1101px){
  .header .head-row{
    display:flex!important; flex-flow:row nowrap!important; align-items:center!important;
    justify-content:flex-start!important; gap:16px!important; min-height:112px!important;
    padding-top:10px!important; padding-bottom:10px!important;
  }
  .header .brand{flex:0 0 190px!important; width:190px!important; min-width:190px!important; order:0!important;}
  .header .brand-logo{width:184px!important;height:94px!important;max-width:100%;object-fit:contain;display:block;}
  .header .nav{
    order:1!important; flex:1 1 auto!important; width:auto!important; min-width:0!important;
    display:flex!important; flex-flow:row wrap!important; justify-content:flex-start!important;
    align-content:center!important; align-items:center!important; gap:3px 13px!important;
    margin:0!important; padding:0!important; font-size:12px!important; line-height:1.45!important;
  }
  .header .nav>a,.header .nav-categories>a{padding:6px 0!important;white-space:nowrap;}
}
@media (min-width:851px) and (max-width:1100px){
  .header .head-row{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;min-height:90px!important;}
  .header .brand{order:0!important;flex:0 0 170px!important;width:170px!important;}
  .header .brand-logo{width:164px!important;height:78px!important;object-fit:contain;}
  .header .nav{display:none!important;}
  .header .menu-toggle{display:inline-flex!important;order:1!important;margin-inline-start:auto;}
}
@media (max-width:850px){
  .header .head-row{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;min-height:86px!important;gap:12px!important;}
  .header .brand{flex:0 1 165px!important;min-width:0!important;order:0!important;}
  .header .brand-logo{width:158px!important;height:76px!important;max-width:100%;object-fit:contain;}
  .header .nav{display:none!important;}
  .header .menu-toggle{display:inline-flex!important;order:1!important;flex:0 0 44px!important;}
}
@media (max-width:380px){
  .header .head-row{min-height:78px!important;}
  .header .brand{flex-basis:142px!important;}
  .header .brand-logo{width:138px!important;height:68px!important;}
}
.white-friday-top{padding-top:30px!important;padding-bottom:30px!important;}
.white-friday-top .market-section-heading{margin-bottom:18px;}


/* Card payment branding: clearly marked until a payment gateway is connected */
.payment-methods{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px;border-top:1px solid #e8e8e8;}
.payment-methods-copy{display:flex;flex-direction:column;gap:4px;color:#253446;}
.payment-methods-copy strong{font-size:14px;}
.payment-methods-copy span{font-size:12px;color:#687384;}
.payment-card-logos,.payment-inline{display:flex;align-items:center;gap:12px;}
.payment-logo{height:38px;min-width:76px;padding:5px 10px;border:1px solid #e3e7ed;border-radius:7px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-style:italic;letter-spacing:-1px;}
.payment-logo.visa,.visa-word{color:#173a80;font-size:20px;}
.payment-logo.mastercard{position:relative;color:#292929;font-size:10px;letter-spacing:-.4px;padding-inline-start:28px;}
.payment-logo.mastercard i{position:absolute;right:8px;width:18px;height:18px;border-radius:50%;background:#e53935;box-shadow:10px 0 0 #f5a623;}
.checkout-payment-note{margin-top:8px;padding:13px;border:1px solid #e7eaf0;border-radius:10px;background:#fafbfc;display:flex;flex-direction:column;gap:8px;}
.checkout-payment-note strong{font-size:13px;}
.checkout-payment-note small{font-size:11px;color:#687384;line-height:1.7;}
.mc-word{font-size:12px;color:#333;}
@media(max-width:600px){.payment-methods{align-items:flex-start;flex-direction:column;}.payment-methods-copy span{line-height:1.6;}}

/* Reliable mobile navigation across phones and small tablets */
@media (max-width:850px){
 .header{position:relative;z-index:1000}
 .header .head-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
 .header .nav{display:none!important}
 .header .menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-width:46px;min-height:44px;border:0;border-radius:8px;background:#172b3b;color:#fff;font-size:24px;cursor:pointer;position:relative;z-index:1002}
 .header .mobile-nav{display:none!important;position:absolute;top:100%;right:0;left:0;width:100%;max-height:calc(100vh - 75px);overflow-y:auto;background:#172b3b;color:#fff;padding:10px 18px 18px;box-shadow:0 14px 24px rgba(0,0,0,.2);z-index:1001}
 .header .mobile-nav.open{display:block!important}
 .header .mobile-nav>a{display:flex;align-items:center;justify-content:space-between;padding:11px 7px;border-bottom:1px solid rgba(255,255,255,.14);color:#fff}
 .header .mobile-categories{display:block;margin:0;padding:0 8px}
 .header .mobile-categories .submenu{display:block;position:static}
}
@media (min-width:851px){.header .menu-toggle,.header .mobile-nav{display:none!important}}
