/* ----------------------------------------------------
   Cosmo Churgie - Project colors (override)
   Principale = #030335 | Secondaire = #3391d5 | Tertiaire = #d61217
---------------------------------------------------- */
:root {
  --ltn__primary-color: #030335;
  --ltn__primary-color-2: #020224;
  --ltn__primary-color-3: #0a0a4a;
  --ltn__secondary-color: #3391d5;
  --ltn__secondary-color-2: #2a7ab8;
  --ltn__secondary-color-3: #5aa8e8;
  --ltn__tertiary-color: #d61217;
  --ltn__tertiary-color-2: #b00e12;
  --ltn__tertiary-color-3: #e6393d;
  --ltn__heading-color: #030335;
  --section-bg-2: #030335;
  --section-bg-6: #030335;
  --section-bg-7: #0a0a4a;
  --border-color-2: #030335;
  --border-color-4: #d61217;
  --border-color-5: #b00e12;
  --border-color-6: #030335;
  --gradient-color-2: linear-gradient(
    to top,
    rgba(3, 3, 53, 0) 0%,
    rgba(3, 3, 53, 1) 90%
  );
  --gradient-color-3: linear-gradient(
    to bottom,
    rgba(3, 3, 53, 0) 0%,
    rgba(3, 3, 53, 1) 90%
  );
  --ltn__box-shadow-1: 0 16px 32px 0 rgba(3, 3, 53, 0.15);
  --primary-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* Fonts - Using Montserrat from Google Fonts (enqueued in functions.php) */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: "Montserrat", sans-serif !important ;
  font-optical-sizing: auto;
}

/* ----------------------------------------------------
   Cosmo Churgie - Header menu (Mon compte / Panier + nav)
---------------------------------------------------- */
/* Top bar: Mon compte & Panier */
.ltn__header-top-area .cosmo-account-cart ul {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
  
}
.ltn__header-top-area .cosmo-top-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background-color: #ffffff;
  color: #030335;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.ltn__header-top-area .cosmo-top-link:hover {
  background-color: #3391d5;
  color: #fff;
}

/* Header icons: search, menu, cart */
.cosmo-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.cosmo-icon {
  width: 100%;
  height: 100%;
  display: block;
  color: inherit;
}
.cosmo-inline-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  color: currentColor;
}
.ltn__header-options-2 .header-search-1,
.ltn__header-options-2 .mini-cart-icon a,
.ltn__header-options-2 .mobile-menu-toggle > a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search-1 .search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}
.header-search-1 .search-icon .for-search-show,
.header-search-1 .search-icon .for-search-close {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
}

/* Header: center nav links */
.ltn__header-middle-area .header-menu-column {
  text-align: center;
}
.ltn__header-middle-area .cosmo-main-menu > ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

/* Main nav: Spécialités médicales & Dispositifs médicaux = same style as other links (no button bg) */
.cosmo-main-menu .cosmo-menu-highlight > a {
  background-color: transparent;
  color: inherit;
  padding: 0;
}
.cosmo-main-menu .cosmo-menu-highlight:hover > a,
.cosmo-main-menu .cosmo-menu-highlight.ltn__active > a {
  background-color: transparent;
  color: var(--ltn__secondary-color);
}
.cosmo-main-menu .cosmo-menu-highlight .sub-menu {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.cosmo-main-menu .cosmo-menu-highlight .sub-menu li a:hover {
  color: #3391d5;
}

/* Feature section: icon size (Pourquoi choisir...) */
.ltn__feature-area .ltn__feature-item-8 .ltn__feature-icon img {
width: 400px;
object-fit: contain;
display: block;
margin: 0 auto;
}

/* ----------------------------------------------------
   HOME PAGE 4 ADVANTAGES - SINGLE LINE LAYOUT
---------------------------------------------------- */

/* Make the 4 advantages display in one row */
.ltn__feature-item-box-wrap-2 {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
}

.ltn__feature-item-box-wrap-2 .ltn__feature-item-8 {
  flex: 1 1 25%;
  min-width: auto;
  max-width: 25%;
  text-align: center;
  padding: 20px 15px;
}

/* Tablet: 2x2 grid */
@media (max-width: 991px) {
  .ltn__feature-item-box-wrap-2 {
    flex-wrap: wrap;
  }
  
  .ltn__feature-item-box-wrap-2 .ltn__feature-item-8 {
    flex: 1 1 50%;
    max-width: 50%;
  }
}

/* Mobile: stacked vertically */
@media (max-width: 575px) {
  .ltn__feature-item-box-wrap-2 {
    flex-direction: column;
    gap: 10px;
  }
  
  .ltn__feature-item-box-wrap-2 .ltn__feature-item-8 {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px 10px;
  }
  
  .ltn__feature-item-8 .ltn__feature-info h3 {
    font-size: 16px;
  }
  
  .ltn__feature-item-8 .ltn__feature-info p {
    font-size: 13px;
  }
}

/* ----------------------------------------------------
   Cosmo Churgie - Hero section: readable text on background image
---------------------------------------------------- */
/* .ltn__slider-area .ltn__slide-item-2.bg-overlay-black-60::before {
  background: rgba(0, 0, 0, 0.65);
} */
.ltn__slider-area .ltn__slide-item-2 .slide-item-info-inner {
  padding: 1.5rem 2rem;
  /* background: rgba(3, 3, 53, 0.5); */
  border-radius: 8px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.ltn__slider-area .ltn__slide-item-2 .slide-sub-title {
  color: #fff !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.7);
}
.ltn__slider-area .ltn__slide-item-2 .slide-sub-title span {
  color: #b8d4f0 !important;
}
.ltn__slider-area .ltn__slide-item-2 .slide-title {
  color: #fff !important;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.8),
    0 4px 24px rgba(0, 0, 0, 0.6);
}
.ltn__slider-area .ltn__slide-item-2 .slide-brief,
.ltn__slider-area .ltn__slide-item-2 .slide-brief p {
  color: #f0f4f8 !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.7);
}
.ltn__slider-area .ltn__slide-item-2 .slide-brief {
  border-left: none;
  padding-left: 0;
}

/* ----------------------------------------------------
   Cosmo Churgie - Footer: black text color (FORCE ALL TEXT TO BLACK)
---------------------------------------------------- */
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 * {
  color: #000000 !important;
}

/* Specific overrides for all footer elements */
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 p,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-widget p,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-about-widget p,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-title,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 h4,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 h5,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 h6,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-menu ul,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-menu ul li,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-menu ul li a,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address ul,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address ul li,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address-info,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address-info p,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address-info a,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-area,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-design,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-design p,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-design a,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-menu,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-menu ul,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-menu ul li,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-menu ul li a,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 a,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 span,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 div {
  color: #000000 !important;
}

/* Force SVG icons to be black */
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address-icon svg,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 svg {
  color: #000000 !important;
  stroke: #000000 !important;
  fill: none !important;
}

/* Ensure links stay black even on hover */
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 a:hover,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-menu ul li a:hover,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .footer-address-info a:hover,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-design a:hover,
.ltn__footer-area.ltn__footer-2.ltn__footer-color-1 .ltn__copyright-menu ul li a:hover {
  color: #000000 !important;
}
.ltn__feature-item-8 .ltn__feature-info h3 {
  margin-bottom: 5px;
    font-size: 12px !important;
}
.ltn__feature-item-8 .ltn__feature-info p {
  font-size: 10px;
}

/* ----------------------------------------------------
   Product detail page - title styling
---------------------------------------------------- */
.shop-details-info h1 {
  font-size: 30px !important;
}

/* ----------------------------------------------------
   Breadcrumb - white text on gradient background
---------------------------------------------------- */
.ltn__breadcrumb-area,
.ltn__breadcrumb-area *,
.ltn__breadcrumb-inner,
.ltn__breadcrumb-inner *,
.ltn__breadcrumb-list,
.ltn__breadcrumb-list *,
.ltn__breadcrumb-list ul,
.ltn__breadcrumb-list ul li,
.ltn__breadcrumb-list ul li a,
.ltn__breadcrumb-list ul li span,
.ltn__breadcrumb-area .ltn__secondary-color,
.ltn__breadcrumb-area .ltn__secondary-color i,
.ltn__breadcrumb-inner .ltn__secondary-color,
.ltn__breadcrumb-inner .ltn__secondary-color i {
  color: #ffffff !important;
}

.ltn__breadcrumb-list ul li a:hover,
.ltn__breadcrumb-area .ltn__secondary-color:hover {
  color: #b8d4f0 !important;
}

/* ----------------------------------------------------
   RE7 Modifications - Global Styles
---------------------------------------------------- */

/* Justify all paragraph texts */
p {
  text-align: justify;
}

/* Header: Enlarge logo */
.site-logo img {
  max-height: 80px;
  width: auto;
}

/* Footer: Vertical layout with left alignment for legal links */
.ltn__copyright-menu {
  text-align: left !important;
}

.ltn__copyright-menu ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 0;
}

.ltn__copyright-menu ul li {
  display: block;
  margin: 0;
}

/* Mobile: Fixed title sizes */
@media (max-width: 767px) {
  h1, .section-title, .page-title, .slide-title {
    font-size: 40px !important;
  }

  h2, .section-title-2 {
    font-size: 30px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  /* Ensure hero slide title is also fixed */
  .ltn__slide-item .slide-title {
    font-size: 40px !important;
    text-shadow: none !important;
  }
}

/* Footer legal links - vertical with left alignment */
.footer-legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links li {
  margin: 0;
  padding: 0;
}

.footer-legal-links a {
  color: #fff !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--ltn__secondary-color) !important;
}

/* ----------------------------------------------------
   HOMEPAGE STYLES
---------------------------------------------------- */

/* Remove shadow from hero H1 title */
.slide-title {
  text-shadow: none !important;
}

/* Pourquoi choisir section - homogeneous icon sizes */
.ltn__feature-item-7 .ltn__feature-icon img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
}

/* Enlarge H3 in Pourquoi choisir section */
.ltn__feature-item-7 .ltn__feature-icon-title h3 {
  font-size: 18px !important;
  font-weight: 700;
}

/* Enlarge text in Pourquoi choisir section */
.ltn__feature-item-7 .ltn__feature-info p {
  font-size: 15px;
  line-height: 1.6;
}

/* Feature item box icons - smaller icons */
.ltn__feature-item-8 .ltn__feature-icon img {
  width: 40px !important;
  height: 40px !important;
}

.ltn__feature-item-8 .ltn__feature-info h3 {
  font-size: 14px !important;
}

.ltn__feature-item-8 .ltn__feature-info p {
  font-size: 12px;
}

/* ----------------------------------------------------
   QUI SOMMES-NOUS STYLES
---------------------------------------------------- */

/* Button hover: white text to blue */
.theme-btn-1:hover,
.btn-effect-1:hover {
  color: var(--ltn__secondary-color) !important;
}

/* Service icons - reduce by 50% */
.ltn__feature-item-6 .ltn__feature-icon img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain;
}

/* ----------------------------------------------------
   CATEGORY PAGE STYLES
---------------------------------------------------- */

/* Product title truncation - max 2 lines */
.product-title-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: 2.8em;
}

/* Category image on right */
.category-image-right {
  text-align: right;
}

.category-image-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* FAQ Arrow icon */
.faq-arrow {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.faq-card .ltn__card-title[aria-expanded="true"] .faq-arrow,
.faq-card .ltn__card-title.collapsed .faq-arrow {
  transform: rotate(0deg);
}

.faq-card .ltn__card-title:not(.collapsed) .faq-arrow {
  transform: rotate(90deg);
}

/* ----------------------------------------------------
   PRODUCT PAGE STYLES
---------------------------------------------------- */

/* Hide Wishlist, Compare, Share, Safe Checkout sections */
.ltn__product-details-menu-3,
.ltn__social-media,
.ltn__safe-checkout {
  display: none !important;
}

/* Hide Reviews tab */
a[href="#liton_tab_details_1_2"],
#liton_tab_details_1_2 {
  display: none !important;
}

/* ----------------------------------------------------
   CART & CHECKOUT STYLES
---------------------------------------------------- */

/* Apply brand colors to buttons */
.theme-btn-1,
.btn-effect-1 {
  background-color: var(--ltn__primary-color);
  border-color: var(--ltn__primary-color);
  color: #fff;
}

.theme-btn-1:hover,
.btn-effect-1:hover {
  background-color: var(--ltn__secondary-color);
  border-color: var(--ltn__secondary-color);
  color: #fff;
}

.theme-btn-2,
.btn-effect-2 {
  background-color: var(--ltn__secondary-color);
  border-color: var(--ltn__secondary-color);
  color: #fff;
}

/* Solid color breadcrumb for cart/checkout pages */
.page-template-panier .ltn__breadcrumb-area,
.page-template-paiement .ltn__breadcrumb-area,
.page-template-commande .ltn__breadcrumb-area {
  background: linear-gradient(135deg, #030335 0%, #0a0a4a 100%) !important;
}

.page-template-panier .ltn__breadcrumb-area.bg-image,
.page-template-paiement .ltn__breadcrumb-area.bg-image,
.page-template-commande .ltn__breadcrumb-area.bg-image {
  background-image: none !important;
}

/* Payment methods styling */
.payment-methods .payment-method-card {
  border-color: var(--ltn__secondary-color);
}

.payment-methods .payment-method-card.selected {
  border-color: var(--ltn__primary-color);
  background-color: rgba(3, 3, 53, 0.05);
}

.payment-method-title i {
  color: var(--ltn__secondary-color);
}

.ssl-badge {
  background-color: var(--ltn__secondary-color);
}

/* Cart summary styling */
.shoping-cart-total {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
}
.shoping-cart-total {
  background-color: #f8f9fa;
  border: none;
}

.shoping-cart-total h4,
.shoping-cart-total .title-2 {
  color: var(--ltn__primary-color);
}

/* ----------------------------------------------------
   CART & CHECKOUT STYLES
---------------------------------------------------- */

/* Apply brand colors to buttons */
.theme-btn-1,
.btn-effect-1 {
  background-color: var(--ltn__primary-color);
  border-color: var(--ltn__primary-color);
  color: #fff;
}

.theme-btn-1:hover,
.btn-effect-1:hover {
  background-color: var(--ltn__secondary-color);
  border-color: var(--ltn__secondary-color);
  color: #fff;
}

.theme-btn-2,
.btn-effect-2 {
  background-color: var(--ltn__secondary-color);
  border-color: var(--ltn__secondary-color);
  color: #fff;
}

/* Solid color breadcrumb for cart/checkout pages */
.page-template-panier .ltn__breadcrumb-area,
.page-template-paiement .ltn__breadcrumb-area,
.page-template-commande .ltn__breadcrumb-area {
  background: linear-gradient(135deg, #030335 0%, #0a0a4a 100%) !important;
}

.page-template-panier .ltn__breadcrumb-area.bg-image,
.page-template-paiement .ltn__breadcrumb-area.bg-image,
.page-template-commande .ltn__breadcrumb-area.bg-image {
  background-image: none !important;
}

/* Payment methods styling */
.payment-methods .payment-method-card {
  border-color: var(--ltn__secondary-color);
}

.payment-methods .payment-method-card.selected {
  border-color: var(--ltn__primary-color);
  background-color: rgba(3, 3, 53, 0.05);
}

.payment-method-title i {
  color: var(--ltn__secondary-color);
}

.ssl-badge {
  background-color: var(--ltn__secondary-color);
}

/* Cart summary styling */
.shoping-cart-total {
  background-color: #f8f9fa;
  border: none;
}

.shoping-cart-total h4,
.shoping-cart-total .title-2 {
  color: var(--ltn__primary-color);
}

/* ----------------------------------------------------
   Hide WooCommerce info messages
---------------------------------------------------- */
.woocommerce-info {
  display: none !important;
}

.woocommerce-notices-wrapper {
  display: none !important;
}

/* ----------------------------------------------------
   EMPTY CART STYLES
---------------------------------------------------- */

.empty-cart-content {
  padding: 80px 20px;
}

.empty-cart-icon {
  margin-bottom: 40px;
}

.empty-cart-icon svg {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.empty-cart-icon:hover svg {
  opacity: 1;
}

.empty-cart-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ltn__primary-color);
  margin-bottom: 20px;
}

.empty-cart-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.empty-cart-content .btn-wrapper {
  margin-top: 30px;
}

/* Responsive styles for empty cart */
@media (max-width: 767px) {
  .empty-cart-content {
    padding: 60px 15px;
  }
  
  .empty-cart-title {
    font-size: 24px;
  }
  
  .empty-cart-text {
    font-size: 14px;
  }
  
  .empty-cart-icon svg {
    width: 80px;
    height: 80px;
  }
}

/* ----------------------------------------------------
   ORDER RECEIVED / THANK YOU PAGE STYLES
---------------------------------------------------- */

.order-success-content,
.order-failed-content {
  padding: 40px 20px;
}

.order-success-icon,
.order-failed-icon {
  margin-bottom: 30px;
}

.order-success-icon svg {
  opacity: 0.9;
}

.order-failed-icon svg {
  opacity: 0.9;
}

.order-success-title,
.order-status-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--ltn__primary-color);
  margin-bottom: 20px;
}

.order-success-text,
.order-status-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 30px;
}

.order-success-text strong {
  color: var(--ltn__primary-color);
}

.woocommerce-order-overview {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-order-overview li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.woocommerce-order-overview li:before {
  content: "•";
  color: var(--ltn__secondary-color);
  font-size: 24px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 8px;
}

.woocommerce-order-overview li:last-child {
  border-bottom: none;
}

.woocommerce-order-overview .label {
  color: #666;
  font-weight: 400;
}

.woocommerce-order-overview strong {
  color: var(--ltn__primary-color);
  font-weight: 600;
}

.woocommerce-order-overview .total-amount {
  font-size: 18px;
  color: var(--ltn__tertiary-color);
}

.order-status-badge {
  display: inline-block;
  padding: 5px 12px;
  background-color: #00C08D;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.order-status-badge.status-failed {
  background-color: #d61217;
}

.btn-full-width {
  width: 100%;
}

.mt-15 {
  margin-top: 15px;
}

.py-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Responsive styles for order received page */
@media (max-width: 767px) {
  .order-success-content,
  .order-failed-content {
    padding: 30px 15px;
  }
  
  .order-success-title,
  .order-status-title {
    font-size: 22px;
  }
  
  .order-success-text,
  .order-status-text {
    font-size: 14px;
  }
  
  .woocommerce-order-overview li {
    flex-direction: column;
    gap: 5px;
  }
  
  .shoping-cart-total.mt-30 {
    margin-top: 30px;
  }
}

/* ----------------------------------------------------
   MY ACCOUNT PAGE - Remove float and width from WooCommerce defaults
---------------------------------------------------- */

/* Remove float and width from WooCommerce MyAccount navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

/* Ensure the navigation menu displays properly */
.woocommerce-account .woocommerce-MyAccount-navigation .nav {
  display: flex;
  flex-direction: column;
}


/* ----------------------------------------------------
   MY ACCOUNT PAGE - Align titles to the left
---------------------------------------------------- */

/* Align all titles in My Account page to the left */
.woocommerce-account .page-title,
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce-account h4,
.woocommerce-account .woocommerce-MyAccount-content h1,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content h4,
.woocommerce-account .ltn__myaccount-tab-content-inner h1,
.woocommerce-account .ltn__myaccount-tab-content-inner h2,
.woocommerce-account .ltn__myaccount-tab-content-inner h3,
.woocommerce-account .ltn__myaccount-tab-content-inner h4 {
  text-align: left !important;
}

/* Ensure breadcrumb title is also left aligned */
.woocommerce-account .ltn__breadcrumb-inner .page-title {
  text-align: left !important;
}

/* Align section titles in account content */
.woocommerce-account .woocommerce-MyAccount-content header h2,
.woocommerce-account .woocommerce-MyAccount-content header h3,
.woocommerce-account .woocommerce-Addresses h2,
.woocommerce-account .woocommerce-Addresses h3 {
  text-align: left !important;
}

/* Dashboard welcome text alignment */
.woocommerce-account .woocommerce-MyAccount-dashboard p {
  text-align: left;
}


/* ----------------------------------------------------
   MY ACCOUNT PAGE - Align navigation text to the left
---------------------------------------------------- */

/* Align navigation menu items to the left */
.woocommerce-account .woocommerce-MyAccount-navigation .nav a {
  text-align: left !important;
  justify-content: flex-start !important;
}

/* Ensure icons are on the left and text follows */
.woocommerce-account .woocommerce-MyAccount-navigation .nav a i {
  margin-left: 0 !important;
  margin-right: 15px !important;
  order: -1;
}


.form-group.confirmation .wpcf7-list-item label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

/* ----------------------------------------------------
   CHECKOUT PAYMENT SECTION STYLES
---------------------------------------------------- */

/* Main payment container */
.woocommerce-checkout-payment {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(3, 3, 53, 0.06);
}

/* Secure payment badge */
.cosmo-secure-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ltn__secondary-color) 0%, var(--ltn__primary-color) 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.cosmo-secure-payment-badge i {
  font-size: 14px;
}

/* Payment methods list */
.wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Individual payment method */
.wc_payment_method {
  margin-bottom: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wc_payment_method:hover {
  border-color: var(--ltn__secondary-color);
  background-color: rgba(51, 145, 213, 0.03);
}

.wc_payment_method input[type="radio"]:checked + label {
  color: var(--ltn__primary-color);
  font-weight: 600;
}

.wc_payment_method:has(input[type="radio"]:checked) {
  border-color: var(--ltn__secondary-color);
  background-color: rgba(51, 145, 213, 0.08);
  box-shadow: 0 0 0 3px rgba(51, 145, 213, 0.1);
}

/* Payment method label */
.wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  font-size: 15px;
}

.wc_payment_method input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ltn__secondary-color);
  cursor: pointer;
}

/* Payment method icon/image */
.wc_payment_method img {
  max-height: 32px;
  width: auto;
  margin-left: auto;
}

/* Payment box (description) */
.payment_box {
  margin-top: 12px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid var(--ltn__secondary-color);
  font-size: 14px;
  color: var(--ltn__paragraph-color);
}

.payment_box p {
  margin: 0;
}

.payment_box fieldset {
  border: none;
  padding: 0;
  margin: 15px 0 0;
}

.payment_box .form-row {
  margin-bottom: 15px;
}

.payment_box label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 13px;
}

.payment_box input,
.payment_box select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.payment_box input:focus,
.payment_box select:focus {
  border-color: var(--ltn__secondary-color);
  outline: none;
}

/* Place order section */
.place-order {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  text-align: right;
}

/* Custom place order button - Override WooCommerce .button.alt with high specificity */
.woocommerce-checkout-payment .place-order .button.alt.cosmo-place-order-btn,
#payment .place-order .button.alt.cosmo-place-order-btn,
.button.alt.cosmo-place-order-btn {
  background: linear-gradient(135deg, var(--ltn__secondary-color) 0%, var(--ltn__tertiary-color) 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  min-width: 250px !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.woocommerce-checkout-payment .place-order .button.alt.cosmo-place-order-btn:hover,
#payment .place-order .button.alt.cosmo-place-order-btn:hover,
.button.alt.cosmo-place-order-btn:hover {
  background: linear-gradient(135deg, var(--ltn__primary-color) 0%, var(--ltn__tertiary-color) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(214, 18, 23, 0.3) !important;
  color: #fff !important;
}

.woocommerce-checkout-payment .place-order .button.alt.cosmo-place-order-btn:disabled,
.woocommerce-checkout-payment .place-order .button.alt.cosmo-place-order-btn.disabled,
.button.alt.cosmo-place-order-btn:disabled,
.button.alt.cosmo-place-order-btn.disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Terms and conditions checkbox */
.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 20px;
  text-align: left;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  accent-color: var(--ltn__secondary-color);
}

/* Privacy policy text */
.woocommerce-privacy-policy-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.woocommerce-privacy-policy-text a {
  color: var(--ltn__secondary-color);
  text-decoration: none;
}

.woocommerce-privacy-policy-text a:hover {
  text-decoration: underline;
}

/* Validation messages */
.woocommerce-checkout-payment .woocommerce-error,
.woocommerce-checkout-payment .woocommerce-info,
.woocommerce-checkout-payment .woocommerce-message {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

.woocommerce-checkout-payment .woocommerce-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.woocommerce-checkout-payment .woocommerce-info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

/* Responsive styles */
@media (max-width: 768px) {
  .woocommerce-checkout-payment {
    padding: 20px 15px;
  }

  .wc_payment_method {
    padding: 12px;
  }

  .payment_box {
    padding: 12px;
  }

  .place-order {
    text-align: center;
  }

  .cosmo-place-order-btn {
    width: 100%;
    min-width: unset;
    padding: 16px 20px;
  }

  .wc_payment_method img {
    max-height: 24px;
  }
}

/* Loading state */
.woocommerce-checkout-payment .blockUI {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.woocommerce-checkout-payment .blockUI:before {
  border-color: var(--ltn__secondary-color) !important;
  border-top-color: transparent !important;
}
