/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



/* =========================================
   HELIOT PRODUCT VIDEOS
========================================= */

.heliot-product-videos {
    margin-top: 45px !important;
    padding-top: 35px;
    border-top: 1px solid #e8e8e8;
}

/* Videos heading */
.heliot-product-videos > h3 {
    margin: 0 0 25px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    position: relative;
    padding-bottom: 12px;
}

/* Small underline below title */
.heliot-product-videos > h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: #343e94;
    border-radius: 10px;
}

/* Turn individual videos into grid */
.heliot-product-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* Keep heading full width */
.heliot-product-videos > h3 {
    grid-column: 1 / -1;
}

/* Video card */
.heliot-product-video {
    margin-bottom: 0 !important;
    background: #fff;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Nice hover */
.heliot-product-video:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    border-color: #d6d6d6;
}

/* Responsive video ratio */
.heliot-product-video iframe {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 9px;
    background: #000;
}


/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {

    .heliot-product-videos {
        gap: 20px;
    }

    .heliot-product-videos > h3 {
        font-size: 27px;
    }
}


/* =========================================
   MOBILE
========================================= */
@media (max-width: 767px) {

    .heliot-product-videos {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px !important;
        padding-top: 28px;
    }

    .heliot-product-videos > h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .heliot-product-video {
        padding: 6px;
        border-radius: 10px;
    }

    .heliot-product-video iframe {
        border-radius: 7px;
    }
}







/* GAP logo — all matching single product pages */
body.single-product .gap-product-logo {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 16px !important;
    line-height: 0 !important;
    text-align: left !important;
}

body.single-product .gap-product-logo img {
    display: block !important;
    width: 70px !important;
    max-width: 70px !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    body.single-product .gap-product-logo img {
        width: 60px !important;
        max-width: 60px !important;
    }
}



.home .main-page-wrapper {padding-top: 0;}

ul.wd-nav-product-cat.wd-nav.wd-gap-m.wd-style-underline.has-product-count.wd-mobile-accordion {
    display: none;
}
div.wpforms-container-full textarea#wpforms-15827-field_3 {
    height: calc( var( --wpforms-field-size-input-height ) * 5.1) !important;
	padding:15px !important;
}
div.wpforms-container-full input[type=date],
div.wpforms-container-full input[type=datetime],
div.wpforms-container-full input[type=datetime-local],
div.wpforms-container-full input[type=email],
div.wpforms-container-full input[type=month],
div.wpforms-container-full input[type=number],
div.wpforms-container-full input[type=password],
div.wpforms-container-full input[type=range],
div.wpforms-container-full input[type=search],
div.wpforms-container-full input[type=tel],
div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=time],
div.wpforms-container-full input[type=url],
div.wpforms-container-full input[type=week],
div.wpforms-container-full select,
div.wpforms-container-full textarea,
.wp-core-ui div.wpforms-container-full input[type=date],
.wp-core-ui div.wpforms-container-full input[type=datetime],
.wp-core-ui div.wpforms-container-full input[type=datetime-local],
.wp-core-ui div.wpforms-container-full input[type=email],
.wp-core-ui div.wpforms-container-full input[type=month],
.wp-core-ui div.wpforms-container-full input[type=number],
.wp-core-ui div.wpforms-container-full input[type=password],
.wp-core-ui div.wpforms-container-full input[type=range],
.wp-core-ui div.wpforms-container-full input[type=search],
.wp-core-ui div.wpforms-container-full input[type=tel],
.wp-core-ui div.wpforms-container-full input[type=text],
.wp-core-ui div.wpforms-container-full input[type=time],
.wp-core-ui div.wpforms-container-full input[type=url],
.wp-core-ui div.wpforms-container-full input[type=week],
.wp-core-ui div.wpforms-container-full select,
.wp-core-ui div.wpforms-container-full textarea {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: var(--wd-form-height) !important;
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color) !important;
    border-radius: var(--wd-form-brd-radius) !important;
    background-color: var(--wd-form-bg) !important;
    box-shadow: none !important;
    color: var(--wd-form-color) !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    transition: border-color .5s ease !important;
}

button#wpforms-submit-15827 {
    padding: 5px 20px;
    min-height: var(--btn-height);
    font-size: 13px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: 0px solid transparent;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-transform: var(--btn-transform);
    text-shadow: none;
    font-weight: var(--btn-font-weight);
    font-family: var(--btn-font-family);
    font-style: var(--btn-font-style);
    line-height: 1.2;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease;
    color: var(--btn-color, #3E3E3E);
    background-color: var(--btn-bgcolor, #F3F3F3);
}

.wd-filter-buttons.wd-action-btn.wd-style-text, form.woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon {
    display: none;
}


@media (min-width: 1024px) and (max-width: 1115px) {
  .wd-nav {
    --nav-gap: 10px; /* smaller padding for this screen width */
  }
}


/* Make the slide a stacking context */
.wd-slide.wd-carousel-item {
  position: relative;
  z-index: 0;
}

/* Dark overlay on top of the background (and canvas), below the text/buttons */
.wd-slide.wd-carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* #000 @ 0.7 */
  z-index: 1 !important;
  pointer-events: none; /* don’t block arrows/links */
}

/* Ensure background/canvas stay under the overlay */
.wd-slide .wd-slide-bg,
.wd-slider canvas {
  z-index: 0 !important;
}

/* Ensure the slide content stays above the overlay */
.wd-slide .wd-slide-inner {
  position: relative;
  z-index: 2 !important;
}


.home .wd-button-wrapper.text-left {
    display: none;
}





  .wfi-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.6;
  }

  .wfi-header {
    text-align: center;
    margin-bottom: 25px;
  }

  .wfi-header h2 {
    margin-bottom: 10px;
  }

  .wfi-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .wfi-video,
  .wfi-text {
    width: 100%;
  }

  .wfi-video {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .wfi-video video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .wfi-text h3 {
    margin-top: 20px;
  }

  .wfi-text ul {
    padding-left: 20px;
    margin-top: 8px;
  }

  .wfi-highlight {
    margin-top: 25px;
    font-weight: 600;
  }

  /* Desktop / tablet layout */
  @media (min-width: 768px) {
    .wfi-layout {
      flex-direction: row;
      align-items: flex-start;
    }

    .wfi-video {
      max-width: 40%;
    }

    .wfi-text {
      max-width: 60%;
    }
  }



/* Keep media responsive inside the column */
.wfi-video-inner video,
.wfi-video-inner iframe,
.wfi-video-inner img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Optional: smaller media column on desktop */
@media (min-width: 768px) {
  .wfi-layout.media-left .wfi-video {
    max-width: 40%;
    flex-shrink: 0;
  }
  .wfi-layout.media-left .wfi-text {
    max-width: 60%;
  }

  .wfi-layout.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
  }
}


div#slide-6398 {
    background: linear-gradient(
rgba(0,0,0,0.65),
rgba(0,0,0,0.45)
);
}

/*body .main-page-wrapper {
    padding-top: 0 !important;
}*/


/* Shop categories:
   Keep first product featured image
   Hide WoodMart original category image */
body.post-type-archive-product .product-category .category-image img:not(.woocommerce-category-first-product-image) {
    display: none !important;
}

@media (min-width: 1024px) {
.wd-dropdown-menu{
        width: 300px !important;
    }
}
























/* =========================================================
   GLOBAL WOODMART / WOOCOMMERCE PRODUCT GRID DESIGN
   ALMAAC BRAND COLORS
========================================================= */

.products.wd-products {
    --almac-blue: #404097;
    --almac-red: #E63233;
    --almac-dark: #20202b;
    --almac-text: #555765;
    --almac-light: #f7f7fa;
    --almac-border: #e4e5ec;

    gap: 28px !important;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.wd-product .product-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;

    background: #ffffff !important;

    border: 1px solid #e3e4eb !important;
    border-radius: 14px !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.05),
        0 10px 30px rgba(64, 64, 151, 0.04) !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}


/* ALMAAC top accent */
.wd-product .product-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #404097 0%,
        #404097 72%,
        #E63233 72%,
        #E63233 100%
    );

    z-index: 10;
}


/* Hover */
.wd-product:hover .product-wrapper {
    transform: translateY(-7px);

    border-color: rgba(64, 64, 151, 0.28) !important;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.07),
        0 18px 45px rgba(64, 64, 151, 0.14) !important;
}


/* =========================================================
   FEATURED IMAGE AREA
========================================================= */

.wd-product .product-element-top {
    background: #f7f7f9 !important;

/*    padding: 18px 18px 0 !important; */

    border-radius: 13px 13px 0 0 !important;

    overflow: hidden;
}


.wd-product .product-image-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: 100% !important;
}


/* Main WooCommerce featured image */
.wd-product
.product-image-link
> img.attachment-woocommerce_thumbnail,
.wd-product
.product-image-link
> img.wp-post-image {
    width: 100% !important;
    height: 250px !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #ffffff !important;

    border-radius: 8px !important;

    padding: 10px !important;

    margin: 0 !important;

    transition: transform 0.45s ease !important;
}


/* Featured image hover */
.wd-product:hover
.product-image-link
> img.attachment-woocommerce_thumbnail,
.wd-product:hover
.product-image-link
> img.wp-post-image {
    transform: scale(1.025);
}


/* =========================================================
   HELIOT LOGO
   This only appears where your PHP outputs the Heliot logo
========================================================= */

.almac-heliot-logo-wrap {
    position: relative !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;

    padding: 15px 10px 10px !important;
    margin: 0 !important;

    background: transparent !important;
}


.almac-heliot-logo-wrap::before {
    content: "";

    position: absolute;
    top: 7px;
    left: 50%;

    transform: translateX(-50%);

    width: 42px;
    height: 2px;

    border-radius: 10px;

    background: #E63233;
}


.almac-heliot-logo {
    display: block !important;

    width: auto !important;
    height: 55px !important;

    max-width: 105px !important;
    max-height: 55px !important;

    object-fit: contain !important;

    padding: 0 !important;
    margin: 0 auto !important;

    border-radius: 0 !important;
    background: transparent !important;

    box-shadow: none !important;
}


.wd-product:hover .almac-heliot-logo {
    transform: none !important;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.wd-product .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

/*    min-height: 105px; */

    padding: 12px 20px 22px !important;

    background: #ffffff !important;

    text-align: center !important;
}


/* =========================================================
   HELIOT BRAND LABEL
========================================================= */

.almac-heliot-brand-name {
    position: relative;

    display: inline-block;

    width: auto !important;

    margin: 0 0 7px !important;
    padding: 4px 11px !important;

    background: rgba(64, 64, 151, 0.07);

    border-radius: 30px;

    color: #404097 !important;

    font-size: 10px !important;
    line-height: 1.4 !important;

    font-weight: 700 !important;

    letter-spacing: 1.25px !important;

    text-transform: uppercase !important;

    text-align: center !important;
}


.almac-heliot-brand-name::before {
    content: "";

    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 6px;

    background: #E63233;

    border-radius: 50%;

    vertical-align: 1px;
}


/* =========================================================
   PRODUCT TITLE
========================================================= */

.wd-product .wd-entities-title {
    width: 100% !important;

    margin: 0 !important;

    text-align: center !important;

    line-height: 1.3 !important;
}


.wd-product .wd-entities-title a {
    position: relative;

    display: inline-block;

    color: #20202b !important;

    font-size: 15px !important;
    line-height: 1.35 !important;

    font-weight: 700 !important;

    letter-spacing: 0.15px !important;

    transition: color 0.25s ease !important;
}


.wd-product:hover .wd-entities-title a {
    color: #404097 !important;
}


.wd-product .wd-entities-title a::after {
    content: "";

    display: block;

    width: 0;
    height: 2px;

    margin: 6px auto 0;

    background: #E63233;

    border-radius: 5px;

    transition: width 0.3s ease;
}


.wd-product:hover .wd-entities-title a::after {
    width: 35px;
}


/* =========================================================
   EQUAL HEIGHT CARDS
========================================================= */

.products.wd-products .wd-product {
    display: flex !important;
}


.products.wd-products .wd-product .product-wrapper {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
}


.products.wd-products .wd-product .product-element-bottom {
    flex-grow: 1 !important;
}


/* =========================================================
   REMOVE WOODMART DEFAULT BORDERS
========================================================= */

.products-bordered-grid-ins .wd-product {
    border: none !important;
}


.products-bordered-grid-ins .wd-product::before,
.products-bordered-grid-ins .wd-product::after {
    display: none !important;
}


/* =========================================================
   WOOCOMMERCE CATEGORY CARDS
========================================================= */

.category-grid-item .wrapp-category {
    position: relative;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e4eb;
    border-radius: 14px;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.05),
        0 10px 30px rgba(64,64,151,0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.category-grid-item .wrapp-category::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #404097 0%,
        #404097 72%,
        #E63233 72%,
        #E63233 100%
    );

    z-index: 5;
}


.category-grid-item:hover .wrapp-category {
    transform: translateY(-6px);

    border-color: rgba(64,64,151,.28);

    box-shadow:
        0 8px 18px rgba(0,0,0,.07),
        0 18px 45px rgba(64,64,151,.14);
}


/* Category image area */
.category-grid-item .category-image-wrapp {
    background: #f7f7f9;

    padding: 18px;
}


.category-grid-item .category-image {
    display: block;
    overflow: hidden;

    border-radius: 8px;

    background: #ffffff;
}


/* Primary category image */
.category-grid-item .category-image img {
    width: 100%;
    height: 240px;

    object-fit: contain;

    background: #ffffff;

    transition: transform .4s ease;
}


.category-grid-item:hover .category-image img {
    transform: scale(1.025);
}


/* Category title area */
.category-grid-item .hover-mask {
    position: relative !important;

    padding: 16px 18px 20px !important;

    background: #ffffff !important;

    text-align: center;
}


.category-grid-item .wd-entities-title {
    margin: 0 0 6px !important;

    color: #20202b !important;

    font-size: 15px !important;
    line-height: 1.35 !important;

    font-weight: 700 !important;
}


.category-grid-item:hover .wd-entities-title {
    color: #404097 !important;
}


/* Product count */
.category-grid-item mark.count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 26px;
    min-height: 22px;

    margin-left: 5px;
    padding: 2px 7px;

    background: rgba(64,64,151,.08) !important;

    color: #404097 !important;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}


/* "X products" text */
.category-grid-item .more-products a {
    color: #777985 !important;

    font-size: 12px;

    transition: color .25s ease;
}


.category-grid-item:hover .more-products a {
    color: #E63233 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .products.wd-products {
        gap: 20px !important;
    }

    .wd-product
    .product-image-link
    > img.attachment-woocommerce_thumbnail,
    .wd-product
    .product-image-link
    > img.wp-post-image {
        height: 220px !important;
    }

    .category-grid-item .category-image img {
        height: 215px;
    }

    .almac-heliot-logo {
        height: 50px !important;
        max-height: 50px !important;
        max-width: 95px !important;
    }

    .wd-product .wd-entities-title a {
        font-size: 14px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .products.wd-products {
        gap: 14px !important;
    }

    .wd-product .product-wrapper,
    .category-grid-item .wrapp-category {
        border-radius: 10px !important;
    }

    .wd-product .product-element-top {
        padding: 10px 10px 0 !important;
    }

    .wd-product
    .product-image-link
    > img.attachment-woocommerce_thumbnail,
    .wd-product
    .product-image-link
    > img.wp-post-image {
        height: 180px !important;

        padding: 6px !important;
    }

    .category-grid-item .category-image-wrapp {
        padding: 10px;
    }

    .category-grid-item .category-image img {
        height: 180px;
    }

    .almac-heliot-logo-wrap {
        padding: 14px 5px 7px !important;
    }

    .almac-heliot-logo {
        height: 42px !important;
        max-height: 42px !important;
        max-width: 80px !important;
    }

    .wd-product .product-element-bottom {
        min-height: 90px;

        padding: 8px 9px 16px !important;
    }

    .almac-heliot-brand-name {
        padding: 3px 7px !important;

        font-size: 8px !important;
        letter-spacing: 0.65px !important;
    }

    .wd-product .wd-entities-title a,
    .category-grid-item .wd-entities-title {
        font-size: 12px !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .wd-product
    .product-image-link
    > img.attachment-woocommerce_thumbnail,
    .wd-product
    .product-image-link
    > img.wp-post-image {
        height: 145px !important;
    }

    .category-grid-item .category-image img {
        height: 150px;
    }

    .almac-heliot-logo {
        height: 36px !important;
        max-height: 36px !important;
        max-width: 70px !important;
    }

    .almac-heliot-brand-name {
        font-size: 7px !important;
        letter-spacing: 0.45px !important;
    }

    .wd-product .wd-entities-title a,
    .category-grid-item .wd-entities-title {
        font-size: 11px !important;
    }

}


/* =========================================================
   ALMAAC WOODMART SHOP SIDEBAR
   Global WooCommerce Sidebar Styling
========================================================= */

.area-sidebar-shop {
    --almac-blue: #404097;
    --almac-red: #E63233;
    --almac-dark: #20202b;
    --almac-text: #5d6070;
    --almac-light: #f7f8fb;
    --almac-border: #e5e7ef;
}


/* =========================================================
   SIDEBAR WIDGET CARD
========================================================= */

.area-sidebar-shop .sidebar-widget {
    position: relative;

    margin-bottom: 26px !important;
    padding: 22px !important;

    background: #ffffff !important;

    border: 1px solid #e5e7ef !important;
    border-radius: 14px !important;

    box-shadow:
        0 4px 12px rgba(0,0,0,.04),
        0 12px 30px rgba(64,64,151,.05);

    overflow: hidden;
}


/* Top brand line */
.area-sidebar-shop .sidebar-widget::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #404097 0%,
        #404097 72%,
        #E63233 72%,
        #E63233 100%
    );
}


/* =========================================================
   WIDGET TITLES
========================================================= */

.area-sidebar-shop .widget-title {
    position: relative;

    margin: 0 0 18px !important;
    padding: 0 0 12px !important;

    color: #20202b !important;

    font-size: 17px !important;
    line-height: 1.3 !important;

    font-weight: 700 !important;

    letter-spacing: .2px;

    text-transform: uppercase;
}


.area-sidebar-shop .widget-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    background: #E63233;

    border-radius: 20px;
}


/* =========================================================
   PRODUCT CATEGORY LIST
========================================================= */

.area-sidebar-shop .widget_product_categories ul.product-categories {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Each category row */
.area-sidebar-shop .widget_product_categories ul.product-categories > li {
    position: relative;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px;

    margin: 0 !important;
    padding: 11px 8px !important;

    border-bottom: 1px solid #eceef4;

    transition:
        background .25s ease,
        padding-left .25s ease;
}


.area-sidebar-shop .widget_product_categories ul.product-categories > li:last-child {
    border-bottom: none;
}


/* Category link */
.area-sidebar-shop .widget_product_categories ul.product-categories > li > a {
    position: relative;

    flex: 1;

    color: #4d5060 !important;

    font-size: 14px !important;
    line-height: 1.45 !important;

    font-weight: 500 !important;

    text-decoration: none !important;

    transition:
        color .25s ease,
        transform .25s ease;
}


/* Small blue arrow */
.area-sidebar-shop .widget_product_categories ul.product-categories > li > a::before {
    content: "›";

    display: inline-block;

    margin-right: 8px;

    color: #404097;

    font-size: 18px;
    line-height: 1;

    font-weight: 700;

    vertical-align: -1px;

    transition: transform .25s ease;
}


/* Hover row */
.area-sidebar-shop .widget_product_categories ul.product-categories > li:hover {
    background: rgba(64,64,151,.045);

    padding-left: 12px !important;
}


.area-sidebar-shop .widget_product_categories ul.product-categories > li:hover > a {
    color: #404097 !important;
}


.area-sidebar-shop .widget_product_categories ul.product-categories > li:hover > a::before {
    transform: translateX(3px);
}


/* =========================================================
   CATEGORY COUNT BADGE
========================================================= */

.area-sidebar-shop .widget_product_categories .count {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 28px;
    height: 26px;

    padding: 0 8px !important;

    background: #f1f2f8 !important;

    border: 1px solid #e0e2ea;

    border-radius: 999px !important;

    color: #404097 !important;

    font-size: 11px !important;
    line-height: 1 !important;

    font-weight: 700 !important;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


.area-sidebar-shop .widget_product_categories li:hover .count {
    background: #404097 !important;
    border-color: #404097 !important;

    color: #ffffff !important;
}


/* =========================================================
   CURRENT ACTIVE CATEGORY
========================================================= */

.area-sidebar-shop .widget_product_categories li.current-cat {
    position: relative;

    margin: 4px 0 !important;
    padding: 12px 10px !important;

    background: linear-gradient(
        135deg,
        rgba(64,64,151,.10),
        rgba(230,50,51,.04)
    ) !important;

    border: 1px solid rgba(64,64,151,.18) !important;
    border-radius: 9px;
}


.area-sidebar-shop .widget_product_categories li.current-cat > a {
    color: #404097 !important;

    font-weight: 700 !important;
}


.area-sidebar-shop .widget_product_categories li.current-cat > a::before {
    color: #E63233;
}


.area-sidebar-shop .widget_product_categories li.current-cat .count {
    background: #404097 !important;
    border-color: #404097 !important;

    color: #ffffff !important;
}


/* Red left accent for current category */
.area-sidebar-shop .widget_product_categories li.current-cat::before {
    content: "";

    position: absolute;

    left: -1px;
    top: 8px;
    bottom: 8px;

    width: 3px;

    background: #E63233;

    border-radius: 0 4px 4px 0;
}


/* =========================================================
   TOP RATED PRODUCTS
========================================================= */

.area-sidebar-shop .widget_top_rated_products .product_list_widget {
    margin: 0 !important;
    padding: 0 !important;
}


.area-sidebar-shop .widget_top_rated_products .product_list_widget > li {
    margin: 0 !important;
    padding: 14px 0 !important;

    border-bottom: 1px solid #eceef4 !important;
}


.area-sidebar-shop .widget_top_rated_products .product_list_widget > li:first-child {
    padding-top: 2px !important;
}


.area-sidebar-shop .widget_top_rated_products .product_list_widget > li:last-child {
    padding-bottom: 0 !important;

    border-bottom: none !important;
}


/* =========================================================
   TOP PRODUCT FLEX LAYOUT
========================================================= */

.area-sidebar-shop .widget-product-wrap {
    display: flex !important;
    align-items: center !important;

    gap: 13px !important;

    width: 100%;
}


/* =========================================================
   TOP PRODUCT IMAGE
========================================================= */

.area-sidebar-shop .widget-product-img {
    flex: 0 0 76px !important;

    width: 76px !important;
    height: 76px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 5px;

    background: #f7f8fa;

    border: 1px solid #e5e7ef;
    border-radius: 9px;

    overflow: hidden;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


.area-sidebar-shop .widget-product-img img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    margin: 0 !important;

    background: #ffffff;

    border-radius: 5px;
}


/* Product hover */
.area-sidebar-shop .product_list_widget li:hover .widget-product-img {
    transform: translateY(-2px);

    border-color: rgba(64,64,151,.35);

    box-shadow: 0 6px 14px rgba(64,64,151,.10);
}


/* =========================================================
   TOP PRODUCT INFORMATION
========================================================= */

.area-sidebar-shop .widget-product-info {
    flex: 1;

    min-width: 0;
}


.area-sidebar-shop .widget-product-info .wd-entities-title {
    display: block !important;

    margin: 0 !important;

    color: #333642 !important;

    font-size: 13px !important;
    line-height: 1.45 !important;

    font-weight: 600 !important;

    text-decoration: none !important;

    transition: color .25s ease;
}


.area-sidebar-shop .product_list_widget li:hover
.widget-product-info .wd-entities-title {
    color: #404097 !important;
}


/* =========================================================
   PRICE
========================================================= */

.area-sidebar-shop .widget-product-info .price {
    display: block;

    margin-top: 6px;

    color: #E63233 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
}


/* Hide completely when price is empty */
.area-sidebar-shop .widget-product-info .price:empty {
    display: none !important;
}


/* =========================================================
   SIDEBAR GENERAL LINK FIX
========================================================= */

.area-sidebar-shop a {
    text-decoration: none !important;
}


/* =========================================================
   DESKTOP STICKY SIDEBAR - OPTIONAL NICE EFFECT
========================================================= */

@media (min-width: 1025px) {

    .area-sidebar-shop .widget-area {
        position: sticky;

        top: 110px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .area-sidebar-shop .sidebar-widget {
        padding: 18px !important;
        margin-bottom: 20px !important;
    }

    .area-sidebar-shop .widget-title {
        font-size: 15px !important;
    }

    .area-sidebar-shop .widget_product_categories
    ul.product-categories > li {
        padding: 9px 5px !important;
    }

    .area-sidebar-shop .widget_product_categories
    ul.product-categories > li > a {
        font-size: 13px !important;
    }

}


/* =========================================================
   MOBILE / WOODMART FILTER SIDEBAR
========================================================= */

@media (max-width: 767px) {

    .area-sidebar-shop {
        padding: 0 12px 20px;
    }

    .area-sidebar-shop .sidebar-widget {
        padding: 17px !important;

        border-radius: 11px !important;
    }

    .area-sidebar-shop .widget-title {
        font-size: 15px !important;
    }

    .area-sidebar-shop .widget-product-img {
        flex-basis: 65px !important;

        width: 65px !important;
        height: 65px !important;
    }

    .area-sidebar-shop .widget-product-info .wd-entities-title {
        font-size: 12px !important;
    }

}


/* =========================================================
   WOODMART MOBILE CLOSE BUTTON
========================================================= */

.area-sidebar-shop .wd-heading {
    border-bottom: 1px solid #e7e8ee;
}


.area-sidebar-shop .close-side-widget a {
    color: #404097 !important;

    font-weight: 700 !important;

    text-transform: uppercase;

    letter-spacing: .4px;
}


.area-sidebar-shop .close-side-widget a:hover {
    color: #E63233 !important;
}






/* Product category page title: dark overlay */
body.tax-product_cat .page-title.title-shop {
    position: relative !important;
    isolation: isolate !important;
    background-size: cover !important;
    background-position: center !important;
}

body.tax-product_cat .page-title.title-shop::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.68) !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Keep title and category navigation readable */
body.tax-product_cat .page-title.title-shop .entry-title,
body.tax-product_cat .page-title.title-shop > .container > .wd-nav-product-cat > li > a,
body.tax-product_cat .page-title.title-shop .wd-btn-show-cat > a,
body.tax-product_cat .page-title.title-shop .wd-back-btn > a {
    color: #ffffff !important;
}

body.tax-product_cat .page-title.title-shop > .container > .wd-nav-product-cat > li > a .nav-link-count {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.tax-product_cat .page-title.title-shop .entry-title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45) !important;
}


/* Logo below product titles */
.sample-machines-product-logo {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 14px !important;
    line-height: 0 !important;
}

.sample-machines-product-logo img {
    display: inline-block !important;
    width: 120px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Larger logo on individual product pages */
.single-product .summary .sample-machines-product-logo img {
    width: 160px !important;
}

@media (max-width: 767px) {
    .sample-machines-product-logo img {
        width: 100px !important;
    }

    .single-product .summary .sample-machines-product-logo img {
        width: 130px !important;
    }
}


/* Compact logo below product titles */
.heliet-product-logo {
    display: block !important;
    width: 100% !important;
    margin: 8px 0 18px !important;
    line-height: 0 !important;
    text-align: left !important;
}

.heliet-product-logo img {
    display: block !important;
    width: 110px !important;
    max-width: 110px !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Single product page */
body.single-product .heliet-product-logo img {
    width: 130px !important;
    max-width: 130px !important;
}

@media (max-width: 767px) {
    body.single-product .heliet-product-logo img {
        width: 105px !important;
        max-width: 105px !important;
    }
}



body .shelton-vision-product-logo img {
    width: 80px !important;
    max-width: 80px !important;
    height: auto !important;
}

body .shelton-vision-product-logo {
    margin: 6px 0 12px !important;
}

@media (max-width: 767px) {
    body .shelton-vision-product-logo img {
        width: 65px !important;
        max-width: 65px !important;
    }
}








/* ==================================================
   ALMAC — PREMIUM PRODUCT VIDEO GALLERY
   ================================================== */

body.single-product .wpsu-pvg {
    --almac-blue: #304697;
    --almac-red: #ed3237;
    --almac-navy: #111d45;

    position: relative;
    isolation: isolate;
    clear: both;
    width: 100%;
    margin:0;
    padding: clamp(24px, 4vw, 48px);
    overflow: hidden;
    box-sizing: border-box;

    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(78, 108, 206, .32),
            transparent 55%
        ),
        linear-gradient(135deg, #111d45 0%, #20336e 100%);

    border: 1px solid #314779;
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(17, 29, 69, .14);
}

/* Brand accent along the top edge */
body.single-product .wpsu-pvg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #ed3237 0%,
        #ed3237 18%,
        #6d85d5 18%,
        rgba(109, 133, 213, 0) 100%
    );
    pointer-events: none;
}

/* Section introduction */
body.single-product .wpsu-pvg .wpsu-pvg-header {
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

body.single-product .wpsu-pvg .wpsu-pvg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #d7e1ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

body.single-product .wpsu-pvg .wpsu-pvg-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--almac-red);
    box-shadow: 0 0 0 4px rgba(237, 50, 55, .14);
}

body.single-product .wpsu-pvg .wpsu-pvg-header h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.6px;
}

body.single-product .wpsu-pvg .wpsu-pvg-header p {
    max-width: 560px;
    margin: 0;
    color: #d0d9ef;
    font-size: 14px;
    line-height: 1.7;
}

body.single-product .wpsu-pvg .wpsu-pvg-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

body.single-product .wpsu-pvg .wpsu-pvg-count::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
}

/* Responsive video cards */
body.single-product .wpsu-pvg .wpsu-pvg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

body.single-product .wpsu-pvg .wpsu-pvg-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

body.single-product .wpsu-pvg .wpsu-pvg-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #10182b;
    border-bottom: 1px solid #e8edf5;
}

body.single-product .wpsu-pvg .wpsu-pvg-player video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
    background: #10182b;
}

/* Video caption */
body.single-product .wpsu-pvg .wpsu-pvg-caption {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 80px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #f8faff);
}

body.single-product .wpsu-pvg .wpsu-pvg-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    height: 38px;
    background: #edf1fc;
    border: 1px solid #dce3f7;
    border-radius: 11px;
    color: var(--almac-blue);
    font-size: 12px;
    font-weight: 700;
}

body.single-product .wpsu-pvg .wpsu-pvg-caption h3 {
    margin: 0;
    color: #17254b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

body.single-product .wpsu-pvg .wpsu-pvg-card:focus-within {
    outline: 2px solid #a9baff;
    outline-offset: 4px;
}

@media (hover: hover) {
    body.single-product .wpsu-pvg .wpsu-pvg-card:hover {
        transform: translateY(-5px);
        border-color: #a9baff;
        box-shadow: 0 16px 32px rgba(0, 0, 0, .2);
    }
}

/* Thumbnail generation placeholder */
body.single-product .wpsu-pvg .wpsu-preview-loading {
    background:
        radial-gradient(circle at 20% 20%, #e2e9fc, transparent 65%),
        linear-gradient(135deg, #eef2fb, #fff);
    color: #304697;
    font-size: 12px;
    letter-spacing: .2px;
}

/* Matching button below product information */
body.single-product .wpsu-video-button-wrap {
    margin-top: 24px;
}

body.single-product a.wpsu-video-scroll-button {
    gap: 11px;
    min-height: 50px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #304697, #20336e);
    border: 1px solid #304697;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(48, 70, 151, .18);
}

body.single-product a.wpsu-video-scroll-button:hover {
    background: #223574;
    border-color: #223574;
    color: #fff;
    box-shadow: 0 9px 22px rgba(48, 70, 151, .25);
}

body.single-product .wpsu-video-scroll-button svg:first-child {
    color: #fff;
}

body.single-product .wpsu-video-scroll-button svg:last-child {
    color: #ffb1b4;
}

body.single-product a.wpsu-video-scroll-button:focus-visible {
    outline: 2px solid #304697;
    outline-offset: 4px;
}

/* Tablet */
@media (max-width: 1024px) {
    body.single-product .wpsu-pvg .wpsu-pvg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    body.single-product .wpsu-pvg {
        margin: 30px 0;
        padding: 24px 16px;
        border-radius: 18px;
    }

    body.single-product .wpsu-pvg::before {
        left: 20px;
        right: 20px;
    }

    body.single-product .wpsu-pvg .wpsu-pvg-header {
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    body.single-product .wpsu-pvg .wpsu-pvg-header h2 {
        font-size: 27px;
    }

    body.single-product .wpsu-pvg .wpsu-pvg-header p {
        font-size: 13px;
    }

    body.single-product .wpsu-pvg .wpsu-pvg-count {
        padding: 7px 12px;
        font-size: 11px;
    }

    body.single-product .wpsu-pvg .wpsu-pvg-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    body.single-product .wpsu-pvg .wpsu-pvg-caption {
        min-height: 72px;
        padding: 15px;
    }

    body.single-product a.wpsu-video-scroll-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .wpsu-pvg .wpsu-pvg-card,
    body.single-product a.wpsu-video-scroll-button {
        transition: none;
        transform: none;
    }
}













/* =====================================================
   ALMAC — FEATURED PRODUCT IMAGE & THUMBNAIL GALLERY
   ===================================================== */

/* Premium outer frame */
.single-product-page .product-images
.woocommerce-product-gallery {
    --almac-blue: #304697;
    --almac-red: #ed3237;

    padding: 16px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #ffffff, #f0f3fb);
    border: 1px solid #dfe5f2;
    border-radius: 22px;
    box-shadow:
        0 16px 40px rgba(24, 42, 91, .08),
        0 3px 8px rgba(24, 42, 91, .03);
}

/* Featured image frame */
.single-product-page .product-images
.wd-gallery-images {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(24, 42, 91, .08);
}

.single-product-page .product-images
.wd-gallery-images .woocommerce-product-gallery__image {
    margin: 0;
}

.single-product-page .product-images
.wd-gallery-images .woocommerce-product-gallery__image > a {
    display: block;
    overflow: hidden;
    border-radius: 15px;
}

.single-product-page .product-images
.wd-gallery-images .woocommerce-product-gallery__image > a > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Thumbnail cards — retain WoodMart's slide dimensions */
.single-product-page .product-images
.wd-gallery-thumb .wd-carousel-item {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 5px;
    background: #fff;
    border: 2px solid #e0e6f2;
    border-radius: 11px;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.single-product-page .product-images
.wd-gallery-thumb .wd-carousel-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    opacity: 1;
}

/* Selected thumbnail */
.single-product-page .product-images
.wd-gallery-thumb .wd-carousel-item.wd-thumb-active {
    background: #edf1fc;
    border-color: var(--almac-blue);
}

/* Red brand detail on the selected thumbnail */
.single-product-page .product-images
.wd-gallery-thumb .wd-carousel-item.wd-thumb-active::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 9px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--almac-red);
    box-sizing: content-box;
    pointer-events: none;
}

@media (hover: hover) {
    .single-product-page .product-images
    .wd-gallery-thumb .wd-carousel-item:hover {
        border-color: #8496cd;
        background: #f4f6fc;
    }

    .single-product-page .product-images
    .wd-gallery-thumb .wd-carousel-item.wd-thumb-active:hover {
        border-color: var(--almac-blue);
    }
}

/* Thumbnail navigation buttons */
.single-product-page .product-images
.wd-gallery-thumb .wd-thumb-nav .wd-btn-arrow {
    background: #fff;
    border: 1px solid #dfe5f2;
    border-radius: 8px;
    color: var(--almac-blue);
    box-shadow: 0 2px 6px rgba(24, 42, 91, .04);
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.single-product-page .product-images
.wd-gallery-thumb .wd-thumb-nav .wd-btn-arrow:not(.wd-disabled):hover {
    background: var(--almac-blue);
    border-color: var(--almac-blue);
    color: #fff;
}

.single-product-page .product-images
.wd-gallery-thumb .wd-thumb-nav .wd-btn-arrow.wd-disabled {
    opacity: .4;
}

/* Main image navigation buttons */
.single-product-page .product-images
.wd-gallery-images .wd-nav-arrows .wd-btn-arrow {
    background: rgba(255, 255, 255, .95);
    border: 1px solid #dfe5f2;
    border-radius: 50%;
    color: var(--almac-blue);
    box-shadow: 0 4px 14px rgba(24, 42, 91, .12);
}

/* Mobile refinements */
@media (max-width: 767px) {
    .single-product-page .product-images
    .woocommerce-product-gallery {
        padding: 10px;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(24, 42, 91, .07);
    }

    .single-product-page .product-images
    .wd-gallery-images,
    .single-product-page .product-images
    .wd-gallery-images .woocommerce-product-gallery__image > a,
    .single-product-page .product-images
    .wd-gallery-images .woocommerce-product-gallery__image > a > img {
        border-radius: 11px;
    }

    .single-product-page .product-images
    .wd-gallery-thumb .wd-carousel-item {
        padding: 3px;
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .single-product-page .product-images
    .wd-gallery-thumb .wd-carousel-item,
    .single-product-page .product-images
    .wd-gallery-thumb .wd-btn-arrow {
        transition: none;
    }
}




/* ALMAC — Video layout based on the number of videos */

/* Three or more videos */
body.single-product .wpsu-pvg .wpsu-pvg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin-inline: auto;
}

/* One video: centered, medium width */
body.single-product .wpsu-pvg .wpsu-pvg-grid:has(
    > .wpsu-pvg-card:only-child
) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
}

/* Exactly two videos */
body.single-product .wpsu-pvg .wpsu-pvg-grid:has(
    > .wpsu-pvg-card:nth-child(2):last-child
) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
}

/* Keep video height proportional to its width */
body.single-product .wpsu-pvg .wpsu-pvg-player {
    aspect-ratio: 16 / 9;
}

body.single-product .wpsu-pvg .wpsu-pvg-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tablet: up to two columns */
@media (max-width: 1024px) {
    body.single-product .wpsu-pvg .wpsu-pvg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile: all videos stack */
@media (max-width: 600px) {
    body.single-product .wpsu-pvg .wpsu-pvg-grid,
    body.single-product .wpsu-pvg .wpsu-pvg-grid:has(
        > .wpsu-pvg-card:only-child
    ),
    body.single-product .wpsu-pvg .wpsu-pvg-grid:has(
        > .wpsu-pvg-card:nth-child(2):last-child
    ) {
        grid-template-columns: minmax(0, 1fr);
        max-width: 100%;
        gap: 18px;
    }
}


/* Hide video titles and numbered caption rows */
body.single-product .wpsu-pvg .wpsu-pvg-caption {
    display: none !important;
}

/* Remove the divider below each player */
body.single-product .wpsu-pvg .wpsu-pvg-player {
    border-bottom: none;
}


/* Apply only when the custom product video gallery exists */
body.single-product .single-product-page:has(.wpsu-pvg video)
.wpsu-pvg {
    position: relative;
    float: none;
    clear: both;
    height: auto;
    margin-bottom: 40px !important;
}

/* Place tabs below the video gallery */
body.single-product .single-product-page:has(.wpsu-pvg video)
.product-tabs-wrapper {
    position: relative !important;
    top: auto !important;
    float: none;
    clear: both;
    margin-top: 0 !important;
    padding-top: 24px !important;
}

/* Reset upward offsets */
body.single-product .single-product-page:has(.wpsu-pvg video)
.product-tabs-wrapper .woocommerce-tabs,
body.single-product .single-product-page:has(.wpsu-pvg video)
.product-tabs-wrapper .wd-nav-tabs-wrapper,
body.single-product .single-product-page:has(.wpsu-pvg video)
.product-tabs-wrapper .wc-tabs {
    position: relative !important;
    top: auto !important;
    margin-top: 0 !important;
    transform: none !important;
}

/* Readable tab navigation */
body.single-product .single-product-page:has(.wpsu-pvg video)
.product-tabs-wrapper .wd-nav-tabs-wrapper {
    background: #fff;
    padding-block: 12px;
}

body.single-product .single-product-page:has(.wpsu-pvg video)
.product-tabs-wrapper .wc-tabs {
    margin-bottom: 0 !important;
}



/* =====================================================
   ALMAC — ELEMENTOR IMAGE & VIDEO SECTION
   ===================================================== */

/* Branded outer panel */
.elementor-element.product_videos_images {
    --almac-blue: #304697;
    --almac-red: #ed3237;

    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    margin-block: 40px;
    padding: clamp(22px, 4vw, 44px) !important;

    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(78, 108, 206, .32),
            transparent 55%
        ),
        linear-gradient(135deg, #111d45, #20336e) !important;

    border: 1px solid #314779;
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(17, 29, 69, .14);
}

/* Blue and red brand detail */
.elementor-element.product_videos_images::after {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: linear-gradient(
        90deg,
        #ed3237 0%,
        #ed3237 18%,
        #6d85d5 18%,
        transparent 100%
    );
    pointer-events: none;
}

/* Stack the image gallery and video rows */
.elementor-element.product_videos_images > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100%;
    min-width: 0;
    padding: 0 !important;
}

/* Image gallery widget */
.product_videos_images .elementor-widget-wd_images_gallery {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

/* Image grid */
.product_videos_images .wd-images-gallery .wd-grid-g {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
}

.product_videos_images .wd-images-gallery .wd-gallery-item {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

/* Image cards */
.product_videos_images .wd-gallery-item > a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product_videos_images .wd-gallery-item > a > img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

/* Your two existing video row containers */
.product_videos_images > .e-con-inner >
:is(.elementor-element-1e8bf96, .elementor-element-60f6cc6) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

/* One video in a row: centered */
.product_videos_images > .e-con-inner >
:is(.elementor-element-1e8bf96, .elementor-element-60f6cc6)
:where(*) {
    box-sizing: border-box;
}

.product_videos_images > .e-con-inner >
:is(.elementor-element-1e8bf96, .elementor-element-60f6cc6):has(
    > .e-con:only-child
) {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 640px;
}

/* Two videos in a row */
.product_videos_images > .e-con-inner >
:is(.elementor-element-1e8bf96, .elementor-element-60f6cc6):has(
    > .e-con:nth-child(2):last-child
) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 960px;
}

/* Remove Elementor's individual column widths and padding */
.product_videos_images > .e-con-inner >
:is(.elementor-element-1e8bf96, .elementor-element-60f6cc6) > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.product_videos_images .elementor-widget-wd_video {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

/* Video cards */
.product_videos_images .wd-el-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 !important;
    background: #10182b;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product_videos_images .wd-el-video > video {
    position: static !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
    background: #10182b;
}

/* Keyboard focus */
.product_videos_images .wd-gallery-item > a:focus-visible,
.product_videos_images .wd-el-video:focus-within {
    outline: 2px solid #a9baff;
    outline-offset: 4px;
}

/* Subtle hover effect */
@media (hover: hover) {
    .product_videos_images .wd-gallery-item > a:hover,
    .product_videos_images .wd-el-video:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, .2);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .product_videos_images .wd-images-gallery .wd-grid-g,
    .product_videos_images > .e-con-inner >
    :is(.elementor-element-1e8bf96, .elementor-element-60f6cc6) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .elementor-element.product_videos_images {
        margin-block: 28px;
        padding: 20px 16px !important;
        border-radius: 18px;
    }

    .product_videos_images > .e-con-inner {
        gap: 18px !important;
    }

    .product_videos_images .wd-images-gallery .wd-grid-g,
    .product_videos_images > .e-con-inner >
    :is(.elementor-element-1e8bf96, .elementor-element-60f6cc6),
    .product_videos_images > .e-con-inner >
    :is(.elementor-element-1e8bf96, .elementor-element-60f6cc6):has(
        > .e-con:only-child
    ),
    .product_videos_images > .e-con-inner >
    :is(.elementor-element-1e8bf96, .elementor-element-60f6cc6):has(
        > .e-con:nth-child(2):last-child
    ) {
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 100%;
        gap: 18px !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .product_videos_images .wd-gallery-item > a,
    .product_videos_images .wd-el-video {
        transition: none;
        transform: none;
    }
}




/* ============================================================
   ALMAAC LASER PVT LTD
   PREMIUM RESPONSIVE WOODMART HEADER MENU
   Version: 4.0

   Brand Blue: #404097
   Brand Red:  #E63233

   Designed for:
   - WoodMart main desktop navigation
   - Products dropdown with 15+ categories
   - Small laptop screens
   - Short browser viewport heights
   - Tablet and mobile navigation
============================================================ */


/* ============================================================
   1. GLOBAL HEADER DESIGN VARIABLES
============================================================ */

:root {
    --almac-primary: #404097;
    --almac-primary-dark: #303078;
    --almac-accent: #e63233;
    --almac-heading: #252938;
    --almac-text: #4c5060;
    --almac-muted: #788091;
    --almac-border: #e7eaf1;
    --almac-soft: #f5f6fb;
    --almac-white: #ffffff;
    --almac-radius: 12px;
}


/* ============================================================
   2. HEADER STRUCTURE
============================================================ */

.whb-header {
    position: relative;
    z-index: 390;
}

.whb-general-header {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(25, 35, 70, .055);
}

/* Allow desktop dropdown to extend outside header */
@media (min-width: 1025px) {

    .whb-general-header,
    .whb-general-header .container,
    .whb-general-header .whb-flex-row,
    .whb-general-header .whb-column {
        overflow: visible;
    }

    .wd-header-main-nav {
        min-width: 0;
    }
}


/* ============================================================
   3. DESKTOP MAIN NAVIGATION
============================================================ */

@media (min-width: 1025px) {

    #menu-primary-menu {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;

        gap: clamp(0px, .18vw, 4px) !important;

        width: max-content;
        max-width: 100%;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none;
    }

    #menu-primary-menu > li {
        position: relative;
        flex: 0 0 auto;

        margin: 0 !important;
        padding: 0 !important;

        white-space: nowrap;
    }

    #menu-primary-menu > li > .woodmart-nav-link {
        position: relative;

        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        min-height: 44px;

        padding: 9px clamp(5px, .55vw, 11px) !important;
        margin: 0 !important;

        color: var(--almac-heading) !important;
        background: transparent;

        font-size: clamp(11px, .82vw, 13px) !important;
        font-weight: 650 !important;
        line-height: 1.3;

        letter-spacing: .15px;
        text-transform: uppercase;
        white-space: nowrap;

        border-radius: 8px;

        transition:
            background-color .2s ease,
            color .2s ease;
    }

    #menu-primary-menu > li > .woodmart-nav-link
    .nav-link-text {
        white-space: nowrap;
    }

    /* Hover */
    #menu-primary-menu > li:hover > .woodmart-nav-link,
    #menu-primary-menu > li:focus-within > .woodmart-nav-link {
        color: var(--almac-primary) !important;
        background: rgba(64, 64, 151, .055);
    }

    /* Active page */
    #menu-primary-menu > li.current-menu-item
    > .woodmart-nav-link,

    #menu-primary-menu > li.current-menu-parent
    > .woodmart-nav-link,

    #menu-primary-menu > li.current-menu-ancestor
    > .woodmart-nav-link,

    #menu-primary-menu > li.current_page_parent
    > .woodmart-nav-link {
        color: var(--almac-primary) !important;
        font-weight: 700 !important;
        background: rgba(64, 64, 151, .045);
    }

    /* Red underline: use span to avoid
       conflicting with WoodMart's dropdown arrow */
    #menu-primary-menu > li > .woodmart-nav-link
    .nav-link-text {
        position: relative;
    }

    #menu-primary-menu > li > .woodmart-nav-link
    .nav-link-text::after {
        content: "";
        position: absolute;

        left: 50%;
        bottom: -7px;

        width: 0;
        height: 2px;

        transform: translateX(-50%);
        background: var(--almac-accent);
        border-radius: 5px;

        transition: width .25s ease;
    }

    #menu-primary-menu > li:hover
    > .woodmart-nav-link .nav-link-text::after,

    #menu-primary-menu > li.current-menu-item
    > .woodmart-nav-link .nav-link-text::after,

    #menu-primary-menu > li.current-menu-parent
    > .woodmart-nav-link .nav-link-text::after,

    #menu-primary-menu > li.current-menu-ancestor
    > .woodmart-nav-link .nav-link-text::after {
        width: 70%;
    }
}


/* ============================================================
   4. PRODUCTS DROPDOWN - OUTER WRAPPER
   Target exact WoodMart Products menu ID
============================================================ */

@media (min-width: 1025px) {

    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu {
        box-sizing: border-box !important;

        width: 370px !important;
        min-width: 0 !important;
        max-width: min(370px, calc(100vw - 32px)) !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #ffffff !important;

        border: 1px solid var(--almac-border) !important;
        border-radius: 13px !important;

        box-shadow:
            0 10px 30px rgba(25, 30, 60, .10),
            0 22px 50px rgba(64, 64, 151, .08) !important;

        /*
         * Critical fix:
         * Restrict dropdown height relative to viewport.
         * The list itself scrolls below.
         */
        max-height: calc(100vh - 105px);
        max-height: calc(100dvh - 105px);

        overflow: hidden !important;

        z-index: 999;
    }

    /* Remove default container spacing */
    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu > .container {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }
}


/* ============================================================
   5. PRODUCTS DROPDOWN LIST
   RESPONSIVE HEIGHT + INTERNAL SCROLLING
============================================================ */

@media (min-width: 1025px) {

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu {
        box-sizing: border-box !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        /*
         * WoodMart's menu begins just below header.
         * This max-height is further refined below
         * for different viewport heights.
         */
        max-height: min(540px, calc(100vh - 120px)) !important;
        max-height: min(540px, calc(100dvh - 120px)) !important;

        padding: 11px 10px !important;
        margin: 0 !important;

        background: #ffffff !important;

        border: 0 !important;
        border-radius: 12px !important;

        box-shadow: none !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: thin;
        scrollbar-color: #b7b8dc #f3f4f9;
    }

    /* Brand stripe on dropdown wrapper */
    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu::before {
        content: "";

        position: absolute;
        top: 0;
        left: 0;
        right: 0;

        height: 4px;

        background: linear-gradient(
            90deg,
            #404097 0%,
            #404097 76%,
            #e63233 76%,
            #e63233 100%
        );

        z-index: 2;
        pointer-events: none;
    }

    /* Chrome and Edge scrollbar */
    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu::-webkit-scrollbar {
        width: 6px;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu::-webkit-scrollbar-track {
        background: #f3f4f9;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu::-webkit-scrollbar-thumb {
        background: #b7b8dc;
        border-radius: 10px;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu::-webkit-scrollbar-thumb:hover {
        background: #404097;
    }
}


/* ============================================================
   6. DROPDOWN CATEGORY ITEMS
   Compact spacing: 15 items fit more comfortably
============================================================ */

@media (min-width: 1025px) {

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        border-bottom: 1px solid #f0f1f5;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li:last-child {
        border-bottom: none;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li > .woodmart-nav-link {
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;

        width: 100% !important;
        min-height: 36px !important;

        padding: 8px 11px !important;
        margin: 0 !important;

        color: #4a4e5b !important;
        background: transparent !important;

        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;

        text-transform: none !important;
        letter-spacing: .05px;

        white-space: normal !important;
        overflow-wrap: break-word;

        border: 0;
        border-radius: 7px;

        transition:
            color .2s ease,
            background-color .2s ease;
    }

    /* Blue directional arrow */
    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li > .woodmart-nav-link::before {
        content: "›";

        display: inline-flex;
        flex: 0 0 13px;

        align-items: center;
        justify-content: center;

        margin-right: 8px;

        color: var(--almac-primary);
        font-size: 19px;
        font-weight: 700;
        line-height: 1;
    }

    /* Hover */
    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li:hover > .woodmart-nav-link,

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li > .woodmart-nav-link:focus-visible {
        color: var(--almac-primary) !important;
        background: #f3f3fb !important;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li:hover
    > .woodmart-nav-link::before {
        color: var(--almac-accent);
    }

    /* Current category/product */
    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li.current-menu-item
    > .woodmart-nav-link,

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li.current-menu-ancestor
    > .woodmart-nav-link {
        color: var(--almac-primary) !important;
        background: #f0f0fa !important;

        font-weight: 700 !important;

        box-shadow: inset 3px 0 0 var(--almac-accent);
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li.current-menu-item
    > .woodmart-nav-link::before {
        color: var(--almac-accent);
    }
}


/* ============================================================
   7. CRITICAL SMALL-SCREEN HEIGHT FIX
   This is the main solution for your client's laptop.
============================================================ */

/* Laptop with medium screen height */
@media (min-width: 1025px) and (max-height: 800px) {

    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu {
        max-height: calc(100vh - 100px) !important;
        max-height: calc(100dvh - 100px) !important;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu {
        max-height: calc(100vh - 110px) !important;
        max-height: calc(100dvh - 110px) !important;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li > .woodmart-nav-link {
        min-height: 33px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;

        font-size: 12px !important;
    }
}


/* Short laptop screen, e.g. 1366 x 768 with browser UI */
@media (min-width: 1025px) and (max-height: 650px) {

    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu {
        max-height: calc(100vh - 95px) !important;
        max-height: calc(100dvh - 95px) !important;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu {
        max-height: calc(100vh - 105px) !important;
        max-height: calc(100dvh - 105px) !important;

        padding: 6px 8px !important;
    }

    #menu-primary-menu > #menu-item-15706
    .wd-sub-menu > li > .woodmart-nav-link {
        min-height: 30px !important;

        padding: 5px 9px !important;

        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }
}


/* ============================================================
   8. SMALL DESKTOP / LAPTOP WIDTH
============================================================ */

@media (min-width: 1025px) and (max-width: 1399px) {

    #menu-primary-menu {
        gap: 0 !important;
    }

    #menu-primary-menu > li > .woodmart-nav-link {
        padding-left: 6px !important;
        padding-right: 6px !important;

        font-size: 12px !important;
        letter-spacing: 0 !important;
    }

    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu {
        width: 345px !important;
        max-width: min(345px, calc(100vw - 24px)) !important;
    }
}


/* Very compact desktop navigation */
@media (min-width: 1025px) and (max-width: 1199px) {

    #menu-primary-menu > li > .woodmart-nav-link {
        padding-left: 4px !important;
        padding-right: 4px !important;

        font-size: 11px !important;
    }

    #menu-primary-menu > #menu-item-15706
    > .wd-dropdown-menu {
        width: 325px !important;
        max-width: min(325px, calc(100vw - 20px)) !important;
    }
}


/* ============================================================
   9. OTHER FUTURE DESKTOP DROPDOWNS
============================================================ */

@media (min-width: 1025px) {

    #menu-primary-menu > li:not(#menu-item-15706)
    > .wd-dropdown-menu {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px);

        overflow-y: auto;

        background: #ffffff !important;

        border: 1px solid var(--almac-border);
        border-radius: 10px;

        box-shadow: 0 12px 30px rgba(20, 25, 60, .10);
    }

    #menu-primary-menu > li:not(#menu-item-15706)
    .wd-sub-menu > li > .woodmart-nav-link {
        font-size: 12.5px;
        line-height: 1.4;

        transition: color .2s ease;
    }

    #menu-primary-menu > li:not(#menu-item-15706)
    .wd-sub-menu > li:hover > .woodmart-nav-link {
        color: var(--almac-primary) !important;
    }
}


/* ============================================================
   10. KEYBOARD ACCESSIBILITY
============================================================ */

@media (min-width: 1025px) {

    #menu-primary-menu .woodmart-nav-link:focus-visible {
        outline: 2px solid var(--almac-primary);
        outline-offset: -2px;
    }

    #menu-primary-menu > li:focus-within
    > .wd-dropdown-menu {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}


/* ============================================================
   11. WOODMART MOBILE / TABLET NAVIGATION
   Do not force desktop menu into mobile layout.
============================================================ */

@media (max-width: 1024px) {

    /* Preserve WoodMart's mobile menu mechanics */

    .mobile-nav {
        background: #ffffff;
    }

    .mobile-nav .wd-nav-mobile {
        margin: 0;
        padding: 8px 12px;
    }

    .mobile-nav .wd-nav-mobile > li {
        border-bottom: 1px solid #eef0f5;
    }

    .mobile-nav .wd-nav-mobile
    > li > .woodmart-nav-link {
        min-height: 46px;

        padding: 12px 10px;

        color: var(--almac-heading);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
    }

    .mobile-nav .wd-nav-mobile
    > li.current-menu-item > .woodmart-nav-link,

    .mobile-nav .wd-nav-mobile
    > li.current-menu-ancestor > .woodmart-nav-link {
        color: var(--almac-primary);
    }

    /* Mobile submenu */
    .mobile-nav .wd-sub-menu {
        background: #f8f9fc;
    }

    .mobile-nav .wd-sub-menu li > a {
        color: var(--almac-text);
        font-size: 12.5px;
        line-height: 1.5;
    }

    .mobile-nav .wd-sub-menu li.current-menu-item > a {
        color: var(--almac-primary);
        font-weight: 700;
    }

    /* Mobile menu toggle */
    .mobile-nav .wd-nav-opener {
        color: var(--almac-primary);
    }

    /* Mobile close button */
    .mobile-nav .wd-action-btn a {
        color: var(--almac-heading);
    }

    .mobile-nav .wd-action-btn a:hover {
        color: var(--almac-accent);
    }
}


/* ============================================================
   12. REDUCED MOTION ACCESSIBILITY
============================================================ */

@media (prefers-reduced-motion: reduce) {

    #menu-primary-menu *,
    .mobile-nav .wd-nav-mobile * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}








/* ================================================
   ALMAAC - UNIFORM WOODMART PRODUCT IMAGE GALLERY
   Applies to ALL WooCommerce single product pages
   Compatible with WoodMart 7.x gallery structure
   ================================================ */

body.single-product {
    --almac-gallery-size: 520px;
    --almac-gallery-thumb-width: 110px;
    --almac-gallery-gap: 14px;
    --almac-gallery-radius: 16px;
}

/* Main gallery outer container */
body.single-product
.single-product-page .product-images
.woocommerce-product-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Main image carousel */
body.single-product
.woocommerce-product-gallery .wd-gallery-images {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e8f2;
    border-radius: var(--almac-gallery-radius);
    background: #fff;
}

/* Equal height main image slides */
body.single-product
.woocommerce-product-gallery
.wd-gallery-images .wd-carousel-item {
    height: var(--almac-gallery-size);
    max-height: var(--almac-gallery-size);
    box-sizing: border-box;
}

/* Equal image frames */
body.single-product
.woocommerce-product-gallery
.wd-gallery-images
.woocommerce-product-gallery__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 16px;
    background: #fff;
    box-sizing: border-box;
}

/* Image links fill the uniform frame */
body.single-product
.woocommerce-product-gallery
.wd-gallery-images
.woocommerce-product-gallery__image > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* Full image visible without cropping */
body.single-product
.woocommerce-product-gallery
.wd-gallery-images
.woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center center;
    margin: 0 auto;
}

/* Left thumbnail column */
body.single-product
.woocommerce-product-gallery.thumbs-position-left
.wd-gallery-thumb {
    width: var(--almac-gallery-thumb-width);
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Uniform thumbnail frames */
body.single-product
.woocommerce-product-gallery
.wd-gallery-thumb .wd-carousel-item {
    overflow: hidden;
    border: 1px solid #e2e7f1;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

/* Thumbnail images: contain, never crop */
body.single-product
.woocommerce-product-gallery
.wd-gallery-thumb .wd-carousel-item img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    padding: 7px;
    box-sizing: border-box;
}

/* Hover and selected state */
body.single-product
.woocommerce-product-gallery
.wd-gallery-thumb .wd-carousel-item:hover {
    border-color: #41439a;
}

body.single-product
.woocommerce-product-gallery
.wd-gallery-thumb .wd-thumb-active {
    border-color: #41439a;
    box-shadow: inset 0 0 0 1px #41439a;
}

/* Desktop: responsive image frame */
@media (min-width: 1025px) {
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images .wd-carousel-item {
        height: min(520px, 36vw);
        max-height: 520px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    body.single-product {
        --almac-gallery-size: 430px;
        --almac-gallery-thumb-width: 88px;
    }

    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images .wd-carousel-item {
        height: var(--almac-gallery-size);
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.single-product {
        --almac-gallery-size: auto;
        --almac-gallery-thumb-width: 76px;
    }

    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images .wd-carousel-item {
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images
    .woocommerce-product-gallery__image {
        padding: 10px;
    }

    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-thumb .wd-carousel-item img {
        padding: 5px;
    }
}





/* =========================================
   ALMAAC - MOBILE PRODUCT GALLERY FIX
   WoodMart / WooCommerce
   ========================================= */

@media (max-width: 767px) {

    /* Full-width responsive gallery */
    body.single-product
    .single-product-page .product-images {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Main image gallery */
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    /* Consistent square slide */
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images .wd-carousel-item {
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 1 / 1;
    }

    /* Image wrapper */
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images
    .woocommerce-product-gallery__image {
        width: 100%;
        height: 100%;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Keep full product image visible */
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-images
    .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center;
    }

    /* Thumbnail navigation area */
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-thumb {
        max-width: 100%;
        min-width: 0;
    }

    /* Thumbnail image scaling */
    body.single-product
    .woocommerce-product-gallery
    .wd-gallery-thumb .wd-carousel-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* Avoid oversized navigation controls */
    body.single-product
    .woocommerce-product-gallery
    .wd-nav-arrows .wd-btn-arrow {
        flex-shrink: 0;
    }
}

/* ==============================================
   ALMAC PREMIUM WOOCOMMERCE PRODUCT DESCRIPTIONS
   WoodMart Compatible - Responsive
   ============================================== */

.almac-product-desc,
.almac-short-desc {
    --almac-blue: #41439a;
    --almac-dark: #24366e;
    --almac-red: #ed3237;
    --almac-text: #344054;
    --almac-border: #e5e9f2;
    --almac-soft: #f6f7fc;

    color: var(--almac-text);
    font-family: inherit;
    line-height: 1.75;
    box-sizing: border-box;
}

.almac-product-desc *,
.almac-short-desc * {
    box-sizing: border-box;
}

/* SHORT DESCRIPTION */

.almac-short-desc {
    font-size: 15px;
}

.almac-short-desc p {
    margin: 0 0 14px;
    line-height: 1.8;
}

.almac-short-lead {
    color: #28334b;
}

.almac-short-desc strong {
    color: var(--almac-dark);
    font-weight: 700;
}

.almac-short-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.almac-short-spec {
    min-width: 0;
    padding: 16px 8px;
    text-align: center;
    background: var(--almac-soft);
    border: 1px solid var(--almac-border);
    border-top: 3px solid var(--almac-blue);
    border-radius: 10px;
}

.almac-short-spec strong {
    display: block;
    font-size: clamp(14px, 1.4vw, 19px);
    line-height: 1.3;
    color: var(--almac-blue);
}

.almac-short-spec span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.5;
    color: #667085;
}

/* MAIN DESCRIPTION */

.almac-product-desc {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 15px;
}

.almac-product-desc p {
    margin: 0 0 16px;
    line-height: 1.85;
}

.almac-product-desc h2,
.almac-product-desc h3,
.almac-product-desc h4 {
    color: #202b48;
    font-weight: 750;
    line-height: 1.3;
}

/* INTRO */

.almac-desc-intro {
    position: relative;
    padding: clamp(25px, 4vw, 48px);
    margin-bottom: 35px;
    background: linear-gradient(
        135deg,
        #f4f5ff 0%,
        #ffffff 65%,
        #fff5f5 100%
    );
    border: 1px solid var(--almac-border);
    border-radius: 18px;
    overflow: hidden;
}

.almac-desc-intro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--almac-blue) 0%,
        var(--almac-blue) 70%,
        var(--almac-red) 70%,
        var(--almac-red) 100%
    );
}

.almac-eyebrow,
.almac-section-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--almac-blue);
}

.almac-desc-intro h2 {
    margin: 10px 0 15px;
    font-size: clamp(26px, 3vw, 38px);
}

.almac-desc-intro p {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 16px;
}

/* SECTIONS */

.almac-desc-section {
    margin: 0 0 35px;
    padding: clamp(20px, 3vw, 35px);
    border: 1px solid var(--almac-border);
    border-radius: 16px;
    background: #fff;
}

.almac-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--almac-border);
}

.almac-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: var(--almac-blue);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
}

.almac-section-heading h3 {
    margin: 5px 0 0;
    font-size: clamp(20px, 2.2vw, 27px);
}

/* FEATURES */

.almac-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.almac-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--almac-border);
    border-radius: 10px;
    background: var(--almac-soft);
    transition: border-color .25s, transform .25s;
}

.almac-feature:hover {
    border-color: var(--almac-blue);
    transform: translateY(-2px);
}

.almac-feature-icon {
    display: flex;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--almac-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.almac-feature p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

/* TECHNICAL TABLE */

.almac-spec-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--almac-border);
    border-radius: 12px;
}

.almac-product-desc .almac-spec-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.almac-spec-table th,
.almac-spec-table td {
    padding: 17px 20px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--almac-border);
    font-size: 14px;
    line-height: 1.6;
}

.almac-spec-table th {
    width: 35%;
    color: var(--almac-dark);
    font-weight: 700;
    background: var(--almac-soft);
}

.almac-spec-table tr:last-child th,
.almac-spec-table tr:last-child td {
    border-bottom: 0;
}

/* OPTIONAL MODULES */

.almac-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 22px;
}

.almac-module {
    position: relative;
    min-width: 0;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid var(--almac-border);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(20, 35, 85, .035);
    transition: transform .25s, box-shadow .25s;
}

.almac-module:before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    width: 42px;
    height: 3px;
    background: var(--almac-red);
    border-radius: 0 0 3px 3px;
}

.almac-module:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 35, 85, .09);
}

.almac-module h4 {
    margin: 0 0 9px;
    color: var(--almac-blue);
    font-size: 16px;
    overflow-wrap: anywhere;
}

.almac-module p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.75;
}

/* CONCLUSION */

.almac-desc-conclusion {
    position: relative;
    padding: clamp(25px, 4vw, 45px);
    background: linear-gradient(
        135deg,
        #24366e,
        #41439a
    );
    border-radius: 18px;
    color: #fff;
    overflow: hidden;
}

.almac-desc-conclusion .almac-eyebrow {
    color: #ffb9bb;
}

.almac-desc-conclusion h3 {
    margin: 12px 0 15px;
    color: #fff;
    font-size: clamp(23px, 3vw, 32px);
}

.almac-desc-conclusion p {
    max-width: 900px;
    margin: 0;
    color: #fff;
    line-height: 1.9;
}

/* RESPONSIVE TABLET */

@media (max-width: 1024px) {
    .almac-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 767px) {
    .almac-product-desc {
        font-size: 14px;
    }

    .almac-feature-grid,
    .almac-module-grid {
        grid-template-columns: 1fr;
    }

    .almac-desc-section {
        margin-bottom: 22px;
    }

    .almac-section-heading {
        gap: 12px;
    }

    .almac-section-number {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .almac-short-specs {
        gap: 6px;
    }

    .almac-short-spec {
        padding: 12px 5px;
    }

    .almac-short-spec strong {
        font-size: 13px;
    }

    .almac-short-spec span {
        font-size: 10px;
    }

    .almac-spec-table th,
    .almac-spec-table td {
        padding: 12px 10px;
        font-size: 12px;
    }

    .almac-spec-table th {
        width: 42%;
    }

    .almac-module {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .almac-feature,
    .almac-module {
        transition: none;
    }
}



/* ==================================================
   ALMAC PRODUCT DESCRIPTION - COMPACT SPACING FIX
   WoodMart | Desktop | Tablet | Mobile
   Add AFTER the existing ALMAC CSS
   ================================================== */

/* MAIN DESCRIPTION */
body.single-product .almac-product-desc {
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.55;
}

body.single-product .almac-product-desc p {
    margin: 0 0 9px !important;
    line-height: 1.6 !important;
}

body.single-product .almac-product-desc p:last-child {
    margin-bottom: 0 !important;
}

/* INTRO BANNER */
body.single-product .almac-desc-intro {
    padding: 20px 24px !important;
    margin: 0 0 14px !important;
    border-radius: 12px;
}

body.single-product .almac-desc-intro h2 {
    font-size: 25px;
    line-height: 1.3;
    margin: 5px 0 7px !important;
}

body.single-product .almac-desc-intro p {
    font-size: 14px;
    line-height: 1.55 !important;
    max-width: 100%;
}

/* ALL CONTENT SECTIONS */
body.single-product .almac-desc-section {
    padding: 20px 24px !important;
    margin: 0 0 14px !important;
    border-radius: 12px;
}

/* SECTION HEADINGS */
body.single-product .almac-section-heading {
    gap: 12px;
    margin: 0 0 14px !important;
    padding: 0 0 12px !important;
    align-items: center;
}

body.single-product .almac-section-number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 12px;
    border-radius: 7px;
}

body.single-product .almac-section-label,
body.single-product .almac-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 1.4;
}

body.single-product .almac-section-heading h3 {
    font-size: 20px;
    margin: 3px 0 0 !important;
    line-height: 1.3;
}

/* KEY FEATURES */
body.single-product .almac-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
}

body.single-product .almac-feature {
    padding: 11px 13px !important;
    gap: 9px;
    border-radius: 8px;
    align-items: flex-start;
}

body.single-product .almac-feature-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    font-size: 11px;
}

body.single-product .almac-feature p {
    font-size: 13px;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* TECHNICAL SPECIFICATIONS */
body.single-product .almac-spec-table-wrap {
    border-radius: 9px;
}

body.single-product .almac-spec-table {
    margin: 0 !important;
}

body.single-product .almac-spec-table th,
body.single-product .almac-spec-table td {
    padding: 10px 14px !important;
    font-size: 13px;
    line-height: 1.45;
}

body.single-product .almac-spec-table th {
    width: 32%;
}

/* OPTIONAL MODULES */
body.single-product .almac-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px !important;
    margin-top: 13px !important;
}

body.single-product .almac-module {
    padding: 14px 15px !important;
    border-radius: 9px;
    min-height: 0 !important;
}

body.single-product .almac-module:before {
    left: 15px;
    width: 32px;
    height: 2px;
}

body.single-product .almac-module h4 {
    font-size: 14px;
    margin: 0 0 5px !important;
    line-height: 1.35;
}

body.single-product .almac-module p {
    font-size: 12px;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* CONCLUSION */
body.single-product .almac-desc-conclusion {
    padding: 22px 26px !important;
    margin: 0 !important;
    border-radius: 12px;
}

body.single-product .almac-desc-conclusion h3 {
    font-size: 23px;
    margin: 6px 0 9px !important;
}

body.single-product .almac-desc-conclusion p {
    font-size: 14px;
    line-height: 1.65 !important;
}

/* SHORT DESCRIPTION */
body.single-product .almac-short-desc {
    font-size: 14px;
    line-height: 1.55;
}

body.single-product .almac-short-desc p {
    margin: 0 0 9px !important;
    line-height: 1.6 !important;
}

body.single-product .almac-short-specs {
    gap: 8px;
    margin-top: 13px !important;
}

body.single-product .almac-short-spec {
    padding: 12px 8px !important;
    border-radius: 8px;
}

body.single-product .almac-short-spec strong {
    font-size: 16px;
}

body.single-product .almac-short-spec span {
    margin-top: 4px;
    font-size: 11px;
}

/* TABLET */
@media (max-width: 1024px) {
    body.single-product .almac-desc-section {
        padding: 18px !important;
    }

    body.single-product .almac-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 767px) {
    body.single-product .almac-desc-intro,
    body.single-product .almac-desc-section,
    body.single-product .almac-desc-conclusion {
        padding: 15px !important;
        margin-bottom: 11px !important;
        border-radius: 10px;
    }

    body.single-product .almac-desc-intro h2 {
        font-size: 22px;
    }

    body.single-product .almac-section-heading {
        gap: 9px;
        margin-bottom: 11px !important;
        padding-bottom: 10px !important;
    }

    body.single-product .almac-section-heading h3 {
        font-size: 17px;
    }

    body.single-product .almac-section-number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    body.single-product .almac-feature-grid,
    body.single-product .almac-module-grid {
        grid-template-columns: 1fr;
        gap: 7px !important;
    }

    body.single-product .almac-feature {
        padding: 10px 11px !important;
    }

    body.single-product .almac-module {
        padding: 12px !important;
    }

    body.single-product .almac-spec-table th,
    body.single-product .almac-spec-table td {
        padding: 9px 10px !important;
        font-size: 12px;
    }

    body.single-product .almac-desc-conclusion h3 {
        font-size: 20px;
    }

    body.single-product .almac-short-specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    body.single-product .almac-short-spec {
        padding: 10px 5px !important;
    }

    body.single-product .almac-short-spec strong {
        font-size: 13px;
    }

    body.single-product .almac-short-spec span {
        font-size: 10px;
    }
}




/* ALMAC - NORMAL TEXT FLOW */

body.single-product .almac-product-desc,
body.single-product .almac-product-desc p,
body.single-product .almac-short-desc,
body.single-product .almac-short-desc p,
body.single-product .almac-feature p,
body.single-product .almac-module p,
body.single-product .almac-desc-conclusion p {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
}

body.single-product .almac-desc-section > p,
body.single-product .almac-desc-conclusion > p {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
}

body.single-product .almac-product-desc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}




/* ALMAC PRODUCT DESCRIPTIONS */
.single-product .almac-product-content,
.single-product .almac-short-desc {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  color: #273249;
  font-size: 15px;
  line-height: 1.65;
}

.single-product .almac-product-content *,
.single-product .almac-short-desc * {
  box-sizing: border-box;
}

.single-product .almac-product-content p,
.single-product .almac-short-desc p {
  margin: 0 0 10px !important;
  padding: 0 !important;
  line-height: 1.65;
}

.single-product .almac-short-desc ul {
  margin: 10px 0 0 !important;
  padding-left: 20px !important;
}

.single-product .almac-short-desc li {
  margin: 0 0 4px !important;
}

.single-product .almac-intro {
  padding: 22px 24px;
  margin: 0 0 14px;
  border-radius: 14px;
  background: #f6f7fc;
  border-top: 3px solid #41429b;
}

.single-product .almac-section-label {
  display: block;
  color: #41429b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.single-product .almac-product-content h2 {
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.25;
  margin: 0 0 8px !important;
  color: #202c4b;
}

.single-product .almac-section {
  margin: 0 0 14px !important;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 14px;
}

.single-product .almac-product-content h3 {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.4;
  font-weight: 700;
  color: #293c80;
  margin: 0 0 14px !important;
  padding: 0 0 10px;
  border-bottom: 1px solid #e9edf5;
}

.single-product .almac-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .almac-feature-list li {
  position: relative;
  padding: 10px 12px 10px 30px;
  margin: 0 !important;
  background: #f6f7fc;
  border-radius: 8px;
  line-height: 1.5;
}

.single-product .almac-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 11px;
  top: 10px;
  color: #41429b;
  font-weight: 800;
}

.single-product .almac-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px !important;
}

.single-product .almac-spec-table th,
.single-product .almac-spec-table td {
  padding: 11px 14px;
  border: 1px solid #e6eaf2;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.single-product .almac-spec-table th {
  width: 34%;
  background: #f6f7fc;
  color: #293c80;
  font-weight: 700;
}

.single-product .almac-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.single-product .almac-module-grid > div {
  min-width: 0;
  padding: 14px;
  background: #fafbff;
  border: 1px solid #e6eaf2;
  border-top: 2px solid #ef3340;
  border-radius: 9px;
}

.single-product .almac-module-grid strong {
  display: block;
  margin-bottom: 5px;
  color: #41429b;
  font-size: 14px;
}

.single-product .almac-module-grid span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.single-product .almac-conclusion {
  padding: 22px 24px;
  border-radius: 12px;
  background: #303d86;
  color: #fff;
  margin: 0 !important;
}

.single-product .almac-conclusion h3 {
  color: #fff;
  border: 0;
  padding: 0;
  margin-bottom: 8px !important;
}

.single-product .almac-conclusion p {
  color: #fff;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .single-product .almac-intro,
  .single-product .almac-section,
  .single-product .almac-conclusion {
    padding: 16px;
    margin-bottom: 10px !important;
  }

  .single-product .almac-feature-list,
  .single-product .almac-module-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .single-product .almac-spec-table th,
  .single-product .almac-spec-table td {
    padding: 9px;
    font-size: 13px;
  }

  .single-product .almac-product-content,
  .single-product .almac-short-desc {
    font-size: 14px;
  }
}




