/* Contour skins core markup. No commerce templates, handlers or image-shape overrides. */
body.theme-samaura .product-card {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    min-width: 0;
    box-shadow: none;
}
body.theme-samaura .product-card:hover { transform: none; box-shadow: none; }
body.theme-samaura :is(.product-card__image-wrap, .product-img, .product-img-placeholder) { border-radius: 0; }
body.theme-samaura .product-img-placeholder { background: var(--sam-stone); }
body.theme-samaura .product-card__body { padding-block: 1rem .5rem; gap: .4rem; }
body.theme-samaura .product-title { display: block; -webkit-line-clamp: unset; overflow: visible; font: 600 .8125rem/1.5 var(--sam-body); color: var(--sam-ink); overflow-wrap: anywhere; }
body.theme-samaura .product-title:hover { text-decoration: underline; text-underline-offset: .25em; }
body.theme-samaura .product-price { font-size: 1rem; font-weight: 700; color: var(--sam-ink); }
body.theme-samaura .product-original-price { font-size: .8125rem; color: var(--sam-muted); }
body.theme-samaura .product-card__price-row { flex-wrap: wrap; }
body.theme-samaura .product-card__brand { color: var(--sam-muted); }
body.theme-samaura .product-card__badge { border-radius: 0; }
body.theme-samaura .product-hover-actions { opacity: 1; visibility: visible; }
body.theme-samaura .product-hover-actions > :not(.tc-wishlist-toggle),
body.theme-samaura .product-card__cart-overlay { opacity: 0; visibility: visible; pointer-events: none; }
body.theme-samaura .product-card:is(:hover, :focus-within) .product-hover-actions > *,
body.theme-samaura .product-card:is(:hover, :focus-within) .product-card__cart-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
/* Invisible controls remain focusable so keyboard focus reveals the card actions. */
body.theme-samaura .product-hover-actions { top: .5rem; right: .5rem; gap: .35rem; }
body.theme-samaura .product-card .btn-action-circle { width: 44px; height: 44px; border-radius: 50%; background: #ffffffeb; color: var(--sam-ink); border: 0; }
body.theme-samaura .product-card .tc-wishlist-toggle { background: transparent; text-shadow: 0 0 4px #fff; }
body.theme-samaura .product-card .btn-action-circle:hover { background: var(--sam-stone); }
body.theme-samaura :is(.product-card__cart-btn, .product-card__list-cart-btn, .tc-qv-add-btn) {
    min-height: 44px;
    border-radius: 0;
    padding: .7rem;
    background: var(--sam-accent);
    color: var(--sam-on-accent);
    font-family: var(--sam-body);
    font-size: .8125rem;
    white-space: normal;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: underline;
    text-underline-offset: .3em;
}
body.theme-samaura :is(.product-card__cart-btn, .product-card__list-cart-btn, .tc-qv-add-btn):hover { background: var(--sam-accent-hover); color: var(--sam-on-accent); }
body.theme-samaura .product-card__cart-btn--disabled { background: var(--sam-stone); color: var(--sam-muted); }
body.theme-samaura .tc-product-grid--compact .product-card { padding: 1rem; border-bottom: 1px solid var(--sam-line); }
body.theme-samaura .tc-product-grid--list .product-card { padding-block: 1.5rem; border-bottom: 1px solid var(--sam-line); }
/* CR-4: the plugin's quick-view engine does not bind homepage cards. */
body.theme-samaura.sam-home .tc-quickview-btn { display: none; }
body.theme-samaura :is(.tc-shop__banner, .tc-search__banner) { background-color: var(--sam-stone); }
body.theme-samaura :is(.tc-shop__banner-title, .tc-search__banner-title, .tc-pdp__title, .tc-cartpage__title, .tc-wishlist__title, .tc-order-received__title) {
    font-family: var(--sam-display);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.15;
    font-size: clamp(2rem, 4vw, 3.5rem);
}
/* Plain theme banners alone need dark ink; image banners retain core's white. */
body.theme-samaura .tc-shop__banner--theme:not(.tc-shop__banner--has-image) { background: var(--sam-stone); }
body.theme-samaura .tc-shop__banner--theme:not(.tc-shop__banner--has-image) .tc-shop__banner-title,
body.theme-samaura .tc-shop__banner--theme:not(.tc-shop__banner--has-image) .tc-breadcrumb__current { color: var(--sam-ink); }
body.theme-samaura .tc-shop__banner--theme:not(.tc-shop__banner--has-image) .tc-breadcrumb :is(a, .bi, .tc-breadcrumb__sep) { color: var(--sam-muted); }
body.theme-samaura .tc-shop__banner--theme:not(.tc-shop__banner--has-image) .tc-breadcrumb a:is(:hover, :focus-visible) { color: var(--sam-ink); text-decoration: underline; }
body.theme-samaura .tc-shop__banner--has-image a:focus-visible { outline-color: #fff; }
body.theme-samaura :is(.tc-pdp__related-title, .tc-reviews__heading, .tc-order-received__card-title, .tc-cartpage__summary-title) { font-family: var(--sam-display); font-weight: 400; }
body.theme-samaura :is(.tc-pdp__tab-btn, .tc-pdp__tab-content, .tc-cartpage__summary, .tc-order-received__card, .tc-drawer__btn) { border-radius: 0; }
body.theme-samaura :is(.tc-btn--primary, .tc-drawer__btn--primary) { background: var(--sam-accent); border-color: var(--sam-accent); color: var(--sam-on-accent); }
body.theme-samaura :is(.tc-btn--primary, .tc-drawer__btn--primary):hover { background: var(--sam-accent-hover); border-color: var(--sam-accent-hover); color: var(--sam-on-accent); }
body.theme-samaura .tc-drawer { font-family: var(--sam-body); color: var(--sam-ink); }
body.theme-samaura .tc-drawer__btn { min-height: 44px; }
body.theme-samaura .tc-pdp__tab-btn { min-height: 44px; }
body.theme-samaura :is(.tc-filter-section__title, .tc-shop__sort, .tc-shop__count, .tc-breadcrumb) { font-family: var(--sam-body); }
/* Core's isolated account/checkout CSS uses !important. Only these explicit
   visual overrides need it; error/success/validation and layout gates stay core-owned. */
body.theme-samaura #tc-checkout,
body.theme-samaura #tc-account {
    font-family: var(--sam-body) !important;
    color: var(--sam-ink) !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin-inline: 0 !important;
}
body.theme-samaura #tc-checkout { padding-inline: max(var(--sam-gutter), calc((100% - var(--sam-width)) / 2)) !important; }
body.theme-samaura #tc-checkout h1.tc-checkout__title,
body.theme-samaura #tc-account .tc-account__banner-title {
    font-family: var(--sam-display) !important;
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 400 !important;
    color: var(--sam-ink) !important;
}
body.theme-samaura #tc-account .tc-account__banner { background: var(--sam-stone); }
body.theme-samaura #tc-checkout .tc-btn,
body.theme-samaura #tc-account .tc-btn { border-radius: 0 !important; min-height: 44px; font-family: var(--sam-body) !important; }
body.theme-samaura #tc-checkout .tc-btn--primary,
body.theme-samaura #tc-account .tc-btn--primary { background: var(--sam-accent) !important; color: var(--sam-on-accent) !important; border-color: var(--sam-accent) !important; }
body.theme-samaura #tc-checkout .tc-btn--primary:hover,
body.theme-samaura #tc-account .tc-btn--primary:hover { background: var(--sam-accent-hover) !important; color: var(--sam-on-accent) !important; border-color: var(--sam-accent-hover) !important; }
body.theme-samaura #tc-checkout :is(input, select, textarea),
body.theme-samaura #tc-account :is(input, select, textarea) { font-family: var(--sam-body) !important; }
body.theme-samaura :is(.tc-btn, .tc-drawer__btn, .tc-pdp__add-btn, .product-card__cart-btn):focus-visible { outline: 2px solid var(--sam-link); outline-offset: 4px; }
@media (max-width: 767px) {
    body.theme-samaura .product-card__cart-overlay { inset-inline: .5rem; bottom: .5rem; }
    body.theme-samaura .product-card__cart-btn { font-size: .75rem; }
}
/* Gift-card templates enqueue their own literal colors; keep their behavior intact. */
body.theme-samaura .tc-gc { font-family: var(--sam-body); }
body.theme-samaura .tc-gc-header__title { font-family: var(--sam-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.5rem); }
body.theme-samaura :is(.tc-gc-amt, .tc-gc-type, .tc-gc-custom input, .tc-gc-field input, .tc-gc-field textarea, .tc-gc-delivery label) { border-radius: 0; }
body.theme-samaura :is(.tc-gc-amt.active, .tc-gc-type.active, .tc-gc-delivery label.active) { border-color: var(--sam-accent); background: var(--sam-paper); color: var(--sam-link); }
body.theme-samaura .tc-gc-amt:hover { border-color: var(--sam-link); color: var(--sam-link); }
body.theme-samaura .tc-gc-preview { border-radius: 0; background: var(--sam-accent); color: var(--sam-on-accent); box-shadow: none; }
body.theme-samaura .tc-gc-submit { background: var(--sam-accent); color: var(--sam-on-accent); border-radius: 0; min-height: 48px; }
body.theme-samaura .tc-gc-submit:hover { background: var(--sam-accent-hover); color: var(--sam-on-accent); }
body.theme-samaura :is(.tc-gc-custom input, .tc-gc-field input, .tc-gc-field textarea):focus { border-color: var(--sam-link); outline: 2px solid var(--sam-link); outline-offset: 2px; }

/* Reveal only real core rating data; do not invent metadata for grid cards. */
body.theme-samaura :is(.sam-product-grid, .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact), .tce-track, .tce-grid) .product-card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; }
body.theme-samaura :is(.sam-product-grid, .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact), .tce-track, .tce-grid) .product-card__body > * { grid-column: 1 / -1; }
body.theme-samaura :is(.sam-product-grid, .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact), .tce-track, .tce-grid) .product-title { grid-column: 1; }
body.theme-samaura :is(.sam-product-grid, .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact), .tce-track, .tce-grid) .product-card__meta-row { grid-column: 2; display: flex; align-items: start; }
body.theme-samaura :is(.sam-product-grid, .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact), .tce-track, .tce-grid) :is(.product-card__sku, .product-card__review-count) { display: none; }
body.theme-samaura .product-card__stars .bi { color: var(--sam-muted) !important; font-size: 10px !important; }
@media (hover: none), (pointer: coarse), (max-width: 767px) {
    body.theme-samaura .product-hover-actions > :not(.tc-wishlist-toggle),
    body.theme-samaura .product-card__cart-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
    body.theme-samaura .product-card__cart-btn { padding: .5rem; font-size: .625rem; }
    body.theme-samaura :is(.sam-product-grid, .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact), .tce-track, .tce-grid) .product-card__meta-row { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    body.theme-samaura :is(.product-card, .product-hover-actions, .product-card__cart-overlay) { transition: none; }
}
/* Carry Contour's rectangular controls through the existing commerce layouts. */
body.theme-samaura :is(.tc-pdp__main-img-wrap, .tc-pdp__thumb, .tc-pdp__qty-wrap, .tc-pdp__wish-btn, .tc-pdp__compare-btn, .tc-cartpage__promo, .tc-cartpage__item) { border-radius: 0; }
body.theme-samaura :is(.tc-pdp__add-btn, .tc-cartpage__checkout-btn, .tc-cartpage__promo-btn) { text-transform: uppercase; letter-spacing: .08em; text-decoration: underline; text-underline-offset: .3em; font-size: .75rem; }
body.theme-samaura #tc-account :is(.tc-auth-card, .tc-auth-benefits__inner, .tc-input),
body.theme-samaura #tc-checkout :is(.tc-checkout__section, .tc-checkout__summary, .tc-input) { border-radius: 0; }
body.theme-samaura #tc-account :is(.tc-auth-card__title, .tc-auth-benefits__title) { font-family: var(--sam-display); font-weight: 400; font-size: 2rem; }
/* Core cart breakout also includes the scrollbar width; keep it in the page. */
body.theme-samaura #tc-cart {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin-inline: 0 !important;
}
body.theme-samaura #tc-checkout :is(section.tc-checkout__step, .tc-checkout__products, .tc-checkout__summary) { border-radius: 0 !important; }
@media (max-width: 575px) {
    body.theme-samaura .tc-product-grid:not(.tc-product-grid--list):not(.tc-product-grid--compact) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (hover: none), (pointer: coarse), (max-width: 767px) {
    body.theme-samaura .product-card__cart-overlay:has(.tc-add-to-cart-btn) { left: auto; right: .5rem; width: 44px; }
    /* Core makes its phone label size !important; keep the accessible label,
       but show the approved compact plus instead of squeezing words into it. */
    body.theme-samaura .product-card__cart-overlay .tc-add-to-cart-btn { width: 44px; height: 44px; padding: 0; font-size: 0 !important; background: #fffffff2; color: var(--sam-ink); text-decoration: none; border-radius: 0; }
    body.theme-samaura .product-card__cart-overlay .tc-add-to-cart-btn::before { content: "+"; font: 400 25px/1 var(--sam-body); }
}
body.theme-samaura .product-card:focus-within :is(.product-hover-actions, .product-card__cart-overlay) { transition: none; }

/* Keep core's in-progress and success labels visible on compact phone cards. */
@media (hover: none), (pointer: coarse), (max-width: 767px) {
    body.theme-samaura .product-card__cart-overlay:has(.tc-add-to-cart-btn:disabled) { width: auto; }
    body.theme-samaura .product-card__cart-overlay .tc-add-to-cart-btn:disabled { width: auto; min-width: 44px; padding: .5rem .75rem; font-size: .6875rem !important; background: var(--sam-ink); color: var(--sam-white); opacity: 1; }
    body.theme-samaura .product-card__cart-overlay .tc-add-to-cart-btn:disabled::before { content: none; }
}
body.theme-samaura a.product-card__brand--link { color: var(--sam-muted); text-decoration: none; }
body.theme-samaura a.product-card__brand--link:is(:hover, :focus-visible) { color: var(--sam-ink); text-decoration: underline; }

/* Contour's Elementor widgets. Data, card rendering and interactions stay in
   TitanCart for Elementor. Native hidden states must remain authoritative. */
body.theme-samaura .tce { --tce-gap: 22px; --tce-link: var(--sam-ink); --tce-ph-bg: var(--sam-taupe); color: var(--sam-ink); font-family: var(--sam-body); }
body.theme-samaura .tce :is(a, button):focus-visible { outline: 2px solid var(--sam-ink); outline-offset: 4px; }
body.theme-samaura .tce-arrow { width: 44px; height: 44px; border-color: var(--sam-line); background: var(--sam-white); color: var(--sam-ink); }
body.theme-samaura .tce--products,
body.theme-samaura .tce-tabs__panel { position: relative; }
body.theme-samaura .tce--products:not(.tce--tabs) > .tce-head:not([hidden]),
body.theme-samaura .tce-tabs__panel > .tce-head:not([hidden]) { position: absolute; inset: 34% -18px auto; z-index: 3; margin: 0; pointer-events: none; }
body.theme-samaura .tce--products .tce-arrows { justify-content: space-between; width: 100%; }
body.theme-samaura .tce--products .tce-arrow { pointer-events: auto; }
body.theme-samaura .tce-tabs__list { gap: 16px 42px; margin: 0 0 28px; }
body.theme-samaura .tce-tabs__tab { min-height: 44px; padding: 8px 0; font-family: var(--sam-display); font-size: 1.75rem; font-weight: 400; color: var(--sam-muted); }
body.theme-samaura .tce-tabs__tab[aria-selected="true"] { color: var(--sam-ink); border-color: currentColor; }
body.theme-samaura .tce-tabs__subs { gap: 16px 28px; margin-bottom: 34px; }
body.theme-samaura .tce-tabs__subs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sam-muted); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
body.theme-samaura .tce-tabs__more { margin-top: 28px; text-align: center; }
body.theme-samaura .tce-tabs__more a { display: inline-flex; align-items: center; min-height: 44px; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; }
body.theme-samaura .tce-cat--tile { border-radius: 0; }
body.theme-samaura .tce--categories.tce--grid > .tce-track:not(:has(> :nth-child(2))) { grid-template-columns: minmax(0, 40rem); justify-content: center; }
body.theme-samaura .tce--categories.tce--grid > .tce-track:has(> :nth-child(2)):not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.theme-samaura .tce-cat--tile .tce-cat__media { aspect-ratio: 1.13; }
body.theme-samaura .tce--categories.tce--grid .tce-cat__media { max-height: 380px; }
body.theme-samaura .tce-cat--tile .tce-cat__body { padding: 65px 32px 30px; background: linear-gradient(transparent, #202326a6); gap: 8px; }
body.theme-samaura .tce-cat__name { font-family: var(--sam-display); font-size: 2.25rem; font-weight: 400; line-height: 1.15; }
body.theme-samaura .tce-cat__ghost { align-items: flex-start; padding-top: 30px; font-family: var(--sam-display); font-size: clamp(3rem, 6.5vw, 6.5rem); font-weight: 400; text-transform: uppercase; }
body.theme-samaura .tce-cat__cta { display: inline-flex; align-items: center; min-height: 44px; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; }
body.theme-samaura .tce--testimonials { --tcet-bg: transparent; --tcet-border: transparent; --tcet-radius: 0px; --tcet-pad: 0px; --tcet-text: var(--sam-ink); --tcet-muted: var(--sam-muted); --tcet-star: var(--sam-ink); display: flex; flex-direction: column; gap: 24px; }
body.theme-samaura .tce--testimonials > .tce-track { order: 1; }
body.theme-samaura .tce--testimonials > .tce-head { order: 2; margin: 0; justify-content: flex-start; }
body.theme-samaura .tce-testi__text { font-size: 1.1875rem; line-height: 1.7; }
body.theme-samaura .tce-testi__title { font-size: 1rem; }
body.theme-samaura .tce-testi__name { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
body.theme-samaura .tce-hover { grid-template-columns: 45fr 55fr; gap: 0; background: linear-gradient(to right, var(--sam-taupe) 83%, transparent 83%); }
body.theme-samaura .tce-hover__list { padding: 50px 15%; gap: 14px; background: var(--sam-taupe); }
body.theme-samaura .tce-hover__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sam-display); font-size: 2rem; font-weight: 400; line-height: 1.25; color: var(--sam-ink); }
body.theme-samaura .tce-hover__media { min-height: 490px; margin: -40px 0 30px; background: var(--sam-taupe); }
body.theme-samaura :is(.tce-hover__cta, .tce-hover__inline-cta, .tce-posts__more .tce-viewall) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 15px 30px; border-radius: 0; background: var(--sam-ink); color: var(--sam-white); font-size: .6875rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .3em; }
body.theme-samaura :is(.tce-hover__cta, .tce-hover__inline-cta, .tce-posts__more .tce-viewall):is(:hover, :focus-visible) { background: #080909; color: #fff; }
body.theme-samaura .tce-post__media { aspect-ratio: 16 / 10; border-radius: 0; }
body.theme-samaura .tce-post__body { gap: 12px; padding-top: 20px; }
body.theme-samaura .tce-post__meta { gap: 8px; font-size: .625rem; letter-spacing: .04em; color: var(--sam-muted); }
body.theme-samaura .tce-post__title { font-family: var(--sam-display); font-size: 1.625rem; line-height: 1.25; font-weight: 400; }
body.theme-samaura .tce-post__more { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font-size: .75rem; font-weight: 700; text-decoration: underline; }
body.theme-samaura .tce-posts__more { margin: 40px 0 0; text-align: center; }
body.theme-samaura .tce--ticker { color: #b5b8b8; font-size: clamp(2.25rem, 5.6vw, 6rem); font-weight: 400; letter-spacing: .08em; }
body.theme-samaura .tce-ticker__pause { min-width: 44px; min-height: 44px; color: var(--sam-ink); background: var(--sam-white); }
@media (max-width: 767px) {
    body.theme-samaura .tce { --tce-gap: 20px; }
    body.theme-samaura .tce-tabs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; padding-bottom: 19px; border-bottom: 2px solid var(--sam-line); }
    body.theme-samaura .tce-tabs__tab { font-size: 1.5625rem; }
    body.theme-samaura .tce-tabs__subs { gap: 10px 20px; }
    body.theme-samaura .tce--categories.tce--grid .tce-track { grid-template-columns: 1fr; }
    body.theme-samaura .tce--categories.tce--grid > .tce-track:has(> :nth-child(2)):not(:has(> :nth-child(3))) { grid-template-columns: 1fr; }
    body.theme-samaura .tce-cat--tile .tce-cat__body { padding-inline: 24px; }
    body.theme-samaura .tce-testi__text { font-size: 1rem; }
    body.theme-samaura .tce-hover__link { font-size: 1.6875rem; }
    body.theme-samaura .tce-post__title { font-size: 1.875rem; }
    body.theme-samaura .tce--posts .tce-track > .tce-item:nth-child(n+2) { display: none; }
}
/* Match the companion's inline-image breakpoint, including its no-JS fallback. */
@media (max-width: 640px) {
    body.theme-samaura .tce-hover { display: block; background: var(--sam-taupe); }
    body.theme-samaura .tce-hover__list { padding: 0; gap: 0; }
    body.theme-samaura .tce-hover__list > li { padding: 0; }
    body.theme-samaura .tce-hover__link { width: 100%; padding: 13px 14px; text-transform: uppercase; }
    body.theme-samaura .tce-hover__inline { margin: 0 !important; }
    body.theme-samaura .tce-hover__inline-media { aspect-ratio: 1.5; }
    body.theme-samaura .tce-hover__inline-cta { padding: 14px 18px; }
}
