/* NCC Corporate storefront design v4.0 — Kadence + WooCommerce. */
body.ncc-modern-shop{--ncc-forest:#071a34;--ncc-green:#0b2f64;--ncc-ink:#102641;--ncc-muted:#67768a;--ncc-line:#e5e8ed;--ncc-canvas:#f3f1ed;--ncc-gold:#25a9bd;--ncc-navy:#04172f;--ncc-blue:#0a2d60;--ncc-cyan:#24aabd;background:var(--ncc-canvas);color:var(--ncc-ink)}
body.ncc-modern-shop *{box-sizing:border-box}
body.ncc-modern-shop :is(h1,h2,h3,h4){color:var(--ncc-navy);line-height:1.35}
/* Kadence owns header placement. Avoid transparent overlay and fixed positioning. */
body.ncc-modern-shop #masthead,body.ncc-modern-shop #masthead.site-header{position:relative!important;inset:auto!important;top:auto!important;transform:none!important;width:100%;z-index:100;background:var(--ncc-navy)!important;margin:0}
body.ncc-modern-shop #masthead :is(.site-header-row-container,.site-header-row-container-inner,.site-main-header-wrap){background:var(--ncc-navy)!important}
body.ncc-modern-shop #masthead :is(a,.menu-item>a,.header-navigation a,.site-header-item){color:#fff}
body.ncc-modern-shop #masthead :is(a:hover,.current-menu-item>a){color:#66d5e1}
body.ncc-modern-shop #masthead .site-header-row-container-inner{max-width:100%}
body.ncc-modern-shop #masthead .site-container{max-width:1200px;margin-inline:auto}
body.ncc-modern-shop #masthead .site-title{display:none!important}
body.ncc-modern-shop :is(.content-area,#primary,.site-main){min-width:0}
/* Remove Kadence archive sidebar/width restriction, while keeping a centered corporate content grid. */
body.ncc-modern-shop:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) :is(#secondary,.primary-sidebar,.widget-area.sidebar-primary){display:none!important}
body.ncc-modern-shop:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) :is(#primary,.content-area,.site-main,.content-container,.site-container,.entry-content-wrap){width:100%!important;
/* 	max-width:100%!important; */
	min-width:0!important;float:none!important;margin-inline:auto!important}
body.ncc-modern-shop:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) :is(.content-area,.site-main){padding:0!important}
body.ncc-modern-shop .ncc-catalogue-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#03142a,#041b37);border-radius:0;margin:0 0 35px;padding:0;color:#fff;width:100%}
body.ncc-modern-shop .ncc-hero-inner{max-width:1100px;margin-inline:auto;min-height:440px;padding:66px 20px 55px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:28px}
body.ncc-modern-shop .ncc-hero-copy{grid-column:1;grid-row:1;position:relative;z-index:2}
body.ncc-modern-shop .ncc-hero-products{grid-column:2;grid-row:1;display:flex;align-items:flex-end;justify-content:center;min-width:0;height:300px;padding:8px 0 0;direction:ltr}
body.ncc-modern-shop .ncc-hero-bag{width:25%;height:260px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 10px rgba(0,0,0,.2));margin-inline:-4.5%;position:relative;min-width:0}
body.ncc-modern-shop .ncc-hero-bag:nth-child(1){height:210px;z-index:1}body.ncc-modern-shop .ncc-hero-bag:nth-child(2){height:235px;z-index:2}body.ncc-modern-shop .ncc-hero-bag:nth-child(3){height:260px;z-index:3}body.ncc-modern-shop .ncc-hero-bag:nth-child(4){height:285px;z-index:4}body.ncc-modern-shop .ncc-hero-bag:nth-child(5){height:305px;z-index:5}
body.ncc-modern-shop[dir=rtl] .ncc-hero-copy{grid-column:2}body.ncc-modern-shop[dir=rtl] .ncc-hero-products{grid-column:1}
body.ncc-modern-shop .ncc-catalogue-eyebrow{display:inline-flex;align-items:center;border:1px solid #1e7e99;background:#0a304c;border-radius:30px;padding:6px 13px;color:#7fe0e8;font-weight:700;font-size:12px;margin-bottom:20px}
body.ncc-modern-shop .ncc-catalogue-hero :is(h1,p){color:#fff!important;margin:0}
body.ncc-modern-shop .ncc-catalogue-hero h1{font-size:clamp(31px,3.5vw,52px);line-height:1.18;font-weight:850;letter-spacing:-.035em;max-width:570px}
body.ncc-modern-shop .ncc-catalogue-hero p{font-size:15px;line-height:2;color:#c5d4e2!important;margin-top:20px;max-width:530px}
body.ncc-modern-shop .ncc-catalogue-facts{display:flex;gap:22px;flex-wrap:wrap;border-top:1px solid #27405a;margin-top:25px;padding-top:19px;color:#dce8f1;font-size:13px}
body.ncc-modern-shop .ncc-catalogue-facts span{display:inline-flex;align-items:center;gap:6px}body.ncc-modern-shop .ncc-catalogue-facts strong{color:#fff;font-size:16px}
body.ncc-modern-shop:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce{max-width:1100px;margin-inline:auto;padding:0 18px 70px}
body.ncc-modern-shop ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;clear:both;margin:26px 0 0;padding:0}
body.ncc-modern-shop ul.products:before,body.ncc-modern-shop ul.products:after{display:none}
body.ncc-modern-shop ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0!important;display:flex;flex-direction:column;background:#fff;border:1px solid #e6e9ee;border-radius:15px;overflow:hidden;padding:0!important;box-shadow:0 10px 30px rgba(3,23,47,.055);transition:transform .2s,box-shadow .2s}
body.ncc-modern-shop ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(3,23,47,.12)}
body.ncc-modern-shop ul.products li.product>a.woocommerce-LoopProduct-link{display:block;min-width:0;text-decoration:none}
body.ncc-modern-shop ul.products li.product a img,body.ncc-modern-shop ul.products li.product img.attachment-woocommerce_thumbnail{display:block!important;width:100%!important;height:190px!important;max-height:190px!important;object-fit:contain!important;object-position:center!important;padding:18px 30px!important;margin:0 0 14px!important;background:linear-gradient(145deg,#f7f7f6,#eef2f4);border-radius:0!important}
body.ncc-modern-shop ul.products li.product .ncc-catalogue-code{display:inline-block;align-self:flex-start;margin:0 17px 9px;padding:4px 9px;background:#eef4f8;color:#0b3565;border-radius:5px;font-size:11px;font-weight:800}
body.ncc-modern-shop ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;line-height:1.55;font-weight:800;padding:0 17px!important;margin:0 0 9px!important;color:#07234b!important;overflow-wrap:normal}
body.ncc-modern-shop ul.products li.product .ncc-catalogue-excerpt{color:#6c7887;font-size:13px;line-height:1.8;margin:0 17px 15px;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ncc-modern-shop ul.products li.product .price{font-size:16px;font-weight:800;color:#0b3565;margin:0 17px 12px}
body.ncc-modern-shop ul.products li.product .button{display:block;margin:auto 17px 17px!important;padding:12px 16px!important;text-align:center;border-radius:8px;background:#0b2e63;color:#fff;font-weight:700;font-size:13px;min-height:43px}
body.ncc-modern-shop ul.products li.product .button:hover{background:#1a8fa9}
/* Common shop components */
body.ncc-modern-shop .woocommerce :is(button.button,a.button,input.button,.button),body.ncc-modern-shop button[type=submit]{background:#0b2e63;color:#fff;border:0;border-radius:9px;min-height:44px;padding:12px 18px;font-weight:750}
body.ncc-modern-shop .woocommerce :is(button.button,a.button,input.button,.button):hover,body.ncc-modern-shop button[type=submit]:hover{background:#188da7;color:#fff}
/* body.ncc-modern-shop :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.select2-container--default .select2-selection--single){max-width:100%;min-height:44px;border:1px solid #dbe2ea;border-radius:9px;background:#fff;color:#122b4c} */
body.ncc-modern-shop .woocommerce :is(.woocommerce-info,.woocommerce-message){border:1px solid #cce5ee;border-radius:10px;background:#eff8fb;color:#113f62}
body.ncc-modern-shop .woocommerce .woocommerce-error{border-radius:10px;background:#fff1f0;color:#8b2727}
body.ncc-modern-shop .woocommerce table.shop_table{background:#fff;border:1px solid var(--ncc-line);border-radius:12px}
body.ncc-modern-shop .woocommerce table.shop_table th{color:#092c5b;background:#f4f6f9}
body.ncc-modern-shop .woocommerce :is(.amount,.woocommerce-Price-amount,.ncc-money){font-variant-numeric:tabular-nums;white-space:nowrap}
body.ncc-modern-shop .woocommerce img.ncc-riyal-symbol{width:14px!important;height:17px!important;display:inline-block!important;object-fit:contain!important;vertical-align:middle}
body.ncc-modern-shop .woocommerce div.product .summary,body.ncc-modern-shop .woocommerce-cart .cart-collaterals .cart_totals,body.ncc-modern-shop .woocommerce form.checkout :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,#order_review){background:#fff;border:1px solid var(--ncc-line);border-radius:15px;padding:clamp(17px,2vw,28px);min-width:0}
body.ncc-modern-shop .woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px}
body.ncc-modern-shop .woocommerce-cart .woocommerce :is(.woocommerce-notices-wrapper,.cart-empty,.return-to-shop){grid-column:1/-1}
body.ncc-modern-shop .woocommerce-cart .woocommerce .woocommerce-cart-form{min-width:0;overflow-x:auto}
body.ncc-modern-shop .woocommerce-cart .woocommerce .cart-collaterals,body.ncc-modern-shop .woocommerce-cart .woocommerce .cart_totals{width:100%;float:none}
body.ncc-modern-shop .woocommerce form.checkout :is(.col-1,.col-2){float:none!important;width:100%!important;max-width:100%!important}
body.ncc-modern-shop .woocommerce form.checkout .form-row{min-width:0}
/* Account navigation, including OTP-friendly custom templates */
body.ncc-modern-shop.woocommerce-account .woocommerce{display:grid!important;grid-template-columns:235px minmax(0,1fr)!important;gap:22px!important;align-items:start;max-width:1100px;margin-inline:auto}
body.ncc-modern-shop.woocommerce-account .ncc-account-intro,body.ncc-modern-shop.woocommerce-account .woocommerce-notices-wrapper{grid-column:1/-1;width:100%;max-width:100%}
body.ncc-modern-shop.woocommerce-account .ncc-account-intro{padding:30px 35px;background:#0a2b58;color:#fff;border-radius:15px;margin-bottom:0}
body.ncc-modern-shop.woocommerce-account .ncc-account-intro :is(h1,p){color:#fff;margin:5px 0}
body.ncc-modern-shop.woocommerce-account .ncc-account-eyebrow{color:#72d4e2;font-size:12px;font-weight:800}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation{grid-column:1;display:block!important;float:none!important;width:100%!important;min-width:0!important;max-width:100%!important;background:#fff;border:1px solid var(--ncc-line);border-radius:14px;padding:10px}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation li{display:block;width:100%;min-width:0}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:13px 12px;color:#092c5b;text-decoration:none;border-radius:9px;white-space:normal;word-break:normal;overflow-wrap:normal;writing-mode:horizontal-tb!important}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#eaf3f8;color:#0a2d60;border-inline-start:4px solid #20a5bd}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-content{grid-column:2;float:none!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;background:#fff;border:1px solid var(--ncc-line);border-radius:14px;padding:clamp(18px,2.5vw,30px);overflow-wrap:break-word}
body.ncc-modern-shop.woocommerce-account .ncc-account-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
body.ncc-modern-shop.woocommerce-account .ncc-account-quicklinks a{display:flex;flex-direction:column;gap:7px;padding:18px;background:#f5f8fa;border:1px solid var(--ncc-line);border-radius:12px;text-decoration:none;color:#092c5b}
.ncc-otp-profile .ncc-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ncc-otp-profile .form-row{width:100%!important;float:none!important;margin:0!important;min-width:0}.ncc-otp-profile .form-row-wide{grid-column:1/-1}.ncc-otp-profile label{display:block;margin-bottom:7px}.ncc-otp-profile input.input-text{width:100%;max-width:100%}.ncc-otp-profile .ncc-profile-save{margin-top:20px}
/* Responsive */
@media(max-width:1000px){body.ncc-modern-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}body.ncc-modern-shop .ncc-hero-inner{min-height:370px;padding-block:45px}body.ncc-modern-shop .ncc-hero-products{height:230px}body.ncc-modern-shop .ncc-hero-bag{max-height:230px!important}}
@media(max-width:800px){body.ncc-modern-shop .woocommerce form.checkout,body.ncc-modern-shop .woocommerce-cart .woocommerce{display:block}body.ncc-modern-shop .woocommerce form.checkout :is(#customer_details,#order_review_heading,#order_review){width:100%;margin:0 0 16px}body.ncc-modern-shop.woocommerce-account .woocommerce{display:block!important}body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:16px}body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.ncc-modern-shop.woocommerce-account .ncc-account-quicklinks{grid-template-columns:1fr}}
@media(max-width:640px){body.ncc-modern-shop .ncc-hero-inner{display:flex;flex-direction:column;gap:20px;padding:38px 18px 30px;min-height:0}body.ncc-modern-shop .ncc-hero-copy{width:100%}body.ncc-modern-shop .ncc-catalogue-hero h1{font-size:clamp(27px,7vw,38px)}body.ncc-modern-shop .ncc-catalogue-hero p{font-size:13px}body.ncc-modern-shop .ncc-hero-products{width:100%;height:185px;max-width:350px}body.ncc-modern-shop .ncc-hero-bag{max-height:190px!important}body.ncc-modern-shop .ncc-catalogue-facts{gap:12px;font-size:11px}body.ncc-modern-shop ul.products{gap:12px}body.ncc-modern-shop ul.products li.product a img,body.ncc-modern-shop ul.products li.product img.attachment-woocommerce_thumbnail{height:150px!important;max-height:150px!important;padding:14px!important}body.ncc-modern-shop ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;margin-inline:11px!important;padding:0!important}body.ncc-modern-shop ul.products li.product .ncc-catalogue-excerpt{display:none}body.ncc-modern-shop ul.products li.product .ncc-catalogue-code,body.ncc-modern-shop ul.products li.product .price{margin-inline:11px}body.ncc-modern-shop ul.products li.product .button{margin:10px 11px 12px!important;font-size:12px}body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-content{padding:16px}body.ncc-modern-shop.woocommerce-account .ncc-account-intro{padding:22px}body.ncc-modern-shop .woocommerce table.shop_table{font-size:13px}.ncc-otp-profile .ncc-profile-fields{grid-template-columns:1fr}}
@media(max-width:380px){body.ncc-modern-shop ul.products{grid-template-columns:1fr}body.ncc-modern-shop ul.products li.product a img{height:190px!important}}

/* NCC v4.0.1 — Compact catalogue images, independent of Kadence/WooCommerce defaults. */
body.ncc-modern-shop ul.products li.product .woocommerce-LoopProduct-link img,
body.ncc-modern-shop ul.products li.product a img,
body.ncc-modern-shop ul.products li.product img.attachment-woocommerce_thumbnail,
body.ncc-modern-shop .wc-block-grid__products .wc-block-grid__product img {
  display:block!important;
  width:auto!important;
  max-width:155px!important;
  height:170px!important;
  max-height:170px!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ncc-modern-shop ul.products li.product .woocommerce-LoopProduct-link,
body.ncc-modern-shop ul.products li.product a.woocommerce-LoopProduct-link {
  text-align:center;
}
body.ncc-modern-shop ul.products li.product .woocommerce-LoopProduct-link::before,
body.ncc-modern-shop ul.products li.product a.woocommerce-LoopProduct-link::before {
  content:none!important;
}
/* Keep an evenly sized photo zone without enlarging the bag itself. */
body.ncc-modern-shop ul.products li.product .woocommerce-LoopProduct-link > img:first-child {
  margin-top:20px!important;
  margin-bottom:20px!important;
}
@media(max-width:767px){
  body.ncc-modern-shop ul.products li.product .woocommerce-LoopProduct-link img,
  body.ncc-modern-shop ul.products li.product a img,
  body.ncc-modern-shop ul.products li.product img.attachment-woocommerce_thumbnail,
  body.ncc-modern-shop .wc-block-grid__products .wc-block-grid__product img {
    max-width:125px!important;height:145px!important;max-height:145px!important;
  }
}

/* NCC v4.1 — Corporate product cards based on mainuat/products reference. */
body.ncc-modern-shop:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) {--ncc-canvas:#f3f1ec;--ncc-navy:#001631;--ncc-blue:#002d62;--ncc-cyan:#00a5b5}
body.ncc-modern-shop ul.products {gap:clamp(16px,2vw,26px)!important;align-items:stretch}
body.ncc-modern-shop ul.products li.product {--pr-c:#12447c;--pr-soft:#e3e9ef;--pr-deep:#0d3057;border-radius:18px!important;border:1px solid rgba(8,17,31,.10)!important;box-shadow:0 26px 52px -40px rgba(8,17,31,.45)!important;transition:transform .25s,box-shadow .25s!important;overflow:hidden!important}
body.ncc-modern-shop ul.products li.product:hover {transform:translateY(-4px);box-shadow:0 34px 62px -34px rgba(8,17,31,.5)!important}
li.product.product_cat-opc {
    --pr-c: #2463a6;
    --pr-deep: #103b70;
}


/* OPC - Blue */
body.ncc-modern-shop ul.products li.product.post-13 {
    --pr-c: #002d62;
    --pr-soft: #e7ecf3;
    --pr-deep: #001f45;
}

/* LYS - Orange */
body.ncc-modern-shop ul.products li.product.post-106 {
    --pr-c: #d07123;
    --pr-soft: #f9eee5;
    --pr-deep: #924f19;
}

/* LPC - Dark Green */
body.ncc-modern-shop ul.products li.product.post-111 {
    --pr-c: #0b4b2d;
    --pr-soft: #e2e9e6;
    --pr-deep: #083520;
}

/* PPC - Red */
body.ncc-modern-shop ul.products li.product.post-110 {
    --pr-c: #ca3f30;
    --pr-soft: #f9e8e6;
    --pr-deep: #8d2c22;
}

/* SRC - Green */
body.ncc-modern-shop ul.products li.product.post-31 {
    --pr-c: #36963f;
    --pr-soft: #e7f2e8;
    --pr-deep: #26692c;
}

/* ==========================================
   NCC Single Product - Product Colors
   ========================================== */

/* OPC - Blue */
body.single-product.postid-13 {
    --pr-c: #002d62;
    --pr-soft: #e7ecf3;
    --pr-deep: #001f45;
}

/* LYS - Orange */
body.single-product.postid-106 {
    --pr-c: #d07123;
    --pr-soft: #f9eee5;
    --pr-deep: #924f19;
}

/* LPC - Dark Green */
body.single-product.postid-111 {
    --pr-c: #0b4b2d;
    --pr-soft: #e2e9e6;
    --pr-deep: #083520;
}

/* PPC - Red */
body.single-product.postid-110 {
    --pr-c: #ca3f30;
    --pr-soft: #f9e8e6;
    --pr-deep: #8d2c22;
}

/* SRC - Green */
body.single-product.postid-31 {
    --pr-c: #36963f;
    --pr-soft: #e7f2e8;
    --pr-deep: #26692c;
}

/* ==========================================
   Product Image Gallery
   ========================================== */

body.ncc-modern-shop.single-product
.woocommerce-product-gallery {
    background: linear-gradient(
        145deg,
        var(--pr-soft, #e7ecf3) 0%,
        #ffffff 100%
    ) !important;

    border-radius: 18px !important;
    padding: 30px !important;
    border: 1px solid color-mix(
        in srgb,
        var(--pr-c, #002d62) 18%,
        transparent
    ) !important;

    box-shadow: 0 8px 25px rgba(0, 22, 49, 0.06);
    box-sizing: border-box;
}

/* Center product image */
body.ncc-modern-shop.single-product
.woocommerce-product-gallery__image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 440px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.ncc-modern-shop.single-product
    .woocommerce-product-gallery {
        padding: 20px !important;
        border-radius: 14px !important;
    }

    body.ncc-modern-shop.single-product
    .woocommerce-product-gallery__image img {
        max-height: 320px !important;
    }
}

body.ncc-modern-shop ul.products li.product .ncc-card-media {position:relative;display:grid;place-items:center;min-height:232px;padding:26px 20px 18px;background:radial-gradient(120% 90% at 50% 6%,#fff 0%,transparent 58%),linear-gradient(168deg,var(--pr-soft),#fff 78%);border-bottom:1px solid rgba(8,17,31,.1);margin-bottom:18px}
body.ncc-modern-shop ul.products li.product .ncc-card-media:after {content:"";position:absolute;bottom:0;inset-inline:0;height:3px;background:linear-gradient(to left,var(--pr-c),transparent)}
body.ncc-modern-shop ul.products li.product .ncc-card-media img,body.ncc-modern-shop ul.products li.product .woocommerce-LoopProduct-link .ncc-card-media img {display:block!important;width:auto!important;height:auto!important;max-height:190px!important;max-width:76%!important;min-height:0!important;object-fit:contain!important;margin:0 auto!important;padding:0!important;background:transparent!important;border:0!important;filter:drop-shadow(0 22px 26px rgba(8,17,31,.22));transition:transform .3s}
body.ncc-modern-shop ul.products li.product:hover .ncc-card-media img{transform:translateY(-5px) scale(1.03)}
body.ncc-modern-shop ul.products li.product .ncc-catalogue-code {background:color-mix(in srgb,var(--pr-c) 12%,transparent)!important;color:var(--pr-deep)!important;border-radius:6px!important;margin:0 22px 10px!important;padding:4px 10px!important}
body.ncc-modern-shop ul.products li.product .woocommerce-loop-product__title {color:#002d62!important;font-size:17px!important;margin:0 22px 9px!important;padding:0!important;line-height:1.5!important}
body.ncc-modern-shop ul.products li.product .ncc-catalogue-excerpt {margin:0 22px 12px!important;min-height:0!important;color:rgba(8,17,31,.62)!important;font-size:13px!important;line-height:1.85!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.ncc-modern-shop ul.products li.product .price {margin:0 22px 14px!important;color:#002d62!important}
body.ncc-modern-shop ul.products li.product .button {margin:auto 22px 20px!important;background:#002d62!important;border-radius:9px!important}
body.ncc-modern-shop ul.products li.product .button:hover{background:#007f8c!important}
@media(max-width:1000px){body.ncc-modern-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){body.ncc-modern-shop ul.products{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;max-width:440px;margin-inline:auto!important}body.ncc-modern-shop ul.products li.product .ncc-card-media{min-height:210px;padding:22px 18px 14px}body.ncc-modern-shop ul.products li.product .ncc-card-media img{max-height:170px!important;max-width:76%!important}body.ncc-modern-shop ul.products li.product .ncc-catalogue-excerpt{display:-webkit-box!important}}

/* v4.1.1: WooCommerce archives render ul.products WITHOUT a .woocommerce ancestor.
   Target actual archive markup, including the home shop and category views. */
body.ncc-modern-shop:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) ul.products,
body.ncc-modern-shop.woocommerce-page ul.products {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:clamp(16px,2vw,26px)!important;align-items:stretch!important;
}
body.ncc-modern-shop ul.products li.product {min-width:0!important;width:auto!important;float:none!important;margin:0!important;}
body.ncc-modern-shop ul.products li.product .ncc-card-media {
 display:grid!important;place-items:center!important;min-height:232px!important;
 padding:26px 20px 18px!important;overflow:hidden!important;
}
body.ncc-modern-shop ul.products li.product .ncc-card-media img,
body.ncc-modern-shop ul.products li.product a.woocommerce-LoopProduct-link > img,
body.ncc-modern-shop ul.products li.product a.woocommerce-loop-product__link > img,
body.ncc-modern-shop ul.products li.product img.attachment-woocommerce_thumbnail {
 display:block!important;box-sizing:border-box!important;
 width:auto!important;height:auto!important;max-width:76%!important;
 max-height:190px!important;min-height:0!important;
 object-fit:contain!important;object-position:center!important;
 padding:0!important;margin:0 auto!important;
 border-radius:0!important;
}
@media(max-width:1000px){body.ncc-modern-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){
 body.ncc-modern-shop ul.products{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;max-width:440px!important;margin-inline:auto!important}
 body.ncc-modern-shop ul.products li.product .ncc-card-media{min-height:210px!important}
 body.ncc-modern-shop ul.products li.product .ncc-card-media img,
 body.ncc-modern-shop ul.products li.product a.woocommerce-LoopProduct-link > img,
 body.ncc-modern-shop ul.products li.product a.woocommerce-loop-product__link > img{max-height:170px!important}
}

/* v4.1.2 — final catalogue sizing: desktop centered, mobile single column.
   Keep this AFTER all older product grid rules so cascade cannot restore 3 columns. */
@media (min-width: 1025px) {
 body.ncc-modern-shop ul.products,
 body.ncc-modern-shop ul.products.columns-3,
 body.ncc-modern-shop ul.products.columns-4 {
  width:calc(100% - 32px)!important;max-width:1200px!important;
  margin:26px auto 0!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media (min-width: 768px) and (max-width:1024px) {
 body.ncc-modern-shop ul.products,
 body.ncc-modern-shop ul.products.columns-3,
 body.ncc-modern-shop ul.products.columns-4 {
  width:calc(100% - 32px)!important;max-width:900px!important;
  margin:20px auto 0!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media screen and (max-width:767px) {
 body.ncc-modern-shop ul.products,
 body.ncc-modern-shop ul.products.columns-2,
 body.ncc-modern-shop ul.products.columns-3,
 body.ncc-modern-shop ul.products.columns-4,
 body.ncc-modern-shop .woocommerce ul.products,
 body.ncc-modern-shop .woocommerce-page ul.products {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:calc(100% - 24px)!important;max-width:440px!important;
  margin:18px auto 0!important;gap:16px!important;
  justify-items:stretch!important;
 }
 body.ncc-modern-shop ul.products > li.product,
 body.ncc-modern-shop ul.products.columns-3 > li.product,
 body.ncc-modern-shop ul.products.columns-4 > li.product {
  grid-column:1 / -1!important;width:100%!important;max-width:none!important;
  min-width:0!important;float:none!important;clear:none!important;
  margin:0!important;box-sizing:border-box!important;
 }
 body.ncc-modern-shop ul.products li.product .ncc-card-media {min-height:232px!important}
 body.ncc-modern-shop ul.products li.product .ncc-card-media img {max-height:190px!important;max-width:76%!important;width:auto!important;height:auto!important}
 body.ncc-modern-shop ul.products li.product .woocommerce-loop-product__title {font-size:17px!important;line-height:1.5!important}
 body.ncc-modern-shop ul.products li.product .ncc-catalogue-excerpt {display:-webkit-box!important}
}


/* v4.1.3 — Single product corporate hero, based on NCC corporate product detail. */
body.ncc-modern-shop.single-product .ncc-single-hero {
 position:relative;isolation:isolate;overflow:hidden;
 width:100vw;max-width:none;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;
 min-height:310px;background:#001631;color:#fff;display:flex;align-items:center;
 box-sizing:border-box;
}
body.ncc-modern-shop.single-product .ncc-single-hero::before {
 content:"";position:absolute;z-index:-1;inset:0 0 0 51%;
 background:#08294e;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);
}
body.ncc-modern-shop.single-product .ncc-single-hero-inner {
 width:min(1200px,calc(100% - 48px));margin:0 auto;padding:55px 0 62px;
 box-sizing:border-box;text-align:start;
}
body.ncc-modern-shop.single-product .ncc-single-breadcrumb {
 display:flex;flex-wrap:wrap;align-items:center;gap:9px;
 font-size:12px;line-height:1.7;color:rgba(255,255,255,.7);margin:0 0 22px;
}
body.ncc-modern-shop.single-product .ncc-single-breadcrumb a {color:rgba(255,255,255,.78);text-decoration:none}
body.ncc-modern-shop.single-product .ncc-single-breadcrumb a:hover {color:#9be2e9}
body.ncc-modern-shop.single-product .ncc-single-code {
 display:inline-block;padding:5px 11px;margin-bottom:15px;border-radius:5px;
 background:#002d62;color:#fff;font-size:12px;font-weight:800;letter-spacing:.06em;
}
body.ncc-modern-shop.single-product #ncc-single-hero-title {
 color:#fff!important;font-size:clamp(30px,3.6vw,52px)!important;line-height:1.3!important;
 font-weight:800!important;letter-spacing:0;margin:0!important;padding:0!important;
 max-width:100%;text-wrap:balance;
}
body.ncc-modern-shop.single-product .ncc-single-hero + .woocommerce-notices-wrapper {margin-top:20px}
body.ncc-modern-shop.single-product .ncc-single-hero ~ .product {margin-top:clamp(26px,4vw,60px)}
@media(max-width:767px){
 body.ncc-modern-shop.single-product .ncc-single-hero{min-height:220px}
 body.ncc-modern-shop.single-product .ncc-single-hero::before{inset-inline-start:30%;opacity:.75}
 body.ncc-modern-shop.single-product .ncc-single-hero-inner{width:calc(100% - 36px);padding:35px 0 40px}
 body.ncc-modern-shop.single-product #ncc-single-hero-title{font-size:clamp(25px,7vw,36px)!important}
 body.ncc-modern-shop.single-product .ncc-single-breadcrumb{font-size:11px;margin-bottom:16px}
}


/* v4.1.4: Page heroes rendered immediately after Kadence header (not inside content). */
body.ncc-modern-shop .ncc-single-hero {
 position:relative;isolation:isolate;overflow:hidden;
 width:100%;max-width:none;left:auto;right:auto;margin:0;
 min-height:300px;background:#001631;color:#fff;
 display:flex;align-items:center;box-sizing:border-box;
}
body.ncc-modern-shop .ncc-single-hero::before {
 content:"";position:absolute;z-index:-1;inset:0 0 0 51%;
 background:#0c2b52;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);
}
body.ncc-modern-shop .ncc-single-hero-inner {
 width:min(1200px,calc(100% - 48px));margin:0 auto;
 padding:54px 0 60px;box-sizing:border-box;text-align:start;
}
body.ncc-modern-shop .ncc-single-breadcrumb {
 display:flex;flex-wrap:wrap;align-items:center;gap:9px;
 font-size:12px;line-height:1.7;color:rgba(255,255,255,.7);margin:0 0 20px;
}
body.ncc-modern-shop .ncc-single-breadcrumb a {color:rgba(255,255,255,.8);text-decoration:none}
body.ncc-modern-shop .ncc-single-code {display:inline-block;padding:5px 11px;margin-bottom:15px;border-radius:5px;background:#002d62;color:#fff;font-size:12px;font-weight:800}
body.ncc-modern-shop .ncc-single-hero h1 {
 color:#fff!important;font-size:clamp(30px,3.6vw,52px)!important;
 line-height:1.3!important;font-weight:800!important;margin:0!important;padding:0!important;
}
/* Kadence content wrappers should not reserve empty top space for page titles. */
body.ncc-modern-shop.single-product #inner-wrap,
body.ncc-modern-shop.ncc-has-page-hero #inner-wrap {padding-top:0!important}
body.ncc-modern-shop.single-product #primary,
body.ncc-modern-shop.ncc-has-page-hero #primary {margin-top:0!important}
body.ncc-modern-shop.ncc-has-page-hero .entry-header,
body.ncc-modern-shop.ncc-has-page-hero .entry-hero,
body.ncc-modern-shop.ncc-has-page-hero .entry-title,
body.ncc-modern-shop.ncc-has-page-hero .page-title {display:none!important}
body.ncc-modern-shop.ncc-has-page-hero .content-area {padding-top:clamp(24px,3.5vw,48px)!important}
/* body.ncc-modern-shop.single-product .content-area {padding-top:clamp(24px,3.5vw,48px)!important} */
body.ncc-modern-shop.single-product .content-area {
    padding-top: 8px !important;
}
/* Login page: compact OTP card with usable mobile controls; preserve underlying form. */
body.ncc-otp-login-page {background:#f3f1ec}
body.ncc-otp-login-page .entry-content-wrap {background:transparent!important;box-shadow:none!important;padding:0!important}
body.ncc-otp-login-page .entry-content {width:100%;max-width:580px;margin:0 auto 64px!important;padding:30px clamp(20px,4vw,42px)!important;background:#fff;border:1px solid rgba(8,17,31,.08);border-radius:18px;box-shadow:0 22px 48px -36px rgba(8,17,31,.4);box-sizing:border-box}
body.ncc-otp-login-page .entry-content h1,body.ncc-otp-login-page .entry-content h2 {font-size:clamp(22px,3vw,28px);color:#002d62;margin:0 0 12px}
body.ncc-otp-login-page .entry-content form {max-width:100%;margin:18px 0 0}
body.ncc-otp-login-page .entry-content :is(input[type="text"],input[type="tel"],input[type="number"],input[type="email"],input[type="password"]) {width:100%;max-width:100%;min-height:48px;border:1px solid #d5dfe9;border-radius:9px;padding:10px 13px;box-sizing:border-box;background:#fff}
body.ncc-otp-login-page .entry-content :is(button,input[type="submit"],.button) {min-height:46px;padding:11px 22px;border:0;border-radius:9px;background:#002d62;color:#fff;font-weight:700;cursor:pointer}
body.ncc-otp-login-page .entry-content label {display:block;margin:0 0 7px;font-weight:650;color:#0b2e63}
body.ncc-otp-login-page .entry-content p {line-height:1.8}
@media(max-width:767px){
 body.ncc-modern-shop .ncc-single-hero{min-height:210px}
 body.ncc-modern-shop .ncc-single-hero-inner{width:calc(100% - 36px);padding:36px 0 42px}
 body.ncc-modern-shop .ncc-single-hero h1{font-size:clamp(25px,7vw,36px)!important}
 body.ncc-otp-login-page .entry-content{width:calc(100% - 24px);margin:0 auto 35px!important}
}


/* v4.1.5: Stable WooCommerce My Account layout (Kadence + RTL).
   Use flex rather than auto-placed grid tracks, which can collapse the navigation. */
body.ncc-modern-shop.woocommerce-account .woocommerce:not(.widget) {
    display:flex !important;
    flex-flow:row wrap !important;
    align-items:flex-start !important;
    gap:20px !important;
    max-width:1100px;
    margin-inline:auto;
}
body.ncc-modern-shop.woocommerce-account .woocommerce > .ncc-account-intro,
body.ncc-modern-shop.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
    flex:0 0 100% !important;
    width:100% !important;
    min-width:0 !important;
}
body.ncc-modern-shop.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation {
    flex:0 0 235px !important;
    width:235px !important;
    min-width:235px !important;
    max-width:235px !important;
    box-sizing:border-box !important;
    float:none !important;
    grid-column:auto !important;
}
body.ncc-modern-shop.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
    float:none !important;
    grid-column:auto !important;
}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-navigation li a {
    overflow-wrap:break-word !important;
    word-break:normal !important;
    white-space:normal !important;
}
body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-content table {
    max-width:100%;
}
@media(max-width:800px) {
    body.ncc-modern-shop.woocommerce-account .woocommerce:not(.widget) {
        display:flex !important;
        flex-direction:column !important;
        gap:16px !important;
    }
    body.ncc-modern-shop.woocommerce-account .woocommerce > .ncc-account-intro,
    body.ncc-modern-shop.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
    body.ncc-modern-shop.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
    body.ncc-modern-shop.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
        flex:0 0 auto !important;
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
    }
    body.ncc-modern-shop.woocommerce-account .woocommerce-MyAccount-content {
        overflow-x:auto;
    }
}

/* NCC checkout: full-width heading, summary left, customer right */
@media (min-width:901px) {
  body.ncc-modern-shop.woocommerce-checkout .woocommerce form.checkout,
  body.ncc-modern-shop.woocommerce-checkout form.checkout {
    display:grid!important;
    grid-template-columns:minmax(0, 40%) minmax(0, 1fr)!important;
    gap:0 28px!important;
    align-items:start!important;
    width:100%!important;
  }
  body.ncc-modern-shop.woocommerce-checkout form.checkout #order_review_heading {
    grid-column:1 / -1!important;
    grid-row:1!important;
    width:100%!important;
    float:none!important;
/*     margin:0 0 24px!important; */
    border-radius:13px!important;
  }
  body.ncc-modern-shop.woocommerce-checkout form.checkout #order_review {
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
    padding-top:20px!important;
    border-radius:13px!important;
    min-width:0!important;
  }
  body.ncc-modern-shop.woocommerce-checkout form.checkout #customer_details {
    grid-column:2!important;
    grid-row:2!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
    min-width:0!important;
  }
}
@media (max-width:900px) {
  body.ncc-modern-shop.woocommerce-checkout .woocommerce form.checkout,
  body.ncc-modern-shop.woocommerce-checkout form.checkout {
    display:flex!important;
    flex-direction:column!important;
    gap:16px!important;
    width:100%!important;
  }
  body.ncc-modern-shop.woocommerce-checkout form.checkout #order_review_heading,
  body.ncc-modern-shop.woocommerce-checkout form.checkout #customer_details,
  body.ncc-modern-shop.woocommerce-checkout form.checkout #order_review {
    grid-column:auto!important;
    grid-row:auto!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    flex:0 0 auto!important;
  }
  body.ncc-modern-shop.woocommerce-checkout form.checkout #order_review_heading {order:0!important;border-radius:13px!important}
  body.ncc-modern-shop.woocommerce-checkout form.checkout #customer_details {order:1!important}
  body.ncc-modern-shop.woocommerce-checkout form.checkout #order_review {order:2!important;border-radius:13px!important;padding:14px!important}
}
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table{
  width:100%!important;max-width:100%!important;table-layout:fixed!important;
  border-collapse:collapse;box-sizing:border-box;margin:0 0 18px!important;
}
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table th,
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table td{
  min-width:0!important;white-space:normal!important;overflow-wrap:anywhere;
  vertical-align:top;padding:10px 8px!important;
}
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table .product-name{width:65%;}
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table .product-total{width:35%;}
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review .wc_payment_methods,
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review #payment,
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review #payment .payment_box{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review #payment li.wc_payment_method{
  overflow-wrap:anywhere;white-space:normal;
}
@media(max-width:480px){
  body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table th,
  body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table td{
    font-size:12px!important;padding:8px 5px!important;
  }
  body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table .product-name{width:62%;}
  body.ncc-modern-shop.woocommerce-checkout:not(.woocommerce-order-pay) #order_review table.shop_table .product-total{width:38%;}
}

/* NCC Product Details Button */
body.ncc-modern-shop ul.products li.product a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: max-content !important;
    min-width: 130px;

    padding: 10px 18px !important;
    margin-top: 16px !important;
    margin-left: auto !important;
    margin-right: 0 !important;

    background: #002d62 !important;
    color: #fff !important;
    border-radius: 8px !important;

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

/* Keep button aligned right in RTL */
html[dir="rtl"] body.ncc-modern-shop ul.products li.product a.button {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.ncc-modern-shop ul.products li.product a.button {
        min-width: 130px;
        width: auto !important;
    }
}
#order_review_heading{
	background-color:#0b2e63;
	color:#fff;
	padding-top:8px !important;
	padding-bottom:8px !important;
}

/* =========================================================
   NCC Shop Design v4.1.6
   OTP Registration Form - Desktop & Mobile Fix
   ========================================================= */

/* Registration container */
#ncc-customer-auth .ncc-step-register {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Registration form grid */
#ncc-customer-auth .ncc-step-register form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    align-items: start;
}

/* Reset conflicting WooCommerce field styling */
#ncc-customer-auth .ncc-step-register .form-row {
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Full-width fields */
#ncc-customer-auth .ncc-step-register .form-row-wide {
    grid-column: 1 / -1;
}

/* Labels */
#ncc-customer-auth .ncc-step-register label {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    line-height: 1.6;
    font-weight: 600;
    text-align: start;
    white-space: normal;
}

/* Inputs */
#ncc-customer-auth .ncc-step-register input[type="text"],
#ncc-customer-auth .ncc-step-register input[type="email"],
#ncc-customer-auth .ncc-step-register input[type="tel"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: 44px;
    padding: 10px 14px;
    margin: 0 !important;
    box-sizing: border-box;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
}

/* Create account button */
#ncc-customer-auth .ncc-step-register button,
#ncc-customer-auth .ncc-step-register input[type="submit"],
#ncc_complete_registration {
    width: auto;
    max-width: 100%;
    justify-self: start;
    margin-top: 8px;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 600px) {

    #ncc-customer-auth .ncc-step-register form {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    #ncc-customer-auth .ncc-step-register .form-row,
    #ncc-customer-auth .ncc-step-register .form-row-wide {
        grid-column: 1 / -1;
    }

    #ncc-customer-auth .ncc-step-register input[type="text"],
    #ncc-customer-auth .ncc-step-register input[type="email"],
    #ncc-customer-auth .ncc-step-register input[type="tel"] {
        width: 100% !important;
    }

    #ncc-customer-auth .ncc-step-register button,
    #ncc-customer-auth .ncc-step-register input[type="submit"],
    #ncc_complete_registration {
        width: 100%;
        justify-self: stretch;
    }
}


/* Single product: keep notice below Add to Cart controls */
body.ncc-modern-shop.single-product
form.cart .ncc-unloading-notice {
    clear: both;
    width: 100%;
    margin-top: 18px;
}

/* Ensure floated quantity and buttons don't overlap later content */
body.ncc-modern-shop.single-product
form.cart::after {
    content: "";
    display: table;
    clear: both;
}

/* ==========================================
   NCC Single Product - Final Alignment Fix
   ========================================== */

@media (min-width: 768px) {

    /* Move gallery down to align with delivery card */
    body.ncc-modern-shop.single-product
    .woocommerce-product-gallery {
        margin-top: 46px !important;
    }
}

/* Add space between Add to Cart and unloading notice */
body.ncc-modern-shop.single-product
form.cart .ncc-unloading-notice {
    clear: both !important;
    display: block;
    width: 100%;
    margin-top: 20px !important;
}

/* Alternative spacing when notice follows the button */
body.ncc-modern-shop.single-product
form.cart .single_add_to_cart_button + div {
    margin-top: 20px;
}

/* Mobile: reset gallery alignment */
@media (max-width: 767px) {
    body.ncc-modern-shop.single-product
    .woocommerce-product-gallery {
        margin-top: 0 !important;
    }
}

body.ncc-modern-shop.single-product
form.cart > .single_add_to_cart_button {
    margin-bottom: 24px !important;
}

body.ncc-modern-shop.single-product
form.cart > .ncc-unloading-notice {
    clear: both !important;
}

/* NCC v4.1.7 — Corporate footer, matching Najran Cement reference. */
body.ncc-modern-shop #colophon,
body.ncc-modern-shop footer#colophon,
body.ncc-modern-shop .site-footer:not(.ncc-corporate-footer){display:none!important}
body.ncc-modern-shop .ncc-corporate-footer{position:relative;clear:both;width:100%;background:#080f1b;color:#c0cbd8;border-top:39px solid #0a2d60;font-size:13px;line-height:1.9;box-sizing:border-box}
body.ncc-modern-shop .ncc-corporate-footer *{box-sizing:border-box}
body.ncc-modern-shop .ncc-footer-main{max-width:1190px;margin:auto;padding:73px 20px 64px;display:grid;grid-template-columns:1.13fr 1.05fr 1.12fr .85fr;column-gap:56px;align-items:start}
body.ncc-modern-shop .ncc-corporate-footer :is(h2,p){color:inherit}
body.ncc-modern-shop .ncc-corporate-footer h2{font-size:12px!important;font-weight:700!important;color:#2ab5c5!important;margin:0 0 17px!important;line-height:1.5}
body.ncc-modern-shop .ncc-footer-brand{text-align:start;min-width:0}
body.ncc-modern-shop .ncc-footer-logo{display:block;max-width:155px;width:100%;height:43px;object-fit:contain;object-position:top right;margin:0 0 13px 0}
body.ncc-modern-shop .ncc-footer-brand p{font-size:12px;margin:0 0 24px;color:#b8c5d4}
body.ncc-modern-shop .ncc-footer-brand-rule{height:1px;background:#27313d;margin-bottom:27px}
body.ncc-modern-shop .ncc-footer-anniversary{display:block;width:205px;max-width:100%;height:auto;object-fit:contain}
body.ncc-modern-shop .ncc-footer-links ul{padding:0;margin:0;list-style:none}
body.ncc-modern-shop .ncc-footer-links li{margin:0 0 10px;padding:0}
body.ncc-modern-shop .ncc-corporate-footer a{color:#c4cfde;text-decoration:none;transition:color .2s}
body.ncc-modern-shop .ncc-corporate-footer a:hover{color:#49d4e1}
body.ncc-modern-shop .ncc-footer-contact>a,body.ncc-modern-shop .ncc-footer-contact-location{display:flex;align-items:center;gap:12px;margin:0 0 14px;min-height:28px}
body.ncc-modern-shop .ncc-footer-contact-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border:1px solid #273544;border-radius:8px;color:#21aabc;background:#101c2b;font-size:15px}
body.ncc-modern-shop .ncc-footer-social-icons{display:grid;grid-template-columns:repeat(3,38px);gap:10px;justify-content:start}
body.ncc-modern-shop .ncc-footer-social-icons :is(a,span){width:38px;height:38px;border:1px solid #263341;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#dce5ee;font-size:13px;font-weight:700;background:transparent}
body.ncc-modern-shop .ncc-footer-social-icons a:hover{border-color:#2ab5c5;background:#0e283c;color:#fff}
body.ncc-modern-shop .ncc-footer-social-placeholder{opacity:.65}
body.ncc-modern-shop .ncc-footer-bottom{max-width:1190px;margin:0 auto;padding:20px 20px 22px;border-top:1px solid #26303d;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px}
body.ncc-modern-shop .ncc-footer-bottom p{margin:0;color:#9faec0;font-size:11px}
body.ncc-modern-shop .ncc-footer-lang{font-size:11px;font-weight:800;color:#fff!important}
body.ncc-modern-shop .ncc-footer-back-to-top{position:absolute;bottom:18px;inset-inline-end:auto;left:22px;width:42px;height:42px;display:grid;place-items:center;background:#fff!important;color:#0a2d60!important;border:0!important;border-radius:0!important;font-size:20px;cursor:pointer;padding:0!important;min-height:0!important;box-shadow:none!important}
@media(min-width:1200px){body.ncc-modern-shop .ncc-footer-back-to-top{bottom:20px}}
@media(max-width:900px){body.ncc-modern-shop .ncc-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;padding:50px 24px}body.ncc-modern-shop .ncc-footer-bottom{margin:0 24px;padding-inline:0}}
@media(max-width:560px){body.ncc-modern-shop .ncc-corporate-footer{border-top-width:20px}body.ncc-modern-shop .ncc-footer-main{grid-template-columns:minmax(0,1fr);gap:32px;padding:36px 22px 45px}body.ncc-modern-shop .ncc-footer-brand-rule{max-width:260px}body.ncc-modern-shop .ncc-footer-bottom{margin:0 22px;padding:20px 0 74px;align-items:flex-start}body.ncc-modern-shop .ncc-footer-back-to-top{bottom:18px;left:22px}}

/* Floating WhatsApp button */
body.ncc-modern-shop .whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;

    width: 50px;
    height: 50px;
    border-radius: 50%;

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

    background: #25d366;
    box-shadow: 0 5px 18px rgba(0,0,0,.2);

    transition: transform .2s, background .2s;
}

body.ncc-modern-shop .whatsapp-fab svg {
    width: 27px;
    height: 27px;
    display: block;
}

body.ncc-modern-shop .whatsapp-fab:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    body.ncc-modern-shop .whatsapp-fab {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
}

/* NCC Corporate Typography */
body.ncc-modern-shop {
    --font-en: "IBM Plex Sans Arabic", "DIN", Arial, sans-serif;
    --font-ar: "IBM Plex Sans Arabic", "TheSans Arabic", Tahoma, sans-serif;
}

/* Arabic */
html[lang^="ar"] body.ncc-modern-shop,
html[lang^="ar"] body.ncc-modern-shop button,
html[lang^="ar"] body.ncc-modern-shop input,
html[lang^="ar"] body.ncc-modern-shop select,
html[lang^="ar"] body.ncc-modern-shop textarea {
    font-family: var(--font-ar) !important;
}

/* English */
html[lang^="en"] body.ncc-modern-shop,
html[lang^="en"] body.ncc-modern-shop button,
html[lang^="en"] body.ncc-modern-shop input,
html[lang^="en"] body.ncc-modern-shop select,
html[lang^="en"] body.ncc-modern-shop textarea {
    font-family: var(--font-en) !important;
}

/* Headings and navigation */
body.ncc-modern-shop h1,
body.ncc-modern-shop h2,
body.ncc-modern-shop h3,
body.ncc-modern-shop h4,
body.ncc-modern-shop .main-navigation,
body.ncc-modern-shop .ncc-corporate-footer {
    font-family: inherit !important;
}

body.ncc-modern-shop .ncc-footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.ncc-modern-shop .ncc-footer-social-icons svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

body.ncc-modern-shop .ncc-footer-social-icons a:hover {
    color: #ffffff;
    border-color: #25a9bd;
}

/* Shop archive - breathing room before footer */
@media (min-width: 768px) {
    body.ncc-modern-shop.post-type-archive-product
    #primary {
        padding-bottom: 60px !important;
    }
}

@media (max-width: 767px) {
    body.ncc-modern-shop.post-type-archive-product
    #primary {
        padding-bottom: 35px !important;
    }
}
/* Compact My Account order action buttons */
body.ncc-modern-shop.woocommerce-account
.woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 6px 10px !important;
    margin: 2px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    border-radius: 5px !important;
    white-space: nowrap;
}

/* Keep action buttons neatly grouped on mobile */
@media (max-width: 767px) {
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-orders-table__cell-order-actions {
        text-align: start !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-orders-table__cell-order-actions .button {
        padding: 5px 8px !important;
        font-size: 11px !important;
        margin: 2px !important;
    }
}
/* NCC - Mobile order details layout */
@media (max-width: 767px) {

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table thead {
        display: none !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tbody td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tbody
    td.woocommerce-table__product-name {
        text-align: right !important;
        padding: 12px !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details .wc-item-meta {
        display: block !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details .wc-item-meta li {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 5px 0 !important;
        padding: 8px 10px !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details .wc-item-meta li strong,
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details .wc-item-meta li p {
        display: inline !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
    }

    /* Hide separate product price cell on mobile;
       subtotal remains visible in order totals */
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tbody
    td.woocommerce-table__product-total {
        display: none !important;
    }

    /* Preserve the normal two-column totals layout */
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tfoot tr {
        display: table-row !important;
    }

    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tfoot th,
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details table.shop_table tfoot td {
        display: table-cell !important;
        width: auto !important;
    }
}
@media (max-width: 767px) {

    /* Expand product information across the full order width */
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details
    td.woocommerce-table__product-name,
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details
    td.woocommerce-table__product-name .wc-item-meta {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Expand each product detail */
    body.ncc-modern-shop.woocommerce-account
    .woocommerce-order-details
    .wc-item-meta li {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
}