/* ============================================================
   PRIMZO MARKET — ORANGE / BLACK / WHITE FINAL POLISH
   Final cascade layer. Keeps existing markup/functions intact.
   ============================================================ */
:root{
  --primzo-orange:#ff6a00;
  --primzo-orange-dark:#e85f00;
  --primzo-black:#111111;
  --primzo-white:#ffffff;
  --primzo-line:#e7e7e7;
  --primzo-soft:#fff5ee;
}

/* Global storefront palette: no green theme anywhere on customer pages. */
html,body.reference-store-body,
.reference-store-body main#mainContent,
.reference-store-body .home-reference-shell{background:#fff!important;color:#111!important}
.reference-store-body *{--ref-green:#ff6a00!important;--ps-green:#ff6a00!important;--primary-color:#ff6a00!important}
.reference-store-body a{color:#111!important}
.reference-store-body a:hover{color:#ff6a00!important}

/* Header: orange utility bar + clean white main row + orange navigation. */
.reference-topbar,.primzo-header-marquee{background:#ff6a00!important;color:#fff!important}
.reference-topbar *, .primzo-header-marquee *{color:#fff!important}
.reference-main-header{background:#fff!important;border-bottom:1px solid #e7e7e7!important;box-shadow:0 3px 14px rgba(0,0,0,.07)!important}
.reference-main-header::before,.reference-main-header::after{content:none!important;display:none!important;background:none!important}
.reference-nav{background:#111!important;border:0!important}
.reference-nav-inner{background:#111!important}
.reference-nav-inner>a,.reference-nav-inner>a.active{color:#fff!important;background:#111!important}
.reference-nav-inner>a:hover,.reference-nav-inner>a.active{background:#ff6a00!important;color:#fff!important}
.nav-support{color:#fff!important}
.nav-support:hover{color:#fff!important;background:#ff6a00!important}
.reference-search-box{background:#fff!important;border-color:#cfd3d6!important}
.reference-search-box>i{color:#111!important}
.reference-search-box input{color:#111!important;background:#fff!important}
.reference-search-box input::placeholder{color:#777!important;opacity:1!important}
.reference-search-box button{background:#ff6a00!important;color:#fff!important;border-color:#ff6a00!important}
.ref-action,.ref-action strong,.ref-action small{color:#111!important}
.ref-action-icon{color:#ff6a00!important;border-color:#ff6a00!important;background:#fff!important}
.ref-action-icon b{background:#ff6a00!important;color:#fff!important}

/* Remove the ugly yellow/legacy header decorations; add subtle desktop-only side accents. */
@media(min-width:1200px){
  .reference-main-header{position:relative;overflow:visible!important}
  .reference-main-header .ref-main-grid{position:relative;z-index:2}
  .reference-main-header .ref-main-grid::before,
  .reference-main-header .ref-main-grid::after{
    content:"";position:absolute;top:50%;transform:translateY(-50%);
    width:78px;height:38px;border-radius:9px;
    background:linear-gradient(135deg,#ff6a00,#ff8a00)!important;
    opacity:.10;pointer-events:none;z-index:-1;
  }
  .reference-main-header .ref-main-grid::before{left:-20px;clip-path:polygon(0 20%,100% 0,82% 100%,12% 78%)}
  .reference-main-header .ref-main-grid::after{right:-20px;clip-path:polygon(18% 0,100% 22%,88% 100%,0 80%)}
}

/* Logo: orange instead of legacy green. */
.reference-logo img{filter:none!important}

/* Category/menu accents. */
.home-cat-panel,.home-cat-list,.home-cat-list a,.desktop-category-panel{background:#fff!important;color:#111!important}
.home-cat-title{background:#ff6a00!important;color:#fff!important}
.home-cat-list a{color:#111!important;border-color:#eee!important}
.home-cat-list a:hover{background:#fff5ee!important;color:#ff6a00!important}
.home-cat-list a i{color:#ff6a00!important}
.desktop-category-root-item{color:#111!important;background:#fff!important}
.desktop-category-root-item:hover,.desktop-category-root-item.active{background:#fff5ee!important;color:#ff6a00!important}
.desktop-category-item-icon{color:#ff6a00!important;background:#fff5ee!important}

/* Homepage hero and desktop promo rail. */
.home-hero{background:#111!important;color:#fff!important}
.home-hero-copy h1,.home-hero-copy p,.home-hero-copy small{color:#fff!important}
.home-hero-copy h1 span{color:#ff8a00!important}
.home-shop-btn{background:#ff6a00!important;color:#fff!important;border-color:#ff6a00!important}
.home-shop-btn:hover{background:#fff!important;color:#ff6a00!important}
.home-sale-circle{background:#ff6a00!important;border-color:#fff!important;color:#fff!important}
.home-sale-circle b{color:#fff!important}
.home-side-promos{display:grid!important}
.home-side-card{background:#fff!important;color:#111!important;border-color:#e4e4e4!important}
.home-side-card *{color:#111!important}
.home-side-card strong{color:#ff6a00!important}
.home-side-card:hover{border-color:#ff6a00!important;box-shadow:0 8px 24px rgba(255,106,0,.12)!important}

/* Trust strip / section headings. */
.reference-trust,.reference-section,.products-toolbar,.filters-box,.card,.panel,.order-card,.cart-container,.checkout-container,.account-container,.cart-summary-box,.checkout-section,.data-table,.payment-option-card,.product-detail{background:#fff!important;color:#111!important;border-color:#e7e7e7!important}
.reference-section{box-shadow:0 4px 18px rgba(0,0,0,.045)!important}
.reference-section-head h2,.reference-store-body h1,.reference-store-body h2,.reference-store-body h3,.reference-store-body h4,.reference-store-body h5,.reference-store-body h6{color:#ff6a00!important}
.reference-section-head h2 span{color:#666!important}
.reference-section-head h2:before,.reference-section-head::before{background:#ff6a00!important}
.reference-section-head>a,.breadcrumb a{color:#ff6a00!important}
.reference-trust-item i{color:#ff6a00!important;border-color:#ff6a00!important}
.reference-trust-item b,.reference-trust-item span{color:#111!important}

/* Homepage categories: compact, horizontal, no oversized boxes. */
.category-carousel{position:relative!important}
.category-carousel-track{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important;gap:10px!important;padding:4px 4px 8px!important}
.category-carousel-track::-webkit-scrollbar{display:none!important}
.category-carousel-card{flex:0 0 112px!important;width:112px!important;min-width:112px!important;min-height:118px!important;padding:10px 7px!important;background:#fff!important;border:1px solid #e7e7e7!important;border-radius:9px!important}
.category-carousel-card .category-image-wrap.cat-image,.category-carousel-card .cat-icon.cat-image{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;background:#fff!important;border:2px solid #eee!important}
.category-carousel-card:hover,.category-carousel-card.is-selected{border-color:#ff6a00!important;box-shadow:0 7px 20px rgba(255,106,0,.10)!important}
.category-carousel-card:hover .category-image-wrap,.category-carousel-card.is-selected .category-image-wrap{border-color:#ff6a00!important}
.category-carousel-card strong{color:#111!important;font-size:10px!important;text-align:center!important;line-height:1.25!important}
.category-sub-links em,.category-carousel-card>span:last-child{color:#777!important;font-size:8px!important}
.category-carousel-arrow{color:#ff6a00!important;border-color:#ddd!important;background:#fff!important}
.category-carousel-arrow:hover{background:#ff6a00!important;color:#fff!important;border-color:#ff6a00!important}

/* Product grids: desktop 6 columns, mobile 2 columns. */
.reference-store-body .product-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
.reference-store-body .product-grid-item{min-width:0!important}
.reference-store-body .product-card{height:100%!important;min-width:0!important;background:#fff!important;color:#111!important;border:1px solid #e4e4e4!important;border-radius:8px!important;box-shadow:0 3px 12px rgba(0,0,0,.05)!important}
.reference-store-body .product-card:hover{border-color:#ff6a00!important;box-shadow:0 10px 24px rgba(255,106,0,.11)!important}
.reference-store-body .product-image-wrapper{height:185px!important;min-height:185px!important;background:#fff!important;padding:0!important;overflow:hidden!important}
.reference-store-body .product-image{background:#fff!important}
.reference-store-body .product-image img{width:100%!important;height:100%!important;object-fit:contain!important;padding:9px!important;background:#fff!important;mix-blend-mode:normal!important}
.reference-store-body .product-info{background:#fff!important}
.reference-store-body .product-name{color:#111!important;font-weight:700!important}
.reference-store-body .product-category{color:#777!important}
.reference-store-body .price-current,.reference-store-body .product-card .price-current{color:#111!important;font-weight:900!important}
.reference-store-body .price-original{color:#888!important}
.reference-store-body .product-rating .stars{color:#ff9d00!important}
.reference-store-body .product-stock{color:#555!important}
.reference-store-body .badge-flash,.reference-store-body .badge-new,.reference-store-body .badge-sale,.reference-store-body .badge-featured{background:#ff6a00!important;color:#fff!important}
.reference-store-body .badge-discount{background:#111!important;color:#fff!important}
.reference-store-body .product-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
.reference-store-body .product-card-actions .btn-add-cart{background:#ff6a00!important;border-color:#ff6a00!important;color:#fff!important}
.reference-store-body .product-card-actions .btn-buy-now{background:#fff!important;border:1px solid #ff6a00!important;color:#ff6a00!important}
.reference-store-body .product-card-actions .btn-buy-now:hover{background:#ff6a00!important;color:#fff!important}
.reference-store-body .btn-wishlist{background:#fff!important;color:#ff6a00!important;border-color:#ddd!important}
.reference-store-body .btn-wishlist.active{color:#ff6a00!important}
.reference-store-body .btn-primary,.reference-store-body .btn-success,.reference-store-body .btn-checkout,.reference-store-body .btn-submit,.reference-store-body .btn-shop,.reference-store-body .btn-add-cart{background:#ff6a00!important;border-color:#ff6a00!important;color:#fff!important}
.reference-store-body .btn-primary:hover,.reference-store-body .btn-success:hover,.reference-store-body .btn-checkout:hover,.reference-store-body .btn-submit:hover,.reference-store-body .btn-shop:hover,.reference-store-body .btn-add-cart:hover{background:#111!important;border-color:#111!important;color:#fff!important}
.reference-store-body .btn-outline,.reference-store-body .btn-secondary,.reference-store-body .btn-light{background:#fff!important;color:#111!important;border-color:#111!important}
.reference-store-body .btn-outline:hover,.reference-store-body .btn-secondary:hover,.reference-store-body .btn-light:hover{background:#ff6a00!important;color:#fff!important;border-color:#ff6a00!important}

/* Product/checkout detail: orange accents, black pricing, readable content. */
.product-marketplace-layout,.product-gallery-main,.product-side-card,.affiliate-product-box{background:#fff!important;border-color:#e5e5e5!important}
.product-info-column h1,.product-info-column h2,.product-info-column h3{color:#ff6a00!important}
.product-info-column .price-current{color:#111!important}
.product-info-column .short-description,#tabDescription,.product-info-column p{color:#333!important}
.product-info-column .btn-add-cart{background:#ff6a00!important;color:#fff!important}
.product-info-column .btn-wishlist{color:#ff6a00!important;border-color:#ff6a00!important}
.product-variants-box{background:#fff!important;border-color:#e7e7e7!important}
.product-variants-box>strong,.product-variants-box>strong i{color:#ff6a00!important}
.product-variant-chip{color:#111!important;border-color:#ccc!important;background:#fff!important}
.product-variant-chip em{color:#ff6a00!important}
.product-verification-note{background:#fff5ee!important;border-color:#ffd2b5!important;color:#111!important}
.delivery-info,.product-side-card{background:#fff!important;border-color:#ffd2b5!important}
.side-card-row>i{color:#ff6a00!important}.side-card-row strong,.side-card-row span{color:#111!important}
.tabs-nav{border-color:#e7e7e7!important}.tab-link.active{color:#ff6a00!important;border-color:#ff6a00!important}
#tabDescription a{color:#ff6a00!important}#tabDescription blockquote{border-left-color:#ff6a00!important;background:#fff5ee!important;color:#333!important}

/* Category page: compact one-row child rail. */
.category-page-subcats .category-carousel-track{gap:8px!important}
.category-page-subcats .category-carousel-card{flex:0 0 118px!important;width:118px!important;min-width:118px!important;min-height:105px!important}
.category-page-subcats .category-carousel-card .cat-icon{width:58px!important;height:58px!important}
.category-page-subcats .category-carousel-card strong{font-size:9px!important}
.category-page-subcats .category-carousel-card>span:last-child{font-size:8px!important}
/* The repeated All Categories block on category/product browsing pages is intentionally removed. */
.category-store-page>.category-rail-section:not(.category-page-subcats){display:none!important}
.category-selected-box{background:#fff5ee!important;border-color:#ffd2b5!important;color:#111!important}
.category-selected-box strong{color:#ff6a00!important}
.category-breadcrumb-path strong{color:#ff6a00!important}
.category-page-banner{border-color:#e7e7e7!important;box-shadow:0 5px 18px rgba(0,0,0,.05)!important}

/* Product/shop page background and controls. */
.category-store-page{background:#fff!important}
.products-toolbar{border-left:4px solid #ff6a00!important}
.products-toolbar-note{color:#555!important}
.filters-box h5,.filters-box h4{color:#111!important}
.filter-list a{color:#333!important}.filter-list a.active,.filter-list a:hover{color:#ff6a00!important}
.products-results-column>div p{color:#111!important}
.products-results-column .text-muted{color:#555!important}

/* Newsletter/footer: dark footer, orange accents; absolutely no green. */
.newsletter-band{background:#fff5ee!important;border-color:#ffd2b5!important;color:#111!important}
.newsletter-band h3,.newsletter-band strong{color:#111!important}
.prime-footer,.prime-footer .footer-top,.prime-footer .footer-bottom{background:#111!important;color:#fff!important;border-color:#222!important}
.prime-footer h5,.prime-footer p,.prime-footer a,.prime-footer .footer-bottom *{color:#fff!important}
.prime-footer a:hover{color:#ff6a00!important}
.footer-logo{color:#ff6a00!important}
.social-links a{background:#222!important;border-color:#ff6a00!important;color:#ff6a00!important}

/* Chat assistant follows store palette too. */
.chatbot-fab,.chatbot-head,.chatbot-bubble-icon,.chatbot-form button{background:#ff6a00!important;color:#fff!important}
.chatbot-msg.user{background:#ff6a00!important;color:#fff!important}
.chatbot-suggestions button:hover{border-color:#ff6a00!important;color:#ff6a00!important}

/* Forms / text visibility. */
.reference-store-body input,.reference-store-body select,.reference-store-body textarea,.form-control,.form-select{background:#fff!important;color:#111!important;border-color:#cfd3d6!important}
.reference-store-body input::placeholder,.reference-store-body textarea::placeholder{color:#777!important;opacity:1!important}
.reference-store-body input:focus,.reference-store-body select:focus,.reference-store-body textarea:focus{border-color:#ff6a00!important;box-shadow:0 0 0 3px rgba(255,106,0,.10)!important}
.reference-store-body label,.form-label{color:#111!important}
.reference-store-body table th{background:#fff5ee!important;color:#111!important}.reference-store-body table td{background:#fff!important;color:#111!important}

/* Mobile stays white/orange/black; desktop-only hero side promos remain hidden on mobile. */
@media(max-width:767px){
  .reference-store-body .home-side-promos{display:none!important}
  .reference-store-body .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .reference-store-body .product-image-wrapper{height:155px!important;min-height:155px!important}
  .reference-store-body .product-card-actions .btn-add-cart,.reference-store-body .product-card-actions .btn-buy-now{font-size:8px!important}
  .category-carousel-track{padding-left:2px!important}
  .category-carousel-card{flex-basis:94px!important;width:94px!important;min-width:94px!important;min-height:100px!important}
  .category-carousel-card .category-image-wrap.cat-image,.category-carousel-card .cat-icon.cat-image{width:55px!important;height:55px!important;min-width:55px!important;min-height:55px!important}
  .category-page-subcats .category-carousel-card{flex-basis:100px!important;width:100px!important;min-width:100px!important}
  .category-page-subcats .category-carousel-card .cat-icon{width:52px!important;height:52px!important}
  .reference-section{padding:11px!important}
}
@media(min-width:768px) and (max-width:1199px){
  .reference-store-body .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(min-width:1200px){
  .reference-store-body .product-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}

.reference-store-body .home-hero h1,.reference-store-body .home-hero h2,.reference-store-body .home-hero h3{color:#fff!important}
.reference-store-body .home-hero h1 span{color:#ff8a00!important}
/* Primzo AI chatbot upgrade */
.chatbot-attachment{display:flex;align-items:center;gap:8px;padding:7px 12px;background:#fff;border-top:1px solid #eee;font-size:9px;color:#777}.chatbot-attach-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid #ff6a00;color:#ff6a00;background:#fff;border-radius:16px;padding:6px 9px;cursor:pointer;font-weight:700}.chatbot-attach-btn:hover{background:#fff4eb}.chatbot-admin-bar{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;background:#fff7f0;color:#ff6a00;font-size:10px;font-weight:800}.chatbot-admin-bar button{border:1px solid #ff6a00;background:#fff;color:#ff6a00;border-radius:12px;padding:3px 8px;font-size:9px}.chatbot-admin-send{margin:7px 0 0 32px;border:1px solid #ff6a00;background:#fff;color:#ff6a00;border-radius:16px;padding:6px 10px;font-size:10px;font-weight:700;cursor:pointer}.chatbot-admin-send:hover{background:#ff6a00;color:#fff}.chatbot-panel{height:min(690px,calc(100vh - 100px));max-height:calc(100vh - 100px)}.chatbot-msg.bot>div:last-child{white-space:normal}.chatbot-msg.bot b{color:#ff6a00}.chatbot-welcome-note{line-height:1.5}.chatbot-form input{font-size:12px!important}.chatbot-fab small{font-size:9px}
@media(max-width:600px){.chatbot-panel{height:min(720px,calc(100vh - 70px));max-height:calc(100vh - 70px)}.chatbot-attachment{font-size:8px}.chatbot-attach-btn{padding:6px 8px}}

/* Critical: native hidden attribute must always hide non-active chatbot admin controls. */
#shopChatbot [hidden]{display:none!important}
