/*
Theme Name: AFK Aquatics Child
Theme URI: https://woocommerce.com/products/storefront/
Template: storefront
Author: Me
Author URI: AFKAquatics.com
Description: My custom storefront
Tags: e-commerce,two-columns,left-sidebar,right-sidebar,custom-background,custom-colors,custom-header,custom-menu,featured-images,full-width-template,threaded-comments,accessibility-ready,rtl-language-support,footer-widgets,sticky-post,theme-options,editor-style
Version: 4.6.2.1780424288
Updated: 2026-06-02 18:18:08
*/

/* =========================================================
   AFK AQUATICS CHILD THEME
========================================================= */

:root {
  --afk-light-blue: #D2DFEE;
  --afk-blue: #0C4FA6;
  --afk-dark-blue: #062B70;
  --afk-orange: #FF5A00;
  --afk-line: #D7E4F5;
  --afk-text-muted: #5C6F8F;
  --afk-soft-bg: #F7FBFF;
}

/* =========================================================
   GLOBAL CLEANUP
========================================================= */

body {
  color: #123;
}

a {
  color: var(--afk-blue);
}

a:hover {
  color: var(--afk-orange);
}

.site-content .col-full {
  box-sizing: border-box;
}

/* Hide Storefront duplicate header bits */
.site-search,
.storefront-primary-navigation,
.site-header-cart {
  display: none !important;
}

/* =========================================================
   AFK HEADER
========================================================= */

.site-header.afk-site-header {
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--afk-line) !important;
}

.afk-header-inner {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
}

/* Top blue strip */
.afk-top-bar {
  width: 100%;
  background: linear-gradient(90deg, var(--afk-dark-blue), var(--afk-blue));
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.afk-top-bar .afk-header-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.afk-top-left {
  color: #ffffff;
}

.afk-top-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.afk-top-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.afk-top-links a:hover {
  color: #FFB45C;
}

/* Main white header */
.afk-main-header {
  background: #ffffff;
}

.afk-main-header-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: 260px 1fr 110px;
  align-items: center;
  gap: 30px;
}

.afk-logo img {
  max-width: 240px;
  height: auto;
  display: block;
}

.afk-primary-nav {
  display: flex;
  justify-content: center;
}

.afk-primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.afk-primary-nav li {
  margin: 0;
  padding: 0;
}

.afk-primary-nav a {
  color: var(--afk-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.afk-primary-nav a:hover {
  color: var(--afk-orange);
}

.afk-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.afk-header-actions a {
  color: var(--afk-blue);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  position: relative;
}

.afk-cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--afk-orange);
  color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .afk-top-bar .afk-header-inner {
    justify-content: center;
    text-align: center;
  }

  .afk-top-links {
    display: none;
  }

  .afk-main-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .afk-logo img {
    max-width: 180px;
  }

  .afk-primary-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 14px;
  }

  .afk-primary-nav ul {
    gap: 22px;
    white-space: nowrap;
  }
}

/* =========================================================
   HOME PAGE CLEANUP
========================================================= */

.home .entry-title {
  display: none !important;
}

.home .site-content .col-full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.home .content-area,
.home .site-main,
.home .hentry,
.home .entry-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================================
   HOME TRUST STRIP
========================================================= */

.home .trust {
  width: min(1200px, calc(100vw - 48px));
  max-width: 1200px;
  margin: -34px auto 60px auto;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--afk-line);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(6, 43, 112, 0.14);
  overflow: hidden;
}

.home .trust article {
  margin: 0;
  padding: 32px 24px;
  text-align: center;
  background: transparent;
}

.home .trust article + article {
  border-left: 1px solid var(--afk-line);
}

.home .trust__icon {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 14px;
}

.home .trust h3 {
  margin: 0 0 8px 0;
  color: var(--afk-blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.home .trust p {
  margin: 0;
  color: var(--afk-text-muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .home .trust {
    grid-template-columns: 1fr;
    margin: -20px 20px 40px 20px;
    width: auto;
  }

  .home .trust article + article {
    border-left: 0;
    border-top: 1px solid var(--afk-line);
  }
}

/* =========================================================
   HOME SECTIONS
   Use group classes:
   home-section home-shop-cats
   home-section home-specials
   home-section home-new-arrivals
========================================================= */

.home-section {
  padding: 72px 24px 76px;
  margin: 0;
}

.home-shop-cats,
.home-new-arrivals {
  background: var(--afk-light-blue);
}

.home-specials {
  background: #ffffff;
}

.home-section > h2,
.home-section .wp-block-heading {
  text-align: center;
  color: var(--afk-blue);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 14px !important;
}

.home-section > h2::after,
.home-section .wp-block-heading::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  background: var(--afk-orange);
  border-radius: 99px;
  margin: 14px auto 34px;
}

.home-section ul.products,
.home-section .wc-block-grid__products,
.home-section .wp-block-woocommerce-product-collection ul {
  width: min(1400px, calc(100vw - 64px));
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(22px, 2vw, 34px);
  list-style: none !important;
}

.home-section ul.products::before,
.home-section ul.products::after {
  display: none !important;
}

.home-section ul.products li.product,
.home-section ul.products li.product-category,
.home-section .wc-block-grid__product,
.home-section .wp-block-woocommerce-product-collection li {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: clamp(16px, 1.4vw, 24px) !important;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--afk-line);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(6, 43, 112, 0.10);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-section ul.products li.product:hover,
.home-section ul.products li.product-category:hover,
.home-section .wc-block-grid__product:hover,
.home-section .wp-block-woocommerce-product-collection li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(6, 43, 112, 0.16);
}

.home-section ul.products li.product a,
.home-section ul.products li.product-category a {
  display: block;
  text-decoration: none !important;
}

.home-section ul.products li.product img,
.home-section ul.products li.product-category img,
.home-section .wc-block-grid__product-image img,
.home-section .wp-block-woocommerce-product-collection img {
  width: 100% !important;
  height: clamp(170px, 13vw, 250px) !important;
  border-radius: 14px;
  margin: 0 auto 18px !important;
  background: var(--afk-soft-bg);
  border: 1px solid var(--afk-line);
}

.home-shop-cats ul.products li.product-category img {
  object-fit: cover;
}

.home-specials ul.products li.product img,
.home-new-arrivals ul.products li.product img,
.home-specials .wc-block-grid__product-image img,
.home-new-arrivals .wc-block-grid__product-image img,
.home-specials .wp-block-woocommerce-product-collection img,
.home-new-arrivals .wp-block-woocommerce-product-collection img {
  object-fit: contain;
}

.home-section .woocommerce-loop-category__title,
.home-section .woocommerce-loop-product__title,
.home-section .wc-block-grid__product-title,
.home-section .wp-block-post-title,
.home-section h3 {
  color: var(--afk-blue) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-transform: none;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.home-shop-cats .woocommerce-loop-category__title {
  text-transform: uppercase;
}

.home-section .count {
  display: none !important;
}

.home-section .price,
.home-section .wc-block-grid__product-price,
.home-section .wp-block-woocommerce-product-price {
  color: var(--afk-orange) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.home-section .onsale,
.home-section .wc-block-grid__product-onsale {
  background: var(--afk-orange) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
}

.home-section .button,
.home-section .wp-block-button__link,
.home-section .wc-block-grid__product-add-to-cart a {
  background: var(--afk-orange) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  border: 0 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.home-section .button:hover,
.home-section .wp-block-button__link:hover,
.home-section .wc-block-grid__product-add-to-cart a:hover {
  background: var(--afk-blue) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .home-section {
    padding: 50px 20px;
  }

  .home-section ul.products,
  .home-section .wc-block-grid__products,
  .home-section .wp-block-woocommerce-product-collection ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: min(100%, calc(100vw - 40px));
  }
}

@media (max-width: 430px) {
  .home-section ul.products,
  .home-section .wc-block-grid__products,
  .home-section .wp-block-woocommerce-product-collection ul {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SHOP / PRODUCT CATEGORY PAGES
========================================================= */

.woocommerce-shop .site-content,
.tax-product_cat .site-content,
.post-type-archive-product .site-content {
  background: #ffffff;
}

/* Main wrapper: sidebar + content */
.woocommerce-shop .site-content .col-full,
.tax-product_cat .site-content .col-full,
.post-type-archive-product .site-content .col-full {
  width: min(1500px, calc(100vw - 80px)) !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 36px !important;
}

/* Sidebar */
.woocommerce-shop .widget-area,
.tax-product_cat .widget-area,
.post-type-archive-product .widget-area {
  order: 1 !important;
  display: block !important;
  flex: 0 0 260px !important;
  width: 260px !important;
  float: none !important;
  margin: 230px 0 0 0 !important;
  padding: 0 !important;
}

/* Main product content */
.woocommerce-shop .content-area,
.tax-product_cat .content-area,
.post-type-archive-product .content-area {
  order: 2 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce-shop .site-main,
.tax-product_cat .site-main,
.post-type-archive-product .site-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 0 80px !important;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
  width: min(1500px, calc(100vw - 80px));
  margin: 0 auto 12px !important;
  color: #6D7F9D;
  font-size: 13px;
}

/* Page title */
.woocommerce-products-header {
  margin-bottom: 18px !important;
}

.woocommerce-products-header__title.page-title {
  text-align: center;
  color: var(--afk-blue);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 6px !important;
}

.woocommerce-products-header__title.page-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  background: var(--afk-orange);
  border-radius: 99px;
  margin: 12px auto 18px;
}

/* Category description */
.woocommerce-products-header .term-description {
  max-width: 850px;
  margin: 0 auto 28px !important;
  text-align: center;
  color: var(--afk-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Sort/result row */
.woocommerce-result-count,
.woocommerce-ordering {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 26px !important;
  color: var(--afk-text-muted);
  font-size: 14px;
}

.woocommerce-ordering {
  margin-right: 14px !important;
}

.woocommerce-ordering select {
  border: 1px solid var(--afk-line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--afk-blue);
  background: #ffffff;
  font-weight: 700;
}

/* Product grid */
.woocommerce ul.products {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(22px, 1.8vw, 32px) !important;
  align-items: stretch !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

/* Product card */
.woocommerce ul.products li.product {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: clamp(16px, 1.4vw, 24px) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--afk-line);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(6, 43, 112, 0.10);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(6, 43, 112, 0.16);
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-decoration: none !important;
}

/* Product image */
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: clamp(170px, 12vw, 235px) !important;
  object-fit: contain;
  background: var(--afk-soft-bg);
  border: 1px solid var(--afk-line);
  border-radius: 14px;
  margin: 0 auto 18px !important;
  padding: 10px;
}

.woocommerce ul.products li.product img[src*="placeholder"],
.woocommerce ul.products li.product img.woocommerce-placeholder {
  object-fit: contain !important;
  padding: 28px !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--afk-blue) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  min-height: 42px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  color: var(--afk-orange) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  min-height: 32px !important;
  margin: 0 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.woocommerce ul.products li.product .price del {
  color: #7B8DAA !important;
  font-weight: 600;
}

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

/* Sale badge */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  z-index: 2;
  width: auto !important;
  max-width: max-content !important;
  min-width: auto !important;
  min-height: auto !important;
  padding: 6px 10px !important;
  line-height: 1 !important;
  background: var(--afk-orange) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* Product buttons */
.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 220px !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--afk-blue) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-transform: uppercase;
  text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--afk-orange) !important;
  color: #ffffff !important;
}

.woocommerce ul.products li.product .added_to_cart {
  align-self: center !important;
  width: 100% !important;
  max-width: 220px !important;
  margin-top: 10px;
  color: var(--afk-blue);
  font-weight: 800;
  text-align: center !important;
  text-decoration: none;
}

/* Notices */
.woocommerce-shop .woocommerce-notices-wrapper,
.tax-product_cat .woocommerce-notices-wrapper,
.post-type-archive-product .woocommerce-notices-wrapper {
  margin: 0 !important;
}

/* =========================================================
   SHOP SIDEBAR CATEGORY MENU
========================================================= */

.woocommerce-shop .widget_product_categories,
.tax-product_cat .widget_product_categories,
.post-type-archive-product .widget_product_categories {
  background: #ffffff !important;
  border: 1px solid var(--afk-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(6, 43, 112, 0.08) !important;
  padding: 22px !important;
}

/* CSS-generated title */
.woocommerce-shop .widget_product_categories::before,
.tax-product_cat .widget_product_categories::before,
.post-type-archive-product .widget_product_categories::before {
  content: "Shop Categories";
  display: block;
  color: var(--afk-blue);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--afk-line);
}

/* Category list */
.woocommerce-shop .widget_product_categories ul,
.tax-product_cat .widget_product_categories ul,
.post-type-archive-product .widget_product_categories ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-shop .widget_product_categories li,
.tax-product_cat .widget_product_categories li,
.post-type-archive-product .widget_product_categories li {
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-shop .widget_product_categories > ul > li > a,
.tax-product_cat .widget_product_categories > ul > li > a,
.post-type-archive-product .widget_product_categories > ul > li > a {
  display: block !important;
  color: var(--afk-blue) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #EEF4FB !important;
}

.woocommerce-shop .widget_product_categories .children,
.tax-product_cat .widget_product_categories .children,
.post-type-archive-product .widget_product_categories .children {
  margin: 4px 0 10px 10px !important;
  padding-left: 12px !important;
  border-left: 2px solid var(--afk-line) !important;
}

.woocommerce-shop .widget_product_categories .children a,
.tax-product_cat .widget_product_categories .children a,
.post-type-archive-product .widget_product_categories .children a {
  display: block !important;
  color: var(--afk-text-muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 6px 0 !important;
}

.woocommerce-shop .widget_product_categories a:hover,
.tax-product_cat .widget_product_categories a:hover,
.post-type-archive-product .widget_product_categories a:hover,
.woocommerce-shop .widget_product_categories .current-cat > a,
.tax-product_cat .widget_product_categories .current-cat > a,
.post-type-archive-product .widget_product_categories .current-cat > a {
  color: var(--afk-orange) !important;
}

/* =========================================================
   FOOTER
========================================================= */

.afk-site-footer {
  padding: 0 !important;
  margin: 0 !important;
  background: var(--afk-dark-blue) !important;
  color: #ffffff;
}

.afk-footer-inner {
  width: min(1200px, calc(100vw - 48px));
  margin: 0 auto;
}

.afk-newsletter {
  background: linear-gradient(90deg, var(--afk-dark-blue), var(--afk-blue));
  padding: 34px 0;
}

.afk-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
  gap: 40px;
}

.afk-newsletter h2 {
  margin: 0 0 6px 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.afk-newsletter p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 15px;
}

.afk-newsletter-form {
  display: flex;
  width: 100%;
}

.afk-newsletter-form input {
  flex: 1;
  min-height: 50px;
  border: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 18px;
  font-size: 15px;
}

.afk-newsletter-form button {
  min-height: 50px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--afk-orange);
  color: #ffffff;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.afk-newsletter-form button:hover {
  background: #e64f00;
}

.afk-footer-main {
  background: var(--afk-dark-blue);
  padding: 46px 0 28px;
}

.afk-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.afk-footer-brand img {
  max-width: 190px !important;
  width: 190px !important;
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0;
  display: block;
  margin-bottom: 18px;
}

.afk-footer-brand p,
.afk-footer-col p {
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.afk-footer-col h3 {
  color: var(--afk-orange) !important;
  font-size: 17px;
  letter-spacing: 0.5px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.afk-footer-col a {
  display: block;
  color: #D2DFEE !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 9px;
}

.afk-footer-col a:hover {
  color: var(--afk-orange) !important;
}

.afk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.afk-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.afk-footer-legal {
  display: flex;
  gap: 24px;
}

.afk-footer-legal a {
  color: #D2DFEE !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

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

/* =========================================================
   RESPONSIVE SHOP
========================================================= */

@media (max-width: 1200px) {
  .woocommerce-shop .site-content .col-full,
  .tax-product_cat .site-content .col-full,
  .post-type-archive-product .site-content .col-full {
    gap: 28px !important;
  }

  .woocommerce-shop .widget-area,
  .tax-product_cat .widget-area,
  .post-type-archive-product .widget-area {
    flex-basis: 230px !important;
    width: 230px !important;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 850px) {
  .woocommerce-shop .site-content .col-full,
  .tax-product_cat .site-content .col-full,
  .post-type-archive-product .site-content .col-full {
    width: min(100%, calc(100vw - 40px)) !important;
    display: block !important;
  }

  .woocommerce-shop .widget-area,
  .tax-product_cat .widget-area,
  .post-type-archive-product .widget-area {
    width: 100% !important;
    margin: 0 0 28px 0 !important;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .woocommerce-result-count,
  .woocommerce-ordering {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .afk-newsletter-inner,
  .afk-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .afk-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .afk-newsletter-form input,
  .afk-newsletter-form button {
    border-radius: 8px;
  }

  .afk-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .afk-footer-legal {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   FIX SHOP SIDEBAR BLOCK VERSION
========================================================= */

/* Style the Product Categories block itself */
.woocommerce-shop .widget-area .wp-block-woocommerce-product-categories,
.tax-product_cat .widget-area .wp-block-woocommerce-product-categories,
.post-type-archive-product .widget-area .wp-block-woocommerce-product-categories,
.woocommerce-shop .widget-area .wc-block-product-categories,
.tax-product_cat .widget-area .wc-block-product-categories,
.post-type-archive-product .widget-area .wc-block-product-categories {
  background: #ffffff !important;
  border: 1px solid var(--afk-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(6, 43, 112, 0.08) !important;
  padding: 22px !important;
}

/* Add title above category list */
.woocommerce-shop .widget-area .wp-block-woocommerce-product-categories::before,
.tax-product_cat .widget-area .wp-block-woocommerce-product-categories::before,
.post-type-archive-product .widget-area .wp-block-woocommerce-product-categories::before,
.woocommerce-shop .widget-area .wc-block-product-categories::before,
.tax-product_cat .widget-area .wc-block-product-categories::before,
.post-type-archive-product .widget-area .wc-block-product-categories::before {
  content: "Shop Categories";
  display: block;
  color: var(--afk-blue);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--afk-line);
}

/* Remove bullets / default spacing */
.woocommerce-shop .widget-area .wc-block-product-categories-list,
.tax-product_cat .widget-area .wc-block-product-categories-list,
.post-type-archive-product .widget-area .wc-block-product-categories-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* All list items */
.woocommerce-shop .widget-area .wc-block-product-categories-list li,
.tax-product_cat .widget-area .wc-block-product-categories-list li,
.post-type-archive-product .widget-area .wc-block-product-categories-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Top-level category links */
.woocommerce-shop .widget-area .wc-block-product-categories-list > li > a,
.tax-product_cat .widget-area .wc-block-product-categories-list > li > a,
.post-type-archive-product .widget-area .wc-block-product-categories-list > li > a {
  display: block !important;
  color: var(--afk-blue) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #EEF4FB !important;
}

/* Child category indentation */
.woocommerce-shop .widget-area .wc-block-product-categories-list ul,
.tax-product_cat .widget-area .wc-block-product-categories-list ul,
.post-type-archive-product .widget-area .wc-block-product-categories-list ul {
  list-style: none !important;
  margin: 4px 0 10px 10px !important;
  padding-left: 12px !important;
  border-left: 2px solid var(--afk-line) !important;
}

/* Child category links */
.woocommerce-shop .widget-area .wc-block-product-categories-list ul a,
.tax-product_cat .widget-area .wc-block-product-categories-list ul a,
.post-type-archive-product .widget-area .wc-block-product-categories-list ul a {
  display: block !important;
  color: var(--afk-text-muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 6px 0 !important;
}

/* Hover */
.woocommerce-shop .widget-area .wc-block-product-categories-list a:hover,
.tax-product_cat .widget-area .wc-block-product-categories-list a:hover,
.post-type-archive-product .widget-area .wc-block-product-categories-list a:hover {
  color: var(--afk-orange) !important;
}

/* =========================================================
   ONLY SHOW SHOP CATEGORY SIDEBAR ON SHOP / PRODUCT PAGES
========================================================= */

/* Hide the product category sidebar widget everywhere by default */
.widget-area .wp-block-woocommerce-product-categories,
.widget-area .wc-block-product-categories,
.widget-area .widget_product_categories {
  display: none !important;
}

/* Show it on shop, product category, product archive, and injected single-product sidebar */
.woocommerce-shop .widget-area .wp-block-woocommerce-product-categories,
.tax-product_cat .widget-area .wp-block-woocommerce-product-categories,
.post-type-archive-product .widget-area .wp-block-woocommerce-product-categories,
.single-product .afk-product-sidebar-wrapper .wp-block-woocommerce-product-categories,

.woocommerce-shop .widget-area .wc-block-product-categories,
.tax-product_cat .widget-area .wc-block-product-categories,
.post-type-archive-product .widget-area .wc-block-product-categories,
.single-product .afk-product-sidebar-wrapper .wc-block-product-categories,

.woocommerce-shop .widget-area .widget_product_categories,
.tax-product_cat .widget-area .widget_product_categories,
.post-type-archive-product .widget-area .widget_product_categories,
.single-product .afk-product-sidebar-wrapper .widget_product_categories {
  display: block !important;
}

/* =========================================================
   AFK PRICE DISPLAY FIX
   Old price muted, sale price emphasized
========================================================= */

/* General price styling */
.woocommerce ul.products li.product .price {
  color: var(--afk-orange) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

/* Regular/original price when product is on sale */
.woocommerce ul.products li.product .price del,
.home-section .price del,
.wc-block-grid__product-price del {
  color: #8A9AB3 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  opacity: 0.75 !important;
  text-decoration: line-through !important;
}

/* Sale price */
.woocommerce ul.products li.product .price ins,
.home-section .price ins,
.wc-block-grid__product-price ins {
  color: var(--afk-orange) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

/* If WooCommerce wraps sale amount in bdi, force it too */
.woocommerce ul.products li.product .price ins .amount,
.home-section .price ins .amount,
.wc-block-grid__product-price ins .amount {
  color: var(--afk-orange) !important;
  font-weight: 900 !important;
}

/* Old price amount inside del */
.woocommerce ul.products li.product .price del .amount,
.home-section .price del .amount,
.wc-block-grid__product-price del .amount {
  color: #8A9AB3 !important;
  font-weight: 500 !important;
}

/* =========================================================
   HOME SHOP CATEGORY - COMPACT CARD FIX
========================================================= */

/* Keep category section centred and controlled */
.home-shop-cats ul.products {
  width: min(1200px, calc(100vw - 48px)) !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 24px !important;
}

/* Make category cards smaller/neater */
.home-shop-cats ul.products li.product-category {
  padding: 14px !important;
  border-radius: 12px !important;
}

/* Reduce oversized image box */
.home-shop-cats ul.products li.product-category a {
  padding: 0 !important;
}

/* Category images: smaller rounded square */
.home-shop-cats ul.products li.product-category img {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 auto 14px !important;
  padding: 0 !important;
  background: #F7FBFF;
  border: 1px solid var(--afk-line);
}

/* Category title spacing */
.home-shop-cats .woocommerce-loop-category__title {
  font-size: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* On very wide screens, don't let category cards become huge */
@media (min-width: 1200px) {
  .home-shop-cats ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .home-shop-cats ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .home-shop-cats ul.products li.product-category img {
    height: 140px !important;
  }
}

@media (max-width: 430px) {
  .home-shop-cats ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   AFK NEWS / BLOG PAGE
========================================================= */

/* News/blog archive container */
.blog .site-main,
.archive.category .site-main,
.archive.tag .site-main {
  width: min(1050px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 36px 0 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Archive/page header */
.blog .site-main > header,
.archive.category .site-main > header,
.archive.tag .site-main > header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 10px;
}

/* Page/archive title */
.blog .page-title,
.archive.category .page-title,
.archive.tag .page-title {
  color: var(--afk-blue);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.blog .page-title::after,
.archive.category .page-title::after,
.archive.tag .page-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  background: var(--afk-orange);
  border-radius: 99px;
  margin: 14px auto 20px;
}

/* Post card */
.blog article.post,
.archive.category article.post,
.archive.tag article.post {
  background: #ffffff;
  border: 1px solid var(--afk-line);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(6, 43, 112, 0.10);
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

/* Hide meta clutter */
.blog article.post .entry-meta,
.blog article.post .posted-on,
.blog article.post .byline,
.blog article.post .comments-link,
.blog article.post .cat-links,
.blog article.post .tags-links,
.archive.category article.post .entry-meta,
.archive.category article.post .posted-on,
.archive.category article.post .byline,
.archive.category article.post .comments-link,
.archive.category article.post .cat-links,
.archive.category article.post .tags-links,
.archive.tag article.post .entry-meta,
.archive.tag article.post .posted-on,
.archive.tag article.post .byline,
.archive.tag article.post .comments-link,
.archive.tag article.post .cat-links,
.archive.tag article.post .tags-links {
  display: none !important;
}

/* Featured image thumbnail */
.blog article.post .post-thumbnail,
.archive.category article.post .post-thumbnail,
.archive.tag article.post .post-thumbnail {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog article.post .post-thumbnail img,
.blog article.post img.wp-post-image,
.archive.category article.post .post-thumbnail img,
.archive.category article.post img.wp-post-image,
.archive.tag article.post .post-thumbnail img,
.archive.tag article.post img.wp-post-image {
  display: block !important;
  width: 100% !important;
  height: 185px !important;
  object-fit: cover !important;
  object-position: top center !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Hide ALL images inside post body on archive/listing pages */
.blog article.post .entry-content img,
.blog article.post .entry-summary img,
.archive.category article.post .entry-content img,
.archive.category article.post .entry-summary img,
.archive.tag article.post .entry-content img,
.archive.tag article.post .entry-summary img {
  display: none !important;
}

/* Card content */
.blog article.post .entry-header,
.blog article.post .entry-content,
.blog article.post .entry-summary,
.archive.category article.post .entry-header,
.archive.category article.post .entry-content,
.archive.category article.post .entry-summary,
.archive.tag article.post .entry-header,
.archive.tag article.post .entry-content,
.archive.tag article.post .entry-summary {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Title */
.blog article.post .entry-title,
.archive.category article.post .entry-title,
.archive.tag article.post .entry-title {
  font-size: 18px !important;
  line-height: 1.25 !important;
  margin: 16px 0 8px !important;
  padding: 0 !important;
}

.blog article.post .entry-title a,
.archive.category article.post .entry-title a,
.archive.tag article.post .entry-title a {
  color: var(--afk-blue);
  text-decoration: none;
  font-weight: 900;
}

.blog article.post .entry-title a:hover,
.archive.category article.post .entry-title a:hover,
.archive.tag article.post .entry-title a:hover {
  color: var(--afk-orange);
}

/* Excerpt/body preview */
.blog article.post .entry-summary,
.blog article.post .entry-content,
.archive.category article.post .entry-summary,
.archive.category article.post .entry-content,
.archive.tag article.post .entry-summary,
.archive.tag article.post .entry-content {
  color: var(--afk-text-muted);
  font-size: 14px;
  line-height: 1.45;
  padding-bottom: 18px !important;
  flex: 1;
}

/* Paragraph inside preview */
.blog article.post .entry-summary p,
.blog article.post .entry-content p,
.archive.category article.post .entry-summary p,
.archive.category article.post .entry-content p,
.archive.tag article.post .entry-summary p,
.archive.tag article.post .entry-content p {
  display: block !important;
  margin: 0 0 12px !important;
  color: #3F526F !important;
}

/* Keep cards compact but allow the preview text to show */
.blog article.post .entry-content,
.archive.category article.post .entry-content,
.archive.tag article.post .entry-content {
  max-height: 130px;
  overflow: hidden;
}

/* Hide leftover meta text under image */
.blog article.post .entry-header .posted-on,
.blog article.post .entry-header .byline,
.blog article.post .entry-header .comments-link,
.blog article.post .entry-header .entry-meta,
.archive.category article.post .entry-header .posted-on,
.archive.category article.post .entry-header .byline,
.archive.category article.post .entry-header .comments-link,
.archive.category article.post .entry-header .entry-meta,
.archive.tag article.post .entry-header .posted-on,
.archive.tag article.post .entry-header .byline,
.archive.tag article.post .entry-header .comments-link,
.archive.tag article.post .entry-header .entry-meta {
  display: none !important;
}

/* Read more button */
.blog article.post .more-link,
.archive.category article.post .more-link,
.archive.tag article.post .more-link {
  display: inline-flex;
  margin-top: 14px;
  background: var(--afk-orange);
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
}

.blog article.post .more-link:hover,
.archive.category article.post .more-link:hover,
.archive.tag article.post .more-link:hover {
  background: var(--afk-blue);
}

/* Pagination */
.blog .pagination,
.archive.category .pagination,
.archive.tag .pagination,
.blog .posts-navigation,
.archive.category .posts-navigation,
.archive.tag .posts-navigation {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 28px;
}

/* Mobile */
@media (max-width: 700px) {
  .blog .site-main,
  .archive.category .site-main,
  .archive.tag .site-main {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 40px));
    padding-top: 36px;
  }

  .blog article.post .post-thumbnail img,
  .blog article.post img.wp-post-image,
  .archive.category article.post .post-thumbnail img,
  .archive.category article.post img.wp-post-image,
  .archive.tag article.post .post-thumbnail img,
  .archive.tag article.post img.wp-post-image {
    height: 200px !important;
  }
}

/* Hide single post metadata clutter */
.single-post .entry-meta,
.single-post .posted-on,
.single-post .byline,
.single-post .comments-link {
  display: none !important;
}


/* =========================================================
   AFK SINGLE BLOG POST
========================================================= */

.single-post .site-main {
  width: min(760px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 40px 0 70px;
}

.single-post .entry-title {
  color: var(--afk-blue);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.single-post .entry-content {
  color: #3F526F;
  font-size: 16px;
  line-height: 1.65;
}

.single-post .entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 12px;
  border: 1px solid var(--afk-line);
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
  color: var(--afk-blue);
  font-weight: 900;
  margin-top: 28px;
}

/* =========================================================
   AFK MY ACCOUNT DOWNLOADS
========================================================= */

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
  background: #ffffff;
  border: 1px solid var(--afk-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(6, 43, 112, 0.08);
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
  background: #F4F8FD;
  color: var(--afk-blue);
  font-weight: 900;
  font-size: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
  color: #3F526F;
  font-size: 14px;
  vertical-align: middle;
}

.woocommerce-account .woocommerce-MyAccount-content .download-file .button,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-MyAccount-downloads-file,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.download {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  background: var(--afk-orange) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.woocommerce-account .woocommerce-MyAccount-content .download-file .button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-MyAccount-downloads-file:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button.download:hover {
  background: var(--afk-blue) !important;
  color: #ffffff !important;
}

/* ==================================================
   AFK COLLAPSIBLE SHOP CATEGORIES
   ================================================== */

.wc-block-product-categories-list ul {
    display: none;
    margin: 6px 0 8px 18px !important;
}

.wc-block-product-categories-list li.afk-cat-open > ul {
    display: block;
}

.wc-block-product-categories-list li.afk-cat-has-children {
    display: grid !important;
    grid-template-columns: 16px 1fr !important;
    align-items: center !important;
    column-gap: 6px !important;
}

.wc-block-product-categories-list li.afk-cat-has-children > .afk-cat-toggle {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: inline-block !important;
    width: 16px !important;
    color: #0C4FA6 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    user-select: none !important;
    text-align: center !important;
    line-height: 1 !important;
}

.wc-block-product-categories-list li.afk-cat-has-children > a {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
}

.wc-block-product-categories-list li.afk-cat-has-children > ul {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
}

.afk-cat-toggle:hover {
    color: #FF5A00 !important;
}


/* =========================================================
   AFK SINGLE PRODUCT PAGE
========================================================= */

.single-product .site-content .col-full {
  width: min(1680px, calc(100vw - 80px)) !important;
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.single-product .widget-area,
.single-product .afk-product-sidebar-wrapper {
  display: none !important;
}

.single-product .content-area {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

.single-product div.product.afk-single-product-layout {
  display: block !important;
  margin: 24px auto 70px !important;
}

.afk-product-top {
  display: grid !important;
  grid-template-columns: minmax(420px, 58%) minmax(360px, 42%) !important;
  gap: 46px !important;
  align-items: start !important;
}

.afk-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

.afk-product-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  background: var(--afk-soft-bg);
  border: 1px solid var(--afk-line);
  border-radius: 16px;
  padding: 14px;
}

.afk-product-buybox {
  background: #ffffff;
  border: 1px solid var(--afk-line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 16px 36px rgba(6,43,112,.10);
}

.afk-product-buybox .product_title {
  color: var(--afk-blue);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}

.afk-product-buybox p.price,
.afk-product-buybox span.price {
  color: var(--afk-orange) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
}

.afk-product-buybox .single_add_to_cart_button {
  background: var(--afk-orange) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.afk-product-buybox .single_add_to_cart_button:hover {
  background: var(--afk-blue) !important;
}

.afk-product-lower {
  margin-top: 46px;
}

.afk-product-lower .woocommerce-tabs {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto 56px !important;
  float: none !important;
}

.afk-product-lower .woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 40px !important;
  width: 100% !important;
  border: 0 !important;
  border-bottom: 1px solid #dbe4f0 !important;
  margin: 0 0 30px 0 !important;
  padding: 0 0 12px 0 !important;
}

.afk-product-lower .woocommerce-tabs ul.tabs li {
    white-space: nowrap !important;
}

.afk-product-lower .woocommerce-tabs ul.tabs::before,
.afk-product-lower .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.afk-product-lower .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.afk-product-lower .woocommerce-tabs ul.tabs li a {
  display: inline-block !important;
  padding: 0 0 9px 0 !important;
  color: #6b7280 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.afk-product-lower .woocommerce-tabs ul.tabs li.active a {
  color: var(--afk-blue) !important;
  border-bottom: 3px solid var(--afk-orange);
}

.afk-product-lower .woocommerce-Tabs-panel {
  width: 100% !important;
  background: #ffffff;
  border: 1px solid var(--afk-line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 28px rgba(6,43,112,.08);
}

.afk-product-lower .woocommerce-Tabs-panel h2:first-child {
  color: var(--afk-blue);
  margin-top: 0;
}

/*.afk-product-lower .related {
  width: 100% !important;
  margin-top: 20px !important;*/
}

@media (max-width: 900px) {
  .single-product .site-content .col-full {
    width: min(100%, calc(100vw - 36px)) !important;
  }

  .afk-product-top {
    display: block !important;
  }

  .afk-product-gallery,
  .afk-product-buybox {
    margin-bottom: 30px !important;
  }

  .afk-product-lower .woocommerce-tabs ul.tabs {
    flex-wrap: wrap !important;
    gap: 18px !important;
  }
}


/* =========================================================
   SINGLE PRODUCT POLISH
========================================================= */

/* Remove Storefront/WooCommerce decorative tab arrows */
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after,
.single-product .woocommerce-tabs ul.tabs li a::after {
  display: none !important;
  content: none !important;
}

/* Related products: centred and consistent when only 1-3 products exist */
.single-product .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px)) !important;
  justify-content: center !important;
  gap: 24px !important;
}

.single-product .related ul.products li.product {
  min-height: auto !important;
  max-width: 280px !important;
}

.single-product .related ul.products li.product img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
}

.single-product .related ul.products li.product .button {
  margin-top: 12px;
}

/* =========================================================
   FOOTER READABILITY SAFETY
========================================================= */

.afk-newsletter,
.afk-newsletter * {
  color: #ffffff !important;
}

.afk-newsletter input {
  color: #123 !important;
}

.afk-newsletter button {
  color: #ffffff !important;
}

.afk-footer-col h3,
.afk-footer-col .widget-title {
  color: var(--afk-orange) !important;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.afk-footer-col a,
.afk-footer-col p {
  color: rgba(255,255,255,0.88) !important;
}

.afk-footer-col a:hover,
.afk-footer-legal a:hover {
  color: var(--afk-orange) !important;
}


/* Product buy box trust points */
.afk-product-trust {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--afk-line);
    display: grid;
    gap: 10px;
    color: #3F526F;
    font-size: 15px;
    font-weight: 700;
}

.afk-product-trust div {
    line-height: 1.35;
}


/* Wider single product layout */
.single-product .afk-product-top {
    grid-template-columns: minmax(620px, 1.15fr) minmax(460px, 0.85fr) !important;
    gap: 56px !important;
}

.single-product .afk-product-lower .woocommerce-tabs {
    max-width: 1180px !important;
}

.product_meta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--afk-line);
}


.product_meta span:first-child,
.product_meta span:nth-child(3) {
    display: none !important;
}



/* Wider single product layout */
.single-product .content-area,
.single-product .site-main,
.single-product div.product {
    max-width: 1400px;
    width: 100%;
}

.single-product .woocommerce-tabs {
    width: 100%;
}


/* Pull product tabs closer to product summary */

.single-product div.product .woocommerce-tabs {
    margin-top: 30px !important;
    padding-top: 0 !important;
}

.single-product div.product .summary {
    margin-bottom: 20px;
}

/* Hide automatic Related Products on single product pages */
.single-product .related.products {
    display: none !important;
}


/* Upsells / Complete Your Setup section */
.single-product .upsells.products {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 40px auto 70px !important;
}

.single-product .upsells.products > h2 {
    color: var(--afk-blue);
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 22px;
}

/* Centre upsell products */
.single-product .upsells ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
}

.single-product .upsells ul.products li.product {
    float: none !important;
    margin: 0 !important;
}









