/* ============================================================
   TeamRoids clone — custom overrides (Axidion). Loaded last.
   ============================================================ */

/* (1) Feather-icon glyphs rendered via Bootstrap Icons.
   The original local feather webfont wasn't captured in the page-save,
   so the slider arrows + sidebar dropdown chevrons + in-stock check
   rendered blank. Remap the exact classes used to Bootstrap Icons. */
.feather-icon::before {
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.feather-icon.icon-chevron-down::before  { content: "\f282"; }
.feather-icon.icon-chevron-up::before    { content: "\f286"; }
.feather-icon.icon-chevron-left::before  { content: "\f284"; }
.feather-icon.icon-chevron-right::before { content: "\f285"; }
.feather-icon.icon-check::before         { content: "\f26e"; }

/* (2) Best Products: show the yellow cart icon fully (un-clip the
   rounded `bdr-20` card so it matches the Trending Now cards). */
.card-product,
.card-product .card-body { overflow: visible !important; }

/* (3) Category/brand SEO content block — sky-blue headings like the source. */
.tr-cat-content { color: #5c6c75; font-size: 14px; line-height: 1.7; }
.tr-cat-content h1, .tr-cat-content h2, .tr-cat-content h3,
.tr-cat-content h4, .tr-cat-content h5, .tr-cat-content h6,
.tr-cat-content b, .tr-cat-content strong { color: #29abe2; font-weight: 700; }
.tr-cat-content a { color: #f5c400; }
.tr-cat-content .mx-5 { margin-left: 1.5rem; margin-right: 1.5rem; }

/* (4) Sub-page banner + breadcrumb are styled natively by the source styles.css
   (header{position:absolute} overlays the .subpage-header banner; .breadcrumb uses
   max-width:max-content to stay a horizontal pill). We deliberately add NO overrides
   here — earlier overrides fought the source CSS and broke the breadcrumb into a
   vertical box. The banner image lives at home/assets/images/banner/banner-behind.png,
   which is exactly the path styles.css expects. */

/* (5) Single product page — styling for the REAL source classes */
.product-detailed-div { position: relative; }
.product-detailed-div .product { background: #f5f5f5; border-radius: 14px; padding: 22px; }
.product-detailed-div .tr-zoom img { width: 100%; height: auto; }
.tr-prod-badges { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tr-prodbadge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 20px; color: #1a1a1a; white-space: nowrap; line-height: 1; }
.tr-prodbadge.lab { background: linear-gradient(135deg, #f7cd00, #e3b400); }
.tr-prodbadge.stock.in { background: linear-gradient(135deg, #aee36b, #56ab2f); }
.tr-prodbadge.stock.out { background: #e23b3b; color: #fff; }
.tr-prodbadge.stock.in .bi-check-circle-fill { color: #1f7a1f; }
a.tr-prodbadge { text-decoration: none; cursor: pointer; }
a.tr-prodbadge.lab:hover { filter: brightness(1.05); }
.tr-flask { flex: none; }
.tr-stars .bi-star { color: #f5c400; font-size: 15px; margin-right: 1px; }
.container-dived { display: flex; align-items: center; gap: 12px; margin-bottom: .5rem; }
.overview-text { font-weight: 700; color: #21313c; white-space: nowrap; }
.tr-overview-line { flex: 1; height: 1px; background: linear-gradient(to right, #f5c400, transparent); }
.gradient-bullets { list-style: none; padding-left: 0; }
.gradient-bullets li { position: relative; padding-left: 22px; color: #5c6c75; }
.gradient-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #f5c400, #dcc723); }
.gradient-bullets li b { color: #21313c; }
/* .btn-reviews (the black "LAB TESTS" pill) is styled natively by source styles.css
   (99×24, black gradient, 11px uppercase). No override here — it kept wrapping outside
   the column when we forced our own padding/width. */
.price-tag-stroked, .price-tag-stroked .woocommerce-Price-amount,
.price-tag-stroked .amount { color: #f15a23 !important; font-weight: 700; }
/* The quantity counter is the SOURCE's clean rounded pill: Bootstrap .input-group merges
   the borders + rounds the ends, theme.min.css .input-spinner makes the +/- transparent.
   We add NO geometry override here (our old white-40px-button override produced the
   malformed "square box"). We only kill the native number-spinner arrows so it stays clean. */
.input-spinner input.quantity-field {
    color: #21313c !important; font-weight: 600;
    -webkit-appearance: none !important; -moz-appearance: textfield !important; appearance: none !important; }
.input-spinner input.quantity-field::-webkit-outer-spin-button,
.input-spinner input.quantity-field::-webkit-inner-spin-button { -webkit-appearance: none !important; display: none !important; margin: 0; }
.btn-grad-table {
    background: linear-gradient(to right, #f5c400 0%, #dcc723 100%) !important; color: #000 !important;
    border: none !important; border-radius: 24px !important; padding: 11px 32px !important; font-weight: 700; }
.tr-section-head { border-bottom: 1px solid #eee; padding-bottom: .5rem; }
.tr-product-desc { margin-top: 1rem; }
.tr-no-reviews { position: relative; width: 430px; max-width: 92%; margin: 0 auto; }
.tr-rev-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #eef0f2; border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.07); padding: 16px 22px; width: 82%; }
.tr-rev-card.offset { margin-left: auto; margin-top: -8px; }
.tr-rev-avatar { width: 44px; height: 44px; border-radius: 50%; background: #ececec; border: 2px solid #f5c400; flex: none; }
.tr-rev-lines { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.tr-rev-lines i { height: 11px; border-radius: 6px; background: #ececec; display: block; }
.tr-rev-lines i:first-child { width: 92%; }
.tr-rev-lines i:last-child { width: 56%; }

/* (6) Pagination as independent boxes (matches source) */
.woocommerce-pagination { text-align: center; margin-top: 1.5rem; }
.woocommerce-pagination ul, .woocommerce-pagination ul li { border: 0 !important; margin: 0 !important; }
.woocommerce-pagination ul { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.woocommerce-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
    padding: 0 12px; border: 1px solid #e6e6e6 !important; border-radius: 8px; color: #5c6c75; background: #fff; }
.woocommerce-pagination .page-numbers.current { background: #f5c400; color: #000; border-color: #f5c400 !important; }
.woocommerce-pagination .page-numbers:hover { border-color: #f5c400 !important; }

/* (7) MOBILE breadcrumb = HORIZONTAL pill (intentional improvement over source).
   The source CSS (.breadcrumb{padding:12px 100px; font-size:24px}) wraps to 3-4 lines on
   phones; the user prefers it on one line like desktop. Shrink font/padding, never wrap,
   shrink the pill to its content (capped at 92%), scroll if a very long product name
   overflows. Desktop (>=768px) is left 100% source-native. */
@media (max-width: 767.98px) {
  .subpage-header .breadcrumb {
    width: max-content;
    max-width: 92% !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 9px 16px !important;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .subpage-header .breadcrumb::-webkit-scrollbar { display: none; }
  .subpage-header .breadcrumb a,
  .subpage-header .breadcrumb li { font-size: 13px !important; white-space: nowrap; }
  .subpage-header .breadcrumb li:not(:last-child)::after { font-size: 13px !important; margin-left: 7px !important; }
}

/* (8) /page/* content pages — same category-page layout (with sidebar) but the
   headings are DARK, not sky-blue. Sky-blue is reserved for the category/brand SEO
   blocks (.tr-cat-content). Bullet lists reuse the gold .gradient-bullets dots. */
.tr-page-content { color: #5c6c75; font-size: 14px; line-height: 1.8; }
.tr-page-content h1 { color: #1f2d3a; font-weight: 700; font-size: 22px; margin: 0 0 1rem; }
.tr-page-content h2 { color: #1f2d3a; font-weight: 700; font-size: 18px; margin: 1.6rem 0 .6rem; }
.tr-page-content h3 { color: #1f2d3a; font-weight: 700; font-size: 16px; margin: 1.2rem 0 .5rem; }
.tr-page-content h4 { color: #1f2d3a; font-weight: 700; font-size: 14px; margin: 1rem 0 .35rem; }
.tr-page-content p { margin-bottom: 1rem; }
.tr-page-content strong, .tr-page-content b { color: #1f2d3a; }
.tr-page-content a { color: #f5c400; }
.tr-page-content ul.gradient-bullets { padding-left: 4px; margin: .4rem 0 1.1rem; }
.tr-page-content ul.gradient-bullets li { margin-bottom: .35rem; color: #5c6c75; }

/* (9) Full Price List table (full-width, no sidebar) — dark header + striped rows,
   dark product names, yellow Add-to-cart pill. Columns: Products|Pack|Brand|Price|Action. */
.pricelist-table { border-collapse: separate; border-spacing: 0; }
.pricelist-table thead tr { background: #0a0a0a; }
.pricelist-table thead th { color: #FFC800; font-weight: 700; padding: 16px 12px; border: 0; text-align: center; white-space: nowrap; }
.pricelist-table tbody td { padding: 15px 12px; border: 0; text-align: center; vertical-align: middle; color: #21313c; font-size: 14px; }
.pricelist-table tbody tr:nth-child(odd) { background: #ececec; }
.pricelist-table tbody tr:nth-child(even) { background: #fff; }
.pricelist-table .pl-name a { color: #21313c; font-weight: 600; text-decoration: none; }
.pricelist-table .pl-name a:hover { color: #f15a23; }
.pricelist-table .pl-add { display: inline-block; padding: 8px 22px; border-radius: 22px; font-weight: 700;
    font-size: 12px; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: #000 !important;
    background: linear-gradient(to right, #f5c400 0%, #dcc723 100%); }
.pricelist-table .pl-add:hover { filter: brightness(1.05); }

/* (10) Blog cards — full-width READ MORE button in the card footer (matches source). */
.blogs-card { display: flex; flex-direction: column; }
.blogs-card .card-footer { background: transparent; border-top: 0; padding: 0 1.25rem 1.5rem; }
.blogs-card .card-footer .btn-grad-table { display: block; width: 100%; }

/* (11) Guides hub link list — compact single-column links (the default .tr-page-content
   line-height:1.8 made the 50-link list run far too tall vs the source). */
.tr-page-content ul.tr-guides-list { padding-left: 20px; margin: .4rem 0 1rem; line-height: 1.3; }
.tr-page-content ul.tr-guides-list li { margin: 0 0 2px; color: #5c6c75; }
.tr-page-content ul.tr-guides-list a { font-size: 13px; }

/* (12) Account pages — password eye-toggle position + orders table (dark boxed header). */
.password-field { position: relative; }
.password-field span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    cursor: pointer; color: #7288a2; line-height: 0; }
.password-field .form-control { padding-right: 44px; }
.orders-table { border-collapse: separate; border-spacing: 6px; width: auto; max-width: 100%; margin: 2.5rem auto; }
.orders-table thead th { background: #0a0a0a; color: #FFC800; border: 0; border-radius: 6px;
    padding: 14px 26px; text-align: center; white-space: nowrap; font-weight: 700; }
.orders-table tbody td { text-align: center; padding: 12px 26px; color: #21313c; }
.orders-table .pl-add { display: inline-block; padding: 6px 18px; border-radius: 18px; font-weight: 700;
    font-size: 12px; text-transform: uppercase; text-decoration: none; color: #000 !important;
    background: linear-gradient(to right, #f5c400 0%, #dcc723 100%); }

/* (13) Account / profile section — left nav sidebar + address cards. */
.acc-nav li { margin-bottom: 4px; }
.acc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; color: #5c6c75;
    text-decoration: none; font-size: 14px; border-bottom: 1px solid #f1f1f1; }
.acc-nav a i { color: #5c6c75; font-size: 15px; }
.acc-nav a:hover { color: #f5c400; }
.acc-nav a.active { color: #f5c400; font-weight: 600; }
.acc-nav a.active i { color: #f5c400; }
.acc-heading { color: #f5c400; font-weight: 700; }
.acc-address-card { border: 1px solid #e6e6e6; border-radius: 10px; padding: 22px; max-width: 320px; color: #5c6c75; font-size: 14px; }
.acc-address-card strong { color: #21313c; display: block; margin-bottom: 10px; }
.acc-address-card .acc-edit { color: #21313c; text-decoration: none; margin-right: 14px; font-weight: 600; }
.acc-address-card .acc-delete { color: #f15a23; text-decoration: none; font-weight: 600; }
.acc-add-btn { display: inline-block; border: 1px solid #f5c400; color: #d6a700; border-radius: 8px;
    padding: 9px 18px; text-decoration: none; font-size: 13px; font-weight: 600; }
.acc-add-btn:hover { background: #f5c400; color: #000; }
.acc-form .form-control { border-radius: 1.5rem; }
.acc-content { border-left: 1px solid #eee; padding-left: 2rem; }
@media (max-width: 991.98px) { .acc-content { border-left: 0; padding-left: 1rem; } }
.acc-form .form-check-input:checked { background-color: #f5c400; border-color: #f5c400; }

/* (14) Header cart count badge (updates via WooCommerce add-to-cart fragments). */
.tr-cart-link { display: inline-flex; align-items: center; }
.tr-cart-ico { display: inline-flex; }
.tr-cart-count { position: absolute; top: -7px; right: -10px; min-width: 17px; height: 17px;
    padding: 0 4px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; line-height: 1; color: #000; background: #f5c400;
    border-radius: 9px; }
/* product-card cart icon: subtle feedback while/after adding */
.tr-card-cart.loading { opacity: .5; pointer-events: none; }
.tr-card-cart.added { filter: brightness(1.1); }

/* (15) Custom checkout — step heads + payment copy */
.tr-step { font-weight: 700; text-transform: uppercase; font-size: 1.05rem; border-bottom: 2px solid #f5c400; padding-bottom: 6px; margin-bottom: 14px; display: inline-block; }
.orders-table img { border-radius: 6px; }
