/*
Theme Name: Custom Packaging Boxes 2026
Theme URI: https://custompackagingboxes.co.uk
Author: Custom Packaging Boxes
Author URI: https://custompackagingboxes.co.uk
Description: A modern, fully customizable WordPress theme built for Custom Packaging Boxes UK. Features WooCommerce integration, Customizer-driven section toggles, and responsive mobile-first design.
Version: 1.6.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cpb-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce, e-commerce, one-column, two-columns
*/

:root {
    --cpb-primary: #253993;
    --cpb-accent: #8c0000;
    --cpb-text: #333333;
    --cpb-text-light: #666666;
    --cpb-bg: #ffffff;
    --cpb-bg-alt: #f5f5f5;
    --cpb-border: #e5e5e5;
    --cpb-white: #ffffff;
    --cpb-black: #000000;
    --cpb-font-primary: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cpb-font-heading: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cpb-container: 1200px;
    --cpb-header-height: 80px;
    --cpb-radius: 8px;
    --cpb-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --cpb-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --cpb-transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--cpb-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cpb-text);
    background-color: var(--cpb-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--cpb-primary);
    text-decoration: none;
    transition: color var(--cpb-transition);
}

a:hover,
a:focus {
    color: var(--cpb-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cpb-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--cpb-black);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1em; }

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.cpb-container {
    max-width: var(--cpb-container);
    margin: 0 auto;
    padding: 0 20px;
}

.cpb-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--cpb-radius);
    cursor: pointer;
    transition: all var(--cpb-transition);
    text-decoration: none;
    line-height: 1.4;
}

.cpb-btn-primary {
    background-color: var(--cpb-primary);
    color: var(--cpb-white);
}

.cpb-btn-primary:hover {
    background-color: var(--cpb-accent);
    color: var(--cpb-white);
    transform: translateY(-2px);
    box-shadow: var(--cpb-shadow-lg);
}

.cpb-btn-accent {
    background-color: var(--cpb-accent);
    color: var(--cpb-white);
}

.cpb-btn-accent:hover {
    background-color: var(--cpb-primary);
    color: var(--cpb-white);
    transform: translateY(-2px);
    box-shadow: var(--cpb-shadow-lg);
}

.cpb-btn-outline {
    background-color: transparent;
    color: var(--cpb-primary);
    border: 2px solid var(--cpb-primary);
}

.cpb-btn-outline:hover {
    background-color: var(--cpb-primary);
    color: var(--cpb-white);
}

.cpb-section {
    padding: 80px 0;
}

.cpb-section-alt {
    background-color: var(--cpb-bg-alt);
}

.cpb-section-dark {
    background-color: var(--cpb-primary);
    color: var(--cpb-white);
}

.cpb-section-dark h2,
.cpb-section-dark h3,
.cpb-section-dark h4 {
    color: var(--cpb-white);
}

.cpb-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cpb-section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cpb-section-header p {
    font-size: 1.1rem;
    color: var(--cpb-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.cpb-grid {
    display: grid;
    gap: 30px;
}

.cpb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cpb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cpb-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cpb-grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ─── TOP BAR ─── */
.cpb-top-bar {
    background-color: var(--cpb-primary);
    color: var(--cpb-white);
    font-size: 0.875rem;
    padding: 8px 0;
}

.cpb-top-bar .cpb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cpb-top-bar a {
    color: var(--cpb-white);
    opacity: 0.9;
}

.cpb-top-bar a:hover {
    opacity: 1;
    color: var(--cpb-white);
}

.cpb-top-bar-left,
.cpb-top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cpb-top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ─── HEADER / NAV ─── */
.cpb-header {
    background-color: var(--cpb-white);
    border-bottom: 1px solid var(--cpb-border);
    position: relative;
    z-index: 100;
    height: var(--cpb-header-height);
}

.cpb-header.cpb-sticky {
    position: sticky;
    top: 0;
    box-shadow: var(--cpb-shadow);
}

.cpb-header .cpb-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.cpb-logo img {
    max-height: 50px;
    width: auto;
}

.cpb-logo .site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cpb-primary);
}

.cpb-nav {
    display: flex;
    align-items: center;
}

.cpb-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.cpb-nav ul li {
    position: relative;
}

.cpb-nav ul li a {
    display: block;
    padding: 10px 18px;
    color: var(--cpb-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--cpb-transition);
}

.cpb-nav ul li a:hover,
.cpb-nav ul li.current-menu-item > a,
.cpb-nav ul li.current_page_item > a {
    color: var(--cpb-primary);
}

.cpb-nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--cpb-white);
    min-width: 220px;
    box-shadow: var(--cpb-shadow-lg);
    border-radius: 0 0 var(--cpb-radius) var(--cpb-radius);
    z-index: 999;
    flex-direction: column;
    padding: 8px 0;
}

.cpb-nav ul li:hover > ul.sub-menu {
    display: flex;
}

.cpb-nav ul li ul.sub-menu li a {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.cpb-nav ul li ul.sub-menu li a:hover {
    background-color: var(--cpb-bg-alt);
}

.cpb-header-cta {
    margin-left: 20px;
}

.cpb-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.cpb-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--cpb-text);
    border-radius: 2px;
    transition: all var(--cpb-transition);
}

/* ─── HERO ─── */
.cpb-hero {
    background: linear-gradient(135deg, var(--cpb-primary) 0%, #1a2a6e 100%);
    color: var(--cpb-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cpb-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.03);
    transform: rotate(15deg);
    pointer-events: none;
}

.cpb-hero .cpb-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cpb-hero h1 {
    color: var(--cpb-white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cpb-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cpb-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cpb-hero-image img {
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow-lg);
}

/* ─── USP BAR ─── */
.cpb-usp {
    background-color: var(--cpb-bg-alt);
    padding: 40px 0;
}

.cpb-usp .cpb-grid {
    text-align: center;
}

.cpb-usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cpb-usp-icon {
    width: 60px;
    height: 60px;
    background-color: var(--cpb-primary);
    color: var(--cpb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cpb-usp-item h4 {
    margin-bottom: 0;
}

.cpb-usp-item p {
    color: var(--cpb-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ─── CATEGORIES ─── */
.cpb-category-card {
    background: var(--cpb-white);
    border-radius: var(--cpb-radius);
    overflow: hidden;
    box-shadow: var(--cpb-shadow);
    transition: all var(--cpb-transition);
    text-align: center;
}

.cpb-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cpb-shadow-lg);
}

.cpb-category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cpb-category-card .cpb-category-info {
    padding: 20px;
}

.cpb-category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cpb-category-card p {
    font-size: 0.9rem;
    color: var(--cpb-text-light);
    margin-bottom: 0;
}

/* ─── HOW IT WORKS ─── */
.cpb-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.cpb-step {
    position: relative;
}

.cpb-step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cpb-primary), var(--cpb-accent));
    color: var(--cpb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.cpb-step h3 {
    margin-bottom: 10px;
}

.cpb-step p {
    color: var(--cpb-text-light);
    font-size: 0.95rem;
}

/* ─── MATERIALS ─── */
/* ── Material & Printing Section ─────────────────────────────── */

  /* Group label divider — pill with horizontal lines */
  .cpb-mat-group-label {
      display: flex;
      align-items: center;
      gap: 20px;
      margin: 0 0 32px;
  }
  .cpb-mat-group-label::before,
  .cpb-mat-group-label::after {
      content: '';
      flex: 1;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--cpb-border), transparent);
  }
  .cpb-mat-group-label span {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--cpb-primary);
      padding: 6px 22px;
      border: 2px solid var(--cpb-primary);
      border-radius: 50px;
      white-space: nowrap;
      background: rgba(37, 57, 147, 0.05);
  }
  .cpb-mat-group-label--second {
      margin-top: 50px;
  }

  /* Grid spacing */
  .cpb-mat-grid {
      margin-bottom: 10px;
  }

  /* Description text inside each card */
  .cpb-mat-card-desc {
      font-size: 0.85rem;
      color: var(--cpb-text-light);
      margin: 4px 0 0;
      line-height: 1.55;
  }

  /* Legacy fallback */
  .cpb-material-card {
      background: var(--cpb-white);
      border-radius: var(--cpb-radius);
      padding: 30px;
      text-align: center;
      box-shadow: var(--cpb-shadow);
      transition: all var(--cpb-transition);
      border: 2px solid transparent;
  }

  /* ─── TESTIMONIALS ─── */
.cpb-testimonial-card {
    background: var(--cpb-white);
    border-radius: var(--cpb-radius);
    padding: 30px;
    box-shadow: var(--cpb-shadow);
    position: relative;
}

.cpb-testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--cpb-primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.cpb-testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cpb-testimonial-author {
    font-weight: 600;
    color: var(--cpb-primary);
}

.cpb-testimonial-role {
    font-size: 0.85rem;
    color: var(--cpb-text-light);
}

.cpb-stars {
    color: #f5a623;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* ─── FAQ ─── */
.cpb-faq-item {
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.cpb-faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background: var(--cpb-white);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--cpb-text);
    transition: background var(--cpb-transition);
}

.cpb-faq-question:hover {
    background-color: var(--cpb-bg-alt);
}

.cpb-faq-question .cpb-faq-icon {
    font-size: 1.2rem;
    transition: transform var(--cpb-transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.cpb-faq-item.active .cpb-faq-question .cpb-faq-icon {
    transform: rotate(180deg);
}

.cpb-faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.cpb-faq-item.active .cpb-faq-answer {
    padding: 0 24px 18px;
    max-height: 500px;
}

.cpb-faq-answer p {
    color: var(--cpb-text-light);
    line-height: 1.7;
}

/* ─── CTA ─── */
.cpb-cta {
    background: linear-gradient(135deg, var(--cpb-accent) 0%, #6b0000 100%);
    color: var(--cpb-white);
    text-align: center;
    padding: 80px 0;
}

.cpb-cta h2 {
    color: var(--cpb-white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cpb-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cpb-cta .cpb-btn {
    background: var(--cpb-white);
    color: var(--cpb-accent);
    font-weight: 700;
}

.cpb-cta .cpb-btn:hover {
    background: var(--cpb-primary);
    color: var(--cpb-white);
}

/* ─── INDUSTRIES ─── */
.cpb-industry-card {
    background: var(--cpb-white);
    border-radius: var(--cpb-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--cpb-shadow);
    transition: all var(--cpb-transition);
}

.cpb-industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cpb-shadow-lg);
}

.cpb-industry-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.cpb-industry-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* ─── HOMEPAGE PRODUCT CARDS ─── */

  /* ── Products Section: Floating Boxes Background ────────────────── */
  .cpb-products-section {
      position: relative;
      overflow: hidden;
  }

  .cpb-floating-boxes {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
  }

  /* Base box shape — looks like a packaging box */
  .cpb-fb {
      position: absolute;
      display: block;
      border: 2px solid currentColor;
      border-radius: 4px;
      opacity: 0;
      animation: cpbFloatBox linear infinite;
      color: var(--cpb-primary);
  }

  /* Lid line drawn with ::before */
  .cpb-fb::before {
      content: '';
      position: absolute;
      top: 30%;
      left: 0;
      right: 0;
      height: 2px;
      background: currentColor;
      opacity: 0.6;
  }

  /* Tape strip in the centre top */
  .cpb-fb::after {
      content: '';
      position: absolute;
      top: calc(30% - 4px);
      left: 50%;
      transform: translateX(-50%);
      width: 35%;
      height: 10px;
      background: currentColor;
      opacity: 0.25;
      border-radius: 2px;
  }

  /* Individual box instances */
  .cpb-fb--1 {
      width: 60px; height: 72px;
      top: 8%;  left: 4%;
      color: var(--cpb-primary);
      opacity: 0.12;
      animation-duration: 14s;
      animation-delay: 0s;
  }
  .cpb-fb--2 {
      width: 90px; height: 108px;
      top: 60%; left: 90%;
      color: var(--cpb-accent);
      opacity: 0.10;
      animation-duration: 18s;
      animation-delay: -4s;
  }
  .cpb-fb--3 {
      width: 44px; height: 52px;
      top: 75%; left: 12%;
      color: var(--cpb-primary);
      opacity: 0.14;
      animation-duration: 12s;
      animation-delay: -7s;
  }
  .cpb-fb--4 {
      width: 110px; height: 132px;
      top: 5%;  left: 80%;
      color: var(--cpb-primary);
      opacity: 0.08;
      animation-duration: 22s;
      animation-delay: -2s;
  }
  .cpb-fb--5 {
      width: 55px; height: 66px;
      top: 40%; left: 50%;
      color: var(--cpb-accent);
      opacity: 0.09;
      animation-duration: 16s;
      animation-delay: -10s;
  }
  .cpb-fb--6 {
      width: 75px; height: 90px;
      top: 20%; left: 65%;
      color: var(--cpb-primary);
      opacity: 0.11;
      animation-duration: 20s;
      animation-delay: -5s;
  }
  .cpb-fb--7 {
      width: 38px; height: 46px;
      top: 85%; left: 45%;
      color: var(--cpb-accent);
      opacity: 0.13;
      animation-duration: 10s;
      animation-delay: -8s;
  }
  .cpb-fb--8 {
      width: 130px; height: 156px;
      top: 50%; left: 25%;
      color: var(--cpb-primary);
      opacity: 0.06;
      animation-duration: 26s;
      animation-delay: -14s;
  }

  @keyframes cpbFloatBox {
      0%   { transform: translateY(0px)    rotate(0deg)   scale(1); }
      20%  { transform: translateY(-22px)  rotate(4deg)   scale(1.03); }
      40%  { transform: translateY(-10px)  rotate(-3deg)  scale(0.98); }
      60%  { transform: translateY(-30px)  rotate(6deg)   scale(1.05); }
      80%  { transform: translateY(-14px)  rotate(-2deg)  scale(1.01); }
      100% { transform: translateY(0px)    rotate(0deg)   scale(1); }
  }

  /* Make sure section content sits above floating boxes */
  .cpb-products-section > .cpb-container {
      position: relative;
      z-index: 1;
  }

  
.cpb-product-card {
    background: var(--cpb-white);
    border-radius: var(--cpb-radius);
    overflow: hidden;
    box-shadow: var(--cpb-shadow);
    transition: all var(--cpb-transition);
}

.cpb-product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cpb-product-card-image {
    position: relative;
    overflow: hidden;
    background: var(--cpb-bg-alt);
}

.cpb-product-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cpb-product-card:hover .cpb-product-card-img {
    transform: scale(1.06);
}

.cpb-product-card-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--cpb-bg-alt), var(--cpb-border));
}

.cpb-products-category-group {
    margin-bottom: 50px;
}

.cpb-products-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cpb-border);
}

.cpb-products-category-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--cpb-primary);
}

.cpb-link-arrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cpb-accent);
    text-decoration: none;
    transition: color 0.3s;
}

.cpb-link-arrow:hover {
    color: var(--cpb-primary);
}

.cpb-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cpb-product-badge--sale {
    background: var(--cpb-accent);
    color: var(--cpb-white);
}

.cpb-product-card-info {
    padding: 18px 20px;
}

.cpb-product-card-title {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--cpb-text);
}

.cpb-product-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cpb-primary);
}

.cpb-product-card-price del {
    color: var(--cpb-text-light);
    font-weight: 400;
    margin-right: 6px;
    font-size: 0.85rem;
}

.cpb-product-card-price--quote {
    color: var(--cpb-accent);
    font-style: italic;
}

/* ─── ABOUT PAGE ─── */
.cpb-about-hero {
    background: linear-gradient(135deg, var(--cpb-primary) 0%, #1a2a6e 100%);
    color: var(--cpb-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cpb-about-hero .cpb-container {
    position: relative;
    z-index: 2;
}

.cpb-about-hero h1 {
    color: var(--cpb-white);
}

.cpb-about-hero p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cpb-values-card {
    background: var(--cpb-white);
    padding: 30px;
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
    text-align: center;
    border-top: 4px solid var(--cpb-primary);
}

.cpb-values-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cpb-process-step {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.cpb-process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.cpb-process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.cpb-trust-item {
    text-align: center;
    padding: 20px;
}

.cpb-trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cpb-primary);
}

/* ─── CONTACT PAGE ─── */
.cpb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.cpb-contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
}

.cpb-contact-form input,
.cpb-contact-form select,
.cpb-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    font-size: 1rem;
    font-family: var(--cpb-font-primary);
    margin-bottom: 20px;
    transition: border-color var(--cpb-transition);
}

.cpb-contact-form input:focus,
.cpb-contact-form select:focus,
.cpb-contact-form textarea:focus {
    outline: none;
    border-color: var(--cpb-primary);
    box-shadow: 0 0 0 3px rgba(37, 57, 147, 0.1);
}

.cpb-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.cpb-contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.cpb-map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--cpb-bg-alt);
    border-radius: var(--cpb-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cpb-text-light);
    margin-top: 30px;
    border: 1px solid var(--cpb-border);
}

/* ─── GENERAL PAGE ─── */
.cpb-page-header {
    background: linear-gradient(135deg, var(--cpb-primary) 0%, #1a2a6e 100%);
    color: var(--cpb-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cpb-page-header .cpb-container {
    position: relative;
    z-index: 2;
}

.cpb-page-header h1 {
    color: var(--cpb-white);
    margin-bottom: 10px;
}

.cpb-page-content {
    padding: 60px 0;
}

.cpb-page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.cpb-page-content .entry-content p {
    line-height: 1.8;
}

/* ─── FOOTER ─── */
.cpb-footer {
    background-color: #1a1a2e;
    color: #cccccc;
    padding: 60px 0 0;
}

.cpb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.cpb-footer h4 {
    color: var(--cpb-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.cpb-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--cpb-accent);
    border-radius: 2px;
}

.cpb-footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #aaa;
}

.cpb-footer a {
    color: #cccccc;
}

.cpb-footer a:hover {
    color: var(--cpb-white);
}

.cpb-footer-about .cpb-footer-logo,
.cpb-footer-col .cpb-footer-logo {
    max-height: 40px;
    margin-bottom: 15px;
}

.cpb-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpb-footer ul li {
    margin-bottom: 10px;
}

.cpb-footer ul li a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cpb-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.cpb-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cpb-footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--cpb-transition);
}

.cpb-footer-social a:hover {
    background: var(--cpb-primary);
    color: var(--cpb-white);
}

.cpb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* ─── WOOCOMMERCE SHOP ─── */
.cpb-shop-header {
    background: linear-gradient(135deg, var(--cpb-primary) 0%, #1a2a6e 100%);
    color: var(--cpb-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cpb-shop-header--has-bg {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.cpb-shop-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(37, 57, 147, 0.75);
    z-index: 1;
}

.cpb-shop-header .cpb-container {
    position: relative;
    z-index: 2;
}

.cpb-shop-header h1 {
    color: var(--cpb-white);
    margin-bottom: 10px;
}

.cpb-shop-header-desc {
    opacity: 0.9;
    margin-top: 10px;
    font-size: 1.1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cpb-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.cpb-breadcrumbs a {
    color: var(--cpb-white);
    text-decoration: none;
}

.cpb-breadcrumbs a:hover {
    text-decoration: underline;
}

.cpb-breadcrumb-sep {
    margin: 0 8px;
}

.cpb-shop-usp-bar {
    background: var(--cpb-bg-alt);
    border-bottom: 1px solid var(--cpb-border);
    padding: 18px 0;
}

.cpb-shop-usp-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cpb-shop-usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cpb-text);
}

.cpb-shop-usp-icon {
    font-size: 1.3rem;
}

.cpb-shop-intro {
    padding: 50px 0 30px;
}

.cpb-shop-intro-title {
    text-align: center;
    margin-bottom: 20px;
}

.cpb-shop-intro-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--cpb-text-light);
    font-size: 1.05rem;
}

.cpb-shop-intro-text--cols {
    column-count: 2;
    column-gap: 40px;
}

.cpb-shop-filter-bar {
    padding: 20px 0;
    border-bottom: 1px solid var(--cpb-border);
    margin-bottom: 10px;
}

.cpb-shop-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cpb-filter-tab {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cpb-text);
    transition: all 0.3s;
}

.cpb-shop-filter-tabs--pills .cpb-filter-tab {
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--cpb-bg-alt);
    border: 1px solid var(--cpb-border);
}

.cpb-shop-filter-tabs--pills .cpb-filter-tab--active,
.cpb-shop-filter-tabs--pills .cpb-filter-tab:hover {
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-color: var(--cpb-primary);
}

.cpb-shop-filter-tabs--tabs .cpb-filter-tab {
    padding: 10px 20px;
    border-bottom: 3px solid transparent;
}

.cpb-shop-filter-tabs--tabs .cpb-filter-tab--active,
.cpb-shop-filter-tabs--tabs .cpb-filter-tab:hover {
    border-bottom-color: var(--cpb-primary);
    color: var(--cpb-primary);
}

.cpb-shop-filter-tabs--buttons .cpb-filter-tab {
    padding: 10px 22px;
    border-radius: var(--cpb-radius);
    background: var(--cpb-bg-alt);
    border: 2px solid var(--cpb-border);
}

.cpb-shop-filter-tabs--buttons .cpb-filter-tab--active,
.cpb-shop-filter-tabs--buttons .cpb-filter-tab:hover {
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-color: var(--cpb-primary);
}

.cpb-filter-count {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 2px;
}

.cpb-shop-main {
    padding-top: 30px;
    padding-bottom: 50px;
}

.cpb-shop-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

.cpb-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.cpb-shop-result-count {
    color: var(--cpb-text-light);
    font-size: 0.95rem;
}

.cpb-shop-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cpb-shop-sort label {
    font-size: 0.9rem;
    color: var(--cpb-text-light);
    white-space: nowrap;
}

.cpb-shop-sort select {
    padding: 8px 14px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    font-size: 0.9rem;
    background: var(--cpb-white);
}

.cpb-archive-card-image {
    position: relative;
}

.cpb-archive-card-cat {
    display: block;
    padding: 8px 15px 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cpb-archive-card-cat a {
    color: var(--cpb-accent);
    text-decoration: none;
}

.cpb-archive-card-cat a:hover {
    color: var(--cpb-primary);
}

.cpb-archive-card-excerpt {
    padding: 0 15px;
    font-size: 0.85rem;
    color: var(--cpb-text-light);
    line-height: 1.5;
    margin: 5px 0 0;
}

.cpb-shop-cta {
    text-align: center;
}

.cpb-shop-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.cpb-shop-seo {
    background: var(--cpb-bg-alt);
    padding: 60px 0;
}

.cpb-shop-seo h2 {
    margin-bottom: 20px;
}

.cpb-shop-seo-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--cpb-text-light);
}

.cpb-shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.cpb-shop-controls .woocommerce-result-count {
    margin: 0;
    color: var(--cpb-text-light);
}

.cpb-shop-controls .woocommerce-ordering select {
    padding: 10px 16px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    font-size: 0.9rem;
    background: var(--cpb-white);
}

ul.products {
    display: grid !important;
    grid-template-columns: repeat(var(--cpb-shop-columns, 3), 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
}

ul.products li.product {
    background: var(--cpb-white);
    border-radius: var(--cpb-shop-card-radius, 8px);
    overflow: hidden;
    box-shadow: var(--cpb-shop-card-shadow, 0 2px 15px rgba(0,0,0,0.08));
    transition: all var(--cpb-transition);
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--cpb-shop-card-shadow-hover, 0 8px 30px rgba(0,0,0,0.15));
}

ul.products li.product a img,
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: var(--cpb-shop-img-height, 300px) !important;
    max-height: var(--cpb-shop-img-height, 300px) !important;
    object-fit: var(--cpb-shop-img-fit, contain) !important;
    background: var(--cpb-shop-img-bg, #f5f5f5);
    padding: var(--cpb-shop-img-pad, 15px);
    margin: 0 !important;
    display: block;
    box-sizing: border-box;
}

ul.products li.product .woocommerce-loop-product__title {
    padding: 15px 15px 5px;
    font-size: var(--cpb-shop-title-size, 1rem);
    color: var(--cpb-text);
}

ul.products li.product .price {
    padding: 0 15px;
    color: var(--cpb-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

ul.products li.product .price .cpb-price del {
    color: #999;
    font-weight: 400;
    font-size: 0.9em;
    margin-right: 5px;
}

ul.products li.product .price .cpb-price ins {
    text-decoration: none;
}

ul.products li.product .price .cpb-price--quote {
    font-size: 0.85rem;
    color: var(--cpb-accent);
}

ul.products li.product .button,
ul.products li.product a.add_to_cart_button {
    margin: 15px;
    display: block;
    text-align: center;
    background: var(--cpb-primary);
    color: var(--cpb-white);
    padding: 10px;
    border-radius: var(--cpb-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--cpb-transition);
}

ul.products li.product .button:hover,
ul.products li.product a.add_to_cart_button:hover {
    background: var(--cpb-accent);
}

.cpb-pagination,
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.cpb-pagination ul,
.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpb-pagination ul li a,
.cpb-pagination ul li span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 6px 14px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    color: var(--cpb-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
    background: var(--cpb-white);
}

.cpb-pagination ul li a:hover,
.woocommerce-pagination ul li a:hover {
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-color: var(--cpb-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 57, 147, 0.3);
}

.cpb-pagination ul li .current,
.woocommerce-pagination ul li span.current {
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-color: var(--cpb-primary);
    box-shadow: 0 2px 8px rgba(37, 57, 147, 0.25);
}

.cpb-pagination ul li .prev,
.cpb-pagination ul li .next {
    padding: 6px 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cpb-pagination ul li .dots {
    border: none;
    background: transparent;
    pointer-events: none;
    min-width: auto;
    padding: 6px 4px;
    color: var(--cpb-text-light);
}

/* ─── WOOCOMMERCE SINGLE PRODUCT ─── */
.cpb-single-product {
    padding: 60px 0;
}

.cpb-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cpb-product-summary .product_title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cpb-product-summary .price,
.cpb-product-summary .cpb-product-price-display {
    font-size: 1.5rem;
    color: var(--cpb-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.cpb-product-summary .cpb-price del {
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

.cpb-product-summary .cpb-price ins {
    text-decoration: none;
    color: var(--cpb-accent);
}

.cpb-product-summary .cpb-price--quote {
    font-size: 1.2rem;
    color: var(--cpb-accent);
    font-weight: 600;
}

.cpb-product-summary .woocommerce-product-details__short-description,
.cpb-product-summary .cpb-product-short-desc {
    margin-bottom: 25px;
    color: var(--cpb-text-light);
    line-height: 1.7;
}

.cpb-product-summary .product_meta {
    border-top: 1px solid var(--cpb-border);
    padding-top: 20px;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--cpb-text-light);
}

.cpb-product-summary .product_meta span {
    display: block;
    margin-bottom: 5px;
}

.cpb-product-summary .cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.cpb-product-summary .cart .quantity input {
    width: 70px;
    padding: 12px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    text-align: center;
    font-size: 1rem;
}

.cpb-product-summary .cart .single_add_to_cart_button {
    background: var(--cpb-primary);
    color: var(--cpb-white);
    padding: 14px 35px;
    border: none;
    border-radius: var(--cpb-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--cpb-transition);
}

.cpb-product-summary .cart .single_add_to_cart_button:hover {
    background: var(--cpb-accent);
    transform: translateY(-2px);
}

.cpb-product-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cpb-product-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--cpb-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cpb-text-light);
    transition: all var(--cpb-transition);
}

.cpb-product-social a:hover {
    background: var(--cpb-primary);
    border-color: var(--cpb-primary);
    color: var(--cpb-white);
}

    max-width: 100%;
    height: auto;
}

.cpb-tab-panel img,
.cpb-tab-panel iframe,
.cpb-tab-panel video,
.cpb-tab-panel table {
    max-width: 100%;
}

.cpb-tab-panel {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cpb-product-specs {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cpb-product-specs th {
    text-align: left;
    padding: 8px 15px 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    white-space: nowrap;
}

.cpb-product-specs td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    word-break: break-word;
}

.cpb-product-actions {
    margin: 25px 0;
}

.cpb-product-actions .cpb-btn {
    display: inline-block;
    width: auto;
}

.cpb-product-tabs {
    margin-top: 50px;
}

.cpb-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cpb-tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-bottom: -2px;
    font-family: var(--cpb-font-primary);
    font-size: 1rem;
    color: var(--cpb-text-light);
    white-space: nowrap;
    transition: all var(--cpb-transition);
}

.cpb-tab-btn--active {
    border-bottom-color: var(--cpb-primary);
    font-weight: 600;
    color: var(--cpb-text);
}

.cpb-tab-btn:hover {
    color: var(--cpb-primary);
}

.cpb-tabs-content {
    padding: 25px 0;
}

.cpb-tab-panel {
    display: none;
}

.cpb-tab-panel--active {
    display: block;
}

.cpb-related-products {
    margin-top: 60px;
}

.cpb-sp-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.cpb-sp-main-content {
    min-width: 0;
}

.woocommerce-tabs {
    margin-top: 60px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 2px solid var(--cpb-border);
    gap: 0;
}

.woocommerce-tabs ul.tabs li {
    margin-bottom: -2px;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    color: var(--cpb-text-light);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all var(--cpb-transition);
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--cpb-primary);
    border-bottom-color: var(--cpb-primary);
}

.woocommerce-tabs .panel {
    padding: 20px 0;
}

.woocommerce-tabs .panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.related.products,
.upsells.products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--cpb-border);
}

.related.products > h2,
.upsells.products > h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* ─── WOOCOMMERCE CART ─── */
.woocommerce-cart-form table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart-form th {
    background: var(--cpb-bg-alt);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.woocommerce-cart-form td {
    padding: 15px;
    border-bottom: 1px solid var(--cpb-border);
    vertical-align: middle;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart_totals {
    background: var(--cpb-bg-alt);
    padding: 30px;
    border-radius: var(--cpb-radius);
    margin-top: 30px;
}

.cart_totals h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.cart_totals table {
    width: 100%;
}

.cart_totals table th,
.cart_totals table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--cpb-border);
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--cpb-primary);
    color: var(--cpb-white);
    padding: 16px;
    border-radius: var(--cpb-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--cpb-transition);
    border: none;
    cursor: pointer;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: var(--cpb-accent);
}

/* ─── WOOCOMMERCE CHECKOUT ─── */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.woocommerce-checkout h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cpb-primary);
}

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    font-size: 1rem;
}

#order_review {
    background: var(--cpb-bg-alt);
    padding: 30px;
    border-radius: var(--cpb-radius);
}

#place_order {
    background: var(--cpb-primary);
    color: var(--cpb-white);
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--cpb-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--cpb-transition);
}

#place_order:hover {
    background: var(--cpb-accent);
}

/* ─── WOO NOTICES ─── */
.woocommerce-message,
.woocommerce-info {
    padding: 15px 20px;
    border-left: 4px solid var(--cpb-primary);
    background: var(--cpb-bg-alt);
    margin-bottom: 20px;
    border-radius: 0 var(--cpb-radius) var(--cpb-radius) 0;
}

.woocommerce-error {
    padding: 15px 20px;
    border-left: 4px solid var(--cpb-accent);
    background: #fff5f5;
    margin-bottom: 20px;
    border-radius: 0 var(--cpb-radius) var(--cpb-radius) 0;
    list-style: none;
}

/* ─── SIDEBAR ─── */
.cpb-sidebar {
    padding: 30px 0;
}

.cpb-sidebar .widget {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--cpb-white);
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
}

.cpb-sidebar .widget h2,
.cpb-sidebar .widget-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cpb-primary);
}

.cpb-sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.cpb-sidebar .widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--cpb-border);
}

.cpb-sidebar .widget ul li:last-child {
    border-bottom: none;
}

/* ─── BLOG POST SIDEBAR LAYOUT ─── */
.cpb-post-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.cpb-post-main-content {
    min-width: 0;
}

.cpb-post-sidebar {
    position: sticky;
    top: 30px;
    padding-top: 0;
}

@media (max-width: 991px) {
    .cpb-post-with-sidebar {
        grid-template-columns: 1fr;
    }
    .cpb-post-sidebar {
        position: static;
    }
}

/* ─── SINGLE PRODUCT SIDEBAR LAYOUT ─── */
.cpb-sp-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.cpb-sp-main-content {
    min-width: 0;
}

.cpb-sp-sidebar {
    position: sticky;
    top: 30px;
    padding-top: 0;
}

.cpb-has-sidebar .cpb-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cpb-has-sidebar .cpb-product-tabs,
.cpb-has-sidebar .cpb-related-products {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .cpb-sp-with-sidebar {
        grid-template-columns: 1fr;
    }
    .cpb-sp-sidebar {
        position: static;
    }
}

/* ─── BREADCRUMBS ─── */
.cpb-breadcrumbs {
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--cpb-text-light);
    background: var(--cpb-bg-alt);
}

.cpb-breadcrumbs a {
    color: var(--cpb-primary);
}

.cpb-breadcrumbs .separator {
    margin: 0 8px;
    color: var(--cpb-border);
}

/* ─── FORMS ─── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    font-family: var(--cpb-font-primary);
}

/* ─── ACCESSIBILITY ─── */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--cpb-bg-alt);
    clip: auto !important;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

:focus-visible {
    outline: 2px solid var(--cpb-primary);
    outline-offset: 2px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .cpb-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cpb-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .cpb-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cpb-hero .cpb-container { grid-template-columns: 1fr; gap: 40px; }
    .cpb-product-layout { grid-template-columns: 1fr; gap: 30px; }
    .cpb-contact-grid { grid-template-columns: 1fr; }
    .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
    .cpb-product-card-img { height: 180px; }
    .cpb-product-card-placeholder { height: 180px; }
    .cpb-single-product { padding: 40px 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .cpb-section { padding: 40px 0; }
    .cpb-section-header { margin-bottom: 30px; }
    .cpb-section-header h2 { font-size: 1.6rem; }
    .cpb-section-header p { font-size: 0.95rem; }
    .cpb-container { padding: 0 15px; }
    .cpb-grid-2,
    .cpb-grid-3 { grid-template-columns: 1fr; }
    .cpb-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .cpb-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .cpb-steps { grid-template-columns: 1fr; gap: 25px; }
    .cpb-footer-grid { grid-template-columns: 1fr; }

    .cpb-nav {
        display: none;
        position: absolute;
        top: var(--cpb-header-height);
        left: 0;
        right: 0;
        background: var(--cpb-white);
        box-shadow: var(--cpb-shadow-lg);
        padding: 20px;
        z-index: 999;
    }

    .cpb-nav.active {
        display: block;
    }

    .cpb-nav ul {
        flex-direction: column;
    }

    .cpb-nav ul li a {
        padding: 10px 12px;
    }

    .cpb-nav ul li ul.sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .cpb-nav ul li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }

    .cpb-mobile-toggle {
        display: flex;
    }

    .cpb-header-cta {
        display: none;
    }

    .cpb-hero {
        padding: 50px 0;
    }

    .cpb-hero h1 {
        font-size: 1.75rem;
    }

    .cpb-hero p {
        font-size: 1rem;
    }

    .cpb-top-bar {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .cpb-top-bar .cpb-container {
        justify-content: center;
    }

    .cpb-top-bar-left {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cpb-top-bar-right {
        display: none;
    }

    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .cpb-shop-usp-items {
        gap: 20px;
    }

    .cpb-shop-usp-item {
        font-size: 0.85rem;
    }

    .cpb-shop-filter-tabs {
        gap: 8px;
    }

    .cpb-shop-intro-text--cols {
        column-count: 1;
    }

    .cpb-shop-layout-sidebar {
        grid-template-columns: 1fr;
    }

    .cpb-shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .cpb-shop-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cpb-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cpb-hero-buttons .cpb-btn {
        text-align: center;
    }

    .cpb-process-step,
    .cpb-process-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .cpb-page-header {
        padding: 40px 0;
    }

    .cpb-page-header h1 {
        font-size: 1.6rem;
    }

    .cpb-about-hero {
        padding: 50px 0;
    }

    .cpb-single-product { padding: 30px 0; }

    .cpb-product-layout { gap: 25px; }

    .cpb-product-summary .product_title { font-size: 1.5rem; }

    .cpb-product-summary .price,
    .cpb-product-summary .cpb-product-price-display { font-size: 1.25rem; }

    .cpb-product-tabs { margin-top: 35px; }

    .cpb-tab-btn { padding: 10px 16px; font-size: 0.9rem; }

    .cpb-tabs-content { padding: 20px 0; }

    .cpb-product-specs { display: table; }

    .cpb-product-actions .cpb-btn {
        display: block;
        width: 100%;
        text-align: center;
    }


    .cpb-related-products { margin-top: 40px; }

    .cpb-sp-with-sidebar { grid-template-columns: 1fr; }
    .cpb-sp-sidebar { position: static; }

    .cpb-product-card-img { height: 160px; }
    .cpb-product-card-placeholder { height: 160px; }
    .cpb-product-card-info { padding: 14px 15px; }
    .cpb-product-card-title { font-size: 0.9rem; }

    .cpb-products-category-group { margin-bottom: 35px; }
    .cpb-products-category-header h3 { font-size: 1.2rem; }
    .cpb-link-arrow { font-size: 0.85rem; }

    .cpb-usp .cpb-grid { gap: 20px; }
    .cpb-usp-item h4 { font-size: 1rem; }
    .cpb-usp-item p { font-size: 0.85rem; }

    .cpb-cta { padding: 50px 0; }
    .cpb-cta h2 { font-size: 1.5rem; }
    .cpb-cta p { font-size: 1rem; }

    .cpb-category-card img { height: 150px; }
    .cpb-category-card h3 { font-size: 0.95rem; }

    .cpb-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .cpb-faq-question {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .cpb-faq-answer {
        padding: 0 16px;
    }

    .cpb-faq-item.active .cpb-faq-answer {
        padding: 0 16px 14px;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .cpb-testimonial-card { padding: 20px; }
    .cpb-testimonial-card::before { font-size: 3rem; }

    .cpb-material-card { padding: 20px; }
    .cpb-material-card img { width: 60px; height: 60px; }

    .cpb-contact-card { padding: 20px; }

    .cpb-scroll-indicator { display: none; }

    .cpb-footer { padding-top: 40px; }

    .cpb-industry-card { padding: 18px; }
    .cpb-industry-icon { font-size: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    .cpb-section-header h2 { font-size: 1.35rem; }

    ul.products {
        grid-template-columns: 1fr !important;
    }

    .cpb-hero h1 {
        font-size: 1.5rem;
    }

    .cpb-grid-4 { grid-template-columns: 1fr; }
    .cpb-grid-5 { grid-template-columns: 1fr; }

    .cpb-product-card-img { height: 200px; }
    .cpb-product-card-placeholder { height: 200px; }

    .cpb-page-header h1 { font-size: 1.4rem; }

    .cpb-single-product { padding: 20px 0; }
    .cpb-product-summary .product_title { font-size: 1.3rem; }
    .cpb-product-summary .price,
    .cpb-product-summary .cpb-product-price-display { font-size: 1.1rem; }
    .cpb-tab-btn { padding: 10px 12px; font-size: 0.85rem; }
    .cpb-product-tabs { margin-top: 25px; }
    .cpb-tabs-content { padding: 15px 0; }
    .cpb-product-specs th { padding: 6px 10px 6px 0; font-size: 0.9rem; }
    .cpb-product-specs td { padding: 6px 0; font-size: 0.9rem; }
    .cpb-related-products { margin-top: 30px; }
    .cpb-breadcrumbs { font-size: 0.75rem; padding: 10px 0; }
    .cpb-breadcrumbs .separator { margin: 0 5px; }
    .cpb-product-social a { width: 35px; height: 35px; font-size: 0.8rem; }

    .cpb-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cpb-btn-lg {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .cpb-top-bar-left { font-size: 0.75rem; gap: 8px; }
    .cpb-top-bar-item { gap: 4px; }

    .cpb-logo img { max-height: 40px; }
    .cpb-logo .site-title { font-size: 1.1rem; }
}

/* ─── ABOUT PAGE (ENHANCED) ─── */
.cpb-about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cpb-about-story-content h2 {
    margin-bottom: 20px;
}

.cpb-about-story-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--cpb-text-light);
}

.cpb-about-story-image img {
    width: 100%;
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow-lg);
}

.cpb-about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cpb-about-mission-item {
    background: var(--cpb-white);
    padding: 40px;
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
    text-align: center;
}

.cpb-about-mission-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cpb-about-mission-item h3 {
    margin-bottom: 10px;
}

.cpb-about-mission-item p {
    color: var(--cpb-text-light);
    line-height: 1.7;
}

.cpb-section-dark {
    background: linear-gradient(135deg, var(--cpb-primary) 0%, #1a2a6e 100%);
    color: var(--cpb-white);
}

.cpb-section-dark .cpb-section-header h2 {
    color: var(--cpb-white);
}

.cpb-section-dark .cpb-trust-item p {
    color: rgba(255, 255, 255, 0.8);
}

.cpb-industry-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ─── CONTACT PAGE (ENHANCED) ─── */
.cpb-contact-card {
    background: var(--cpb-white);
    padding: 30px;
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
    text-align: center;
    transition: transform var(--cpb-transition), box-shadow var(--cpb-transition);
}

.cpb-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cpb-shadow-lg);
}

.cpb-contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.cpb-contact-card h3 {
    margin-bottom: 8px;
    color: var(--cpb-primary);
}

.cpb-contact-card a {
    color: var(--cpb-primary);
    text-decoration: none;
    font-weight: 600;
}

.cpb-contact-card a:hover {
    text-decoration: underline;
}

.cpb-contact-card-sub {
    font-size: 0.85rem;
    color: var(--cpb-text-light);
    margin-top: 8px;
}

.cpb-contact-cards-section {
    padding-bottom: 0;
}

.cpb-contact-form-desc {
    color: var(--cpb-text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.cpb-contact-response-box {
    background: #f0f4ff;
    border-left: 4px solid var(--cpb-primary);
    padding: 20px 25px;
    border-radius: var(--cpb-radius);
    margin-top: 25px;
}

.cpb-contact-response-box h4 {
    margin-bottom: 8px;
    color: var(--cpb-primary);
}

.cpb-contact-response-box p {
    color: var(--cpb-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ─── QUOTE PAGE ─── */
.cpb-quote-usp-card {
    background: var(--cpb-white);
    padding: 30px 25px;
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
    text-align: center;
    border-bottom: 3px solid var(--cpb-primary);
}

.cpb-quote-usp-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cpb-quote-usp-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.cpb-quote-usp-card p {
    font-size: 0.9rem;
    color: var(--cpb-text-light);
    line-height: 1.6;
}

.cpb-quote-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.cpb-quote-form-desc {
    color: var(--cpb-text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.cpb-quote-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cpb-quote-sidebar-card {
    background: var(--cpb-white);
    padding: 25px;
    border-radius: var(--cpb-radius);
    box-shadow: var(--cpb-shadow);
}

.cpb-quote-sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--cpb-primary);
}

.cpb-quote-sidebar-card > p {
    color: var(--cpb-text-light);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cpb-quote-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cpb-quote-sidebar-item a {
    color: var(--cpb-primary);
    font-weight: 600;
    text-decoration: none;
}

.cpb-quote-sidebar-item a:hover {
    text-decoration: underline;
}

.cpb-quote-sidebar-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cpb-quote-process-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.cpb-quote-process-item:last-child {
    margin-bottom: 0;
}

.cpb-quote-process-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--cpb-primary);
    color: var(--cpb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

.cpb-quote-process-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.cpb-quote-process-item p {
    font-size: 0.85rem;
    color: var(--cpb-text-light);
    line-height: 1.5;
}

.cpb-quote-guarantee {
    background: #f0f9f0;
    border-left: 4px solid #28a745;
}

.cpb-quote-guarantee h3 {
    color: #28a745;
}

/* ─── FORM LAYOUTS ─── */
.cpb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cpb-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
}

.cpb-form-group input,
.cpb-form-group select,
.cpb-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    font-size: 1rem;
    font-family: var(--cpb-font-primary);
    margin-bottom: 0;
    transition: border-color var(--cpb-transition);
}

.cpb-form-group input:focus,
.cpb-form-group select:focus,
.cpb-form-group textarea:focus {
    outline: none;
    border-color: var(--cpb-primary);
    box-shadow: 0 0 0 3px rgba(37, 57, 147, 0.1);
}

.cpb-form-full {
    grid-column: 1 / -1;
}

.cpb-btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ─── ALERTS ─── */
.cpb-alert {
    padding: 20px 25px;
    border-radius: var(--cpb-radius);
    margin-bottom: 25px;
}

.cpb-alert strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cpb-alert p {
    margin: 0;
    line-height: 1.6;
}

.cpb-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.cpb-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ─── FAQ (details/summary variant) ─── */
details.cpb-faq-item {
    background: var(--cpb-white);
    border: 1px solid var(--cpb-border);
    border-radius: var(--cpb-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

details.cpb-faq-item summary {
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--cpb-transition);
}

details.cpb-faq-item summary:hover {
    background: var(--cpb-bg-alt);
}

details.cpb-faq-item summary::-webkit-details-marker {
    display: none;
}

details.cpb-faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--cpb-primary);
    transition: transform var(--cpb-transition);
}

details.cpb-faq-item[open] summary::after {
    content: '\2212';
}

details.cpb-faq-item .cpb-faq-answer {
    max-height: none;
    overflow: visible;
    padding: 0 25px 20px;
}

details.cpb-faq-item .cpb-faq-answer p {
    color: var(--cpb-text-light);
    line-height: 1.7;
}

/* ─── RESPONSIVE: NEW PAGES ─── */
@media (max-width: 1024px) {
    .cpb-quote-layout {
        grid-template-columns: 1fr;
    }
    .cpb-about-story-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cpb-about-mission {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cpb-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ─── ALL BOXES TYPES PAGE ─── */
.cpb-allboxes {
    padding: 50px 0 80px;
}

.cpb-allboxes-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1rem;
    color: var(--cpb-text-light);
    line-height: 1.7;
}

.cpb-allboxes-grid {
    display: grid;
    gap: 30px;
}

.cpb-allboxes-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cpb-allboxes-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cpb-allboxes-grid--5 { grid-template-columns: repeat(5, 1fr); }

.cpb-allboxes-item {
    text-align: center;
}

.cpb-allboxes-item-title {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cpb-text);
    line-height: 1.4;
}

.cpb-allboxes-item-link {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cpb-allboxes-item-link:hover,
.cpb-allboxes-item-link:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cpb-allboxes-item-link:focus-visible {
    outline: 2px solid var(--cpb-primary);
    outline-offset: 2px;
}

.cpb-allboxes-item-link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--cpb-bg-alt);
}

.cpb-allboxes-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--cpb-bg-alt);
    color: var(--cpb-text-light);
    font-size: 0.85rem;
    padding: 20px;
    text-align: center;
}

.cpb-allboxes-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--cpb-bg-alt);
    border-radius: 12px;
}

.cpb-allboxes-empty h2 {
    margin-bottom: 10px;
}

.cpb-allboxes-empty p {
    color: var(--cpb-text-light);
}

@media (max-width: 1024px) {
    .cpb-allboxes-grid--4,
    .cpb-allboxes-grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cpb-allboxes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .cpb-allboxes-item-title {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .cpb-allboxes-grid {
        gap: 15px;
    }

    .cpb-allboxes-item-title {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
}


  /* ═══════════════════════════════════════════════════════════════════════
     UNIVERSAL ANIMATED SECTION BACKGROUNDS
     6 animation types: boxes · circles · hexagons · tags · stars · dots
     ═══════════════════════════════════════════════════════════════════════ */

  
  /* ── Dark mode background ────────────────────────────────────────────── */
  .cpb-section-dark {
      background: #0a1628;
      color: #ffffff;
  }
  .cpb-section-dark h1, .cpb-section-dark h2, .cpb-section-dark h3,
  .cpb-section-dark h4, .cpb-section-dark h5, .cpb-section-dark h6,
  .cpb-section-dark p, .cpb-section-dark span, .cpb-section-dark a {
      color: #ffffff;
  }
  .cpb-section-dark .cpb-btn-outline {
      border-color: rgba(255,255,255,0.4);
      color: #ffffff;
  }
  
/* Container that holds all animated elements */
  .cpb-bg-anim-wrap {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
  }

  /* Any section using animated bg needs position:relative + overflow:hidden */
  .cpb-bg-animated {
      position: relative;
      overflow: hidden;
  }

  /* Container above the floating elements */
  .cpb-bg-animated > .cpb-container {
      position: relative;
      z-index: 1;
  }

  /* ── Base animated element ───────────────────────────────────────────── */
  .cpb-ba {
      position: absolute;
      display: block;
      animation: cpbAnimFloat linear infinite;
      color: var(--cpb-primary);
  }

  /* ── Shared keyframe — gentle float + slight rotation ───────────────── */
  @keyframes cpbAnimFloat {
      0%   { transform: translateY(0)     rotate(0deg)  scale(1);    }
      25%  { transform: translateY(-20px) rotate(5deg)  scale(1.04); }
      50%  { transform: translateY(-8px)  rotate(-3deg) scale(0.97); }
      75%  { transform: translateY(-28px) rotate(7deg)  scale(1.06); }
      100% { transform: translateY(0)     rotate(0deg)  scale(1);    }
  }

  /* ── BOXES — hollow rectangle with lid line (packaging box look) ─────── */
  .cpb-anim--boxes .cpb-ba {
      border: 2.5px solid currentColor;
      border-radius: 4px;
      background: transparent;
  }
  .cpb-anim--boxes .cpb-ba::before {
      content: '';
      position: absolute;
      top: 32%;
      left: 0;
      right: 0;
      height: 2px;
      background: currentColor;
      opacity: 0.55;
  }
  .cpb-anim--boxes .cpb-ba::after {
      content: '';
      position: absolute;
      top: calc(32% - 5px);
      left: 50%;
      transform: translateX(-50%);
      width: 34%;
      height: 10px;
      background: currentColor;
      opacity: 0.22;
      border-radius: 2px;
  }

  /* ── CIRCLES — hollow rings ─────────────────────────────────────────── */
  .cpb-anim--circles .cpb-ba {
      border-radius: 50%;
      border: 2.5px solid currentColor;
      background: transparent;
  }

  /* ── HEXAGONS — solid hexagon shapes ────────────────────────────────── */
  .cpb-anim--hexagons .cpb-ba {
      background: currentColor;
      clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
      border: none;
  }

  /* ── TAGS — pointed price-tag shape ─────────────────────────────────── */
  .cpb-anim--tags .cpb-ba {
      background: transparent;
      border: 2px solid currentColor;
      clip-path: polygon(0% 20%, 0% 80%, 15% 100%, 85% 100%, 100% 80%, 100% 20%, 85% 0%, 15% 0%);
  }

  /* ── STARS — 5-point star ────────────────────────────────────────────── */
  .cpb-anim--stars .cpb-ba {
      background: currentColor;
      border: none;
      clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  }

  /* ── DOTS — small filled circles ────────────────────────────────────── */
  .cpb-anim--dots .cpb-ba {
      border-radius: 50%;
      background: currentColor;
      border: none;
  }

  /* ── Individual elements: sizes, positions, opacities, timings ───────── */
  .cpb-ba--1 { width:52px;  height:52px;  top:9%;  left:4%;  color:var(--cpb-primary); opacity:0.18; animation-duration:14s; animation-delay:0s;    }
  .cpb-ba--2 { width:84px;  height:84px;  top:58%; left:87%; color:var(--cpb-accent);  opacity:0.15; animation-duration:18s; animation-delay:-5s;   }
  .cpb-ba--3 { width:38px;  height:38px;  top:76%; left:14%; color:var(--cpb-primary); opacity:0.22; animation-duration:11s; animation-delay:-8s;   }
  .cpb-ba--4 { width:104px; height:104px; top:7%;  left:74%; color:var(--cpb-primary); opacity:0.12; animation-duration:22s; animation-delay:-3s;   }
  .cpb-ba--5 { width:46px;  height:46px;  top:44%; left:47%; color:var(--cpb-accent);  opacity:0.16; animation-duration:16s; animation-delay:-11s;  }
  .cpb-ba--6 { width:66px;  height:66px;  top:22%; left:61%; color:var(--cpb-primary); opacity:0.20; animation-duration:20s; animation-delay:-6s;   }
  .cpb-ba--7 { width:32px;  height:32px;  top:87%; left:41%; color:var(--cpb-accent);  opacity:0.25; animation-duration:9s;  animation-delay:-9s;   }
  .cpb-ba--8 { width:118px; height:118px; top:51%; left:27%; color:var(--cpb-primary); opacity:0.10; animation-duration:27s; animation-delay:-2s;   }

  /* Section-specific colour tinting when dark class is active */
  .cpb-section-dark .cpb-ba { color: rgba(255,255,255,0.6); }

  /* ── Hero: make sure existing hero structure stays relative ─────────── */
  .cpb-hero-section { position: relative; overflow: hidden; }
  
