/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 7.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* =========================================
   TABLE OF CONTENTS
   01. Local Fonts
   02. Variables
   03. Base / Global Styles
   04. Accessibility
   05. Buttons
   06. Header / Navigation
   07. Google Translate Overrides
   08. Shared DDLC Layout System
   09. Footer
   10. Page-Specific Light Overrides / Legacy Aliases
   ========================================= */

/* =========================================
   01. LOCAL FONTS
   ========================================= */

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/josefin-sans/josefin-sans-v34-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Font Awesome fallback for Bootscore icons. */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}

/* =========================================
   02. VARIABLES
   ========================================= */

:root {
  --bs-primary: #dd9127;
  --bs-secondary: #00a2b2;
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-heading-font-family: 'Josefin Sans', sans-serif;

  --ddlc-orange: #dd9127;
  --ddlc-orange-light: #e7a446;
  --ddlc-green: #00a1b1;
  --ddlc-green-dark: #008b99;
  --ddlc-dark: #081126;
  --ddlc-navy: #0b1c3e;
  --ddlc-muted: #5b6670;
  --ddlc-border: #e7eaee;
  --ddlc-soft-bg: #f7f9fb;
  --ddlc-focus: #00a1b1;

  --ddlc-shadow-sm: 0 12px 30px rgba(8, 17, 38, 0.04);
  --ddlc-shadow-md: 0 16px 40px rgba(8, 17, 38, 0.05);
  --ddlc-shadow-lg: 0 24px 60px rgba(8, 17, 38, 0.1);
  --ddlc-radius: 1rem;
  --ddlc-radius-lg: 1.25rem;
}

/* =========================================
   03. BASE / GLOBAL STYLES
   ========================================= */

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ddlc-dark);
  font-family: var(--bs-body-font-family);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  --bs-body-font-size: 16px;
  top: 0 !important;
  position: static !important;
}

#page {
  min-height: auto !important;
}

body,
p,
li,
input,
button,
.dropdown-item,
a {
  font-family: var(--bs-body-font-family);
}

strong,
.strong {
  font-weight: 600 !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .header-extra, .header-extra-md, .header-extra-sm {
  color: var(--ddlc-orange);
  font-family: var(--bs-heading-font-family);
  font-weight: 600 !important;
  line-height: 1.08;
}

.small, .small-400 {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.x-small {
  font-size: 10px;
  font-weight: 400;
  line-height: 16px;
}

/* Keep WordPress admin bar readable while logged in. */
#wpadminbar a.ab-item,
#wpadminbar span.ab-label,
#wpadminbar span.ab-icon::before {
  color: #ffffff !important;
}

#wpadminbar a.ab-item:hover,
#wpadminbar .ab-item:hover span.ab-label,
#wpadminbar .ab-item:hover span.ab-icon::before {
  color: #72aee6 !important;
}

/* Hide default page header spacing where custom templates handle layout. */
body.home .site-main,
body.home #primary,
body.home main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home .entry-header,
body.home .page-header {
  display: none !important;
}

a, a:focus {
  color: #00a1b1
}
a:link {
  color: #00a1b1;
}

/* visited link */
a:visited {
  color: #008894;
}

/* mouse over link */
a:hover {
  color: #008894;
}

/* selected link */
a:active {
  color: #008894;
}

.wc-block-grid__product-title, .woocommerce-loop-product__title {
  font-size: 24px !important;
  text-decoration: none !important;
  color: #008894 !important;
}
.product_title.entry-title {
  text-decoration: none !important;
}
.wc-block-grid__product-link {
  text-decoration: none !important; 
}
.wc-block-grid__product-price.price, .card.type-product span.price {
  font-weight: 600 !important; 
  font-size: 14px !important;
}

/* Hide sidebar and make single product pages full width */
body.single-product #secondary,
body.single-product aside,
body.single-product #primary > main > .row > .col-lg-3 {
	display: none !important;
}
body.single-product #primary > main > .row > .col-lg-9 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

.wc-breadcrumb {
  font-size: 12px !important;
}


/* Account Page */
body.woocommerce-account .woocommerce-MyAccount-navigation a, .woocommerce table.shop_table th {
  font-size: 16px !important;
  font-weight: 500 !important;
}

.woocommerce table.shop_table td {
  font-size: 16px !important;
  font-weight: 300 !important;
}


/* =========================================
   04. ACCESSIBILITY
   ========================================= */

.skip-link.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus {
  position: fixed !important;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  overflow: visible;
  clip: auto;
  color: #ffffff !important;
  background: var(--ddlc-dark);
  border-radius: 0.5rem;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--ddlc-focus);
  outline-offset: 3px;
}

/* =========================================
   05. BUTTONS
   ========================================= */

   .wp-block-button__link.add_to_cart_button.ajax_add_to_cart, .add_to_cart_button, .ajax_add_to_cart, .single_add_to_cart_button  {
    color: #ffffff !important;
    border: none !important;
    background: linear-gradient(0deg, var(--ddlc-orange) 0%, var(--ddlc-orange-light) 100%) !important;
    min-height: 48px;
    border-radius: 0.5rem;
    padding: 0.8rem 1.05rem !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(221, 145, 39, 0.22);
    display: block !important;
}
.single_add_to_cart_button {
  font-weight: 600 !important;

}
.woocommerce div.product form.cart .button {
  flex-grow: 0 !important;
}

.single-product .input-group {
  height: 49.59px !important;
}

.single-product .product_meta {
  font-size: 14px !important
}

.btn-primary {
  color: #ffffff !important;
  border: none !important;
  padding: 14px 25px;
  font-weight: 600;
  background: linear-gradient(0deg, var(--ddlc-orange) 0%, var(--ddlc-orange-light) 100%) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.btn-primary-outline:hover, .single_add_to_cart_button:hover {
  color: #ffffff !important;
  background: linear-gradient(0deg, #c38022 0%, #cb903d 100%) !important;
}

.btn-primary.btn-primary-outline {
  color: #ffffff !important;
  border: none !important;
  outline: 1px solid var(--ddlc-orange);
  outline-offset: 4px;
  padding: 14px 25px;
  font-weight: 600;
}

.btn-outline-primary {
  --bs-btn-color: var(--ddlc-orange);
  --bs-btn-border-color: var(--ddlc-orange);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--ddlc-orange);
  --bs-btn-hover-border-color: var(--ddlc-orange);
  color: var(--ddlc-orange) !important;
  padding: 14px 25px;
}

.btn-dark {
  background-color: #121933;
  border-color: #121933;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: #253469;
  border-color: #253469;
}

.btn-light {
  color: var(--ddlc-dark) !important;
  border: 1px solid var(--ddlc-border);
  padding: 14px 25px;
  font-weight: 600;
  background: #ffffff !important;
}

.btn-light:hover,
.btn-light:focus {
  color: var(--ddlc-green) !important;
  border-color: var(--ddlc-green);
  background: #ffffff !important;
}

.ddlc-front-page .btn,
.ddlc-footer .btn,
.ddlc-standard-page .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.ddlc-front-page .btn-primary,
.ddlc-footer-primary-btn {
  box-shadow: 0 10px 26px rgba(221, 145, 39, 0.22);
}

.ddlc-front-page .btn-primary:hover,
.ddlc-front-page .btn-primary:focus,
.ddlc-footer-primary-btn:hover,
.ddlc-footer-primary-btn:focus {
  transform: translateY(-1px);
}

/* =========================================
   06. HEADER / NAVIGATION
   ========================================= */

#masthead.site-header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid var(--ddlc-border);
  box-shadow: 0 6px 24px rgba(8, 17, 38, 0.06) !important;
  z-index: 1030;
}

#masthead .navbar {
  min-height: 58px;
  background: #ffffff;
}

#masthead .container {
  max-width: 1320px;
}

#masthead .navbar-brand {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#masthead .navbar-brand img {
  display: block;
  width: 112px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

#desktop-nav {
  flex: 1 1 auto;
}

#desktop-nav .navbar-nav {
  align-items: center;
  gap: 0.35rem;
}

#masthead .nav-link {
  color: var(--ddlc-dark) !important;
  font-family: var(--bs-body-font-family);
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  padding: 1.15rem 0.8rem !important;
  border-radius: 0;
  transition: color 0.18s ease, background-color 0.18s ease;
}

#masthead .nav-link:hover,
#masthead .nav-link:focus {
  color: var(--ddlc-green) !important;
}

#masthead .nav-link.show,
#masthead .dropdown:hover > .nav-link {
  color: var(--ddlc-orange) !important;
}

#masthead .dropdown-toggle::after {
  margin-left: 0.4rem;
  vertical-align: 0.12em;
  border-top-color: currentColor;
}

#masthead .dropdown-menu {
  border: 1px solid var(--ddlc-border) !important;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 60px rgba(8, 17, 38, 0.14) !important;
  margin-top: 0 !important;
  padding: 0;
  overflow: hidden;
}

#masthead .dropdown-menu[data-bs-popper] {
  top: 100%;
}

#masthead .dropdown-item {
  color: var(--ddlc-dark) !important;
  font-family: var(--bs-body-font-family);
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  white-space: normal;
}

#masthead .dropdown-item:hover,
#masthead .dropdown-item:focus {
  color: var(--ddlc-green) !important;
  background: var(--ddlc-soft-bg) !important;
}

#masthead .ts-simple-menu {
  min-width: 240px;
}

#masthead .sub-menu-padding {
  padding: 0.8rem 1rem !important;
}

#masthead .ts-mega-menu {
  width: min(1000px, calc(100vw - 2rem));
  min-width: 760px !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  border-radius: 0 0 16px 16px;
  margin-top: 0 !important;
}

#masthead .ts-mega-menu .bg-light {
  background: #ffffff !important;
}

#masthead .ts-mega-menu .bg-dark-blue {
  background: var(--ddlc-navy) !important;
}

#masthead .ts-mega-menu .nav-pills .nav-link {
  color: #ffffff !important;
  padding: 0.95rem 1rem !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  opacity: 0.92;
}

#masthead .ts-mega-menu .nav-pills .nav-link:hover,
#masthead .ts-mega-menu .nav-pills .nav-link:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  opacity: 1;
}

#masthead .ts-mega-menu .nav-pills .nav-link.active {
  color: #ffffff !important;
  background: var(--ddlc-orange) !important;
  opacity: 1;
}

#masthead .ts-mega-menu .tab-content {
  min-height: 270px;
}

#masthead .ts-mega-menu .row {
  --bs-gutter-x: 1.5rem;
}

#masthead .ts-mega-menu p {
  color: var(--ddlc-dark) !important;
}

#masthead .ts-mega-menu .text-secondary,
#offcanvas-navbar .product-header-menu {
  color: var(--ddlc-green) !important;
}

#masthead .ts-mega-menu .border-secondary {
  border-color: rgba(0, 162, 178, 0.35) !important;
}

#masthead .ts-mega-menu ul li {
  margin-bottom: 0.25rem;
}

#masthead .ts-menu-link {
  display: inline-flex;
  align-items: center;
  color: var(--ddlc-dark) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  padding: 0.25rem 0;
}

#masthead .ts-menu-link:hover,
#masthead .ts-menu-link:focus {
  color: var(--ddlc-green) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#masthead .fa-small::before {
  color: var(--ddlc-orange);
  font-size: 7px !important;
  margin-right: 0.45rem;
}

#desktop-actions {
  min-height: 56px;
  gap: 0.85rem !important;
}

#desktop-actions .dropdown-toggle::after {
  display: none;
}

#desktop-actions a:not(.btn),
#desktop-actions button:not(.btn) {
  color: var(--ddlc-dark) !important;
  font-weight: 600;
}

#desktop-actions a:not(.btn):hover,
#desktop-actions a:not(.btn):focus,
#desktop-actions button:not(.btn):hover,
#desktop-actions button:not(.btn):focus {
  color: var(--ddlc-green) !important;
}

#desktop-actions .icon-tap-target {
  border-radius: 0.45rem;
}

#desktop-actions .icon-tap-target:hover,
#desktop-actions .icon-tap-target:focus {
  background: var(--ddlc-soft-bg);
}

#desktop-actions a[aria-label='Account'],
#desktop-actions a[href*='my-account'],
#desktop-actions a[href*='account'] {
  gap: 0.35rem;
}

.icon-tap-target {
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.icon-tap-target i {
  font-size: 16px;
}

.fa-solid.fa-magnifying-glass.text-white::before,
#mobile-toggler i::before {
  color: #ffffff !important;
}

#home-search {
  min-width: 330px;
  border-radius: 12px !important;
}

#home-search .form-control {
  min-height: 44px;
  border-color: var(--ddlc-border);
  font-size: 15px;
}

#home-search .form-control:focus,
#offcanvas-navbar .form-control:focus,
#offcanvas-navbar form[role='search'] .form-control:focus {
  border-color: var(--ddlc-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 162, 178, 0.18);
}

#home-search .search_btn1 {
  min-width: 46px;
  min-height: 44px;
  padding: 0.5rem 0.75rem !important;
}

#masthead .btn-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(221, 145, 39, 0.22);
}

#translate-ts-dropdown .ts-lang-btn,
#masthead .ts-lang-btn {
  color: var(--ddlc-dark) !important;
  min-height: 48px;
  padding: 0.55rem 0.85rem !important;
  border: 1px solid var(--ddlc-border) !important;
  border-radius: 0.5rem;
  background: #ffffff !important;
}

#translate-ts-dropdown .ts-lang-btn:hover,
#translate-ts-dropdown .ts-lang-btn:focus,
#masthead .ts-lang-btn:hover,
#masthead .ts-lang-btn:focus {
  border-color: var(--ddlc-green) !important;
  color: var(--ddlc-green) !important;
}

#masthead .ts-lang-btn img {
  border-radius: 2px;
}

#masthead .ts-lang-menu {
  max-height: 320px !important;
  overflow-y: auto !important;
  min-width: 230px !important;
  border-radius: 12px !important;
}

#masthead .ts-lang-menu .dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.6rem !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  padding: 0.65rem 0.9rem !important;
}

#masthead .ts-lang-menu img,
#masthead .ts-lang-btn img,
#masthead img.lang-flag {
  width: 20px !important;
  max-width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

#translate-ts-dropdown .dropdown-menu[data-bs-popper] {
  right: 0 !important;
  left: auto !important;
}

#mobile-toggler {
  min-width: 48px;
  min-height: 48px;
  border-radius: 0.45rem;
  padding: 0 !important;
}

#offcanvas-navbar {
  width: min(92vw, 420px);
}

#offcanvas-navbar .offcanvas-header {
  min-height: 72px;
  border-bottom: 1px solid var(--ddlc-border);
  background: #ffffff !important;
}

#offcanvas-navbar .offcanvas-header img {
  width: 140px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

#offcanvas-navbar .btn-close:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 162, 178, 0.25);
}

#offcanvas-navbar .mobile-nav-links {
  background: #ffffff;
}

#offcanvas-navbar .nav-link {
  color: var(--ddlc-dark) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  padding: 1rem 1.15rem !important;
  border-bottom: 1px solid var(--ddlc-border) !important;
}

#offcanvas-navbar .nav-link:hover,
#offcanvas-navbar .nav-link:focus {
  color: var(--ddlc-green) !important;
  background: var(--ddlc-soft-bg) !important;
}

#offcanvas-navbar .collapse .bg-light {
  background: var(--ddlc-soft-bg) !important;
}

#offcanvas-navbar .dropdown-item {
  color: var(--ddlc-dark) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 0.55rem 0.8rem !important;
}

#offcanvas-navbar .dropdown-item:hover,
#offcanvas-navbar .dropdown-item:focus {
  color: var(--ddlc-green) !important;
  background: #ffffff !important;
}

#offcanvas-navbar .product-header-menu {
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#offcanvas-navbar .transition-icon {
  transition: transform 0.2s ease;
}

#offcanvas-navbar button[aria-expanded='true'] .transition-icon {
  transform: rotate(90deg);
}

#offcanvas-navbar .form-control,
#offcanvas-navbar form[role='search'] .form-control {
  min-height: 46px;
  border-color: var(--ddlc-border);
}

#masthead a:focus-visible,
#masthead button:focus-visible,
#masthead input:focus-visible,
#offcanvas-navbar a:focus-visible,
#offcanvas-navbar button:focus-visible,
#offcanvas-navbar input:focus-visible {
  outline: 3px solid var(--ddlc-focus) !important;
  outline-offset: 3px;
  box-shadow: none !important;
}

@media (min-width: 1200px) {
  #masthead .navbar-brand {
    margin-right: 2.75rem !important;
  }
}

@media (max-width: 1399.98px) {
  #masthead .nav-link {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

  #masthead .btn-primary {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
}

@media (max-width: 1199.98px) {
  #masthead .navbar {
    min-height: 66px;
  }

  #masthead .navbar-brand img {
    width: 108px;
    max-height: 40px;
  }

  #mobile-toggler {
    margin-right: 0.75rem !important;
  }

  #desktop-actions {
    margin-left: auto;
  }

  #desktop-actions .dropdown:not(:first-child),
  #desktop-actions .btn-primary,
  #translate-ts-dropdown {
    display: none !important;
  }

  #desktop-actions .dropdown:first-child {
    display: flex !important;
  }
}

@media (max-width: 575.98px) {
  #masthead .navbar {
    min-height: 60px;
  }

  #masthead .navbar-brand img {
    width: 98px;
    max-height: 38px;
  }

  #desktop-actions .dropdown:first-child {
    display: none !important;
  }

  #masthead .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

/* =========================================
   07. GOOGLE TRANSLATE OVERRIDES
   ========================================= */

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.skiptranslate,
.goog-te-gadget-icon,
.VIpgJd-ZVi9od-ORHb,
iframe.goog-te-banner-frame,
iframe.goog-te-menu-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  top: 0 !important;
  position: static !important;
}

#google_translate_element,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

/* =========================================
   08. SHARED DDLC LAYOUT SYSTEM
   ========================================= */

.ddlc-standard-page,
.ddlc-front-page,
.ddlc-plugins-page,
.ddlc-pricing-page,
.ddlc-custom-build-page,
.ddlc-performance-page,
.ddlc-solutions-page,
.ddlc-free-plugins-page,
.ddlc-docs-page,
.ddlc-support-page,
.ddlc-contact-page,
.ddlc-about-page,
.ddlc-why-page,
.ddlc-standards-page,
.ddlc-roadmap-page,
.ddlc-changelog-page,
.ddlc-tutorials-page,
.ddlc-comparisons-page,
.ddlc-security-page {
  background: #ffffff;
}

.ddlc-standard-page .container,
.ddlc-front-page .container,
.ddlc-plugins-page .container,
.ddlc-pricing-page .container,
.ddlc-custom-build-page .container,
.ddlc-performance-page .container,
.ddlc-solutions-page .container,
.ddlc-free-plugins-page .container,
.ddlc-docs-page .container,
.ddlc-support-page .container,
.ddlc-contact-page .container,
.ddlc-about-page .container,
.ddlc-why-page .container,
.ddlc-standards-page .container,
.ddlc-roadmap-page .container,
.ddlc-changelog-page .container,
.ddlc-tutorials-page .container,
.ddlc-comparisons-page .container,
.ddlc-security-page .container {
  max-width: 1320px;
}

/* Shared hero. Use this on every new page instead of page-name-specific hero classes. */
.ddlc-standard-hero,
.ddlc-home-hero,
.ddlc-plugins-hero,
.ddlc-pricing-hero,
.ddlc-custom-hero,
.ddlc-performance-hero,
.ddlc-solutions-hero,
.ddlc-free-plugins-hero,
.ddlc-docs-hero,
.ddlc-support-hero,
.ddlc-contact-hero,
.ddlc-about-hero,
.ddlc-why-hero,
.ddlc-standards-hero,
.ddlc-roadmap-hero,
.ddlc-changelog-hero,
.ddlc-tutorials-hero,
.ddlc-comparisons-hero {
  color: #ffffff;
  padding: 4.25rem 0 4rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 162, 178, 0.28), transparent 32%),
    linear-gradient(135deg, #061226 0%, #0b1c3e 58%, #081126 100%);
}

.ddlc-standard-hero-card,
.ddlc-home-hero-card,
.ddlc-plugins-hero-card,
.ddlc-custom-hero-card,
.ddlc-final-cta-inner {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--ddlc-radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.ddlc-standard-hero-card h1,
.ddlc-home-hero h1,
.ddlc-plugins-hero h1,
.ddlc-pricing-hero-card h1,
.ddlc-custom-hero h1,
.ddlc-performance-hero-card h1,
.ddlc-solutions-hero-card h1,
.ddlc-free-plugins-hero-card h1,
.ddlc-docs-hero-card h1,
.ddlc-support-hero-card h1,
.ddlc-contact-hero-card h1,
.ddlc-about-hero-card h1,
.ddlc-why-hero-card h1,
.ddlc-standards-hero-card h1,
.ddlc-roadmap-hero-card h1,
.ddlc-changelog-hero-card h1,
.ddlc-tutorials-hero-card h1,
.ddlc-comparisons-hero-card h1 {
  color: #ffffff;
  font-family: var(--bs-heading-font-family);
  font-size: clamp(2.35rem, 4vw, 3.8rem) !important;
  font-weight: 600 !important;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.ddlc-home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem) !important;
  line-height: 1.02;
}

.ddlc-standard-hero-copy,
.ddlc-hero-copy,
.ddlc-plugins-hero-copy,
.ddlc-custom-hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  max-width: 740px;
  margin-bottom: 1.6rem;
}

.ddlc-eyebrow {
  color: var(--ddlc-orange-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ddlc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

.ddlc-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.ddlc-section--white {
  background: #ffffff;
}

.ddlc-section--soft {
  background: var(--ddlc-soft-bg);
}

.ddlc-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.ddlc-section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.ddlc-section-heading h2,
.ddlc-why-section h2,
.ddlc-split-card h2,
.ddlc-speed-callout-card h2,
.ddlc-proof-card h2 {
  color: var(--ddlc-dark);
  font-family: var(--bs-heading-font-family);
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 600 !important;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.ddlc-section-heading p,
.ddlc-large-copy,
.ddlc-split-card p,
.ddlc-category-card p,
.ddlc-plugin-card p,
.ddlc-resource-card p,
.ddlc-card p,
.ddlc-proof-card p,
.ddlc-speed-callout-card p {
  color: var(--ddlc-muted);
  line-height: 1.65;
}

/* Shared cards. Use .ddlc-card for all new simple card blocks. */
.ddlc-card,
.ddlc-category-card,
.ddlc-plugin-card,
.ddlc-resource-card,
.ddlc-split-card,
.ddlc-empty-card,
.ddlc-pricing-card,
.ddlc-license-step,
.ddlc-proof-card,
.ddlc-roadmap-card,
.ddlc-roadmap-item,
.ddlc-changelog-card,
.ddlc-changelog-item,
.ddlc-tutorial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ddlc-border);
  border-radius: var(--ddlc-radius);
  background: #ffffff;
  padding: 1.35rem;
  text-decoration: none;
  box-shadow: var(--ddlc-shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ddlc-card:hover,
.ddlc-card:focus,
.ddlc-category-card:hover,
.ddlc-category-card:focus,
.ddlc-plugin-card:hover,
.ddlc-resource-card:hover,
.ddlc-pricing-card:hover,
.ddlc-license-step:hover,
.ddlc-roadmap-card:hover,
.ddlc-roadmap-item:hover,
.ddlc-changelog-card:hover,
.ddlc-changelog-item:hover,
.ddlc-tutorial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 162, 178, 0.35);
  box-shadow: var(--ddlc-shadow-lg);
}

.ddlc-card h3,
.ddlc-category-card h3,
.ddlc-plugin-card h3,
.ddlc-resource-card h3,
.ddlc-roadmap-card h3,
.ddlc-roadmap-item h3,
.ddlc-changelog-card h3,
.ddlc-changelog-item h3,
.ddlc-tutorial-card h3 {
  color: var(--ddlc-dark);
  font-size: 1.2rem !important;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.ddlc-pricing-card h3,
.ddlc-license-step h3 {
  color: var(--ddlc-dark);
  font-size: 1.45rem !important;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.ddlc-plugin-card h3 a,
.ddlc-resource-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ddlc-plugin-card h3 a:hover,
.ddlc-resource-card h3 a:hover {
  color: var(--ddlc-green);
}

/* Shared icon / number heading. Use this everywhere green boxes or numbered boxes appear. */
.ddlc-icon-heading,
.ddlc-category-card-heading,
.ddlc-license-step-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.ddlc-card-icon,
.ddlc-license-step-number,
.ddlc-proof-icon {
  width: 2.65rem;
  height: 2.65rem;
  min-width: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ddlc-orange), var(--ddlc-green));
  box-shadow: 0 12px 28px rgba(0, 162, 178, 0.16);
  margin-bottom: 0 !important;
  font-size: 0.85rem;
  font-weight: 900;
}

.ddlc-card-icon i::before,
.ddlc-proof-icon i::before {
  color: #ffffff !important;
  font-size: 1rem;
}

.ddlc-icon-heading h2,
.ddlc-icon-heading h3,
.ddlc-category-card-heading h2,
.ddlc-category-card-heading h3,
.ddlc-license-step-heading h2,
.ddlc-license-step-heading h3 {
  margin-bottom: 0 !important;
}

/* Shared grid sizes. */
.ddlc-step-grid {
  display: grid;
  gap: 1rem;
}

.ddlc-step-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ddlc-step-grid--3,
.ddlc-license-step-grid,
.ddlc-free-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ddlc-step-grid--4,
.ddlc-standards-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ddlc-custom-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Shared panel/list preview used inside hero. */
.ddlc-hero-panel,
.ddlc-plugin-finder-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--ddlc-radius);
  background: #061226;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ddlc-hero-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 162, 178, 0.42);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.ddlc-hero-panel-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.ddlc-hero-panel-top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--ddlc-orange);
}

.ddlc-hero-panel-top span:nth-child(2) {
  background: var(--ddlc-green);
}

.ddlc-hero-panel-top span:nth-child(3) {
  background: rgba(255, 255, 255, 0.55);
}

.ddlc-hero-panel-body {
  padding: 1.1rem;
}

.ddlc-code-line,
.ddlc-plugin-finder-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ddlc-plugin-finder-row {
  padding: 1rem 1.1rem;
}

.ddlc-code-line:last-child,
.ddlc-plugin-finder-row:last-child {
  border-bottom: 0;
}

.ddlc-code-line span,
.ddlc-plugin-finder-row span {
  color: var(--ddlc-green) !important;
  font-weight: 800;
}

.ddlc-code-line strong,
.ddlc-plugin-finder-row strong {
  color: rgba(255, 255, 255, 0.86);
  text-align: right;
}

/* Shared links and card footers. */
.ddlc-card-link,
.ddlc-text-link {
  color: var(--ddlc-orange) !important;
  font-weight: 800;
  text-decoration: none;
}

.ddlc-card-link:hover,
.ddlc-card-link:focus,
.ddlc-text-link:hover,
.ddlc-text-link:focus {
  color: var(--ddlc-green) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ddlc-category-card p {
  flex: 1 1 auto;
}

.ddlc-card-footer-link {
  display: inline-flex;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 1rem;
}

.ddlc-plugin-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(0, 162, 178, 0.08);
  color: var(--ddlc-green) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.55rem;
}

.ddlc-plugin-price {
  color: var(--ddlc-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.ddlc-split-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.ddlc-split-card-light {
  background: linear-gradient(135deg, rgba(221, 145, 39, 0.08), rgba(0, 162, 178, 0.08));
}

.ddlc-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ddlc-inline-links a {
  color: var(--ddlc-dark);
  font-weight: 800;
  border: 1px solid var(--ddlc-border);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.ddlc-inline-links a:hover,
.ddlc-inline-links a:focus {
  color: var(--ddlc-green);
  border-color: var(--ddlc-green);
}

/* Shared check and tag lists. */
.ddlc-check-list,
.ddlc-pricing-list,
.ddlc-roadmap-stage-list,
.ddlc-changelog-check-list,
.ddlc-tutorial-check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.ddlc-check-list li,
.ddlc-pricing-list li,
.ddlc-roadmap-stage-list li,
.ddlc-changelog-check-list li,
.ddlc-tutorial-check-list li {
  position: relative;
  color: var(--ddlc-dark);
  line-height: 1.45;
  padding-left: 1.55rem;
  margin-bottom: 0.7rem;
}

.ddlc-check-list li::before,
.ddlc-pricing-list li::before,
.ddlc-roadmap-stage-list li::before,
.ddlc-changelog-check-list li::before,
.ddlc-tutorial-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ddlc-green);
  font-size: 0.68rem;
  font-weight: 800;
}

.ddlc-tag-list,
.ddlc-plugin-tag-list,
.ddlc-roadmap-tag-list,
.ddlc-changelog-tag-list,
.ddlc-tutorial-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.ddlc-tag-list li,
.ddlc-plugin-tag-list li,
.ddlc-roadmap-tag-list li,
.ddlc-changelog-tag-list li,
.ddlc-tutorial-tag-list li {
  color: var(--ddlc-dark);
  border: 1px solid var(--ddlc-border);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.35rem 0.58rem;
}

.ddlc-directory-plugin-card .ddlc-plugin-meta-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 1rem;
}

.ddlc-directory-plugin-card .ddlc-plugin-meta-list li {
  color: var(--ddlc-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.45rem;
  padding-left: 1.35rem;
  position: relative;
}

.ddlc-directory-plugin-card .ddlc-plugin-meta-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: var(--ddlc-green);
  font-weight: 900;
}

/* Hero benefit card/list. */
.ddlc-hero-benefits-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--ddlc-radius);
  padding: 1.1rem 1.25rem;
}

.ddlc-hero-trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ddlc-hero-trust-list li {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.1rem 0 0.1rem 1.85rem;
}

.ddlc-hero-trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ddlc-green);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

/* Shared check grid. */
.ddlc-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ddlc-check-grid > div {
  border: 1px solid var(--ddlc-border);
  border-radius: var(--ddlc-radius);
  padding: 1.2rem;
  background: #ffffff;
}

.ddlc-check-grid strong {
  display: block;
  color: var(--ddlc-dark);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.ddlc-check-grid span {
  display: block;
  color: var(--ddlc-muted);
  line-height: 1.55;
}

/* Shared callout card. */
.ddlc-speed-callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(0, 162, 178, 0.18);
  border-radius: var(--ddlc-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at top left, rgba(0, 162, 178, 0.1), transparent 35%),
    #ffffff;
  box-shadow: 0 18px 50px rgba(8, 17, 38, 0.06);
}

.ddlc-speed-callout-card p:last-of-type {
  max-width: 780px;
  margin-bottom: 0;
}

/* Shared accordions. */
.ddlc-pricing-accordion .accordion-item {
  border: 1px solid var(--ddlc-border);
  border-radius: var(--ddlc-radius) !important;
  overflow: hidden;
  margin-bottom: 0.85rem;
  box-shadow: var(--ddlc-shadow-sm);
}

.ddlc-pricing-accordion .accordion-button {
  color: var(--ddlc-dark);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 1.15rem 1.25rem;
  box-shadow: none !important;
}

.ddlc-pricing-accordion .accordion-button:not(.collapsed) {
  color: var(--ddlc-green);
  background: rgba(0, 162, 178, 0.06);
}

.ddlc-pricing-accordion .accordion-button:focus {
  border-color: var(--ddlc-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 162, 178, 0.18) !important;
}

.ddlc-pricing-accordion .accordion-body {
  color: var(--ddlc-muted);
  line-height: 1.65;
  padding: 1.1rem 1.25rem 1.25rem;
}

/* Shared final CTA. */
.ddlc-final-cta {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
  background: #ffffff;
}

.ddlc-final-cta-inner {
  max-width: 980px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 162, 178, 0.28), transparent 32%),
    linear-gradient(135deg, #061226 0%, #0b1c3e 58%, #081126 100%);
}

.ddlc-final-cta .ddlc-eyebrow {
  margin-bottom: 1rem;
}

.ddlc-final-cta .ddlc-hero-actions {
  margin-bottom: 0;
}

.ddlc-final-cta h2 {
  color: #ffffff;
  font-family: var(--bs-heading-font-family);
  font-size: clamp(2.4rem, 5vw, 4.3rem) !important;
  font-weight: 600 !important;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.ddlc-final-cta-copy {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 1.6rem;
}

/* Form styles. */
.ddlc-contact-form-card {
  border: 1px solid var(--ddlc-border);
  border-radius: 1.15rem;
  background: #ffffff;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: 0 20px 55px rgba(8, 17, 38, 0.07);
}

.ddlc-contact-form-card input[type='text'],
.ddlc-contact-form-card input[type='email'],
.ddlc-contact-form-card input[type='tel'],
.ddlc-contact-form-card input[type='url'],
.ddlc-contact-form-card select,
.ddlc-contact-form-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ddlc-border);
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  color: var(--ddlc-dark);
  background: #ffffff;
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
}

.ddlc-contact-form-card textarea {
  min-height: 150px;
}

.ddlc-contact-form-card input:focus,
.ddlc-contact-form-card select:focus,
.ddlc-contact-form-card textarea:focus {
  border-color: var(--ddlc-green);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 162, 178, 0.18);
}

.ddlc-contact-form-card label {
  color: var(--ddlc-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ddlc-contact-form-card input[type='submit'],
.ddlc-contact-form-card button[type='submit'] {
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 0.55rem;
  padding: 0.8rem 1.15rem;
  font-weight: 800;
  background: linear-gradient(0deg, var(--ddlc-orange) 0%, var(--ddlc-orange-light) 100%) !important;
}

.ddlc-form-placeholder {
  border: 1px dashed rgba(0, 162, 178, 0.45);
  border-radius: var(--ddlc-radius);
  background: rgba(0, 162, 178, 0.05);
  padding: 1.5rem;
}

.ddlc-form-placeholder h3 {
  margin-bottom: 0.65rem;
}

.ddlc-form-placeholder code {
  display: block;
  color: var(--ddlc-dark);
  background: #ffffff;
  border: 1px solid var(--ddlc-border);
  border-radius: 0.6rem;
  padding: 0.8rem;
  white-space: normal;
}

.ddlc-two-column-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin-top: 0;
}

.ddlc-proof-list-card,
.ddlc-deliverable-card {
  border: 1px solid var(--ddlc-border);
  border-radius: 1.15rem;
  background: #ffffff;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 18px 48px rgba(8, 17, 38, 0.06);
}

.ddlc-deliverable-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1.2rem;
  margin-top: 0;
}

/* Utility colors. */
.text-primary,
.blue-link,
.text-ddlc-orange {
  color: var(--ddlc-orange) !important;
}

.text-secondary,
.text-ddlc-green {
  color: var(--ddlc-green) !important;
}

.bg-primary,
.bg-ddlc-orange {
  background-color: var(--ddlc-orange) !important;
}

.bg-secondary,
.bg-ddlc-green {
  background-color: var(--ddlc-green) !important;
}

.bg-ddlc-navy {
  background-color: var(--ddlc-navy) !important;
}

.text-gray,
.text-ddlc-muted {
  color: var(--ddlc-muted) !important;
}

.white-link {
  color: #ffffff !important;
}

.white-link:hover,
.white-link:focus {
  color: #e4e4e4 !important;
}

.smart-footer-list li {
  margin-bottom: 10px;
}

/* Responsive shared system. */
@media (min-width: 992px) {
  .ddlc-home-hero h1 {
    font-size: clamp(2.75rem, 4.15vw, 3.9rem) !important;
    max-width: 780px;
  }

  .ddlc-home-hero-card {
    padding: clamp(2rem, 4vw, 3.35rem);
  }
}

@media (max-width: 1199.98px) {
  .ddlc-step-grid--4,
  .ddlc-standards-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ddlc-standard-hero,
  .ddlc-home-hero,
  .ddlc-plugins-hero,
  .ddlc-pricing-hero,
  .ddlc-custom-hero,
  .ddlc-performance-hero,
  .ddlc-solutions-hero,
  .ddlc-free-plugins-hero,
  .ddlc-docs-hero,
  .ddlc-support-hero,
  .ddlc-contact-hero,
  .ddlc-about-hero,
  .ddlc-why-hero,
  .ddlc-standards-hero,
  .ddlc-roadmap-hero,
  .ddlc-changelog-hero,
  .ddlc-tutorials-hero,
  .ddlc-comparisons-hero {
    padding: 3rem 0;
  }

  .ddlc-step-grid--2,
  .ddlc-step-grid--3,
  .ddlc-step-grid--4,
  .ddlc-license-step-grid,
  .ddlc-free-step-grid,
  .ddlc-standards-step-grid,
  .ddlc-custom-process-grid,
  .ddlc-check-grid,
  .ddlc-two-column-checks,
  .ddlc-deliverable-list {
    grid-template-columns: 1fr;
  }

  .ddlc-hero-panel {
    margin-top: 0.5rem;
  }

  .ddlc-speed-callout-card {
    display: block;
  }

  .ddlc-speed-callout-card .btn {
    margin-top: 1.25rem;
  }

  .ddlc-standard-hero-card h1,
  .ddlc-pricing-hero-card h1,
  .ddlc-performance-hero-card h1,
  .ddlc-solutions-hero-card h1,
  .ddlc-free-plugins-hero-card h1,
  .ddlc-docs-hero-card h1,
  .ddlc-support-hero-card h1,
  .ddlc-contact-hero-card h1,
  .ddlc-about-hero-card h1,
  .ddlc-why-hero-card h1,
  .ddlc-standards-hero-card h1,
  .ddlc-roadmap-hero-card h1,
  .ddlc-changelog-hero-card h1,
  .ddlc-tutorials-hero-card h1,
  .ddlc-comparisons-hero-card h1 {
    font-size: 2.4rem !important;
  }

  .ddlc-hero-trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ddlc-home-hero {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
  }

  .ddlc-home-hero h1 {
    font-size: 2rem !important;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .ddlc-hero-copy,
  .ddlc-final-cta-copy {
    font-size: 0.98rem;
    line-height: 1.58;
  }
}

@media (max-width: 575.98px) {
  .ddlc-standard-hero,
  .ddlc-home-hero,
  .ddlc-plugins-hero,
  .ddlc-pricing-hero,
  .ddlc-custom-hero,
  .ddlc-performance-hero,
  .ddlc-solutions-hero,
  .ddlc-free-plugins-hero,
  .ddlc-docs-hero,
  .ddlc-support-hero,
  .ddlc-contact-hero,
  .ddlc-about-hero,
  .ddlc-why-hero,
  .ddlc-standards-hero,
  .ddlc-roadmap-hero,
  .ddlc-changelog-hero,
  .ddlc-tutorials-hero,
  .ddlc-comparisons-hero {
    padding: 2.4rem 0;
  }

  .ddlc-standard-hero-card,
  .ddlc-home-hero-card,
  .ddlc-plugins-hero-card,
  .ddlc-custom-hero-card,
  .ddlc-final-cta-inner {
    border-radius: var(--ddlc-radius);
    padding: 1.25rem;
  }

  .ddlc-standard-hero-card h1,
  .ddlc-plugins-hero h1,
  .ddlc-custom-hero h1,
  .ddlc-pricing-hero-card h1,
  .ddlc-performance-hero-card h1,
  .ddlc-solutions-hero-card h1,
  .ddlc-free-plugins-hero-card h1,
  .ddlc-docs-hero-card h1,
  .ddlc-support-hero-card h1,
  .ddlc-contact-hero-card h1,
  .ddlc-about-hero-card h1,
  .ddlc-why-hero-card h1,
  .ddlc-standards-hero-card h1,
  .ddlc-roadmap-hero-card h1,
  .ddlc-changelog-hero-card h1,
  .ddlc-tutorials-hero-card h1,
  .ddlc-comparisons-hero-card h1 {
    font-size: 2rem !important;
    line-height: 1.08;
  }

  .ddlc-home-hero h1,
  .ddlc-final-cta h2 {
    font-size: 2.15rem !important;
  }

  .ddlc-hero-actions .btn {
    width: 100%;
  }

  .ddlc-hero-benefits-card {
    border-radius: 0.9rem;
    padding: 1rem;
  }

  .ddlc-code-line,
  .ddlc-plugin-finder-row {
    display: block;
  }

  .ddlc-code-line strong,
  .ddlc-plugin-finder-row strong {
    display: block;
    text-align: left;
    margin-top: 0.25rem;
  }

  .ddlc-section {
    padding: 2.75rem 0;
  }

  .ddlc-card,
  .ddlc-category-card,
  .ddlc-plugin-card,
  .ddlc-resource-card,
  .ddlc-split-card,
  .ddlc-empty-card,
  .ddlc-pricing-card,
  .ddlc-license-step,
  .ddlc-proof-card,
  .ddlc-roadmap-card,
  .ddlc-roadmap-item,
  .ddlc-changelog-card,
  .ddlc-changelog-item,
  .ddlc-tutorial-card,
  .ddlc-speed-callout-card,
  .ddlc-contact-form-card {
    border-radius: var(--ddlc-radius);
    padding: 1.2rem;
  }

  .ddlc-card-footer-link {
    padding-top: 0.75rem;
  }

  .ddlc-icon-heading,
  .ddlc-category-card-heading,
  .ddlc-license-step-heading {
    align-items: flex-start;
  }

  .ddlc-final-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* =========================================
   09. FOOTER
   ========================================= */

.ddlc-footer {
  background: radial-gradient(circle at top left, rgba(0, 162, 178, 0.18), transparent 32%), linear-gradient(180deg, #0b1c3e 0%, #081126 100%);
  color: #ffffff;
  padding: 4rem 0 2rem;
}

.ddlc-footer a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.ddlc-footer a:hover,
.ddlc-footer a:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ddlc-footer a:focus-visible,
.ddlc-footer button:focus-visible,
.ddlc-footer input:focus-visible {
  outline: 3px solid var(--ddlc-green);
  outline-offset: 3px;
  box-shadow: none !important;
}

.ddlc-footer-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ddlc-radius-lg);
  padding: 2rem;
  margin-bottom: 3.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.ddlc-footer-eyebrow {
  color: var(--ddlc-orange-light) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ddlc-footer-cta-title {
  color: #ffffff !important;
  font-family: var(--bs-heading-font-family);
  font-size: clamp(1.75rem, 3vw, 2.55rem) !important;
  font-weight: 600 !important;
  line-height: 1.08;
  max-width: 720px;
}

.ddlc-footer-cta-copy {
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 760px;
  line-height: 1.6;
}

.ddlc-footer-primary-btn,
.ddlc-footer-secondary-btn, .btn-outline-light {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 1rem 1rem 0.8rem 1rem;
  margin: 0.25rem 0 0.25rem 0.5rem;
}

.ddlc-footer-primary-btn {
  background: linear-gradient(0deg, var(--ddlc-orange) 0%, var(--ddlc-orange-light) 100%);
  color: #ffffff !important;
  border: 0;
}

.ddlc-footer-primary-btn:hover,
.ddlc-footer-primary-btn:focus {
  background: linear-gradient(0deg, #c38022 0%, #dc9b42 100%);
  color: #ffffff !important;
  text-decoration: none !important;
}

.ddlc-footer-secondary-btn, .btn-outline-light {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.32);
}

.ddlc-footer-secondary-btn:hover, .ddlc-footer-secondary-btn:focus, .btn-outline-light:hover, .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.58);
  color: #ffffff !important;
  text-decoration: none !important;
}

.ddlc-footer-main {
  padding-bottom: 2.5rem;
}

.ddlc-footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}

.ddlc-footer-logo {
  width: 85px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.ddlc-footer-brand-copy {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 1.25rem;
}

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

.ddlc-footer-trust-list li {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.55rem;
  padding-left: 1.35rem;
  position: relative;
}

.ddlc-footer-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--ddlc-green);
}

.ddlc-footer-heading {
  color: #ffffff !important;
  font-family: var(--bs-body-font-family) !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.ddlc-footer-links {
  margin: 0;
  padding: 0;
}

.ddlc-footer-links li {
  margin-bottom: 0.68rem;
}

.ddlc-footer-links a {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}

.ddlc-footer-links a:hover,
.ddlc-footer-links a:focus {
  color: #ffffff !important;
}

.ddlc-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.35rem;
}

.ddlc-footer-copyright {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ddlc-footer-legal-links li {
  margin: 0.15rem 0 0.15rem 1rem;
}

.ddlc-footer-legal-links a {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.88rem;
  font-weight: 500;
}

.ddlc-footer-legal-links a:hover,
.ddlc-footer-legal-links a:focus {
  color: #ffffff !important;
}

@media (max-width: 991.98px) {
  .ddlc-footer {
    padding-top: 3rem;
  }

  .ddlc-footer-cta {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .ddlc-footer-primary-btn,
  .ddlc-footer-secondary-btn, .btn-outline-light {
    width: 100%;
    margin: 0.5rem 0 0;
  }

  .ddlc-footer-brand-copy {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .ddlc-footer {
    padding-top: 2.25rem !important;
  }

  .ddlc-footer-cta {
    padding: 1.25rem !important;
    margin-bottom: 2rem !important;
  }

  .ddlc-footer-cta-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }

  .ddlc-footer-cta-copy {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .ddlc-footer-logo {
    max-width: 120px;
    margin-bottom: 1rem;
  }

  .ddlc-footer-column {
    margin-bottom: 1.5rem;
  }

  .ddlc-footer-heading {
    margin-bottom: 0.75rem;
  }

  .ddlc-footer-links li {
    margin-bottom: 0.55rem;
  }

  .ddlc-footer-bottom {
    text-align: center;
    gap: 1rem;
  }

  .ddlc-footer-legal,
  .ddlc-footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .ddlc-footer {
    padding: 2.5rem 0 1.6rem;
  }

  .ddlc-footer-cta {
    border-radius: var(--ddlc-radius);
    padding: 1.25rem;
  }

  .ddlc-footer-logo {
    width: 132px;
  }

  .ddlc-footer-legal-links li {
    display: block;
    margin: 0.45rem 0;
  }
}

/* =========================================
   10. PAGE-SPECIFIC LIGHT OVERRIDES / LEGACY ALIASES
   Keep this small. Use shared classes for all new pages.
   ========================================= */

/* Homepage section backgrounds. */
.ddlc-category-section,
.ddlc-resources-section,
.ddlc-why-section,
.ddlc-plugins-final-cta,
.ddlc-custom-fit-section,
.ddlc-custom-build-types-section,
.ddlc-speed-callout-section,
.ddlc-custom-final-cta,
.ddlc-performance-focus-section,
.ddlc-performance-deliverables-section,
.ddlc-performance-split-section,
.ddlc-solutions-path-section,
.ddlc-solutions-fit-section,
.ddlc-free-path-section,
.ddlc-free-split-section,
.ddlc-free-final-cta,
.ddlc-docs-browse-section,
.ddlc-docs-proof-section,
.ddlc-docs-final-cta,
.ddlc-support-path-section,
.ddlc-support-detail-section,
.ddlc-support-final-cta,
.ddlc-contact-path-section,
.ddlc-contact-form-section,
.ddlc-contact-faq-section,
.ddlc-about-focus-section,
.ddlc-about-proof-section,
.ddlc-about-faq-section,
.ddlc-why-reasons-section,
.ddlc-why-standards-section,
.ddlc-why-faq-section,
.ddlc-standards-principles-section,
.ddlc-standards-checks-section,
.ddlc-standards-faq-section,
.ddlc-roadmap-focus-section,
.ddlc-roadmap-faq-section,
.ddlc-changelog-types-section,
.ddlc-changelog-faq-section,
.ddlc-tutorial-topic-section,
.ddlc-tutorial-faq-section,
.ddlc-comparison-path-section,
.ddlc-comparison-faq-section,
.ddlc-security-topics-section,
.ddlc-security-checks-section,
.ddlc-security-faq-section {
  background: #ffffff;
}

.ddlc-featured-section,
.ddlc-split-section,
.ddlc-plugin-directory-section,
.ddlc-license-section,
.ddlc-service-pricing-section,
.ddlc-pricing-faq-section,
.ddlc-custom-process-section,
.ddlc-custom-value-section,
.ddlc-custom-faq-section,
.ddlc-performance-process-section,
.ddlc-solutions-process-section,
.ddlc-solutions-split-section,
.ddlc-free-plugin-list-section,
.ddlc-free-process-section,
.ddlc-docs-library-section,
.ddlc-docs-process-section,
.ddlc-docs-faq-section,
.ddlc-support-process-section,
.ddlc-support-split-section,
.ddlc-support-faq-section,
.ddlc-contact-process-section,
.ddlc-contact-split-section,
.ddlc-about-process-section,
.ddlc-about-split-section,
.ddlc-why-process-section,
.ddlc-why-split-section,
.ddlc-standards-process-section,
.ddlc-standards-split-section,
.ddlc-roadmap-process-section,
.ddlc-roadmap-priority-section,
.ddlc-changelog-process-section,
.ddlc-changelog-list-section,
.ddlc-tutorial-library-section,
.ddlc-tutorial-process-section,
.ddlc-tutorial-checklist-section,
.ddlc-comparison-library-section,
.ddlc-decision-process-section,
.ddlc-comparison-split-section,
.ddlc-security-process-section,
.ddlc-security-services-section {
  background: var(--ddlc-soft-bg);
}

.ddlc-security-page .ddlc-check-grid {
  box-shadow: 0 18px 50px rgba(8, 17, 38, 0.06);
}

/* Legacy page-specific step grids until templates are cleaned. */
[class^='ddlc-'][class$='-step-grid'],
[class*=' ddlc-'][class$='-step-grid'] {
  display: grid;
  gap: 1rem;
}

/* These are the only special grid counts still worth keeping as aliases. */
.ddlc-billing-step-grid,
.ddlc-compatibility-step-grid,
.ddlc-custom-process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ddlc-license-step-grid,
.ddlc-free-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ddlc-standards-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Repair old proof icon layout even before PHP templates are updated. */
.ddlc-proof-card > .ddlc-proof-icon + h2 {
  margin-top: 0.85rem;
}

/* For new/updated PHP, this is the correct pattern. */
.ddlc-proof-card .ddlc-icon-heading .ddlc-proof-icon + h2 {
  margin-top: 0;
}

@media (max-width: 1199.98px) {
  .ddlc-standards-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ddlc-billing-step-grid,
  .ddlc-compatibility-step-grid,
  .ddlc-custom-process-grid,
  .ddlc-license-step-grid,
  .ddlc-free-step-grid,
  .ddlc-standards-step-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   DDLC Blog, Search, 404, and My Account
   ========================================= */
.ddlc-blog-card h3 a,
.ddlc-search-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ddlc-blog-card h3 a:hover,
.ddlc-blog-card h3 a:focus,
.ddlc-search-card h3 a:hover,
.ddlc-search-card h3 a:focus {
  color: var(--ddlc-green);
}

.ddlc-content-card {
  border: 1px solid var(--ddlc-border);
  border-radius: var(--ddlc-radius-lg);
  background: #ffffff;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  box-shadow: 0 18px 50px rgba(8, 17, 38, 0.06);
}

.ddlc-post-content > *:last-child {
  margin-bottom: 0;
}

.ddlc-post-content h2,
.ddlc-post-content h3,
.ddlc-post-content h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.ddlc-post-content p,
.ddlc-post-content li {
  color: var(--ddlc-muted);
  line-height: 1.72;
}

.ddlc-post-content a {
  color: var(--ddlc-orange);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ddlc-post-content a:hover,
.ddlc-post-content a:focus {
  color: var(--ddlc-green);
}

.ddlc-post-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ddlc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  margin: 0.15rem;
  border: 1px solid var(--ddlc-border);
  border-radius: 0.55rem;
  color: var(--ddlc-dark);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.ddlc-pagination .page-numbers.current,
.ddlc-pagination .page-numbers:hover,
.ddlc-pagination .page-numbers:focus {
  color: #ffffff;
  border-color: var(--ddlc-green);
  background: var(--ddlc-green);
}

.ddlc-search-form .form-control {
  min-height: 52px;
  border-color: var(--ddlc-border);
  border-radius: 0.65rem 0 0 0.65rem;
}

.ddlc-search-form .form-control:focus {
  border-color: var(--ddlc-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 162, 178, 0.18);
}

.ddlc-search-form .btn {
  border-radius: 0 0.65rem 0.65rem 0;
}

.woocommerce-account .entry-header,
.woocommerce-account .page-header {
  display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  margin-bottom: 1.5rem;
}

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

.ddlc-myaccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ddlc-myaccount-navigation li {
  margin: 0;
}

.ddlc-myaccount-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--ddlc-border);
  border-radius: 999px;
  color: var(--ddlc-dark);
  background: #ffffff;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.ddlc-myaccount-navigation .is-active a,
.ddlc-myaccount-navigation a:hover,
.ddlc-myaccount-navigation a:focus {
  color: #ffffff;
  border-color: var(--ddlc-green);
  background: var(--ddlc-green);
}

.ddlc-myaccount-welcome {
  border: 1px solid var(--ddlc-border);
  border-radius: var(--ddlc-radius-lg);
  background:
    radial-gradient(circle at top left, rgba(0, 162, 178, 0.08), transparent 35%),
    #ffffff;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 50px rgba(8, 17, 38, 0.06);
}

.ddlc-myaccount-welcome h2 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  margin-bottom: 0.75rem;
}

.ddlc-myaccount-welcome p:last-child,
.ddlc-myaccount-note p:last-child {
  margin-bottom: 0;
}

.ddlc-myaccount-action-grid .ddlc-card {
  box-shadow: 0 14px 36px rgba(8, 17, 38, 0.05);
}

.ddlc-myaccount-note {
  border-left: 4px solid var(--ddlc-green);
  border-radius: 0.65rem;
  background: rgba(0, 162, 178, 0.06);
  padding: 1rem 1.1rem;
}

.ddlc-myaccount-note a {
  color: var(--ddlc-orange);
  font-weight: 800;
}

.ddlc-auth-card .woocommerce-form-row,
.ddlc-auth-card .form-row {
  margin-bottom: 1rem;
}

.ddlc-auth-card label {
  color: var(--ddlc-dark);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ddlc-auth-card input[type='text'],
.ddlc-auth-card input[type='email'],
.ddlc-auth-card input[type='password'] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ddlc-border);
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  color: var(--ddlc-dark);
  background: #ffffff;
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
}

.ddlc-auth-card input:focus {
  border-color: var(--ddlc-green);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 162, 178, 0.18);
}

.ddlc-auth-card .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ddlc-auth-card .woocommerce-form-login__submit,
.ddlc-auth-card .woocommerce-form-register__submit {
  width: 100%;
  margin-top: 0.35rem;
}

.woocommerce-account table.shop_table,
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table {
  border: 1px solid var(--ddlc-border);
  border-radius: var(--ddlc-radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(8, 17, 38, 0.05);
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
  border-top-color: var(--ddlc-green);
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 17, 38, 0.04);
}

.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce-account a.button {
  border-radius: 0.55rem;
  font-weight: 800;
}

@media (max-width: 575.98px) {
  .ddlc-myaccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ddlc-myaccount-navigation a {
    justify-content: center;
    width: 100%;
  }
}


/* =========================================
   DDLC Proof Card Global Adjustment
   Keeps proof-card icon/title rows readable in 3-column layouts.
   ========================================= */
.ddlc-proof-card .ddlc-icon-heading {
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.ddlc-proof-card .ddlc-card-icon,
.ddlc-proof-card .ddlc-proof-icon {
  width: 2.45rem;
  height: 2.45rem;
  min-width: 2.45rem;
  border-radius: 0.75rem;
  margin-top: 0.18rem;
}

.ddlc-proof-card .ddlc-icon-heading h2,
.ddlc-proof-card h2 {
  font-size: clamp(1.55rem, 2.1vw, 2rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0 !important;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.ddlc-proof-card p {
  font-size: 1rem;
  line-height: 1.62;
}

@media (max-width: 575.98px) {
  .ddlc-proof-card .ddlc-icon-heading h2,
  .ddlc-proof-card h2 {
    font-size: 1.55rem !important;
  }
}


/* =========================================
   WooCommerce My Account
   ========================================= */

body.woocommerce-account #content.site-content {
  width: 100%;
  background: #ffffff;
}

body.woocommerce-account #primary.content-area,
body.woocommerce-account .site-main {
  width: 100%;
  max-width: none;
}

body.woocommerce-account .entry-header,
body.woocommerce-account #secondary,
body.woocommerce-account .widget-area,
body.woocommerce-account aside#secondary {
  display: none !important;
}

/* DDLC - My Account page centered content wrapper */
.woocommerce-account #content.site-content {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding: 48px 32px 64px;
    box-sizing: border-box;
}

/* Keep WooCommerce account area full width inside the centered wrapper */
.woocommerce-account #main.site-main,
.woocommerce-account #main.site-main > .woocommerce {
    width: 100%;
}

/* Your account content wrapper is using a Bootstrap column without a row.
   Let it use the full available account width instead. */
.woocommerce-account #main.site-main > .woocommerce > .col-md-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .woocommerce-account #content.site-content {
        padding: 32px 16px 48px;
    }
}

body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-account .woocommerce > .col-md-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 2rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ddlc-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ddlc-dark);
  font-weight: 800;
  line-height: 1.2;
  padding: 0.75rem 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(8, 17, 38, 0.04);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
  background: var(--ddlc-green);
  border-color: var(--ddlc-green);
  color: #ffffff;
  text-decoration: none;
}

body.woocommerce-account .ddlc-myaccount-dashboard {
  width: 100%;
}

body.woocommerce-account .ddlc-myaccount-welcome {
  width: 100%;
  border: 1px solid var(--ddlc-border);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top left, rgba(0, 162, 178, 0.08), transparent 34%),
    #ffffff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 18px 50px rgba(8, 17, 38, 0.06);
  margin-bottom: 2rem;
}

body.woocommerce-account .ddlc-myaccount-welcome h2 {
  max-width: 820px;
  font-size: clamp(2.15rem, 4vw, 3.4rem) !important;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

body.woocommerce-account .ddlc-myaccount-welcome p:last-child {
  max-width: 850px;
  color: var(--ddlc-dark);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0;
}

body.woocommerce-account .ddlc-myaccount-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

body.woocommerce-account .ddlc-myaccount-action-grid .ddlc-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ddlc-border);
  border-radius: 1rem;
  background: #ffffff;
  color: var(--ddlc-dark);
  padding: 1.4rem;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(8, 17, 38, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.woocommerce-account .ddlc-myaccount-action-grid .ddlc-card:hover,
body.woocommerce-account .ddlc-myaccount-action-grid .ddlc-card:focus {
  transform: translateY(-3px);
  border-color: rgba(0, 162, 178, 0.35);
  box-shadow: 0 24px 60px rgba(8, 17, 38, 0.1);
}

body.woocommerce-account .ddlc-myaccount-action-grid h3 {
  font-size: 1.25rem !important;
  line-height: 1.18;
  margin-bottom: 0 !important;
}

body.woocommerce-account .ddlc-myaccount-action-grid p {
  color: var(--ddlc-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

body.woocommerce-account .ddlc-myaccount-note {
  border-left: 4px solid var(--ddlc-green);
  border-radius: 0.75rem;
  background: rgba(0, 162, 178, 0.06);
  padding: 1.1rem 1.25rem;
}

body.woocommerce-account .ddlc-myaccount-note p {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  body.woocommerce-account .ddlc-myaccount-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.woocommerce-account #content.site-content {
    padding-top: 2.25rem;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .woocommerce-MyAccount-navigation a {
    width: 100%;
  }

  body.woocommerce-account .ddlc-myaccount-action-grid {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .ddlc-myaccount-welcome,
  body.woocommerce-account .ddlc-myaccount-action-grid .ddlc-card {
    padding: 1.2rem;
  }

  body.woocommerce-account .ddlc-myaccount-welcome h2 {
    font-size: 2rem !important;
  }
}




/* DDLC WooCommerce cart, checkout, and account layout cleanup */
body.woocommerce-cart #primary > .row > .col-lg-3,
body.woocommerce-checkout #primary > .row > .col-lg-3,
body.woocommerce-account #primary > .row > .col-lg-3 {
	display: none !important;
}

body.woocommerce-cart #primary > .row > .col-lg-9,
body.woocommerce-checkout #primary > .row > .col-lg-9,
body.woocommerce-account #primary > .row > .col-lg-9 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

/* Page heading */
body.woocommerce-cart h1,
body.woocommerce-checkout h1 {
	color: #07112f;
	font-size: clamp(2.4rem, 5vw, 4rem);
	letter-spacing: -0.04em;
	margin-bottom: 2rem;
}

/* Center WooCommerce block pages */
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 4rem;
}

/* Cart layout only */
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 420px !important;
	gap: 4rem !important;
	align-items: start !important;
	width: 100% !important;
	max-width: 1240px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wp-block-woocommerce-cart-items-block {
	grid-column: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
	grid-column: 2 !important;
	width: 100% !important;
	max-width: 420px !important;
	min-width: 0 !important;
}

/* Checkout layout only - target the real inner layout, not the outer wrapper */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 760px) 420px !important;
	gap: 3.5rem !important;
	align-items: start !important;
	width: 100% !important;
	max-width: 1240px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
}

/* Card surfaces */
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-checkout .wc-block-checkout__main {
	background: #ffffff;
	border: 1px solid rgba(7, 17, 47, 0.08);
	border-radius: 1.4rem;
	box-shadow: 0 18px 55px rgba(7, 17, 47, 0.06);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background: #ffffff;
	border: 1px solid rgba(7, 17, 47, 0.1);
	border-radius: 1.4rem;
	box-shadow: 0 24px 70px rgba(7, 17, 47, 0.08);
	padding: 1.4rem;
	position: sticky;
	top: 7rem;
}

/* Express checkout buttons */
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 0.75rem !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-express-payment__event-buttons > li {
	width: 100% !important;
	margin: 0 !important;
}

/* Express checkout buttons */
body.woocommerce-checkout h2 {
  font-size: 24px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
  margin-bottom: 0px !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  margin-bottom: 10px !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button, .wc-block-components-button:not(.is-link) {
    color: #ffffff !important;
    border: none !important;
    background: linear-gradient(0deg, var(--ddlc-orange) 0%, var(--ddlc-orange-light) 100%) !important;
    min-height: 48px;
    border-radius: 0.5rem;
    padding: 0.8rem 1.05rem !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(221, 145, 39, 0.22);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover, .wc-block-components-button:not(.is-link):hover {
    background: linear-gradient(0deg, var(--ddlc-orange) 100%, var(--ddlc-orange-light) 100%) !important;
}
body.woocommerce-checkout .wc-block-checkout__actions.wp-block-woocommerce-checkout-actions-block {
  margin-bottom: 0px !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
      padding-top: 0px !important;
}
body.woocommerce-checkout .wc-block-components-product-name {
  color: #dd9127;
}

/* Order Received Page */
body.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details.shop_table.order_details, body.woocommerce-order-received address {
  font-size: 14px !important;
}
/* Hide billing address on WooCommerce order received / thank you page */
body.woocommerce-order-received .woocommerce-customer-details {
	display: none !important;
}

/* Empty Cart Page Hide icon */
.wp-block-heading.has-text-align-center.with-empty-cart-icon.wc-block-cart__empty-cart__title::before {
  display: none !important;
}


/* Mobile */
@media (max-width: 991.98px) {
	body.woocommerce-cart .wc-block-cart,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: block !important;
	}

	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		position: static;
		margin-top: 2rem;
	}
  .wc-block-components-panel__button {
  margin-left: 16px !important;
}

.wc-block-components-panel__button svg {
  margin-right: 16px !important;
}
}