/* upahaar store typography system: elegant serif display + clean sans-serif UI */
:root {
  --sb-font-display: Georgia, 'Times New Roman', serif;
  --sb-font-ui: Arial, Helvetica, sans-serif;
}
html, body { font-family: var(--sb-font-ui); }
body, p, small, label, input, textarea, select, button,
.site-header nav a, .announcement, .overline, .primary-link,
.product-category, .card .info p, .card .add, .catalogue-resultbar,
.catalogue-sidebar .filter, .text-link, .site-footer, .policy-links,
.bottom-nav, .mobile-bottom-nav, .app-bottom-nav {
  font-family: var(--sb-font-ui);
}
h1, h2, h3, h4, h5, h6,
.masthead h1, .intro-strip h2, .section-top h2, .fabric-heading h2,
.collection-tile strong, .fabric-list button, .card .info h3,
.card .price, .catalogue-sidebar h3, .catalogue-empty h3,
.heritage-copy h2, .safe h2, .track h2,
.account-dialog-head h2, .account-welcome {
  font-family: var(--sb-font-display);
}
/* Keep UI labels crisp and prevent accidental serif inheritance. */
.site-header nav a, .site-header .cart, .site-header .google-login-btn,
.primary-link, .card .add, .catalogue-tools select,
.catalogue-search input, .track input, .track button,
.bottom-nav a, .mobile-bottom-nav a, .app-bottom-nav a {
  font-family: var(--sb-font-ui);
}


/* Compact category tiles — restore the earlier small-tile browsing experience */
.catalogue-category-strip{margin:0 0 25px;padding:14px 0 17px;border-top:1px solid #e9e0d5;border-bottom:1px solid #e9e0d5}
.category-strip-heading{display:flex;align-items:baseline;gap:12px;margin:0 0 11px}
.category-strip-heading span{font:600 10px/1.3 Arial,sans-serif;letter-spacing:.16em;color:#C41230}
.category-strip-heading small{font:11px/1.4 Arial,sans-serif;color:#9a8c80}
.category-tile-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.category-tile{min-width:0;min-height:42px;padding:8px 10px;border:1px solid #e5d9cc;border-radius:3px;background:#fffdf9;color:#6b5a50;font:600 11px/1.25 Arial,sans-serif;text-align:center;cursor:pointer;transition:background .16s,border-color .16s,color .16s;overflow-wrap:anywhere}
.category-tile:hover{border-color:#9b6d58;color:#C41230;background:#fff}
.category-tile.active{background:#C41230;border-color:#C41230;color:#fff}
@media(max-width:900px){.category-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.catalogue-category-strip{margin-bottom:19px;padding:12px 0 14px}.category-strip-heading{margin-bottom:9px}.category-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.category-tile{min-height:39px;padding:7px 6px;font-size:10px}}


/* Compact category tiles visible on the homepage and inside the catalogue */
.homepage-category-section{padding:32px clamp(20px,7vw,108px) 42px;background:#fbf8f3}
.homepage-category-section .section-top{margin-bottom:15px}
.homepage-category-section .section-top h2{font:normal clamp(25px,2.6vw,32px) Georgia,serif;color:#C41230;margin:5px 0}
.homepage-category-section .section-top>p{font-size:12px;color:#81766c}
.homepage-category-section .category-tile-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:900px){.homepage-category-section .category-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.homepage-category-section{padding:26px 17px 30px}.homepage-category-section .section-top{display:block}.homepage-category-section .section-top>p{margin-top:7px}.homepage-category-section .category-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}}
