/* ==========================================================================
   SMCD — modern front-office layer (2026)
   Loaded last, after the legacy theme, and ONLY from blocks/app/stylesheets
   (public pages). The dashboard uses base-dash.html.twig and is untouched.
   ========================================================================== */

:root {
    /* brand */
    --c-primary: #003296;
    --c-primary-700: #002472;
    --c-primary-600: #0040bd;
    --c-primary-300: #7da0e0;
    --c-primary-50: #eef3fc;

    --c-accent: #ff7a1a;
    --c-success: #0f9d58;
    --c-danger: #e9322d;

    /* neutrals */
    --c-ink: #0f1726;
    --c-body: #4a5468;
    --c-muted: #7a869a;
    --c-line: #e6e9f0;
    --c-surface: #ffffff;
    --c-canvas: #f6f8fc;

    /* shape & motion */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-pill: 999px;
    --sh-sm: 0 1px 2px rgba(15, 23, 38, .06), 0 1px 3px rgba(15, 23, 38, .04);
    --sh-md: 0 6px 20px rgba(15, 23, 38, .08);
    --sh-lg: 0 18px 44px rgba(15, 23, 38, .14);
    --ease: cubic-bezier(.22, .61, .36, 1);

    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------- base ---- */

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-body);
    /*background-color: var(--c-canvas);*/
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-sans);
    color: var(--c-ink);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

a {
    color: var(--c-primary);
    transition: color .18s var(--ease);
}

a:hover, a:focus {
    color: var(--c-primary-600);
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid var(--c-primary-300);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

img {
    max-width: 100%;
}

/* The old theme leans on infinite bounce/pulse loops; one pass is plenty. */
.animate__infinite {
    animation-iteration-count: 1 !important;
}

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

/* ------------------------------------------------- page shell / content --- */

/* Every public page is a .wrapper holding the header, the page content and the
   footer. The shell fills the window and the footer is pushed to the bottom,
   so a short page (login, signup, an empty cart) never leaves dead space under
   the footer. */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper > .footer-area {
    margin-top: auto;
}

/* Everything between the header and the footer absorbs the leftover height, so
   the content block fills the window on a short page. The off-canvas panels and
   modals are position:fixed or display:none, so they are not flex items and are
   unaffected; on a long page there is no leftover height and nothing changes. */
.wrapper > :not(header):not(footer):not(.header-small-mobile):not(.mobile-off-canvas-active):not(.header-aside-active):not(.sidebar-cart-active):not(.modal):not(#user-rating):not(#user-language) {
    flex-grow: 1;
}

/* ------------------------------------------------------------ sections --- */

.section-title h2,
.section-title h2 .block-title {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    color: var(--c-ink);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 6px;
}

.section-title h2 .block-title:hover {
    color: var(--c-primary);
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-600));
}

.section-title p {
    color: var(--c-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ------------------------------------------------------------- buttons --- */

.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: var(--r-pill);
    padding: 10px 22px;
    border-width: 1px;
    box-shadow: none;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease),
    background-color .16s var(--ease), color .16s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary,
.btn-info {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus,
.btn-info:hover, .btn-info:focus {
    background-color: var(--c-primary-700);
    border-color: var(--c-primary-700);
    color: #fff;
    box-shadow: var(--sh-md);
}

.btn-outline-primary,
.btn-outline-info {
    color: var(--c-primary);
    border-color: var(--c-primary);
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

.btn-secondary {
    background-color: #eef1f7;
    border-color: #eef1f7;
    color: var(--c-ink);
}

.btn-secondary:hover {
    background-color: #e2e7f1;
    border-color: #e2e7f1;
    color: var(--c-ink);
}

.btn-success {
    background-color: var(--c-success);
    border-color: var(--c-success);
}

.btn-danger {
    background-color: var(--c-danger);
    border-color: var(--c-danger);
}

/* -------------------------------------------------------------- header --- */

.header-top.bg-gray-2 {
    background: var(--c-primary) !important;
    color: rgba(255, 255, 255, .86);
    font-size: 12.5px;
    letter-spacing: .04em;
}

.header-top .header-contact-info a,
.header-top .header-top-cur-lang a {
    color: rgba(255, 255, 255, .86);
}

.header-top .header-contact-info a:hover,
.header-top .header-top-cur-lang a:hover {
    color: #fff;
}

/* The bar and its dropdowns must paint above the carousel and the sections
   that follow it in the document. */
.header-area,
.header-small-mobile {
    position: relative;
    z-index: 1000;
    /* The bar becomes position:fixed when it sticks, leaving the flow; without
       this the page would jump up by its height at the threshold. 62px logo +
       2 x 10px padding + 1px border. */
    min-height: 83px;
}

.header-bottom.sticky-bar,
.header-small-mobile.sticky-bar {
    /* plain white, no backdrop-filter: that filter made the bar a stacking
       context and is easy to get wrong across browsers */
    background-color: #fff;
    border-bottom: 1px solid var(--c-line);
    z-index: 1000;
}

/* The theme replays a 0.7s fadeInDown every time the bar sticks, which reads
   as the header bouncing in on each scroll past the threshold. The bar just
   settles now - only the shadow fades in. */
.sticky-bar.stick,
.header-bottom.sticky-bar.stick,
.header-small-mobile.sticky-bar.stick {
    -webkit-animation: none !important;
    animation: none !important;
}

.header-bottom.sticky-bar.stick,
.header-small-mobile.sticky-bar.stick {
    box-shadow: var(--sh-md);
    border-bottom-color: transparent;
}

.header-area .logo img,
.header-small-mobile .logo img {
    width: 62px !important;
    height: 62px !important;
    object-fit: contain;
}

.main-menu.main-menu-center {
    padding: 14px 0;
}

.stick .main-menu.main-menu-center {
    padding: 10px 0;
}

/* ---- top level links ---- */

.main-menu > nav > ul > li > a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--c-ink);
    letter-spacing: .01em;
    padding: 9px 14px;
    border-radius: var(--r-pill);
    line-height: 1.4;
    transition: color .18s var(--ease), background-color .18s var(--ease);
}

.main-menu > nav > ul > li > a:hover {
    color: var(--c-primary);
    background-color: var(--c-primary-50);
}

/* the theme's sliding underline would sit on top of the new pill */
.main-menu > nav > ul > li > a::after,
.main-menu > nav > ul > li.active > a::after,
.main-menu > nav > ul > li:hover > a::after {
    display: none;
}

/* "Revendeur" is a call to action, not a menu entry: solid brand button. */
.main-menu > nav > ul > li > a.reseller {
    background-color: var(--c-primary);
    color: #fff;
    border: 0;
    border-radius: var(--r-pill);
    padding: 10px 20px;
    margin-left: 10px;
    font-size: 14px !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 50, 150, .22);
    transition: background-color .18s var(--ease), box-shadow .18s var(--ease),
    transform .18s var(--ease);
}

.main-menu > nav > ul > li > a.reseller:hover,
.main-menu > nav > ul > li > a.reseller:focus {
    background-color: var(--c-primary-700);
    color: #fff;
    border: 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 50, 150, .3);
}

.main-menu > nav > ul > li > a.reseller:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 50, 150, .25);
}

.main-menu > nav > ul > li > a .caret {
    font-size: 19px;
    margin-left: 2px;
    transition: transform .2s var(--ease);
}

.main-menu > nav > ul > li:hover > a .caret {
    transform: rotate(180deg);
}

/* ---- dropdown panels ---- */

.main-menu > nav > ul > li .dropdown-menu-style {
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 10px 0;
    z-index: 1200;
}

.main-menu > nav > ul > li:hover .dropdown-menu-style {
    margin-top: 12px;
}

.stick .main-menu > nav > ul > li:hover .dropdown-menu-style {
    margin-top: 8px;
}

.main-menu > nav > ul > li .dropdown-menu-style.dropdown-width-2 ul li a {
    padding: 11px 18px;
    margin: 0 8px;
    border-radius: var(--r-sm);
    text-transform: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-body);
    align-items: center;
}

.main-menu > nav > ul > li .dropdown-menu-style.dropdown-width-2 ul li a:hover {
    background-color: var(--c-primary-50);
    color: var(--c-primary) !important;
}

.main-menu > nav > ul > li .dropdown-menu-style ul li ul li a {
    text-transform: none;
    font-size: 13px;
}

.dropdown-menu-style .next {
    font-size: 18px;
    opacity: .6;
}

.lavel-menu {
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
}

/* ---- icon buttons on the right ---- */

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-actions .same-style {
    margin: 0;
    padding: 0;
}

.nav-actions .same-style > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--c-ink);
    background: transparent;
    transition: background-color .18s var(--ease), color .18s var(--ease),
    transform .18s var(--ease);
}

.nav-actions .same-style > a:hover {
    background-color: var(--c-primary-50);
    color: var(--c-primary);
    transform: translateY(-1px);
}

.nav-actions .material-icons-outlined {
    font-size: 23px;
}

.nav-actions .icon-button__badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    background: var(--c-accent);
    color: #fff;
    font-weight: 700;
    border-radius: var(--r-pill);
    box-shadow: 0 0 0 2px #fff;
}

/* language switch, where the burger used to be */
.nav-actions .header-lang {
    margin-left: 4px;
}

.nav-actions .header-lang select#language {
    border: 1px solid var(--c-line);
    border-radius: var(--r-pill);
    background: #fff;
    color: var(--c-ink);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color .18s var(--ease), color .18s var(--ease);
}

.nav-actions .header-lang select#language:hover,
.nav-actions .header-lang select#language:focus {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

/* ---- signed-in avatar + profile menu ---- */

.nav-actions .dropbtn.avatar-btn {
    width: 40px;
    height: 40px;
    margin: 0 2px;
    border: 0;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background-color .18s var(--ease), box-shadow .18s var(--ease),
    transform .18s var(--ease);
}

.nav-actions .dropbtn.avatar-btn:hover {
    background: var(--c-primary-700);
    color: #fff;
    transform: translateY(-1px);
}

.nav-actions .dropdown.open .dropbtn.avatar-btn {
    background: var(--c-primary-700);
    box-shadow: 0 0 0 4px var(--c-primary-50);
}

.nav-actions .dropdown {
    position: relative;
}

/* click to open, not hover: the theme's hover rule is cancelled here and the
   script toggles .open (see assets/js/app/profile-menu.js) */
.nav-actions .dropdown:hover .dropdown-content {
    display: none;
}

.nav-actions .dropdown.open .dropdown-content {
    display: block;
}

/* the panel hangs from the right edge: the avatar sits at the end of the bar,
   so a left-aligned menu would run off screen */
.nav-actions .dropdown-content {
    right: 0;
    left: auto;
    top: 100%;
    margin-top: 10px;
    min-width: 252px;
    padding: 8px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    background: #fff;
    text-align: left;
    z-index: 1200;
    animation: profile-menu-in .16s var(--ease);
}

@keyframes profile-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* identity block on top */
.nav-actions .dropdown-content .dropdown-option {
    display: block;
    padding: 2px 10px;
    margin: 0;
    cursor: default;
    color: var(--c-ink);
    font-size: 12.5px;
    line-height: 1.5;
    word-break: break-word;
}

.nav-actions .dropdown-content .dropdown-option:first-child {
    color: var(--c-ink);
    font-weight: 700;
    font-size: 14px;
    padding-top: 6px;
}

/* actions */
.nav-actions .dropdown-content .user-options {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
    padding: 10px;
    border: 0;
    border-radius: var(--r-sm);
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-body) !important;
    transition: background-color .18s var(--ease), color .18s var(--ease);
}

.nav-actions .dropdown-content .user-options .material-icons-outlined {
    font-size: 19px;
    color: var(--c-muted);
    transition: color .18s var(--ease);
}

.nav-actions .dropdown-content .user-options:hover {
    background: var(--c-primary-50) !important;
    color: var(--c-primary) !important;
    border: 0;
}

.nav-actions .dropdown-content .user-options:hover .material-icons-outlined {
    color: var(--c-primary);
}

/* the first action starts a new group, right after the identity lines */
.nav-actions .dropdown-content .dropdown-option + .user-options {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--c-line);
    border-radius: 0;
}

/* signing out is destructive: keep it red and set it apart */
.nav-actions .dropdown-content .user-options--danger {
    color: var(--c-danger) !important;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--c-line);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.nav-actions .dropdown-content .user-options--danger .material-icons-outlined {
    color: var(--c-danger);
}

.nav-actions .dropdown-content .user-options--danger:hover {
    background: rgba(233, 50, 45, .08) !important;
    color: var(--c-danger) !important;
}

.nav-actions .dropdown-content .user-options--danger:hover .material-icons-outlined {
    color: var(--c-danger);
}

/* ---- mobile bar & off-canvas ---- */

.header-small-mobile .nav-actions .same-style > a {
    width: 38px;
    height: 38px;
}

.mobile-off-canvas-active .header-mobile-aside-wrap {
    padding: 24px 18px;
}

.slinky-mobile-menu ul li a {
    font-weight: 600;
    color: var(--c-ink);
    padding: 11px 6px;
    border-radius: var(--r-sm);
}

.slinky-mobile-menu ul li a:hover {
    background: var(--c-primary-50);
    color: var(--c-primary);
}

.mobile-side-text {
    font-size: 13.5px;
}

/* ------------------------------------------------------------ carousel --- */

.carousel.slide {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.carousel-img {
    object-fit: cover;
    max-height: 560px;
}

.carousel-indicators li,
.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .55);
    border: 0;
    transition: width .22s var(--ease), background-color .22s var(--ease);
}

.carousel-indicators .active {
    width: 28px;
    border-radius: var(--r-pill);
    background-color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(15, 23, 38, .45);
    border-radius: 50%;
    padding: 20px;
    background-size: 44% 44%;
    transition: background-color .2s var(--ease);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--c-primary);
}

/* ------------------------------------------------------- product cards --- */

.product-wrap,
.category-wrap-2 {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease),
    border-color .22s var(--ease);
}

.product-wrap:hover,
.category-wrap-2:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
    border-color: var(--c-primary-300);
}

.product-wrap .product-img {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.product-wrap .product-img img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.product-wrap .product-content {
    padding: 14px 16px 18px;
    border-top: 1px solid var(--c-line);
}

.product-wrap .product-content h3 {
    font-size: 15px;
    margin: 0;
}

.product-wrap .product-content h3 a,
.product-ref {
    color: var(--c-ink);
    font-weight: 600;
}

.product-wrap:hover .product-content h3 a {
    color: var(--c-primary);
}

.product-quickview {
    gap: 8px;
}

.product-quickview .material-icons-outlined,
.add-to-cart {
    background: rgba(255, 255, 255, .96);
    color: var(--c-primary);
    border-radius: var(--r-pill);
    padding: 9px;
    box-shadow: var(--sh-sm);
    cursor: pointer;
    transition: background-color .18s var(--ease), color .18s var(--ease),
    transform .18s var(--ease);
}

.product-quickview .material-icons-outlined:hover,
.add-to-cart:hover {
    background: var(--c-primary);
    color: #fff;
    transform: translateY(-2px);
}

.category-link,
.category-wrap-2 h3 {
    font-weight: 700;
    color: var(--c-ink);
}

.category-wrap-2:hover .category-link {
    color: var(--c-primary);
}

/* price bits used across product pages */
.product-price span,
.product-details-content span.new-price,
del {
    color: var(--c-muted);
}

.product-details-content .h3,
.product-details-content h3.font-weight-bold {
    color: var(--c-primary);
}

/* ------------------------------------------------- promotion of the day --- */

.promo-section {
    margin: 0 0 56px;
}

/* one promo: wide card, image beside the text.
   several: a responsive grid of stacked cards. */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.promo-grid--single {
    grid-template-columns: 1fr;
}

.promo-card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
    align-items: start;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-700) 60%, #001b52 100%);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    padding: 28px;
    color: rgba(255, 255, 255, .85);
    overflow: hidden;
    position: relative;
}

.promo-card--wide {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

/* soft glow behind the product shot */
.promo-card::before {
    content: "";
    position: absolute;
    inset: auto auto -40% -15%;
    width: 60%;
    padding-top: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%);
    pointer-events: none;
}

.promo-card__media {
    position: relative;
    background: #fff;
    border-radius: var(--r-md);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
}

.promo-card--wide .promo-card__media {
    min-height: 240px;
}

.promo-card__media img {
    max-height: 190px;
    object-fit: contain;
}

.promo-card--wide .promo-card__media img {
    max-height: 260px;
}

.promo-card__badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--c-accent);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .02em;
    padding: 10px 14px;
    border-radius: var(--r-pill);
    box-shadow: var(--sh-md);
}

.promo-card__body {
    position: relative;
    z-index: 1;
}

.promo-card__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 5px 12px;
    border-radius: var(--r-pill);
    margin-bottom: 14px;
}

.promo-card__title {
    font-size: 20px;
    margin: 0 0 6px;
}

.promo-card--wide .promo-card__title {
    font-size: clamp(22px, 2.6vw, 32px);
}

.promo-card__title a {
    color: #fff;
}

.promo-card__title a:hover {
    color: var(--c-primary-300);
}

.promo-card__ref {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    margin-bottom: 18px;
}

.promo-card__prices {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.promo-card__new {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

.promo-card--wide .promo-card__new {
    font-size: clamp(26px, 3.4vw, 38px);
}

.promo-card__old {
    font-size: 18px;
    color: rgba(255, 255, 255, .6);
}

.promo-card__until {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 22px;
}

.promo-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.promo-card__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.promo-card__actions .btn-primary {
    background: #fff;
    border-color: #fff;
    color: var(--c-primary);
}

.promo-card__actions .btn-primary:hover {
    background: var(--c-primary-50);
    border-color: var(--c-primary-50);
    color: var(--c-primary-700);
}

.promo-card__actions .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.promo-card__actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.promo-card__actions .material-icons-outlined {
    font-size: 19px;
}

@media (max-width: 767.98px) {
    .promo-card,
    .promo-card--wide {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 22px;
        padding: 20px;
        text-align: center;
    }

    .promo-card__media {
        min-height: 180px;
    }

    .promo-card__prices,
    .promo-card__actions {
        justify-content: center;
    }

    .promo-card__badge {
        top: -10px;
        right: 8px;
    }
}

/* ------------------------------------------------------ product detail --- */

/* trail above the gallery: brand > category > sub-category */
.product-details-area + .description-review-area,
.sub-title {
    font-weight: 600;
}

.sub-title {
    color: var(--c-muted);
    font-size: 13.5px;
}

.sub-title:hover {
    color: var(--c-primary);
}

.right-arrow {
    font-size: 18px;
    color: var(--c-muted) !important;
}

/* ---- gallery ---- */

.gallery-main {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 20px;
    position: relative;
}

.image-big {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
}

.gallery-open {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c-primary);
    box-shadow: var(--sh-md);
    transition: background-color .18s var(--ease), transform .18s var(--ease);
}

.gallery-open:hover {
    background: var(--c-primary-700);
    transform: translateY(-2px);
}

.gallery-open .material-icons-outlined {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.image-small {
    width: 74px;
    height: 74px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 6px;
    margin: 0 6px;
    cursor: pointer;
    transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.image-small:hover {
    border-color: var(--c-primary-300);
    transform: translateY(-2px);
}

.image-small.active-small-pic {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px var(--c-primary-50);
}

/* ---- details column ---- */

.product-details-content {
    padding: 4px 0 0 10px;
}

.product-details-content h4,
.product-details-content .text-primary-casio {
    font-size: clamp(22px, 2.6vw, 26px);
    font-weight: 800;
    color: var(--c-ink);
    line-height: 1.25;
    margin-bottom: 6px;
}

/* reference as a chip rather than loose text */
.product-details-content .m-t-20 .text-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-primary-50);
    color: var(--c-muted) !important;
    border-radius: var(--r-pill);
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
}

.product-details-content .m-t-20 .text-dark .text-primary {
    color: var(--c-primary) !important;
    font-weight: 700;
}

.product-details-content .m-t-20 span {
    line-height: 1.7;
}

.pro-details-quality {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--c-line);
}

/* the page-level add-to-cart carries a label, not an icon: the round pill used
   on product cards must not apply here */
.pro-details-cart .add-to-cart,
.pro-details-cart .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    background: var(--c-primary);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    box-shadow: 0 2px 12px rgba(0, 50, 150, .22);
    transition: background-color .18s var(--ease), transform .18s var(--ease),
    box-shadow .18s var(--ease);
}

.pro-details-cart .add-to-cart:hover,
.pro-details-cart .btn:hover {
    background: var(--c-primary-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 50, 150, .28);
}

.pro-details-social {
    margin-top: 22px;
}

.pro-details-social ul {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-muted);
    font-size: 13px;
}

/* the theme ships empty share links */
.pro-details-social a.social-media:empty {
    display: none;
}

/* ---- technical sheet / video blocks (no tabs) ---- */

.description-review-area {
    padding-top: 10px;
}

.product-media-blocks {
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.media-block {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: 22px 26px 26px;
    box-shadow: var(--sh-sm);
}

.media-block__title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-ink);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}

.media-block__title .material-icons-outlined {
    font-size: 21px;
    color: var(--c-primary);
}

/* ---- pdf as a download card ---- */

.pdf-card {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-surface);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease),
    transform .18s var(--ease);
}

.pdf-card:hover {
    border-color: var(--c-primary-300);
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}

.pdf-card__icon {
    font-size: 34px;
    color: var(--c-danger);
    flex-shrink: 0;
}

.pdf-card__text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.pdf-card__text strong {
    color: var(--c-ink);
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-card__text small {
    color: var(--c-muted);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pdf-card__action {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c-primary-50);
    color: var(--c-primary);
    font-size: 20px;
    transition: background-color .18s var(--ease), color .18s var(--ease);
}

.pdf-card:hover .pdf-card__action {
    background: var(--c-primary);
    color: #fff;
}

/* ---- video ---- */

.video-frame {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #000;
    box-shadow: var(--sh-md);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- empty states ---- */

.media-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 20px;
    border: 1px dashed var(--c-line);
    border-radius: var(--r-md);
    background: var(--c-canvas);
    color: var(--c-muted);
    text-align: center;
}

.media-empty .material-icons-outlined {
    font-size: 34px;
    opacity: .7;
}

.media-empty p {
    margin: 0;
    font-size: 14px;
}

/* ---- related products ---- */

.productR-image-card {
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .product-details-content {
        padding: 22px 0 0;
    }

    .pro-details-cart .add-to-cart,
    .pro-details-cart .btn {
        width: 100%;
    }

    .image-small {
        width: 62px;
        height: 62px;
    }
}

/* ----------------------------------------------------- forms & inputs ---- */

.form-control,
.custom-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
    font-family: var(--font-sans);
    border: 1px solid var(--c-line);
    /* square fields */
    border-radius: 0;
    padding: 11px 14px;
    height: auto;
    color: var(--c-ink);
    background-color: #fff;
    transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

/* Bootstrap re-rounds these variants on its own, so square them explicitly. */
.form-control-sm,
.form-control-lg,
.input-group > .form-control,
.input-group-text,
.input-group-prepend .btn,
.input-group-append .btn,
.custom-file,
.custom-file-input,
.custom-file-label,
.custom-file-label::after {
    border-radius: 0;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px var(--c-primary-50);
    outline: none;
}

label, .col-form-label {
    font-weight: 600;
    color: var(--c-ink);
}

.card {
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

/* ---------------------------------------------------- tables & modals ---- */

.table {
    background: var(--c-surface);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.table thead th {
    background: var(--c-primary-50);
    color: var(--c-ink);
    font-weight: 700;
    border-bottom: 1px solid var(--c-line);
    text-transform: none;
    letter-spacing: .01em;
}

.table td, .table th {
    border-color: var(--c-line);
    vertical-align: middle;
}

.img-cart {
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    background: #fff;
}

.modal-content {
    border: 0;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
}

.modal-header, .modal-footer {
    border-color: var(--c-line);
}

.badge {
    border-radius: var(--r-pill);
    font-weight: 600;
    padding: .4em .8em;
}

/* -------------------------------------------------------------- footer --- */

.footer-area {
    background: linear-gradient(165deg, var(--c-primary) 0%, var(--c-primary-700) 55%, #001434 100%);
    color: rgba(255, 255, 255, .74);
    margin-top: 70px;
    position: relative;
}

/* thin brand rule along the top edge */
.footer-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-primary-300), var(--c-accent));
}

.footer-area .footer-top {
    padding: 56px 0 24px;
}

.footer-area .footer-title h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-area .footer-title h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: var(--r-pill);
    background: var(--c-accent);
}

.footer-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--r-md);
    padding: 10px;
    margin-bottom: 16px;
}

.footer-about {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    max-width: 330px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 16px;
    transition: background-color .18s var(--ease), transform .18s var(--ease),
    border-color .18s var(--ease);
}

.footer-social a:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
    transform: translateY(-2px);
}

.footer-area .footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-area .footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-area .footer-list .material-icons-outlined {
    font-size: 19px;
    color: var(--c-primary-300);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-address {
    color: #fff;
}

.footer-area a {
    color: rgba(255, 255, 255, .78);
}

.footer-area a:hover {
    color: #fff;
}

.footer-area .footer-list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- bottom bar ---- */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .14);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.footer-copy {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .62);
}

.footer-bottom__links {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-bottom__links a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
}

.footer-bottom__links a:hover {
    color: var(--c-accent);
}

@media (max-width: 767.98px) {
    .footer-area .footer-top {
        padding: 40px 0 10px;
        text-align: center;
    }

    .footer-area .footer-title h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-about {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social,
    .footer-area .footer-list li {
        justify-content: center;
    }

    .footer-bottom__inner {
        justify-content: center;
        text-align: center;
    }
}

/* ------------------------------------------------- sidebars / off-canvas --- */

/* shared surface for the three slide-in panels */
.header-aside-active,
.sidebar-cart-active,
.mobile-off-canvas-active {
    background-color: var(--c-surface);
    box-shadow: -18px 0 44px rgba(15, 23, 38, .16);
    border-left: 1px solid var(--c-line);
    /* The theme puts the backdrop at 9999 too; a panel must stay above it,
       otherwise the dark overlay is painted over the open sidebar. */
    z-index: 10000;
}

.header-aside-active .header-aside-wrap,
.mobile-off-canvas-active .header-mobile-aside-wrap {
    padding: 24px 24px 32px;
}

.sidebar-cart-active {
    padding: 24px 24px 32px;
}

/* Darker backdrop behind an open panel.
   No backdrop-filter here: the overlay is always in the DOM covering the
   viewport, and the blur is applied even while it is transparent, which blurs
   the whole page. Scoped to the active state as well, so a closed overlay can
   never affect the page. */
.wrapper.overlay-active .body-overlay,
.wrapper-2.overlay-active-2 .body-overlay-2,
.wrapper-3.overlay-active-3 .body-overlay-3 {
    background: rgba(8, 15, 30, .55) !important;
}

/* ---- close buttons: round, inside the panel ---- */

.header-aside-active .header-aside-wrap .aside-close,
.sidebar-cart-active .sidebar-cart-all .cart-close,
.mobile-off-canvas-active .mobile-aside-close {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    width: 40px;
    height: 40px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c-primary-50);
    color: var(--c-primary);
    font-size: 20px;
    box-shadow: none;
    transition: background-color .18s var(--ease), color .18s var(--ease),
    transform .18s var(--ease);
}

.header-aside-active .header-aside-wrap .aside-close:hover,
.sidebar-cart-active .sidebar-cart-all .cart-close:hover,
.mobile-off-canvas-active .mobile-aside-close:hover {
    background: var(--c-primary);
    color: #fff;
    transform: rotate(90deg);
}

/* the markup paints the glyph white for the old dark square */
.header-aside-active .aside-close .material-icons-outlined,
.mobile-off-canvas-active .mobile-aside-close .material-icons-outlined {
    color: inherit !important;
    font-size: 22px;
}

/* ---- panel headings ---- */

.sidebar-cart-active .sidebar-cart-all .cart-content > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: .02em;
    text-transform: uppercase;
    margin: 4px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}

.header-aside-active .header-aside-top,
.mobile-off-canvas-active .mobile-menu-wrap {
    padding-top: 12px;
}

/* ---- rows inside the panels ---- */

.header-aside-active .same-style,
.mobile-off-canvas-active .same-style {
    padding: 2px 0;
}

.header-aside-active .same-style a,
.header-aside-active .same-style h6,
.mobile-side-text {
    display: block;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-ink);
    margin: 0;
}

.header-aside-active .same-style a:hover,
a.mobile-side-text:hover {
    background: var(--c-primary-50);
    color: var(--c-primary);
}

.header-aside-active .language {
    font-weight: 600;
    color: var(--c-muted);
    font-size: 13px;
    margin-right: 8px;
}

.header-aside-active select#language {
    padding: 8px 12px;
    font-weight: 600;
}

.header-aside-active hr,
.mobile-off-canvas-active hr {
    border-color: var(--c-line);
    margin: 14px 0;
}

/* ---- cart list ---- */

.sidebar-cart-active .single-product-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--c-line);
    padding: 12px 0;
}

.sidebar-cart-active .cart-img img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    padding: 4px;
}

.sidebar-cart-active .cart-title h4 {
    font-size: 14px;
    margin: 0 0 4px;
}

.sidebar-cart-active .cart-title h4 a {
    color: var(--c-ink);
    font-weight: 600;
}

.sidebar-cart-active .cart-title h4 a:hover {
    color: var(--c-primary);
}

.sidebar-cart-active .cart-title span {
    font-size: 13px;
    color: var(--c-muted) !important;
}

.sidebar-cart-active .cart-delete a {
    color: var(--c-muted);
    transition: color .18s var(--ease);
}

.sidebar-cart-active .cart-delete a:hover {
    color: var(--c-danger);
}

.sidebar-cart-active .cart-total h4,
.sidebar-cart-active .cart-total span {
    color: var(--c-ink);
    font-weight: 700;
}

/* The cart buttons use the global .btn styles, but fill the panel width and
   stay square - like the form fields. */
.sidebar-cart-active .cart-checkout-btn .btn {
    display: block;
    width: 100%;
    border-radius: 0;
}

/* ---- categories sidebar (listing pages) ---- */

.categories-menu .category-heading h3 {
    background: var(--c-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 18px;
    margin: 0;
    border-radius: var(--r-md) var(--r-md) 0 0;
}

.categories-menu .category-menu-list {
    border: 1px solid var(--c-line);
    border-top: 0;
    border-radius: 0 0 var(--r-md) var(--r-md);
    background: var(--c-surface);
    padding: 6px;
}

.categories-menu .category-menu-list > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-body);
}

.categories-menu .category-menu-list > ul > li > a:hover {
    background: var(--c-primary-50);
    color: var(--c-primary);
}

.categories-menu .category-menu-dropdown {
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
}

@media (max-width: 575.98px) {
    .header-aside-active,
    .sidebar-cart-active,
    .mobile-off-canvas-active {
        width: 100% !important;
        max-width: 340px;
    }
}

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 991.98px) {
    body {
        font-size: 14.5px;
    }

    .header-area,
    .header-small-mobile {
        min-height: 83px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .carousel-img {
        max-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .btn {
        padding: 9px 18px;
    }

    .product-wrap .product-content {
        padding: 12px 12px 16px;
    }
}
