/*
Theme Name: TechMart
Description: TechMart is specially designed product packaged for eCommerce electronics store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns
  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions
  4.3 Brand Carousel
  4.4 Category Carousel

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES
  7.1 Product detail
  7.2 Shop page

    
/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
    /* widths for rows and containers
     */
    --header-height       : 160px;
    --header-height-min   : 80px;
}
/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
    :root {
        --header-height : 100px;
        --header-height-min   : 80px;
    }
}
/* Theme Colors */
:root {
    --accent-color       : #0056b3;
    --dark-color         : #222222;
    --light-dark-color   : #727272;
    --light-color        : #fff;
    --grey-color         : #dbdbdb;
    --light-grey-color   : #fafafa;
    --primary-color      : #0056b3;
    --light-primary-color   : #eef1f3;
}

/* Fonts */
:root {
    --body-font           : "Open Sans", sans-serif;
    --heading-font        : "Nunito", sans-serif;
}

body {
  --bs-link-color: #0056b3;
  --bs-link-hover-color:#0056b3;

  --bs-link-color-rgb: 0,86,179;
  --bs-link-hover-color-rgb: 0,86,179;

  /* --bs-link-color: #FFC43F;
  --bs-link-hover-color: #FFC43F; */

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Open Sans", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #0056b3;
  --bs-primary-rgb: 0, 86, 179;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;
  
  --bs-primary-bg-subtle: #FFF9EB;
  --bs-success-bg-subtle: #eef5e5;
  
  --bs-border-color: #F7F7F7;

  --bs-secondary-rgb: 230, 243, 251;
  /* --bs-success-rgb: 238, 245, 228; */
  --bs-danger-rgb: 249, 235, 231;
  --bs-warning-rgb: 255, 249, 235;
  --bs-info-rgb: 230, 243, 250;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0056b3;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #004494;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0056b3;
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d3d7dd;
  --bs-btn-disabled-border-color: transparent;
}
.btn-outline-primary {
  --bs-btn-color: #0056b3;
  --bs-btn-border-color: #0056b3;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #004494;
  --bs-btn-hover-border-color: #004494;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #004494;
  --bs-btn-active-border-color: #004494;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #b3cef0;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #b3cef0;
  --bs-gradient: none;
}
.btn-outline-light {
  --bs-btn-color: #747474;
  --bs-btn-border-color: #EFEFEF;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #EFEFEF;
  --bs-btn-hover-border-color: #EFEFEF;
  --bs-btn-focus-shadow-rgb: 248,249,250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #EFEFEF;
  --bs-btn-active-border-color: #EFEFEF;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #EFEFEF;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #EFEFEF;
  --bs-gradient: none;
}
.btn-warning {
  --bs-btn-color: #747474;
  --bs-btn-bg: #FCF7EB;
  --bs-btn-border-color: #FCF7EB;
  --bs-btn-hover-color: #747474;
  --bs-btn-hover-bg: #FFECBE;
  --bs-btn-hover-border-color: #FFECBE;
  --bs-btn-focus-shadow-rgb: 217,164,6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #FFECBE;
  --bs-btn-active-border-color: #FFECBE;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #FCF7EB;
  --bs-btn-disabled-border-color: #FCF7EB;
}
.btn-success {
  --bs-btn-color: #222;
  --bs-btn-bg: #EEF5E4;
  --bs-btn-border-color: #EEF5E4;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #9de3c2;
  --bs-btn-hover-border-color: #9de3c2;
  --bs-btn-focus-shadow-rgb: 60,153,110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #9de3c2;
  --bs-btn-active-border-color: #9de3c2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #EEF5E4;
  --bs-btn-disabled-border-color: #EEF5E4;
}
.btn-danger {
  --bs-btn-color: #222;
  --bs-btn-bg: #FFEADA;
  --bs-btn-border-color: #FFEADA;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #ecc9af;
  --bs-btn-hover-border-color: #ecc9af;
  --bs-btn-focus-shadow-rgb: 60,153,110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #ecc9af;
  --bs-btn-active-border-color: #ecc9af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #FFEADA;
  --bs-btn-disabled-border-color: #FFEADA;
}
body {
  letter-spacing: 0.03em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-font);
  color: var(--dark-color);
  font-weight: 700;
}
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}
.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}
.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  --bs-gutter-x: 3rem;
}
/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* *** Start editing below this line *** */
#offcanvasNavbar {
  --bs-offcanvas-width: min(600px, 100vw);
}
.main-menu.navbar {
  --bs-navbar-toggler-border-color: #d1d1d1;
  flex-wrap: nowrap;
}
@media (min-width: 992px) {
  .main-menu.navbar .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
    flex-grow: 1;
    width: 100%;
    overflow: visible;
  }
  .header-categories {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
  }
  .category-nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }
}
.header-nav-cols {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.header-categories {
  flex: 1 1 auto;
  min-width: 0;
}
.category-nav {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.category-nav-item {
  position: relative;
}
.category-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #222222;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.category-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.category-link .chev {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.category-link:hover {
  background: var(--light-primary-color);
  color: var(--primary-color);
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.category-nav-item:hover > .submenu,
.submenu-item:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu .submenu {
  top: -9px;
  left: 100%;
  transform: translateX(8px);
}
.submenu-item {
  position: relative;
}
.submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  color: #333333;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.submenu-item > a:hover {
  background: var(--light-primary-color);
  color: var(--primary-color);
}
.sub-chev {
  color: #b0b0b0;
  font-size: 16px;
}
.dropdown-toggle::after {
  display: none;
}
.go-home-btn {
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.go-home-btn:hover {
  background: #004494;
  color: #ffffff;
}
.main-logo {  display: flex;
  align-items: center;
  height: 100%;
}
.main-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media screen and (max-width: 600px) {
  .main-logo img {
    max-height: 60px;
  }
}
.footer-menu > img {
  max-width: 180px;
  height: auto;
}
#footer-bottom {
  padding: 20px 0;
}
#footer-bottom .copyright p {
  margin: 0;
  text-align: center;
}
.container-fluid {
  max-width: 1600px;
}
.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2rem;
}
.block-1 { grid-area: 1 / 1 / 3 / 8; }
.block-2 { grid-area: 1 / 8 / 2 / 13; }
.block-3 { grid-area: 2 / 8 / 3 / 13; }

@media screen and (max-width:1140px) {
  .banner-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .block-1 { grid-area: 1 / 1 / 3 / 2; }
  .block-2 { grid-area: 3 / 1 / 4 / 2; }
  .block-3 { grid-area: 4 / 1 / 5 / 2; }
  
}

/* banner ad */
.banner-ad {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.banner-ad .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-ad .swiper-slide {
  min-height: 630px;
  display: flex;
}
.banner-ad.large.block-1 .swiper-slide {
  height: 100%;
}
.banner-ad .main-swiper,
.banner-ad .main-swiper .swiper-wrapper {
  height: 100%;
}
.banner-ad.block-2,
.banner-ad.block-3 {
  height: 300px;
}
@media screen and (max-width:1140px) {
  .banner-ad.large .swiper-slide {
    min-height: 400px;
  }
  .banner-ad.block-2,
  .banner-ad.block-3 {
    height: 260px;
  }
}
.banner-ad.blue {
  background: #e6f3fb;
}
.banner-ad.promo-banner {
  display: flex;
}
.banner-ad.promo-banner .banner-img {
  object-fit: cover;
}
.banner-ad .swiper-pagination {
  bottom: 40px;
  left: 0;
  right: 0;
}
.banner-ad .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 4px;
  background: #FFF;
  opacity: 1;
  transition: background 0.3s ease-out;
}
.banner-ad .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: #0056b3;
}
/* .banner-ad .banner-content {
  padding: 52px;
}
.banner-ad.large .banner-content {
  padding: 90px;
} */
.banner-ad .banner-content .categories {
  font-family: 'Garamond';
  font-size: 37px;
  text-transform: capitalize;
  color: var(--dark-color);
}
.banner-ad .banner-content .sale {
  position: relative;
  display: inline-block;
}
.banner-ad .banner-content .sale:before {
  content: '';
  width: 80px;
  border-bottom: 1px solid #111;
  position: absolute;
  bottom: 6px;
}
.banner-ad .banner-content .sale:after {
  content: 'SALE';
  font-family: var(--body-font);
  position: absolute;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #252525;
  bottom: 0;
  right: 0;
}
.banner-ad .banner-content .banner-title {
  letter-spacing: 0.02em;
  font-size: 33px;
}
.banner-ad.large .banner-content .categories {
  color: var(--accent-color);
}
.banner-ad.large .banner-content .banner-title {
  font-size: 54px;
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #004494;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: #0056b3;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea
}
.swiper-prev:hover,
.swiper-next:hover {
  background: #0056b3;
}
.btn-link {
  margin-right: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  text-transform: capitalize;
  color: #787878;
}
/* popular categories grid */
.popular-categories-section {
  background-color: #f2f5f8;
}
.popular-categories-grid {
  margin-top: 0;
}
.popular-categories-grid .popular-category-item {
  padding: 6px;
}
.popular-categories-grid .popular-category-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.popular-categories-grid .popular-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.popular-categories-grid .popular-category-name {
  font-size: 14px;
  line-height: 20px;
  color: #222222;
  margin-top: 14px;
  text-align: center;
}
/* brand carousel */
.brand-carousel .brand-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px;
}
.brand-carousel .brand-item img {
  width: 100%;
  border-radius: 12px;
}
.brand-carousel .brand-item .brand-details {
  margin-left: 15px;
}
.brand-carousel .brand-item .brand-title {
  margin: 0;
}

/* product tabs */
.product-tabs .nav-tabs {
  justify-content: flex-end;
  border: none;
  
  --bs-nav-link-hover-color: #111;
  --bs-nav-link-color: #555;
  --bs-nav-tabs-link-border-color: #fff;
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-border-color: #fff;
}
.product-tabs .nav-tabs .nav-link.active, 
.product-tabs .nav-tabs .nav-item.show .nav-link {
  /* border: none; */
  border-bottom: 3px solid var(--accent-color);
}

/* product-grid */
/* .product-grid {
  gap: 25px;
} */
.product-item {
  position: relative;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease-out;
}
.product-item:hover {
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.product-item h3 {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  text-transform: capitalize;
  color: #333333;
  margin: 0;
}
.product-item figure {
  background: #F9F9F9;
  border-radius: 12px;
  text-align: center;
}
.product-item figure img {
  max-height: 210px;
  height: auto;
}
.product-item .btn-wishlist {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  transition: all 0.3s ease-out;
}
.product-item .btn-wishlist:hover {
  background: rgb(240, 56, 56);
  color: #fff;
}
.product-item .qty {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9D9D9D;
}
.product-item .rating {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  text-transform: capitalize;
  color: #222222;
}
.product-item .rating iconify-icon {
  color: #0056b3;
}
.product-item .price {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  color: #222222;
}
.product-item .product-qty {
  width: 85px;
}
.product-item .btn-link {
  text-decoration: none;
}
.product-item #quantity {
  height: auto;
  width: 28px;
  text-align: center;
  border: none;
  margin: 0;
  padding: 0;
}
.product-item .btn-number {
  width: 26px;
  height: 26px;
  line-height: 1;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E2E2E2;
  border-radius: 6px;
  color: #222;
  padding: 0;
}

/* cart */
.cart .product-qty {
  min-width: 130px;
}

/* floating image */
.image-float {
  margin-top: -140px;
  margin-bottom: -140px;
}
@media screen and (max-width:991px) {
  .image-float {
    margin: 0;
  }
}
 /* post item */
.post-item .post-meta {
  font-size: 0.8rem;
  line-height: 1;
}
.post-item .post-meta svg {
  margin-right: 5px;
}

@media screen and (max-width: 991px) {
  /* offcanvas menu */
  .header-nav-cols {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding-top: 10px;
  }
  .header-nav-cols .header-categories {
    flex: 0 0 auto;
  }
  .header-nav-cols .go-home-btn {
    align-self: flex-start;
    margin-left: 0;
  }
  .category-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .category-link {
    padding: 12px 4px;
    border-bottom: 1px solid #f0f0f0;
  }
  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--light-primary-color);
    margin-left: 24px;
    padding: 0 0 4px 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }
  .submenu .submenu {
    left: 0;
    top: 0;
    margin-left: 16px;
  }
  .category-nav-item.open > .submenu {
    display: block;
  }
  .offcanvas-body .nav-item {
    font-weight: 700;
    border-bottom: 1px solid #d1d1d1;
  }
}
.nav-menu-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  vertical-align: middle;
}
.nav-menu-toggler svg {
  width: 24px;
  height: 24px;
  color: #222222;
}
header .rounded-circle.bg-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  vertical-align: middle;
}
header .rounded-circle.bg-light svg {
  width: 24px;
  height: 24px;
}
header .rounded-circle.bg-light use {
  width: 24px;
  height: 24px;
}

/* --- Header: primary background --- */
header {
  background: var(--primary-color, #0056b3);
  color: #fff;
}
header .border-bottom {
  border-color: rgba(255, 255, 255, 0.18) !important;
}
header .row.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}
header .row.py-2 {
  padding-top: 6px;
  padding-bottom: 6px;
}
header .main-logo img {
  max-height: 58px;
  filter: brightness(0) invert(1);
}
@media screen and (max-width: 600px) {
  header .main-logo img {
    max-height: 44px;
  }
}
header .rounded-circle.bg-light {
  color: var(--primary-color, #0056b3);
}
header .support-box .fs-6,
header .cart .dropdown-toggle {
  color: rgba(255, 255, 255, 0.85);
}
header .support-box h5,
header .cart-total {
  color: #fff;
}
header .support-box h5 {
  font-size: 1rem;
  line-height: 1.3;
  white-space: nowrap;
}
header .row > .col-lg-4.d-flex {
  gap: 20px !important;
}
header .search-bar {
  background: #fff;
}
header .search-bar .input-group {
  flex-wrap: nowrap;
}
header .search-bar .input-group-text svg {
  width: 18px;
  height: 18px;
  display: block;
  color: var(--primary-color, #0056b3);
}
header .search-bar .search-submit-btn {
  padding: 6px 18px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
}
header .search-bar .search-submit-btn,
header .search-bar .search-submit-btn:hover {
  --bs-btn-color: #222222;
  --bs-btn-bg: #FFC93C;
  --bs-btn-border-color: #FFC93C;
  --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: #FFB917;
  --bs-btn-hover-border-color: #FFB917;
  --bs-btn-active-color: #111111;
  --bs-btn-active-bg: #FFB917;
  --bs-btn-active-border-color: #FFB917;
}
@media (min-width: 992px) {
  header .category-link {
    color: #fff;
  }
  header .category-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  header .go-home-btn {
    background: #fff;
    color: var(--primary-color, #0056b3);
  }
  header .go-home-btn:hover {
    background: #f0f4fa;
    color: var(--primary-color, #0056b3);
  }
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
  height: 740px;
}
@media screen and (max-width:992px) {
  .product-thumbnail-slider {
    margin-top: 20px;
    height: auto;
  }
}
@media screen and (min-width:992px) {
  .product-thumbnail-slider {
    height: 520px;
  }
}
@media screen and (min-width:1200px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}
/* ============ Product Detail Page (SaaS style, mobile-first) ============ */
.breadcrumb-wrap {
  background: var(--light-primary-color, #eef4ff);
}
.breadcrumb-wrap .breadcrumb {
  font-size: 0.875rem;
}
.breadcrumb-wrap .breadcrumb a {
  color: var(--primary-color, #0056b3);
  text-decoration: none;
}

/* --- Gallery --- */
.product-gallery {
  position: sticky;
  top: 0;
}
.gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
}
.gallery-main .product-thumbnail-slider-main {
  width: 100%;
}
.gallery-main .product-thumbnail-slider-main .swiper-slide {
  text-align: center;
}
.gallery-main .product-thumbnail-slider-main .swiper-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.35s ease;
}
.gallery-main .product-thumbnail-slider-main .image-link:hover img {
  cursor: zoom-in;
}
@media (hover: hover) {
  .gallery-main .product-thumbnail-slider-main .image-link:hover img {
    transform: scale(1.06);
  }
}
.btn-gallery-zoom {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.12);
}
.btn-gallery-zoom:hover {
  color: var(--primary-color, #0056b3);
}
.badge-gallery {
  left: 14px;
  top: 14px;
  z-index: 5;
  font-size: 0.8rem;
  border-radius: 30px;
  padding: 0.35rem 0.75rem;
}
.btn-gallery-wishlist {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.12);
}
.btn-gallery-wishlist:hover {
  color: #e91e63;
}
.gallery-main .swiper-pagination-bullet-active {
  background: var(--primary-color, #0056b3);
}
.gallery-thumbs {
  gap: 12px;
  margin-top: 14px;
}
.gallery-thumbs .thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 4px;
  background: #fff;
}
.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
  border-color: var(--primary-color, #0056b3);
}

/* --- Gallery zoom overlay --- */
.gallery-zoom {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 6, 23, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gallery-zoom.open {
  opacity: 1;
  visibility: visible;
}
.zoom-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom-stage img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}
.zoom-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.zoom-close:hover {
  background: rgba(255, 255, 255, 0.26);
}
body.zoom-open {
  overflow: hidden;
}
@media (min-width: 1200px) {
  .zoom-stage img {
    max-height: 82vh;
  }
}

/* --- Info --- */
.product-cat {
  display: inline-block;
  color: var(--primary-color, #0056b3);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-title {
  font-size: 1.6rem;
  line-height: 1.25;
}
.rating-stars svg {
  display: inline-block;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.product-price .price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color, #0056b3);
}
.product-price .price-old {
  font-size: 1.1rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.product-price .price-save {
  border-radius: 20px;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
}
.product-desc {
  color: #64748b;
  line-height: 1.7;
}

/* --- Variants --- */
.variant-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.variant-swatches {
  display: flex;
  gap: 12px;
}
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease;
}
.swatch.active {
  border-color: var(--primary-color, #0056b3);
  transform: scale(1.1);
}
.variant-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill.active,
.pill:hover {
  border-color: var(--primary-color, #0056b3);
  background: var(--light-primary-color, #eef4ff);
  color: var(--primary-color, #0056b3);
}

/* --- Buy row --- */
.buy-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
}
.qty-btn {
  width: 44px;
  height: 50px;
  border: none;
  background: #f8fafc;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.qty-btn:hover {
  background: var(--light-primary-color, #eef4ff);
  color: var(--primary-color, #0056b3);
}
.qty-input {
  width: 56px;
  height: 50px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  background: #fff;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.btn-add-to-cart,
.btn-buy-now {
  flex: 1 1 180px;
  min-height: 50px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-add-to-cart {
  background: var(--primary-color, #0056b3);
  color: #fff;
}
.btn-add-to-cart:hover {
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.35);
  transform: translateY(-1px);
}
.btn-buy-now {
  background: #0f172a;
  color: #fff;
}
.btn-buy-now:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
  transform: translateY(-1px);
}

/* --- Meta --- */
.product-meta {
  display: grid;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.9rem;
}
.meta-label {
  font-weight: 700;
  color: #0f172a;
}
.product-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 600;
}
.product-features li svg {
  color: var(--primary-color, #0056b3);
  flex-shrink: 0;
}

/* --- Mobile sticky buy bar --- */
body {
  --mobile-bar-h: 66px;
}
.mobile-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -6px 24px rgba(2, 6, 23, 0.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-bar-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}
.mobile-bar-price .now {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color, #0056b3);
}
.mobile-bar-price .old {
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.mobile-bar-actions {
  flex: 1;
  display: flex;
  gap: 10px;
}
.mobile-bar-actions .btn-add-to-cart,
.mobile-bar-actions .btn-buy-now {
  flex: 1 1 50%;
  min-height: 46px;
}

@media (max-width: 991px) {
  body.product-page {
    padding-bottom: var(--mobile-bar-h);
  }
  .mobile-buy-bar {
    position: fixed;
  }
}
/* --- Tabs --- */
.product-nav-tabs {
  border-bottom: 2px solid #e5e7eb;
  gap: 8px;
}
.product-nav-tabs .nav-link {
  border: none;
  color: #64748b;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px 10px 0 0;
  background: transparent;
}
.product-nav-tabs .nav-link.active {
  color: var(--primary-color, #0056b3);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--primary-color, #0056b3);
}
.feature-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: #374151;
}
.feature-list li svg {
  color: var(--primary-color, #0056b3);
  flex-shrink: 0;
}

/* --- Specs --- */
.spec-table th {
  font-weight: 700;
  color: #0f172a;
  width: 38%;
}

/* --- Reviews --- */
.review-summary {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  background: var(--light-primary-color, #eef4ff);
}
.review-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-head img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.review-head h6 {
  margin: 0 0 2px;
}

/* --- Desktop tweaks (lg and up) --- */
@media (min-width: 992px) {
  .product-gallery {
    position: sticky;
    top: 24px;
  }
  .product-title {
    font-size: 2rem;
  }
  .product-info {
    padding-top: 8px;
  }
}
@media (min-width: 1200px) {
  .product-gallery .product-thumbnail-slider-main .swiper-slide img {
    aspect-ratio: auto;
    max-height: 520px;
  }
}

/* --- Three Easy Ways To Shop --- */
.how-to-shop {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 18px 0 14px;
}
.how-to-shop-head {
  margin-bottom: 4px;
}
.how-to-shop-title {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}
.how-to-shop-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-color, #0056b3);
  margin: 8px auto 0;
}
.how-to-row {
  position: relative;
  display: flex;
  align-items: stretch;
}
.how-to-step {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 14px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.how-to-step:hover {
  background: #f5f8fc;
  box-shadow: 0 6px 20px rgba(2, 86, 179, 0.08);
}
.how-to-step-num {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-top: 2px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f1ff, #d7e6ff);
  color: var(--primary-color, #0056b3);
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-to-step-body {
  min-width: 0;
}
.how-to-step-title {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 2px;
}
.how-to-step-text {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.55;
}
.how-to-step-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  color: #c3d4e8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-to-step-arrow.arrow-1 {
  left: 33.3333%;
  margin-left: -17px;
}
.how-to-step-arrow.arrow-2 {
  left: 66.6666%;
  margin-left: -17px;
}
@media (max-width: 991px) {
  .how-to-step {
    border: 1px solid #eef2f7;
  }
}

/* ============ Buying Assistant ============ */
.buying-assistant-page {
  background-color: #f6f8fb;
}
.buying-assistant .ba-head {
  text-align: center;
  margin-bottom: 24px;
}
.buying-assistant .ba-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 4px;
}
.buying-assistant .ba-sub {
  color: #5b6573;
  margin-bottom: 0;
}
.ba-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.ba-step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ba-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #c9d2de;
  color: #7a8697;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.ba-step.is-active .ba-step-num {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.ba-step-label {
  font-weight: 600;
  color: #7a8697;
}
.ba-step.is-active .ba-step-label {
  color: var(--primary-color);
}
.ba-step-line {
  width: 56px;
  height: 2px;
  background: #dbe2ec;
  border-radius: 2px;
}
.ba-card {
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(22, 42, 70, .05);
}
.ba-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ba-card-head h6 {
  font-weight: 700;
  color: #222222;
  margin-bottom: 2px;
  font-size: .95rem;
}
.ba-site {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  white-space: nowrap;
}
.ba-image-wrap {
  margin-top: 16px;
}
.ba-image-frame {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f6f8fb;
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ba-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ba-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.ba-image-hint {
  margin-top: 8px;
  font-size: .85rem;
}
.ba-alert {
  border-radius: 10px;
  font-size: .9rem;
}
.ba-image-controls {
  margin-top: 10px;
}
.ba-upload-btn {
  font-weight: 600;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}
.ba-image-hint {
  font-size: .82rem;
}
.buying-assistant .search-submit-btn,
#ba-fetch-btn,
.ba-add-to-cart {
  --bs-btn-color: #222222;
  --bs-btn-bg: #FFC93C;
  --bs-btn-border-color: #FFC93C;
  --bs-btn-hover-color: #111111;
  --bs-btn-hover-bg: #FFB917;
  --bs-btn-hover-border-color: #FFB917;
  --bs-btn-active-color: #111111;
  --bs-btn-active-bg: #FFB917;
  --bs-btn-active-border-color: #FFB917;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 201, 60, .45);
}
#ba-fetch-btn {
  border-radius: 8px;
  padding: 8px 20px;
  white-space: nowrap;
}
.ba-add-to-cart {
  border-radius: 10px;
  padding: 10px 28px;
}
#ba-fetch-btn:hover,
.ba-add-to-cart:hover {
  box-shadow: 0 6px 16px rgba(255, 201, 60, .6);
}
.ba-fetching {
  margin-top: 14px;
}
.ba-fetching-box {
  background: #f6f8fb;
  border: 1px solid #e7ecf3;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.ba-fetching-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: rgba(0, 86, 179, .08);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: ba-pulse 1.6s ease-in-out infinite;
}
.ba-fetching-text {
  font-weight: 600;
  color: #222222;
  margin-bottom: 4px;
}
.ba-fetching-url {
  color: #7a8697;
  font-size: .82rem;
  word-break: break-all;
  margin-bottom: 12px;
}
.ba-fetching-progress {
  height: 8px;
  border-radius: 8px;
  background: #e5e9f0;
  overflow: hidden;
}
.ba-fetching-progress .progress-bar {
  background: #FFC93C;
  border-radius: 8px;
  transition: width .3s linear;
}
@keyframes ba-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.9); }
}
.ba-cart {
  margin-top: 20px;
}
.ba-cart-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 86, 179, .08);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ba-add-to-cart {
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .ba-steps {
    gap: 8px;
  }
  .ba-step-line {
    width: 28px;
  }
  .ba-card {
    padding: 16px;
  }
}
.min-width-0 {
  min-width: 0;
}
/* ============ Checkout — premium SaaS ============ */
.co-page .breadcrumb-wrap {
  background: transparent;
}
.co-head {
  background: transparent;
  color: #0b1526;
  border-bottom: 1px solid rgba(15, 23, 42, .07);
  padding-bottom: 18px;
  margin-bottom: 26px;
}
.co-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
  color: #0056b3;
}
.co-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b1526;
  margin: 10px 0 4px;
}
.co-title-dot {
  color: #0056b3;
}
.co-sub {
  color: #5b6674;
  font-size: 15px;
  margin: 0;
}

.co-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(10, 20, 40, .04);
  margin-bottom: 20px;
}
.co-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.co-card-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 86, 179, .10);
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.co-card-head h2 {
  font-size: 17px;
  font-weight: 700;
  color: #0b1526;
  margin: 0;
}
.co-card-head p {
  font-size: 13px;
  color: #8a94a3;
  margin: 2px 0 0;
}
.co-count-pill {
  background: #f1f4f9;
  color: #42506b;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.co-items {
  display: flex;
  flex-direction: column;
}
.co-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed #e6eaf1;
}
.co-item:first-child {
  padding-top: 0;
}
.co-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.co-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #f1f4f9;
  border: 1px solid #eef1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #9aa5b5;
  flex-shrink: 0;
}
.co-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-item-main {
  flex: 1;
  min-width: 0;
}
.co-item-main h3 {
  font-size: 14px;
  font-weight: 650;
  color: #0b1526;
  margin: 0 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.co-item-main p {
  font-size: 12px;
  color: #8a94a3;
  margin: 0 0 5px;
}
.co-item-qty {
  font-size: 11px;
  font-weight: 700;
  color: #0056b3;
  background: rgba(0, 86, 179, .08);
  padding: 3px 8px;
  border-radius: 999px;
}
.co-item-price {
  text-align: right;
  flex-shrink: 0;
}
.co-item-price strong {
  display: block;
  font-size: 14px;
  color: #0b1526;
}
.co-item-price small {
  font-size: 11px;
  color: #8a94a3;
}

.co-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #42506b;
  margin-bottom: 7px;
}
.co-label > span {
  color: #0056b3;
}
.co-label .co-optional {
  text-transform: none;
  letter-spacing: .02em;
  color: #9aa5b5;
  font-weight: 600;
}
.co-field {
  position: relative;
}
.co-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5b5;
  display: inline-flex;
  pointer-events: none;
}
.co-field-icon-top {
  top: 14px;
  transform: none;
}
.co-field .form-control,
.co-field .form-select,
.co-input-plain,
.co-textarea {
  border: 1.5px solid #dfe5ee;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: #0b1526;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.co-field .co-input {
  padding-left: 44px;
  height: 48px;
}
.co-input-plain {
  height: 48px;
  padding: .375rem 1rem;
}
.co-field .form-control::placeholder,
.co-input-plain::placeholder {
  color: #aab4c4;
}
.co-field .form-control:focus,
.co-field .form-select:focus,
.co-input-plain:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, .12);
  background: #fff;
}
.co-textarea {
  resize: vertical;
  padding-top: 12px;
}

.co-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.co-tile {
  position: relative;
  cursor: pointer;
  display: block;
}
.co-tile-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.co-tile-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid #dfe5ee;
  border-radius: 14px;
  background: #fff;
  position: relative;
  height: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.co-tile-box:hover {
  border-color: #c3cfe0;
}
.co-tile-radio:checked + .co-tile-box {
  border-color: #0056b3;
  background: rgba(0, 86, 179, .05);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, .10);
}
.co-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.co-tile-icon--blue {
  color: #0056b3;
  background: #e8f1ff;
}
.co-tile-icon--indigo {
  color: #3b5bdb;
  background: #eceffd;
}
.co-tile-icon--violet {
  color: #7048e8;
  background: #f0ebff;
}
.co-tile-icon--green {
  color: #0ca678;
  background: #e6fcf5;
}
.co-tile-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.co-tile-name {
  font-size: 14px;
  font-weight: 700;
  color: #0b1526;
}
.co-tile-desc {
  font-size: 11px;
  color: #8a94a3;
}
.co-tile-check {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0056b3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .18s ease, transform .18s ease;
}
.co-tile-radio:checked + .co-tile-box .co-tile-check {
  opacity: 1;
  transform: scale(1);
}
.co-panels {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #e6eaf1;
}
.co-panel-hint {
  font-size: 12.5px;
  color: #8a94a3;
  margin: 12px 0 0;
}

.co-summary {
  position: sticky;
  top: 20px;
  background: radial-gradient(140% 140% at 100% 0%, #123a75 0%, #0b1526 55%);
  color: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 60px -22px rgba(11, 21, 38, .55);
  border: 1px solid rgba(255, 255, 255, .08);
}
.co-summary-head h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.co-summary-items {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.co-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-summary-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #8fa3c1;
  position: relative;
  flex-shrink: 0;
}
.co-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-summary-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.co-summary-name span {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.co-summary-name small {
  font-size: 11px;
  color: #8fa3c1;
}
.co-summary-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.co-qty {
  display: inline-flex;
  margin: 0;
}
.co-qty-btn {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}
.co-qty-btn:hover {
  background: rgba(255, 255, 255, .3);
}
.co-summary-qty-num {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}
.co-summary-line {
  font-size: 13px;
  font-weight: 700;
}
.co-summary-totals {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.co-summary-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #c6d2e5;
}
.co-summary-total-row span:last-child {
  color: #fff;
  font-weight: 600;
}
.co-free {
  color: #34d399 !important;
  font-weight: 700;
}
.co-summary-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, .18);
}
.co-summary-grand span:last-child {
  font-size: 24px;
  font-weight: 800;
  color: #ffc93c;
}
.co-summary-grand span:first-child {
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: 12px;
  color: #8fa3c1;
}
.co-summary-foot {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.co-summary-foot p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  color: #8fa3c1;
  margin: 0;
}
.co-summary-foot p svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.co-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffc93c !important;
  border-color: #ffc93c !important;
  border-radius: 12px;
  color: #0b1526 !important;
  font-weight: 700;
  height: 48px;
  padding: 12px 22px;
  box-shadow: 0 10px 24px -10px rgba(255, 201, 60, .6);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.co-btn-primary:hover {
  background: #ffc017 !important;
  border-color: #ffc017 !important;
  color: #0b1526 !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(255, 201, 60, .7);
}
.co-btn-pay {
  font-size: 15px;
}
.co-btn-ghost {
  background: #fff;
  border: 1.5px solid #dfe5ee;
  border-radius: 12px;
  color: #42506b;
  font-weight: 600;
  height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.co-btn-ghost:hover {
  border-color: #c3cfe0;
  color: #0b1526;
  background: #f8fafc;
}

.co-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.co-alert svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #dc2626;
}
.co-alert strong {
  display: block;
  font-size: 14px;
  color: #7f1d1d;
}
.co-alert span {
  font-size: 13px;
  color: #7f1d1d;
}

.co-empty {
  text-align: center;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 20px;
  padding: 60px 24px;
  max-width: 520px;
  margin: 0 auto;
}
.co-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(0, 86, 179, .08);
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.co-empty h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0b1526;
  margin: 0 0 6px;
}
.co-empty p {
  color: #8a94a3;
  font-size: 14px;
  margin: 0 0 20px;
}

.co-success {
  max-width: 560px;
  margin: 10px auto 0;
  text-align: center;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 24px;
  padding: 44px 32px;
  box-shadow: 0 24px 60px -24px rgba(11, 21, 38, .18);
}
.co-success-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 14px 30px -10px rgba(16, 185, 129, .55);
}
.co-success-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0b1526;
  margin: 8px 0 8px;
}
.co-success-sub {
  color: #5b6674;
  font-size: 15px;
  margin: 0 0 24px;
}
.co-receipt {
  text-align: left;
  background: #f8fafc;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 6px 18px;
}
.co-receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed #e6eaf1;
  font-size: 13.5px;
}
.co-receipt-row:last-child {
  border-bottom: 0;
}
.co-receipt-row span {
  color: #8a94a3;
}
.co-receipt-row strong {
  color: #0b1526;
  text-align: right;
}

@media (max-width: 991px) {
  .co-summary {
    position: static;
  }
  .co-page {
    padding-top: 20px;
  }
}
@media (max-width: 575px) {
  .co-tiles {
    grid-template-columns: 1fr;
  }
  .co-card {
    padding: 18px;
  }
  .co-success {
    padding: 32px 20px;
  }
}

/* ============ Offcanvas mini-cart ============ */
#offcanvasCart .offcanvas-body {
  display: flex;
  flex-direction: column;
}
#offcanvasCart .order-md-last {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#offcanvasCart #cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
  overflow-y: auto;
}
.co-mini-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed #e6eaf1;
}
.co-mini-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #f1f4f9;
  border: 1px solid #eef1f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b5;
  flex-shrink: 0;
}
.co-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-mini-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.co-mini-name {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.35;
  color: #0b1526;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-mini-meta {
  font-size: 12px;
  color: #8a94a3;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-mini-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.co-mini-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f1f4f9;
  border: 1px solid #e6eaf1;
  border-radius: 8px;
  padding: 2px;
}
.co-mini-qty .co-qty {
  display: inline-flex;
  margin: 0;
}
.co-mini-qtybtn {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #0b1526;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease;
}
.co-mini-qtybtn:hover {
  background: #0056b3;
  color: #fff;
}
.co-mini-qtynum {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #0b1526;
}
.co-mini-price {
  font-size: 13.5px;
  color: #0b1526;
}
.co-mini-remove {
  margin: 0;
  align-self: flex-start;
}
.co-mini-removebtn {
  border: 0;
  background: transparent;
  color: #b3bdcb;
  padding: 4px;
  cursor: pointer;
  line-height: 1;
  transition: color .12s ease;
}
.co-mini-removebtn:hover {
  color: #dc2626;
}
.co-mini-total,
.co-mini-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
}
.co-mini-total span,
.co-mini-grand span {
  font-size: 13px;
  color: #5b6674;
}
.co-mini-total {
  border-top: 1px solid #eef1f6;
  margin-top: 6px;
}
.co-mini-total strong {
  font-size: 14px;
  color: #0b1526;
}
.co-mini-grand {
  border-top: 1px dashed #e6eaf1;
}
.co-mini-grand span {
  font-size: 12px;
}
.co-mini-grand strong {
  font-size: 18px;
  font-weight: 800;
  color: #0056b3;
}
.co-mini-foot {
  list-style: none;
  padding-top: 6px;
}
.co-mini-clear {
  border: 0;
  background: transparent;
  color: #dc2626;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 0;
  cursor: pointer;
}
.co-mini-clear:hover {
  text-decoration: underline;
}
