/* ==========================================================================
   Attitude Spices - Site-wide Brand Layer
   Brings every page in line with the homepage (home2.css): same palette,
   serif headings, square buttons, warm cream surfaces and footer.
   Loaded after style.css and style.integration.css on every page.
   ========================================================================== */

:root {
    --brand-red: #942b25;
    --brand-red-dark: #71221e;
    --brand-red-light: #fbeee9;
    --brand-ink: #302b23;
    --brand-body: #544e43;
    --brand-muted: #766f62;
    --brand-cream: #faf7ef;
    --brand-warm: #f2ecdf;
    --brand-photo: #f2efe6;
    --brand-line: #ded9cb;
    --brand-gold: #bc7826;
    --brand-gold-light: #e8c48a;
    --brand-footer: #2a241d;
    --brand-font-headline: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --brand-font-subheading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --brand-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --brand-serif: var(--brand-font-headline);
}

/* --------------------------------------------------------------------------
   1. Base surfaces & typography
   -------------------------------------------------------------------------- */
body {
    background-color: var(--brand-cream);
    color: var(--brand-ink);
    font-family: var(--brand-font-body);
}

/* Headlines (H1, H2, H3) -> Inter Font */
:is(h1, h2, h3, .h1, .h2, .h3):not(.header *, #footer *, .mini-cart-content *) {
    font-family: var(--brand-font-headline) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

/* Sub Headings (H4, H5, H6) -> Poppins Font */
:is(h4, h5, h6, .h4, .h5, .h6):not(.header *, #footer *, .mini-cart-content *) {
    font-family: var(--brand-font-subheading) !important;
    font-weight: 600 !important;
}

/* Specific Headline Selectors across all pages */
.lead-hero__title, .retail-hero__title, .qsr-hero__title, .bp-hero__title, 
.career-hero__title, .intl-hero__title, .why-hero-title, .h2-hero-title,
.lead-section-title, .retail-section__title, .qsr-section__title, .bp-section__title, 
.career-section__title, .intl-section__title, .why-section-title, .h2-section-title,
.h2-promo-title, .h2-b2b-title, .h2-cat-main-title, .cat-poster-title, .h2-why-title,
.product-details .entry-title, .bb-product-filter-title, .widget-title,
.product-inner .product__title, .product-inner .product__title a,
.lead-card__name, .intl-standards-title, .bp-steps-title {
    font-family: var(--brand-font-headline) !important;
}

/* Specific Sub Heading & Subtitle Selectors across all pages */
.h2-eyebrow, .att-badge, .lead-badge, .why-hero-badge, .h2-badge, .h2-promo-badge,
.h2-hero-lead, .h2-hero-desc, .h2-section-desc, .lead-hero__lead, .lead-section-desc,
.retail-hero__desc, .retail-section__desc, .qsr-hero__desc, .qsr-section__desc,
.bp-hero__desc, .bp-section__desc, .career-hero__desc, .career-section__desc,
.intl-hero__desc, .intl-section__desc, .why-hero-desc, .why-section-desc,
.lead-card__role, .bp-step-heading, .bp-opp-card__title, .retail-cat-card__title,
.qsr-range-card__title, .career-card__title, .intl-product-card__title,
.intl-standard-text strong, .h2-trust-label, .h2-b2b-box-title, .h2-why-box-title,
.h2-floating-text strong, .h2-floating-text span, .cat-name, .h2-product-name,
.h2-review-quote, .h2-review-author, .h2-b2b-stat-desc, .h2-ribbon,
.sub-title, .subtitle, .section-subtitle, .banner-subtitle,
.form-label, .bp-form-label, .retail-form-label, .intl-form-label,
.lead-step-title, .qsr-benefit-item h4 {
    font-family: var(--brand-font-subheading) !important;
}

/* Highlighted words in page headings read like the homepage: red italic serif */
:is(.why-attitude-page, .bp-page, .retail-page, .qsr-page, .career-page, .leadership-page) :is(h1, h2) span {
    font-style: italic;
    color: var(--brand-red);
}

/* Dark bands keep a light gold highlight for contrast */
:is(.lead-hero, .lead-cta-section, .att-section-b2b, .att-section-final-cta, .career-cta) :is(h1, h2) span {
    color: var(--brand-gold-light);
}

a {
    color: inherit;
}

a:hover {
    color: var(--brand-red);
}

::selection {
    background: var(--brand-red);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. Page header & breadcrumbs
   -------------------------------------------------------------------------- */
.page-breadcrumbs,
.page-header .page-breadcrumbs {
    background-color: var(--brand-warm);
    border-bottom: 1px solid var(--brand-line);
    padding: 14px 0;
}

.breadcrumb {
    font-size: 13px;
}

.breadcrumb a,
.breadcrumb-item a {
    color: var(--brand-muted);
}

.breadcrumb a:hover {
    color: var(--brand-red);
}

.breadcrumb-item.active {
    color: var(--brand-ink);
}

/* --------------------------------------------------------------------------
   3. Buttons - square, uppercase, deep red primary
   -------------------------------------------------------------------------- */
.btn {
    border-radius: 0;
}

.btn-primary,
.btn-secondary,
.btn-outline-primary,
.att-btn,
.lead-btn,
.career-btn,
.bp-btn,
.qsr-btn,
.ret-btn {
    border-radius: 0 !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.att-btn,
.lead-btn,
.career-btn,
.bp-btn,
.qsr-btn,
.ret-btn {
    min-height: 48px;
    padding: 14px 28px;
    font-size: 13px;
    box-shadow: none;
}

.career-btn--sm {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 12px;
}

.btn-primary {
    background: var(--brand-red) !important;
    border: 1px solid var(--brand-red) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-red-dark) !important;
    border-color: var(--brand-red-dark) !important;
    color: #ffffff !important;
}

/* Page stylesheets load after this file with `.bp-page .bp-btn--x` selectors,
   so these are scoped to the page wrappers to outrank them */
html body :is(.why-attitude-page, .bp-page, .retail-page, .qsr-page, .career-page, .leadership-page) :is(.att-btn-primary, .lead-btn--primary, .career-btn--primary, .bp-btn--primary, .qsr-btn--primary, .ret-btn--primary) {
    background: var(--brand-red) !important;
    border: 1px solid var(--brand-red) !important;
    color: #ffffff !important;
}

html body :is(.why-attitude-page, .bp-page, .retail-page, .qsr-page, .career-page, .leadership-page) :is(.att-btn-primary, .lead-btn--primary, .career-btn--primary, .bp-btn--primary, .qsr-btn--primary, .ret-btn--primary):hover {
    background: var(--brand-red-dark) !important;
    border-color: var(--brand-red-dark) !important;
    color: #ffffff !important;
}

/* Former yellow secondary buttons become the homepage's gold accent; it reads on light and dark bands */
html body :is(.bp-page, .retail-page, .qsr-page) :is(.bp-btn--gold, .qsr-btn--gold, .ret-btn--gold) {
    background: #a3661e !important;
    border: 1px solid #a3661e !important;
    color: #ffffff !important;
}

html body :is(.bp-page, .retail-page, .qsr-page) :is(.bp-btn--gold, .qsr-btn--gold, .ret-btn--gold):hover {
    background: #85521a !important;
    border-color: #85521a !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   4. Forms
   -------------------------------------------------------------------------- */
.form-control,
.form-select,
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='number'],
input[type='search'],
select,
textarea {
    border-color: var(--brand-line);
    border-radius: 2px;
    background-color: #ffffff;
    color: var(--brand-ink);
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 3px rgba(148, 43, 37, 0.12) !important;
    outline: none;
}

.form-check-input:checked {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
}

label,
.form-label {
    color: var(--brand-ink);
    font-weight: 600;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   5. Shop: catalog, filters & product cards
   -------------------------------------------------------------------------- */
.catalog-header__title {
    font-size: clamp(28px, 3vw, 38px) !important;
}

.widget-wrapper,
.catalog-primary-sidebar .widget-wrapper,
.bb-product-filter {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 4px;
}

.bb-product-filter-title,
.widget-wrapper .widget-title {
    font-family: var(--brand-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--brand-ink);
}

.bb-product-filter-link,
.bb-product-filter-item label {
    color: var(--brand-body);
    font-size: 14px;
}

.shop-products-listing .product-inner {
    background: #ffffff;
    transition: box-shadow 0.25s ease;
}

.shop-products-listing .product-inner:hover {
    box-shadow: 0 12px 28px rgba(48, 43, 35, 0.08);
}

.product-thumbnail {
    background: #ffffff;
}

.product-thumbnail__img {
    mix-blend-mode: normal;
}

/* Theme clamps titles to two lines at 3em; keep the line height in step so the second line isn't cut */
.product-inner .product__title,
.product-inner .product__title a {
    font-family: var(--brand-serif) !important;
    font-size: 17px;
    font-weight: 400 !important;
    line-height: 1.35em;
    color: var(--brand-ink);
}

.product-inner .product__title {
    height: auto;
    min-height: 2.7em;
    padding-bottom: 2px;
}

@media (max-width: 767px) {
    .product-inner .product__title,
    .product-inner .product__title a {
        font-size: 15px;
    }
}

.product__title a:hover {
    color: var(--brand-red);
}

.product-price,
.bb-product-price-text {
    color: var(--brand-ink);
    font-weight: 700;
}

.bb-product-price-text-old {
    color: var(--brand-muted);
}

/* Product detail tabs */
.product-detail-container .product-detail-tabs .nav {
    background: var(--brand-warm);
}

.product-detail-container .product-detail-tabs .nav .nav-link.active {
    background: var(--brand-red);
    color: #ffffff;
}

.cart-form__contents thead th {
    background: var(--brand-warm);
    color: var(--brand-ink);
}

/* --------------------------------------------------------------------------
   6. Hero banner cards on content pages
   The shared 1650x420 banner has its own headline on the left; crop to the
   product packs so it doesn't collide with the floating badges.
   -------------------------------------------------------------------------- */
html body :is(.why-attitude-page, .bp-page, .retail-page, .qsr-page) img[src*='1650x420'] {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 88% center;
}

@media (max-width: 767px) {
    html body :is(.why-attitude-page, .bp-page, .retail-page, .qsr-page) img[src*='1650x420'] {
        height: 280px;
    }
}

/* Leaves room for the floating badge, which only shows from tablet up */
.att-hero-caption {
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .att-hero-caption {
        padding-bottom: 100px;
    }
}

/* --------------------------------------------------------------------------
   7. Footer - warm dark brown with cream text and gold accents
   -------------------------------------------------------------------------- */
footer,
#footer {
    background-color: var(--brand-footer);
}

#footer .border-top,
footer .border-top {
    border-color: #4a4036 !important;
}

#footer .widget-title {
    font-family: var(--brand-serif);
    font-weight: 400 !important;
    font-size: 19px;
    letter-spacing: -0.01em;
}

#footer a:hover {
    color: var(--brand-gold-light);
}

footer .btn-primary {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #ffffff !important;
}

footer .btn-primary:hover {
    background: var(--brand-red-dark) !important;
}

#footer .footer-info {
    background: #332c24;
}

#footer .site-info__title {
    color: #fff9ef;
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   8. Cookie bar
   -------------------------------------------------------------------------- */
.js-cookie-consent.cookie-consent {
    background: var(--brand-ink) !important;
    color: #f2ecdf;
}

.cookie-consent__agree {
    background: transparent !important;
    border: 1px solid #f2ecdf !important;
    color: #f2ecdf !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-consent__agree:hover {
    background: #f2ecdf !important;
    color: var(--brand-ink) !important;
}

/* --------------------------------------------------------------------------
   9. WhatsApp chat widget (partials/whatsapp-chat.blade.php)
   --wa-offset is set by the widget script to clear fixed bottom bars.
   -------------------------------------------------------------------------- */
.wa-chat {
    --wa-green: #25d366;
    --wa-green-dark: #1da851;
    --wa-offset: 0px;
    position: fixed;
    right: 24px;
    bottom: calc(24px + var(--wa-offset));
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    font-family: inherit;
    transition: bottom 0.25s ease;
}

.wa-chat__toggle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--wa-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35), 0 4px 10px rgba(48, 43, 35, 0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.wa-chat__toggle:hover {
    background: var(--wa-green-dark);
    transform: scale(1.06);
}

.wa-chat__toggle:focus-visible {
    outline: 3px solid var(--brand-red);
    outline-offset: 3px;
}

.wa-chat__icon-close,
.wa-chat.is-open .wa-chat__icon {
    display: none;
}

.wa-chat.is-open .wa-chat__icon-close {
    display: block;
}

.wa-chat__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    border: 2px solid #ffffff;
}

/* Gentle pulse ring so the button is noticed without being noisy */
.wa-chat:not(.is-open) .wa-chat__toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--wa-green);
    animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.45); opacity: 0; }
}

.wa-chat__panel {
    width: 340px;
    max-width: calc(100vw - 32px);
    background: var(--brand-cream);
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(48, 43, 35, 0.22);
    animation: wa-in 0.22s ease-out;
}

.wa-chat__panel[hidden] {
    display: none;
}

@keyframes wa-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-chat__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 16px 18px;
    background: var(--brand-ink);
    color: #fff9ef;
}

.wa-chat__avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--brand-red);
    color: #ffffff;
    font-family: var(--brand-serif);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.wa-chat__identity {
    flex-grow: 1;
    min-width: 0;
}

.wa-chat__identity strong {
    display: block;
    font-family: var(--brand-serif);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.2;
}

.wa-chat__identity span {
    font-size: 12px;
    color: #d9cfbd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wa-chat__online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wa-green);
    display: inline-block;
}

.wa-chat__close {
    background: transparent;
    border: none;
    color: #d9cfbd;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wa-chat__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.wa-chat__body {
    padding: 18px 16px 8px;
    background: var(--brand-warm);
    max-height: 50vh;
    overflow-y: auto;
}

.wa-chat__bubble {
    position: relative;
    background: #ffffff;
    color: var(--brand-ink);
    font-size: 14px;
    line-height: 1.55;
    padding: 12px 14px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 2px 6px rgba(48, 43, 35, 0.06);
    margin-bottom: 14px;
    max-width: 92%;
}

.wa-chat__quick {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 8px;
}

.wa-chat__quick-btn {
    display: inline-block;
    max-width: 92%;
    padding: 9px 14px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--brand-red) !important;
    background: #ffffff;
    border: 1px solid rgba(148, 43, 37, 0.35);
    border-radius: 18px;
    text-align: right;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.wa-chat__quick-btn:hover {
    background: var(--brand-red);
    color: #ffffff !important;
    border-color: var(--brand-red);
}

.wa-chat__form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid var(--brand-line);
    margin: 0;
}

.wa-chat__form input {
    flex-grow: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    border: 1px solid var(--brand-line);
    border-radius: 21px !important;
    background: var(--brand-cream);
}

.wa-chat__send {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: var(--wa-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wa-chat__send:hover {
    background: var(--wa-green-dark);
}

.wa-chat__footnote {
    padding: 0 12px 10px;
    background: #ffffff;
    font-size: 11px;
    color: var(--brand-muted);
    text-align: center;
}

@media (max-width: 767px) {
    .wa-chat {
        right: 16px;
        bottom: calc(16px + var(--wa-offset));
    }

    .wa-chat__toggle {
        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-chat__toggle::after,
    .wa-chat__panel {
        animation: none !important;
    }
}

/* --------------------------------------------------------------------------
   10. Price on request (products without a selling price yet)
   -------------------------------------------------------------------------- */
.product-price--request {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-gold);
}

.btn.price-request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

.btn.price-request-btn:hover {
    background: #1da851 !important;
    border-color: #1da851 !important;
}

/* --------------------------------------------------------------------------
   11. Keyboard focus - visible on every interactive element
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[role='button']:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--brand-red) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   12. Page awaiting content (views/page.blade.php)
   -------------------------------------------------------------------------- */
.page-pending-content {
    max-width: 680px;
    margin: 0 auto 64px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-left: 4px solid var(--brand-gold);
    border-radius: 4px;
    font-size: 16px;
    color: var(--brand-body);
}

.page-pending-content ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.page-pending-content a {
    color: var(--brand-red);
    font-weight: 600;
}

/* Enquiry form error (partials/enquiry-helpers.blade.php) */
.enquiry-error {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 43, 37, 0.35);
    border-left: 4px solid var(--brand-red);
    background: var(--brand-red-light);
    color: var(--brand-red-dark);
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   13. Catalogue empty state (views/ecommerce/includes/product-items.blade.php)
   -------------------------------------------------------------------------- */
.catalog-empty {
    margin: 24px 0;
    padding: 40px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 4px;
}

.catalog-empty__title {
    font-size: 24px !important;
    margin-bottom: 8px;
}

.catalog-empty p {
    color: var(--brand-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.catalog-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-outline-primary {
    background: transparent !important;
    border: 1px solid var(--brand-ink) !important;
    color: var(--brand-ink) !important;
}

.btn-outline-primary:hover {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #ffffff !important;
}


/* ==========================================================================
   8. PREMIUM INNER PRODUCT DETAIL PAGE
   ========================================================================== */

/* Main Container Polish */
.product-detail-container .container-xxxl {
    background: transparent !important;
    padding-top: 20px !important;
}

/* Gallery - Left Column */
.bb-product-gallery-wrapper {
    position: sticky;
    top: 24px;
}

.bb-product-gallery-images {
    background: #ffffff !important;
    border: 1px solid #ebe5d8 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-shadow: 0 8px 24px rgba(48, 43, 35, 0.04) !important;
    transition: box-shadow 0.3s ease;
}

.bb-product-gallery-images:hover {
    box-shadow: 0 12px 32px rgba(48, 43, 35, 0.08) !important;
}

.bb-product-gallery-images a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bb-product-gallery-images img {
    width: 100% !important;
    height: 100% !important;
    max-width: 92% !important;
    max-height: 92% !important;
    object-fit: contain !important;
    transition: transform 0.4s ease !important;
}

.bb-product-gallery-images:hover img {
    transform: scale(1.05) !important;
}

/* Thumbnails */
.bb-product-gallery-thumbnails {
    margin-top: 14px !important;
}

.bb-product-gallery-thumbnails .slick-slide {
    padding: 0 5px !important;
}

.bb-product-gallery-thumbnails img,
.bb-product-gallery-thumbnails div img {
    border: 1.5px solid #ded9cb !important;
    border-radius: 12px !important;
    padding: 6px !important;
    background: #ffffff !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.bb-product-gallery-thumbnails .slick-current img,
.bb-product-gallery-thumbnails .active img {
    border-color: #8b251e !important;
    box-shadow: 0 0 0 2px rgba(139, 37, 30, 0.25) !important;
    background: #fdfbf7 !important;
}

/* Product Details - Right Box */
.product-details-content .product-details {
    background: #ffffff !important;
    border: 1px solid #ebe5d8 !important;
    border-radius: 18px !important;
    padding: 30px !important;
    box-shadow: 0 10px 32px rgba(48, 43, 35, 0.04) !important;
}

.product-details .entry-title {
    font-family: var(--brand-font-headline) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1714 !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
}

.product-details .product-entry-meta {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #f2eee6 !important;
}

/* Availability Badge */
.product-details .summary-meta .product-stock {
    background: #eaf8ef !important;
    border: 1px solid #c7eed3 !important;
    color: #1e7e34 !important;
    border-radius: 20px !important;
    padding: 4px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 14px !important;
}

/* Premium Price Area (MRP, Offer Price, Discounts) */
.product-price-area {
    background: #fdfbf7 !important;
    border: 1px solid #ede7db !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin: 18px 0 !important;
}

.product-price-area .price-badge-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #766f62 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-right: 4px !important;
}

.product-price-area .bb-product-price-text {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #8b251e !important;
    line-height: 1 !important;
}

.product-price-area .mrp-label {
    font-size: 14px !important;
    color: #8c857b !important;
    font-weight: 600 !important;
    margin-left: 6px !important;
}

.product-price-area .bb-product-price-text-old {
    font-size: 16px !important;
    color: #8c857b !important;
    text-decoration: line-through !important;
}

.product-price-area .discount-pill-badge {
    background: #2e7d32 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    margin-left: 8px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
}

.product-price-area .tax-inclusive-tag {
    font-size: 12px !important;
    color: #766f62 !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
}

/* Attributes / Variation Dropdowns */
.product-details .pr_switch_wrap {
    margin: 16px 0 !important;
}

.product-details .bb-product-attribute-swatch-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #302b23 !important;
    margin-bottom: 6px !important;
    text-transform: capitalize !important;
}

.product-details .form-select.product-filter-item {
    border: 1.5px solid #ded9cb !important;
    border-radius: 10px !important;
    height: 44px !important;
    padding: 6px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: #ffffff !important;
    color: #222 !important;
    transition: all 0.2s ease !important;
}

.product-details .form-select.product-filter-item:focus {
    border-color: #8b251e !important;
    box-shadow: 0 0 0 3px rgba(139, 37, 30, 0.12) !important;
}

/* Action Area: Quantity & Buttons */
.product-details .product-button {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f2eee6 !important;
}

/* Quantity Box Pill */
.product-details .quantity {
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 0 !important;
}

.product-details .label-quantity {
    display: none !important; /* Clean minimal look */
}

.product-details .qty-box {
    display: inline-flex !important;
    align-items: center !important;
    background: #f7f5ed !important;
    border: 1.5px solid #ded9cb !important;
    border-radius: 30px !important;
    padding: 3px 8px !important;
    height: 48px !important;
}

.product-details .qty-box .decrease,
.product-details .qty-box .increase {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #302b23 !important;
    border-radius: 50% !important;
    transition: background 0.2s ease !important;
}

.product-details .qty-box .decrease:hover,
.product-details .qty-box .increase:hover {
    background: #ebe6da !important;
}

.product-details .qty-box input.qty {
    width: 40px !important;
    height: 34px !important;
    border: 1px solid #ded9cb !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 4px !important;
    outline: none !important;
}

/* Add to Cart Button (Attachment Maroon Pill) */
.product-details .product-button .add-to-cart-button:not(.btn-black) {
    background-color: #8b251e !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 0 32px !important;
    height: 48px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 14px rgba(139, 37, 30, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    transition: all 0.25s ease !important;
}

.product-details .product-button .add-to-cart-button:not(.btn-black):hover {
    background-color: #721c16 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(139, 37, 30, 0.35) !important;
}

/* Buy Now Button */
.product-details .product-button .add-to-cart-button.btn-black {
    background-color: #1f1c18 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 0 28px !important;
    height: 48px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    transition: all 0.25s ease !important;
}

.product-details .product-button .add-to-cart-button.btn-black:hover {
    background-color: #000000 !important;
    transform: translateY(-2px) !important;
}

/* Sidebar Trust Badges Card */
.single-product .site-info__item {
    background: #ffffff !important;
    border: 1px solid #ebe5d8 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 12px rgba(48, 43, 35, 0.02) !important;
}

/* ================================================================
   ATTITUDE SPICES - PREMIUM PRODUCT DETAIL PAGE & CART UI
   ================================================================ */

.attitude-premium-price-box {
    background: #fbf9f5;
    border: 1px solid #f0eae1;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 15px 0 20px;
    display: inline-block;
    min-width: 260px;
}
.attitude-offer-price {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.attitude-mrp {
    font-size: 0.95rem;
    color: #8c8c8c;
    font-weight: 500;
}
.attitude-mrp del {
    color: #a0a0a0;
}
.attitude-discount-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.attitude-tax-tag {
    font-size: 0.78rem;
    color: #888;
    margin-top: 4px;
    font-weight: 500;
}

.attitude-qty-pill {
    display: inline-flex;
    align-items: center;
    background: #f7f4ed;
    border: 1.5px solid #e5dfd5;
    border-radius: 28px;
    padding: 3px 6px;
    height: 48px;
    box-sizing: border-box;
}
.attitude-qty-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 38px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    user-select: none;
}
.attitude-qty-btn:hover {
    background: #eae4d8;
}
.attitude-qty-input {
    width: 44px;
    height: 34px;
    background: #ffffff;
    border: 1px solid #ded8cc;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0 4px;
    outline: none;
    -moz-appearance: textfield;
}
.attitude-qty-input::-webkit-inner-spin-button,
.attitude-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.attitude-btn-addtocart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8B2222 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 28px !important;
    padding: 0 32px !important;
    height: 48px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(139, 34, 34, 0.35) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.attitude-btn-addtocart:hover {
    background: #6f1717 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 34, 34, 0.45) !important;
    color: #ffffff !important;
}

.product-gallery,
.product-gallery__wrapper {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.product-gallery .product-gallery__image,
.product-gallery .product-gallery__image img,
.product-gallery__wrapper img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    width: 100% !important;
    max-height: 460px !important;
    border-radius: 10px;
    background: #ffffff;
}
.product-gallery .slick-slide img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    margin: 0 auto;
}
.product-thumbnails .slick-slide img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    width: 72px !important;
    height: 72px !important;
    border: 1.5px solid #eee !important;
    border-radius: 8px !important;
    padding: 4px;
    background: #fff;
}
.product-thumbnails .slick-slide.slick-current img {
    border-color: #8B2222 !important;
}


/* ================================================================
   BOTBLE CORE GALLERY UNIFORM SIZING & BUY NOW BUTTON
   ================================================================ */
.bb-product-gallery-wrapper {
    background: #ffffff;
    border: 1px solid #f0eae1;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.bb-product-gallery-images {
    width: 100%;
}
.bb-product-gallery-images a,
.bb-product-gallery-images .slick-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-height: 480px;
    border-radius: 12px;
    overflow: hidden;
}
.bb-product-gallery-images img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 460px !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.25s ease;
}
.bb-product-gallery-images img:hover {
    transform: scale(1.03);
}
.bb-product-gallery-thumbnails {
    margin-top: 12px;
}
.bb-product-gallery-thumbnails div {
    padding: 3px;
}
.bb-product-gallery-thumbnails img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    width: 70px !important;
    height: 70px !important;
    border: 2px solid #eee !important;
    border-radius: 8px !important;
    padding: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.bb-product-gallery-thumbnails .slick-current img,
.bb-product-gallery-thumbnails img:hover {
    border-color: #8B2222 !important;
}

.attitude-btn-buynow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 28px !important;
    padding: 0 28px !important;
    height: 48px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.attitude-btn-buynow:hover {
    background: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
}

.product-attribute-swatches .product-filter-item {
    border: 1.5px solid #ded8cc;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}
.product-attribute-swatches .product-filter-item:focus {
    border-color: #8B2222;
    box-shadow: 0 0 0 3px rgba(139, 34, 34, 0.12);
}


/* Grid card price adjustment */
.product-thumbnail ~ .product-details .attitude-premium-price-box,
.ps-product .attitude-premium-price-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 6px 0 8px !important;
    min-width: auto !important;
}
.product-thumbnail ~ .product-details .attitude-offer-price,
.ps-product .attitude-offer-price {
    font-size: 1.2rem !important;
}
.product-thumbnail ~ .product-details .attitude-tax-tag,
.ps-product .attitude-tax-tag {
    display: none !important;
}


/* ================================================================
   INNER PRODUCT PAGE - PADDING, GAPS & CARD POLISH
   ================================================================ */
.attitude-product-card-wrap {
    border: 1px solid #ebe5dc !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
}

/* Gallery Box Gap & Padding */
.single-product .bb-product-gallery-wrapper {
    background: #fafafa !important;
    border: 1px solid #eee8df !important;
    border-radius: 14px !important;
    padding: 16px !important;
}
.single-product .bb-product-gallery-images a,
.single-product .bb-product-gallery-images .slick-slide {
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px !important;
}
.single-product .bb-product-gallery-images img {
    max-height: 400px !important;
    padding: 6px !important;
}

/* Details Column Spacing */
.product-details-content .entry-title {
    color: #1a1a1a !important;
    line-height: 1.3 !important;
}
.product-details-content .attitude-premium-price-box {
    display: block !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 12px 0 16px !important;
    padding: 12px 18px !important;
    background: #fcfaf7 !important;
    border: 1px solid #ede7dc !important;
    border-radius: 12px !important;
}
.product-details-content .ps-list--dot {
    margin: 12px 0 16px !important;
    color: #4a4a4a !important;
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
}
.product-details-content .attitude-cart-action-row {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #ede8e0 !important;
    gap: 12px !important;
}

/* Sidebar Trust Badges Card */
.product-sidebar-col .bg-light {
    background: #faf8f5 !important;
    border: 1px solid #ede8e0 !important;
    border-radius: 14px !important;
    padding: 18px !important;
    margin-bottom: 0 !important;
}
.product-sidebar-col .site-info__item {
    padding: 8px 0 !important;
}
.product-sidebar-col .site-info__item:not(:last-child) {
    border-bottom: 1px dashed #e8e2d8 !important;
}
.product-sidebar-col .site-info__image img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
}

/* Tab Section Gap */
.single-product .product-detail-tabs {
    margin-top: 24px !important;
}
.single-product .product-detail-tabs .nav-pills .nav-link {
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
}
.single-product .product-detail-tabs .nav-pills .nav-link.active {
    background-color: #8B2222 !important;
    color: #ffffff !important;
}


/* ================================================================
   SHOP / CATEGORY LISTING - PREMIUM PRODUCT CARDS
   ================================================================ */
.shop-products-listing {
    border: none !important;
}

.shop-products-listing > .col {
    display: flex;
}

.shop-products-listing .product-inner {
    background: #ffffff !important;
    border: 1px solid #ebe5dc !important;
    border-radius: 14px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    overflow: hidden !important;
}

.shop-products-listing .product-inner:hover {
    border-color: #8B2222 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(139, 34, 34, 0.1) !important;
}

/* Thumbnail Box: Clean 230px White Container */
.shop-products-listing .product-thumbnail {
    background: #fcfbf9 !important;
    border-radius: 10px !important;
    height: 230px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    border: 1px solid #f2ede4 !important;
}

.shop-products-listing .product-loop__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.shop-products-listing .img-fluid-eq__dummy {
    display: none !important;
}

.shop-products-listing .img-fluid-eq__wrap {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.shop-products-listing .product-thumbnail__img {
    max-height: 200px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: normal !important;
    transition: transform 0.35s ease !important;
}

.shop-products-listing .product-inner:hover .product-thumbnail__img {
    transform: scale(1.06) !important;
}

/* Product Details in Grid */
.shop-products-listing .product-details {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.shop-products-listing .product__title {
    min-height: 44px !important;
    margin-bottom: 8px !important;
}

.shop-products-listing .product__title a {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.shop-products-listing .product__title a:hover {
    color: #8B2222 !important;
}

/* Price Display in Grid */
.shop-products-listing .attitude-premium-price-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 4px 0 10px !important;
    min-width: auto !important;
}

.shop-products-listing .attitude-offer-price {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
}

.shop-products-listing .attitude-mrp {
    font-size: 0.88rem !important;
    color: #888 !important;
}

.shop-products-listing .attitude-discount-badge {
    font-size: 0.72rem !important;
    padding: 2px 7px !important;
}

.shop-products-listing .attitude-tax-tag {
    display: none !important;
}

/* Add to Cart + Qty Stepper in Category Cards */
.shop-products-listing .product-bottom-box {
    margin-top: auto !important;
}

.shop-products-listing .attitude-cart-action-row {
    margin-top: 8px !important;
    padding-top: 0 !important;
    border-top: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

.shop-products-listing .attitude-qty-pill {
    height: 38px !important;
    padding: 2px 4px !important;
    border-radius: 20px !important;
    flex-shrink: 0 !important;
    background: #f7f4ed !important;
    border: 1px solid #ded7cb !important;
}

.shop-products-listing .attitude-qty-btn {
    width: 26px !important;
    height: 30px !important;
    font-size: 1.1rem !important;
}

.shop-products-listing .attitude-qty-input {
    width: 30px !important;
    height: 28px !important;
    font-size: 0.88rem !important;
    margin: 0 2px !important;
}

.shop-products-listing .attitude-btn-addtocart {
    height: 38px !important;
    padding: 0 14px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    flex-grow: 1 !important;
    justify-content: center !important;
    letter-spacing: 0.4px !important;
}

.shop-products-listing .attitude-btn-buynow {
    display: none !important;
}
