/* Thunder's Garden — desktop-site layout corrections.
   This stylesheet fixes the DESKTOP design, including Android browsers
   requesting Desktop site. It does not force a phone/mobile design. */
html { width:100%; min-width:0; }
body.tg-tropical {
  width:100vw;
  min-width:100vw;
  max-width:none;
  margin:0;
  overflow-x:clip;
}
.tg-tropical .tg-topline,
.tg-tropical>header,
.tg-tropical #storeHero,
.tg-tropical .trust-strip,
.tg-tropical .tg-categories,
.tg-tropical .home-sections,
.tg-tropical footer {
  box-sizing:border-box;
}
.tg-tropical .tg-topline,
.tg-tropical>header,
.tg-tropical #storeHero,
.tg-tropical .trust-strip,
.tg-tropical footer {
  width:100%;
  max-width:none;
}
/* Preserve the seven category tiles and five product cards from the
   APPROVED DESKTOP MOCKUP when desktop mode uses a ~980px viewport. */
@media (min-width:780px) and (max-width:1250px) {
  .tg-tropical .nav {
    width:100%;
    max-width:none;
    display:grid;
    grid-template-columns:minmax(170px,max-content) minmax(0,1fr) auto;
    grid-template-areas:
      "logo links actions"
      "search search search";
    align-items:center;
    gap:8px 12px;
  }
  .tg-tropical .logo {
    grid-area:logo;
    font-size:20px;
    min-width:0;
    max-width:230px;
    white-space:normal;
  }
  .tg-tropical .store-logo { width:43px; height:43px; }
  .tg-tropical .site-links {
    grid-area:links;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:4px 10px;
    min-width:0;
  }
  .tg-tropical .site-links a { font-size:11px; }
  .tg-tropical .site-links .tg-active { padding:5px 11px; }
  .tg-tropical .header-actions {
    grid-area:actions;
    display:flex;
    gap:5px;
    justify-self:end;
    min-width:0;
  }
  .tg-tropical .header-actions .account-button { font-size:11px; padding:5px; }
  .tg-tropical .header-actions .tg-favorite-action { font-size:10px; }
  .tg-tropical .header-actions .tg-heart { font-size:23px; }
  .tg-tropical .cart-button { font-size:11px; padding:5px 3px; }
  .tg-tropical .mobile-menu { display:none; }
  .tg-tropical .tg-nav-search {
    grid-area:search;
    width:min(680px,100%);
    max-width:100%;
    min-width:0;
    justify-self:center;
    height:37px;
  }
  .tg-tropical .tg-categories { max-width:none; width:100%; }
  .tg-tropical .tg-category-grid { grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
  .tg-tropical .tg-category { min-height:88px; border-radius:10px; }
  .tg-tropical .tg-category .tg-category-name { font-size:11px; }
  .tg-tropical .container,
  .tg-tropical .home-sections { max-width:none; }
  .tg-tropical .products { grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
  .tg-tropical .product h3 { font-size:13px; }
  .tg-tropical .product-content { padding:9px; }
  .tg-tropical .product .add { font-size:12px; }
}
/* The ordinary Mobile-site viewport stays responsive by its original CSS.
   The special desktop adjustments above never run below 780 CSS pixels. */
