/* ========================================================
   CBD Oil Canada — Redesign CSS v2.0
   Targeted refresh: same fonts, colors, logo
   #1B4332 (dark green), #C8A96E (gold), #FDFBF7 (cream)
   ======================================================== */

/* ── CSS Custom Properties ── */
:root {
    --coc-green: #1B4332;
    --coc-green-light: #2D6A4F;
    --coc-gold: #fdbc20;
    --coc-gold-hover: #e5a91c;
    --coc-cream: #FDFBF7;
    --coc-charcoal: #111318;
    --coc-gray-100: #F8F9FA;
    --coc-gray-200: #E9ECEF;
    --coc-gray-400: #ADB5BD;
    --coc-gray-600: #6C757D;
    --coc-gray-800: #343A40;
    --coc-white: #FFFFFF;
    --coc-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --coc-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --coc-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --coc-radius: 8px;
    --coc-radius-lg: 12px;
    --coc-transition: 0.25s ease;
    --coc-max-width: 1280px;
}

/* ── TOPBAR ── */
.coc-topbar {
    background: var(--coc-green);
    color: var(--coc-white);
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}
.coc-topbar__inner {
    max-width: var(--coc-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coc-topbar__promo {
    opacity: 0.95;
}
.coc-topbar__promo strong {
    color: var(--coc-gold);
}
.coc-topbar__right {
    display: flex;
    gap: 20px;
}
.coc-topbar__right a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.02em;
    transition: color var(--coc-transition);
}
.coc-topbar__right a:hover {
    color: var(--coc-gold);
}

/* ── MAIN HEADER ── */
.coc-header {
    background: var(--coc-white);
    border-bottom: 1px solid var(--coc-gray-200);
    position: relative;
    z-index: 1000;
}
.coc-header--sticky {
    position: sticky;
    top: 0;
}
.coc-header__inner {
    max-width: var(--coc-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.coc-header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.coc-header__logo img {
    height: 48px;
    width: auto;
}
.coc-header__site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--coc-charcoal);
}

/* ── NAV ── */
.coc-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.coc-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}
.coc-nav > li {
    position: relative;
}
.coc-nav > li > a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--coc-charcoal);
    text-decoration: none;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: all var(--coc-transition);
}
.coc-nav > li > a:hover,
.coc-nav > li.current-menu-item > a {
    color: var(--coc-green);
    background: var(--coc-gray-100);
}
/* Dropdown */
.coc-nav > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--coc-white);
    border: 1px solid var(--coc-gray-200);
    border-radius: var(--coc-radius);
    box-shadow: var(--coc-shadow-md);
    padding: 8px 0;
    list-style: none;
    margin: 4px 0 0;
    z-index: 100;
}
.coc-nav > li:hover > .sub-menu {
    display: block;
}
.coc-nav .sub-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--coc-gray-800);
    text-decoration: none;
    transition: background var(--coc-transition);
}
.coc-nav .sub-menu li a:hover {
    background: var(--coc-gray-100);
    color: var(--coc-green);
}

/* ── HEADER ACTIONS ── */
.coc-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.coc-header__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--coc-charcoal);
    text-decoration: none;
    transition: all var(--coc-transition);
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.coc-header__action:hover {
    background: var(--coc-gray-100);
    color: var(--coc-green);
}
.coc-header__cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--coc-green);
    color: var(--coc-white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.coc-header__mobile-toggle {
    display: none;
}

/* ── SEARCH OVERLAY ── */
.coc-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.coc-search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.coc-search-overlay__inner {
    background: var(--coc-white);
    border-radius: var(--coc-radius-lg);
    padding: 24px;
    width: 90%;
    max-width: 600px;
    display: flex;
    gap: 16px;
    box-shadow: var(--coc-shadow-lg);
}
.coc-search-overlay__input {
    flex: 1;
    border: 2px solid var(--coc-gray-200);
    border-radius: var(--coc-radius);
    padding: 14px 18px;
    font-size: 16px;
    outline: none;
    transition: border-color var(--coc-transition);
}
.coc-search-overlay__input:focus {
    border-color: var(--coc-green);
}
.coc-search-overlay__close {
    background: var(--coc-gray-100);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--coc-gray-600);
    transition: background var(--coc-transition);
}
.coc-search-overlay__close:hover {
    background: var(--coc-gray-200);
}

/* ── MOBILE MENU ── */
.coc-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--coc-white);
    z-index: 10000;
    box-shadow: var(--coc-shadow-lg);
    transition: right 0.3s ease;
    overflow-y: auto;
}
.coc-mobile-menu.active {
    right: 0;
}
.coc-mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--coc-gray-200);
}
.coc-mobile-menu__title {
    font-weight: 600;
    font-size: 16px;
    color: var(--coc-charcoal);
}
.coc-mobile-menu__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--coc-gray-600);
    padding: 4px;
}
.coc-mobile-nav {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.coc-mobile-nav li a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--coc-charcoal);
    text-decoration: none;
    border-bottom: 1px solid var(--coc-gray-100);
    transition: background var(--coc-transition);
}
.coc-mobile-nav li a:hover {
    background: var(--coc-gray-100);
    color: var(--coc-green);
}
.coc-mobile-menu__actions {
    padding: 16px 20px;
    border-top: 1px solid var(--coc-gray-200);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.coc-mobile-menu__link {
    padding: 10px 0;
    font-size: 13px;
    color: var(--coc-gray-600);
    text-decoration: none;
}
.coc-mobile-menu__link:hover {
    color: var(--coc-green);
}

/* ── FOOTER ── */
.coc-footer {
    background: var(--coc-green);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}
.coc-footer__inner {
    max-width: var(--coc-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.coc-footer__brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 12px 0 20px;
}
.coc-footer__brand-logo {
    height: 40px;
    width: auto;
    filter: brightness(10);
    opacity: 0.9;
}
.coc-footer__trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}
.coc-footer__trust-badge {
    font-size: 12px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 6px;
}
.coc-footer__heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--coc-gold);
    margin: 0 0 20px;
}
.coc-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.coc-footer__links li {
    margin-bottom: 10px;
}
.coc-footer__links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--coc-transition);
}
.coc-footer__links a:hover {
    color: var(--coc-gold);
}
.coc-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}
.coc-footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}
.coc-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 48px;
    padding: 20px 0;
}
.coc-footer__bottom-inner {
    max-width: var(--coc-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.6;
}
.coc-footer__bottom-links {
    display: flex;
    gap: 20px;
}
.coc-footer__bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.coc-footer__bottom-links a:hover {
    color: var(--coc-gold);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .coc-topbar__right { display: none; }
    .coc-header__nav { display: none; }
    .coc-header__mobile-toggle { display: flex; }
    .coc-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .coc-topbar__inner { justify-content: center; text-align: center; }
    .coc-topbar__promo { font-size: 12px; }
    .coc-header__inner { height: 60px; }
    .coc-header__logo img { height: 38px; }
    .coc-footer__inner { grid-template-columns: 1fr; gap: 28px; }
    .coc-footer { padding-top: 40px; }
}
@media (max-width: 480px) {
    .coc-header__inner { padding: 0 16px; }
    .coc-topbar__inner { padding: 0 16px; }
}

/* ── HEADER/FOOTER INLINE JS ── */
/* (Search toggle + mobile menu JS will be added via functions.php wp_footer) */

/* ── Hide Shopkeeper defaults when coc-header is active ── */
.coc-header ~ .top-headers-wrapper,
.coc-header ~ .site-header,
body.coc-redesign .top-headers-wrapper,
body.coc-redesign .site-header {
    display: none !important;
}
/* Hide default Shopkeeper footer */
body.coc-redesign .site-footer .footer-navigation-wrapper {
    display: none !important;
}

/* ============================================
   CBD Oil Canada — Homepage V3 Section Styles
   Brand: Forest Green #1B4332, Gold #C8A96E, Cream #FDFBF7
   ============================================ */

/* --- Buttons --- */
.coc-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.coc-btn--primary {
  background: var(--coc-green);
  color: #fff;
  border: 2px solid var(--coc-green);
}
.coc-btn--primary:hover {
  background: var(--coc-green-light);
  border-color: var(--coc-green-light);
  color: #fff;
  text-decoration: none;
}
.coc-btn--outline {
  background: transparent;
  color: var(--coc-green);
  border: 2px solid var(--coc-green);
}
.coc-btn--outline:hover {
  background: var(--coc-green);
  color: #fff;
  text-decoration: none;
}

/* --- Section Header --- */
.coc-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.coc-section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--coc-green);
  margin: 0 0 12px 0;
  line-height: 1.2;
}
.coc-section-header p {
  font-size: 17px;
  color: #64748b;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.coc-section-header--light h2 {
  color: #fff;
}
.coc-section-header--light p {
  color: rgba(255,255,255,0.8);
}

/* --- Hero --- */
.coc-hero {
  background: var(--coc-cream, #FDFBF7);
  padding: 60px 0 80px;
  overflow: hidden;
}
.coc-hero__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.coc-hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--coc-green);
  background: rgba(27,67,50,0.08);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.coc-hero__badge svg {
  position: relative;
  top: 2px;
  fill: var(--coc-gold);
  stroke: var(--coc-gold);
}
.coc-hero__title {
  font-size: 52px;
  font-weight: 800;
  color: var(--coc-green);
  line-height: 1.1;
  margin: 0 0 20px 0;
}
.coc-hero__desc {
  font-size: 18px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 32px 0;
  max-width: 520px;
}
.coc-hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.coc-hero__trust-row {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #64748b;
  flex-wrap: wrap;
}
.coc-hero__trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.coc-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.coc-hero__image-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(27,67,50,0.05), rgba(200,169,110,0.1));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coc-hero__image img {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
}

/* --- Trustbar --- */
.coc-trustbar {
  background: var(--coc-green);
  padding: 24px 0;
}
.coc-trustbar__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.coc-trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
}
.coc-trustbar__item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--coc-gold);
}
.coc-trustbar__item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.coc-trustbar__item span:last-child {
  font-size: 13px;
  opacity: 0.85;
}

/* --- Categories --- */
.coc-categories {
  padding: 80px 0;
  background: #fff;
}
.coc-categories__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}
.coc-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.coc-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  background: var(--coc-cream, #FDFBF7);
  border-radius: 16px;
  text-decoration: none;
  color: var(--coc-green);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  border: 1px solid rgba(27,67,50,0.08);
}
.coc-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,67,50,0.12);
  text-decoration: none;
  color: var(--coc-green);
  border-color: var(--coc-gold);
}
.coc-category-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--coc-gold);
}
.coc-category-card__icon svg {
  width: 100%;
  height: 100%;
}
.coc-category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--coc-green);
}
.coc-category-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.coc-category-card__arrow {
  color: var(--coc-gold);
  transition: transform 0.3s ease;
}
.coc-category-card__arrow svg {
  width: 20px;
  height: 20px;
}
.coc-category-card:hover .coc-category-card__arrow {
  transform: translateX(4px);
}

/* --- Featured Products --- */
.coc-featured {
  padding: 80px 0;
  background: var(--coc-cream, #FDFBF7);
}
.coc-featured__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}
.coc-featured .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}
.coc-featured .woocommerce ul.products li.product {
  margin: 0;
  padding: 0;
  width: auto;
}
.coc-featured__cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Why Choose Us --- */
.coc-why {
  padding: 80px 0;
  background: #fff;
  display: block !important;
}
.coc-why__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}
.coc-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.coc-why__card {
  text-align: center;
  padding: 40px 24px;
  background: var(--coc-cream, #FDFBF7);
  border-radius: 16px;
  border: 1px solid rgba(27,67,50,0.06);
  transition: all 0.3s ease;
}
.coc-why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27,67,50,0.08);
}
.coc-why__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--coc-gold);
}
.coc-why__icon svg {
  width: 100%;
  height: 100%;
}
.coc-why__card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--coc-green);
  margin: 0 0 10px 0;
}
.coc-why__card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* --- Testimonials --- */
.coc-testimonials {
  padding: 80px 0;
  background: var(--coc-green);
}
.coc-testimonials__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}
.coc-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.coc-testimonial {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
  color: #fff;
}
.coc-testimonial__stars {
  color: var(--coc-gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.coc-testimonial p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px 0;
  color: rgba(255,255,255,0.92);
  font-style: italic;
}
.coc-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.coc-testimonial__author strong {
  font-size: 15px;
  color: #fff;
}
.coc-testimonial__author span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* --- Resources / Blog --- */
.coc-resources {
  padding: 80px 0;
  background: #fff;
}
.coc-resources__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}
.coc-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.coc-resource-card {
  display: block;
  padding: 32px;
  background: var(--coc-cream, #FDFBF7);
  border-radius: 16px;
  text-decoration: none;
  color: var(--coc-green);
  transition: all 0.3s ease;
  border: 1px solid rgba(27,67,50,0.06);
}
.coc-resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27,67,50,0.1);
  text-decoration: none;
  color: var(--coc-green);
  border-color: var(--coc-gold);
}
.coc-resource-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--coc-gold);
}
.coc-resource-card__icon svg {
  width: 100%;
  height: 100%;
}
.coc-resource-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--coc-green);
}
.coc-resource-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.coc-resources__cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Newsletter CTA --- */
.coc-newsletter {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--coc-green) 0%, var(--coc-green-light) 100%);
  text-align: center;
}
.coc-newsletter__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.coc-newsletter h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}
.coc-newsletter p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px 0;
  line-height: 1.6;
}
.coc-newsletter__form {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.coc-newsletter__code {
  background: rgba(255,255,255,0.15);
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: 8px;
  padding: 14px 28px;
  color: #fff;
  font-size: 15px;
}
.coc-newsletter__code strong {
  color: var(--coc-gold);
  font-size: 18px;
  letter-spacing: 1px;
}
.coc-newsletter .coc-btn--primary {
  background: var(--coc-gold);
  border-color: var(--coc-gold);
  color: var(--coc-green);
}
.coc-newsletter .coc-btn--primary:hover {
  background: #e5a91c;
  border-color: #e5a91c;
}

/* --- Footer --- */
.coc-footer {
  background: #0f2920;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.coc-footer__inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.coc-footer__brand strong {
  display: block;
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
.coc-footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin: 0 0 20px 0;
}
.coc-footer__trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.coc-footer__trust-badge {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
}
.coc-footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.coc-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.coc-footer__links li {
  margin-bottom: 10px;
}
.coc-footer__links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.coc-footer__links a:hover {
  color: var(--coc-gold);
}
.coc-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.coc-footer__contact-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.coc-footer__contact-item a:hover {
  color: var(--coc-gold);
}
.coc-footer__bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.coc-footer__bottom-inner {
  max-width: var(--coc-max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.coc-footer__bottom-links {
  display: flex;
  gap: 20px;
}
.coc-footer__bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
}
.coc-footer__bottom-links a:hover {
  color: var(--coc-gold);
}

/* --- Global body class --- */
body.coc-redesign {
  background: #fff;
}

/* --- Hide bleed-through WP content --- */
.site-content > div:not([class]) {
  display: none;
}

/* --- Responsive: Tablet (1024px) --- */
@media (max-width: 1024px) {
  .coc-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .coc-hero__title {
    font-size: 40px;
  }
  .coc-hero__desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .coc-hero__actions {
    justify-content: center;
  }
  .coc-hero__trust-row {
    justify-content: center;
  }
  .coc-hero__image {
    order: -1;
  }
  .coc-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coc-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coc-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coc-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* --- Responsive: Mobile (768px) --- */
@media (max-width: 768px) {
  .coc-hero {
    padding: 40px 0 60px;
  }
  .coc-hero__title {
    font-size: 32px;
  }
  .coc-trustbar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .coc-categories,
  .coc-featured,
  .coc-why,
  .coc-testimonials,
  .coc-resources {
    padding: 60px 0;
  }
  .coc-section-header {
    margin-bottom: 32px;
  }
  .coc-section-header h2 {
    font-size: 28px;
  }
  .coc-categories__grid {
    grid-template-columns: 1fr 1fr;
  }
  .coc-testimonials__grid {
    grid-template-columns: 1fr;
  }
  .coc-resources__grid {
    grid-template-columns: 1fr;
  }
  .coc-featured .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .coc-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .coc-footer__bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- Responsive: Small Mobile (480px) --- */
@media (max-width: 480px) {
  .coc-hero__title {
    font-size: 28px;
  }
  .coc-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .coc-trustbar__inner {
    grid-template-columns: 1fr;
  }
  .coc-categories__grid {
    grid-template-columns: 1fr;
  }
  .coc-why__grid {
    grid-template-columns: 1fr;
  }
  .coc-featured .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .coc-newsletter__form {
    flex-direction: column;
  }
}

/* ============================================
   MOBILE POLISH — Session 30 (March 31)
   Fixes: padding, grids, typography, spacing
   ============================================ */

/* --- Tablet (768px) Section Padding Reduction --- */
@media (max-width: 768px) {
  .coc-hero {
    padding: 40px 0 40px;
  }
  .coc-hero__image img,
  .coc-hero__image .coc-hero__image {
    max-width: 320px;
    margin: 0 auto;
  }
  .coc-why,
  .coc-testimonials,
  .coc-resources {
    padding: 48px 0;
  }
  .coc-featured,
  .coc-products-section {
    padding: 40px 0;
  }
  .coc-newsletter {
    padding: 40px 0;
  }
  .coc-section-title {
    font-size: 28px;
  }
  .coc-section-subtitle {
    font-size: 15px;
  }
  .coc-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .coc-testimonial-card {
    max-width: 100%;
  }
  .coc-hero__trust-row {
    gap: 12px;
    font-size: 12px;
  }
  .coc-hero__trust-item {
    font-size: 12px;
  }
}

/* --- Phone (480px) Compact Layout --- */
@media (max-width: 480px) {
  .coc-hero {
    padding: 28px 0 32px;
  }
  .coc-hero__title {
    font-size: 26px;
    line-height: 1.2;
  }
  .coc-hero__desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .coc-hero__badge {
    font-size: 11px;
    padding: 4px 12px;
  }
  .coc-hero__image img,
  .coc-hero__image .coc-hero__image {
    max-width: 260px;
  }
  .coc-hero__trust-row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
  }
  .coc-btn {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* Trust bar: 2x2 grid instead of stacked */
  .coc-trustbar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
  }
  .coc-trustbar__item {
    justify-content: center;
    font-size: 13px;
  }
  .coc-trustbar__label {
    font-size: 13px;
  }
  .coc-trustbar__sublabel {
    font-size: 11px;
  }
  .coc-trustbar {
    padding: 20px 0;
  }

  /* Products: 2-column grid */
  .coc-featured .woocommerce ul.products,
  .coc-products-section .woocommerce ul.products,
  .coc-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .coc-featured .woocommerce ul.products li.product,
  .coc-products-section .woocommerce ul.products li.product {
    padding: 8px;
  }

  /* Categories: 2-column grid */
  .coc-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Section spacing reduction */
  .coc-why,
  .coc-testimonials,
  .coc-resources {
    padding: 36px 0;
  }
  .coc-featured,
  .coc-products-section {
    padding: 32px 0;
  }
  .coc-newsletter {
    padding: 32px 0;
  }
  .coc-section-title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .coc-section-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* Why section cards */
  .coc-why__card {
    padding: 20px;
  }
  .coc-why__card-title {
    font-size: 16px;
  }

  /* Testimonials compact */
  .coc-testimonials__grid {
    gap: 16px;
  }
  .coc-testimonial-card {
    padding: 20px;
  }

  /* Newsletter compact */
  .coc-newsletter__title {
    font-size: 24px;
  }
  .coc-newsletter__desc {
    font-size: 14px;
  }

  /* Container padding for phones */
  .coc-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Footer compact */
  .coc-footer {
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .coc-footer__col-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

/* --- Small Phone (360px) Final Tweaks --- */
@media (max-width: 360px) {
  .coc-hero__title {
    font-size: 24px;
  }
  .coc-section-title {
    font-size: 22px;
  }
  .coc-trustbar__inner {
    gap: 12px;
  }
  .coc-hero__actions .coc-btn {
    font-size: 13px;
    padding: 11px 20px;
  }
}


/* ========================================
   MOBILE FIX — Corrected selectors (Mar 31)
   ======================================== */

@media (max-width: 768px) {
  .coc-section-header h2 { font-size: 26px; }
  .coc-section-header p { font-size: 15px; }
  .coc-testimonials__grid { grid-template-columns: 1fr; gap: 20px; }
  .coc-testimonial { max-width: 100%; }
  .coc-hero__trust-row { gap: 12px; font-size: 12px; }
  .coc-hero__image img { max-width: 320px; margin: 0 auto; display: block; }
  .coc-why, .coc-testimonials, .coc-resources { padding: 48px 0; }
  .coc-featured, .coc-products-section, .coc-products-new, .coc-products-dogs { padding: 40px 0; }
  .coc-newsletter { padding: 40px 0; }
}

@media (max-width: 480px) {
  .coc-hero { padding: 28px 0 32px; }
  .coc-hero__title { font-size: 26px; line-height: 1.2; }
  .coc-hero__desc { font-size: 14px; line-height: 1.6; }
  .coc-hero__badge { font-size: 11px; padding: 4px 12px; }
  .coc-hero__image img { max-width: 260px; }
  .coc-hero__trust-row { flex-direction: column; align-items: center; gap: 6px; font-size: 11px; }
  .coc-btn { font-size: 14px; padding: 12px 24px; }
  .coc-trustbar__inner { grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: center; }
  .coc-trustbar__item { justify-content: center; font-size: 13px; }
  .coc-trustbar { padding: 20px 0; }
  .coc-featured .woocommerce ul.products,
  .coc-products-section .woocommerce ul.products,
  .coc-products-new .woocommerce ul.products,
  .coc-products-dogs .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .coc-why, .coc-testimonials, .coc-resources { padding: 36px 0; }
  .coc-featured, .coc-products-section, .coc-products-new, .coc-products-dogs { padding: 32px 0; }
  .coc-newsletter { padding: 32px 0; }
  .coc-section-header h2 { font-size: 22px; margin-bottom: 8px; }
  .coc-section-header p { font-size: 14px; margin-bottom: 24px; }
  .coc-why__card { padding: 20px; }
  .coc-why__card h3 { font-size: 16px; }
  .coc-testimonials__grid { gap: 16px; }
  .coc-testimonial { padding: 20px; }
  .coc-newsletter__inner h2, .coc-newsletter h2 { font-size: 22px; }
  .coc-newsletter__inner p, .coc-newsletter p { font-size: 14px; }
  .coc-footer { padding-top: 32px; padding-bottom: 24px; }
  .coc-footer__heading { font-size: 15px; margin-bottom: 12px; }
  .coc-resource-card { padding: 16px; }
  .coc-hero__inner, .coc-featured__inner, .coc-products-section__inner,
  .coc-why__inner, .coc-testimonials__inner, .coc-resources__inner,
  .coc-newsletter__inner { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 360px) {
  .coc-hero__title { font-size: 24px; }
  .coc-section-header h2 { font-size: 20px; }
  .coc-trustbar__inner { gap: 12px; }
  .coc-hero__actions .coc-btn { font-size: 13px; padding: 11px 20px; }
  .coc-topbar__promo { font-size: 11px; }
}


/* ========================================
   CRITICAL MOBILE FIXES — Mar 31 v2
   Root causes: overflow:hidden, order:-1, grid specificity
   ======================================== */

/* --- Fix 1: Hero overflow clips content on mobile --- */
@media (max-width: 1024px) {
  .coc-hero {
    overflow: visible !important;
  }
  /* Image should be smaller on tablets, not dominate viewport */
  .coc-hero__image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .coc-hero__image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .coc-hero {
    overflow: visible !important;
    padding: 32px 0 36px !important;
  }
  .coc-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center;
  }
  .coc-hero__image {
    max-width: 280px;
  }
  .coc-hero__image img {
    max-height: 220px;
  }
  .coc-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .coc-hero__actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .coc-hero__trust-row {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .coc-hero {
    padding: 24px 0 28px !important;
  }
  .coc-hero__image {
    max-width: 220px;
  }
  .coc-hero__image img {
    max-height: 180px;
  }
  .coc-hero__title {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  .coc-hero__desc {
    font-size: 14px !important;
    line-height: 1.5;
  }
  .coc-hero__badge {
    font-size: 11px !important;
  }
  .coc-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .coc-hero__actions .coc-btn {
    text-align: center;
    font-size: 14px;
    padding: 12px 20px;
  }
  .coc-hero__trust-row {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
  }
}

/* --- Fix 2: Product grid MUST be 2-col on phones --- */
/* Higher specificity with !important to override all previous rules */
@media (max-width: 480px) {
  .coc-redesign .coc-featured .woocommerce ul.products,
  .coc-redesign .coc-products-section .woocommerce ul.products,
  .coc-redesign .coc-products-new .woocommerce ul.products,
  .coc-redesign .coc-products-dogs .woocommerce ul.products,
  .coc-featured .woocommerce ul.products,
  .coc-products-section .woocommerce ul.products,
  .coc-products-new .woocommerce ul.products,
  .coc-products-dogs .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  /* Make product cards compact */
  .woocommerce ul.products li.product {
    padding: 6px !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    line-height: 1.3;
  }
  .woocommerce ul.products li.product .price {
    font-size: 13px !important;
  }
  .woocommerce ul.products li.product .button {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
}

/* --- Fix 3: Trustbar 2x2 grid on phones (stronger) --- */
@media (max-width: 480px) {
  .coc-trustbar .coc-trustbar__inner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    text-align: center;
  }
  .coc-trustbar__item {
    justify-content: center !important;
    font-size: 12px !important;
  }
}

/* --- Fix 4: Section headers smaller on mobile --- */
@media (max-width: 480px) {
  .coc-section-header h2 {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }
  .coc-section-header p {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
}

/* --- Fix 5: Compact sections on mobile --- */
@media (max-width: 480px) {
  .coc-featured,
  .coc-products-section,
  .coc-products-new,
  .coc-products-dogs,
  .coc-why,
  .coc-testimonials,
  .coc-resources,
  .coc-newsletter {
    padding: 28px 0 !important;
  }
}

@media (max-width: 360px) {
  .coc-hero__title { font-size: 22px !important; }
  .coc-hero__image { max-width: 180px; }
  .coc-hero__image img { max-height: 150px; }
  .coc-section-header h2 { font-size: 18px !important; }
}


/* ============================================================
   MOBILE PRODUCT GRID FIX v3 — March 31, 2026
   Root cause: display:grid has no !important at mobile,
   Shopkeeper's float layout overrides it.
   Fix: force display:grid + 2-col at all mobile breakpoints.
   ============================================================ */

/* --- All product grids: force grid display at ALL widths --- */
.coc-featured .woocommerce ul.products,
.coc-products-section .woocommerce ul.products {
  display: grid !important;
  gap: 16px !important;
}

/* --- Override Shopkeeper float layout on list items --- */
.coc-featured .woocommerce ul.products li.product,
.coc-products-section .woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin-right: 0 !important;
}

/* --- Tablet: 2 columns (481px - 768px) --- */
@media (max-width: 768px) {
  .coc-featured .woocommerce ul.products,
  .coc-products-section .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* --- Phone: 2 columns (up to 480px) --- */
@media (max-width: 480px) {
  .coc-featured .woocommerce ul.products,
  .coc-products-section .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .coc-featured .woocommerce ul.products li.product,
  .coc-products-section .woocommerce ul.products li.product {
    padding: 6px !important;
    min-width: 0 !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2 {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 13px !important;
  }
}

/* --- CTA buttons: center on mobile --- */
@media (max-width: 768px) {
  .coc-featured .coc-section-header + div[style],
  .coc-products-section .coc-section-header + div[style],
  .coc-featured div[style*="text-align"],
  .coc-products-section div[style*="text-align"],
  .coc-featured p:last-child,
  .coc-products-section p:last-child {
    text-align: center !important;
  }

  a.coc-btn-secondary,
  a.coc-btn-primary {
    display: inline-block !important;
    margin: 0 auto !important;
  }
}

/* --- Tiny phones (360px and below) --- */
@media (max-width: 360px) {
  .coc-featured .woocommerce ul.products,
  .coc-products-section .woocommerce ul.products {
    gap: 8px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2 {
    font-size: 12px !important;
  }
}



/* ============================================================
   MOBILE FIX v4 — First/Last product full-width fix
   Root cause: Shopkeeper clearfix ::before/::after with
   content:" " display:table become ghost grid items.
   Fix: kill pseudo-elements with !important + override .first/.last
   ============================================================ */

/* --- Kill clearfix pseudo-elements that become ghost grid items --- */
.coc-featured ul.products::before,
.coc-featured ul.products::after,
.coc-products-section ul.products::before,
.coc-products-section ul.products::after,
.coc-featured .woocommerce ul.products::before,
.coc-featured .woocommerce ul.products::after,
.coc-products-section .woocommerce ul.products::before,
.coc-products-section .woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

/* --- Override WooCommerce .first/.last classes --- */
.coc-featured .woocommerce ul.products li.product.first,
.coc-featured .woocommerce ul.products li.product.last,
.coc-products-section .woocommerce ul.products li.product.first,
.coc-products-section .woocommerce ul.products li.product.last {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin-right: 0 !important;
}


/* ============================================
   V5 FIX: Responsive containers + CTA centering
   ============================================ */

/* All coc- sections: constrain to viewport on mobile */
@media (max-width: 768px) {
  .coc-hero,
  .coc-featured,
  .coc-products-section,
  .coc-why-section,
  .coc-reviews-section,
  .coc-trust-section {
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Inner containers: override fixed max-width */
  .coc-hero__inner,
  .coc-featured__inner,
  .coc-products-section__inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* CTA wrapper divs: ensure centering works within viewport */
  .coc-featured__cta,
  .coc-products-section__cta {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* CTA buttons: inline-block for text-align centering */
  .coc-btn.coc-btn--outline,
  a.coc-btn.coc-btn--outline {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Section headers: center on mobile */
  .coc-section-header {
    text-align: center !important;
  }
}

/* Smaller phones */
@media (max-width: 480px) {
  .coc-hero,
  .coc-featured,
  .coc-products-section,
  .coc-why-section,
  .coc-reviews-section,
  .coc-trust-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* ============================================
   V6 FIX: Root container overflow constraint
   The coc- sections inherit width from .site-content
   and .hfeed.site which are fixed at 1470px.
   Must constrain at the page level for mobile.
   ============================================ */

@media (max-width: 768px) {
  html,
  body,
  .hfeed.site,
  .site-content,
  #content {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}


/* ============================================
   HOMEPAGE REFINEMENTS - Session 34
   ============================================ */

/* 1. Top bar text - increase from 13px to 14.5px */
.coc-topbar {
  font-size: 14.5px !important;
}

/* 2. Heart icon in top bar - brand yellow */
.coc-topbar__promo svg {
  color: #c8a951 !important;
  stroke: #c8a951 !important;
}

/* 3. Trust badges - increase font from 14px to 16px, icons from 14 to 18 */
.coc-hero__trust-row span {
  font-size: 16px !important;
}
.coc-hero__trust-row span svg {
  width: 18px !important;
  height: 18px !important;
}

/* 4. Navigation menu - increase from 14px to 16px */
.coc-nav a,
.coc-header__nav a {
  font-size: 16px !important;
}

/* 5. Hero image - slightly bigger and add border */
.coc-hero__image img {
  max-width: 560px !important;
  width: 560px !important;
  border: 1px solid #80808052 !important;
}

/* 6. Top bar right links - match FIRST15 promo size */
.coc-topbar__right,
.coc-topbar__right a {
  font-size: 14.5px !important;
}

/* 7. Trust bar icons - 40x40 on desktop */
@media (min-width: 768px) {
  .coc-trustbar__item svg {
    width: 40px !important;
    height: 40px !important;
  }
}
/* 8. Badge maple leaf  red instead of gold */
.coc-hero__badge svg { fill: #DC2626 !important; }
