/*
Theme Name: AxoPeptides Research Commerce
Theme URI: https://axopeptides.com
Author: AxoPeptides
Author URI: https://axopeptides.com
Description: A modern WooCommerce theme for UK laboratory research peptide e-commerce. Research-only presentation, legal disclaimers, responsive product grids, and scientific UI styling.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axopeptides
Tags: ecommerce, woocommerce, responsive, custom-logo, research, laboratory
*/

:root {
  --axo-navy: #071827;
  --axo-slate: #102636;
  --axo-muted: #607080;
  --axo-border: #dbe5ea;
  --axo-bg: #f6fafb;
  --axo-white: #ffffff;
  --axo-cyan: #15c5d8;
  --axo-emerald: #10b981;
  --axo-warning: #fff7e6;
  --axo-warning-border: #f2c46d;
  --axo-danger: #b42318;
  --axo-radius: 18px;
  --axo-shadow: 0 18px 50px rgba(7, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--axo-bg);
  color: var(--axo-navy);
  line-height: 1.6;
}

a {
  color: var(--axo-navy);
  text-decoration: none;
}

a:hover {
  color: var(--axo-cyan);
}

img {
  max-width: 100%;
  height: auto;
}

.axo-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.axo-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--axo-border);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
}

.axo-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.axo-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.axo-logo span {
  color: var(--axo-cyan);
}

.axo-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 650;
}

.axo-nav a {
  color: var(--axo-slate);
}

.axo-nav a:hover {
  color: var(--axo-cyan);
}

.axo-header-search {
  max-width: 280px;
  flex: 1;
}

.axo-search-form {
  position: relative;
}

.axo-search-form input[type="search"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--axo-border);
  border-radius: 999px;
  padding: 0 118px 0 18px;
  background: #fff;
  color: var(--axo-navy);
  outline: none;
}

.axo-search-form input[type="search"]:focus {
  border-color: var(--axo-cyan);
  box-shadow: 0 0 0 4px rgba(21, 197, 216, 0.14);
}

.axo-search-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--axo-navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.axo-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(21, 197, 216, 0.18), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.14), transparent 26%),
    linear-gradient(135deg, #071827 0%, #102636 72%);
  color: #fff;
}

.axo-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.axo-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #d9fbff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.axo-hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.axo-hero p {
  max-width: 680px;
  color: #d6e7ee;
  font-size: 1.1rem;
}

.axo-hero-search {
  margin-top: 32px;
  max-width: 720px;
}

.axo-hero-search .axo-search-form input[type="search"] {
  min-height: 64px;
  font-size: 1rem;
  padding-left: 24px;
  padding-right: 150px;
}

.axo-hero-search .axo-search-form button {
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--axo-cyan), var(--axo-emerald));
  color: var(--axo-navy);
}

.axo-hero-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--axo-shadow);
}

.axo-lab-card {
  background: #fff;
  color: var(--axo-navy);
  border-radius: 24px;
  padding: 26px;
}

.axo-lab-card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.axo-lab-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.axo-lab-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--axo-border);
  color: var(--axo-muted);
}

.axo-lab-list li:last-child {
  border-bottom: 0;
}

.axo-section {
  padding: 72px 0;
}

.axo-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.axo-section-header h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.axo-section-header p {
  margin: 10px 0 0;
  color: var(--axo-muted);
  max-width: 650px;
}

.axo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.axo-card,
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
  padding: 20px;
  box-shadow: 0 12px 34px rgba(7, 24, 39, 0.05);
}

.axo-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--axo-navy);
}

.axo-card p {
  margin: 0;
  color: var(--axo-muted);
  font-size: 0.94rem;
}

.axo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 197, 216, 0.12);
  color: #006b78;
  font-size: 0.78rem;
  font-weight: 800;
}

.axo-compliance {
  background: #fff;
  border-top: 1px solid var(--axo-border);
  border-bottom: 1px solid var(--axo-border);
}

.axo-warning-box {
  background: var(--axo-warning);
  border: 1px solid var(--axo-warning-border);
  border-radius: var(--axo-radius);
  padding: 22px;
  color: #503600;
}

.axo-warning-box strong {
  color: var(--axo-danger);
}

.axo-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  border: 0 !important;
  padding: 13px 20px !important;
  background: var(--axo-navy) !important;
  color: #fff !important;
  font-weight: 800 !important;
  cursor: pointer;
}

.axo-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--axo-cyan) !important;
  color: var(--axo-navy) !important;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
}

.woocommerce div.product {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--axo-shadow);
}

.axo-product-disclaimer {
  margin: 22px 0;
  padding: 18px;
  border-radius: var(--axo-radius);
  background: var(--axo-warning);
  border: 1px solid var(--axo-warning-border);
  font-weight: 700;
}

.axo-shop-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
}

.axo-shop-filters select,
.axo-shop-filters input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--axo-border);
  border-radius: 12px;
  padding: 0 12px;
}

.axo-footer {
  background: var(--axo-navy);
  color: #d9e8ee;
  padding: 54px 0 0;
}

.axo-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.axo-footer h3,
.axo-footer h4 {
  color: #fff;
  margin-top: 0;
}

.axo-footer a {
  color: #d9e8ee;
}

.axo-footer a:hover {
  color: var(--axo-cyan);
}

.axo-footer-disclaimer {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #bed1d8;
}

.axo-legal-strip {
  background: rgba(255, 247, 230, 0.1);
  border: 1px solid rgba(242, 196, 109, 0.35);
  border-radius: 14px;
  padding: 14px;
}

.axo-page-content {
  padding: 64px 0;
}

.axo-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.axo-post-card {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
  padding: 22px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

@media (max-width: 980px) {
  .axo-header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .axo-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .axo-header-search {
    max-width: 100%;
  }

  .axo-hero-grid {
    grid-template-columns: 1fr;
  }

  .axo-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .axo-footer-grid,
  .axo-posts {
    grid-template-columns: 1fr;
  }

  .axo-shop-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .axo-hero {
    padding: 58px 0;
  }

  .axo-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .axo-section-header {
    display: block;
  }

  .axo-hero-search .axo-search-form input[type="search"] {
    min-height: 58px;
    padding-right: 118px;
  }

  .axo-hero-search .axo-search-form button {
    height: 46px;
    padding: 0 15px;
  }
}
/* WooCommerce Archive */
.axo-shop-hero,
.axo-legal-hero {
  padding: 68px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(21, 197, 216, 0.18), transparent 30%),
    linear-gradient(135deg, var(--axo-navy), var(--axo-slate));
  color: #fff;
}

.axo-shop-hero h1,
.axo-legal-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.axo-shop-hero p,
.axo-legal-hero p {
  max-width: 760px;
  color: #d6e7ee;
  font-size: 1.05rem;
}

.axo-shop-warning {
  margin-top: 26px;
  max-width: 860px;
}

.axo-shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.axo-shop-sidebar {
  position: sticky;
  top: 100px;
}

.axo-sidebar-card {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 12px 34px rgba(7, 24, 39, 0.05);
}

.axo-sidebar-card h3 {
  margin-top: 0;
}

.axo-shop-filters {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.axo-shop-filters label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.axo-shop-filters label span {
  color: var(--axo-slate);
}

.axo-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
}

.axo-shop-pagination {
  margin-top: 34px;
}

.axo-empty-state {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
  padding: 34px;
  text-align: center;
}

/* Single Product */
.axo-product-page {
  padding: 52px 0;
}

.axo-single-product-card {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--axo-shadow);
}

.axo-product-top-notice {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--axo-radius);
  background: var(--axo-warning);
  border: 1px solid var(--axo-warning-border);
  color: #503600;
}

.axo-product-top-notice strong {
  color: var(--axo-danger);
}

.axo-single-product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.axo-product-gallery-wrap .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
}

.axo-product-summary-wrap .summary {
  width: 100% !important;
  float: none !important;
}

.axo-product-summary .product_title {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.axo-coa-card,
.axo-storage-card,
.axo-research-agreement-card {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--axo-radius);
  border: 1px solid var(--axo-border);
  background: #f8fbfc;
}

.axo-coa-card h3,
.axo-storage-card h3,
.axo-research-agreement-card h3 {
  margin-top: 0;
}

.axo-coa-card ul,
.axo-compliance-list {
  margin: 0;
  padding-left: 20px;
}

.axo-product-tabs-wrap {
  margin-top: 42px;
}

/* Cart */
.axo-cart-page,
.axo-checkout-page {
  padding: 58px 0;
}

.axo-cart-header,
.axo-checkout-header {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.axo-cart-header h1,
.axo-checkout-header h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.axo-cart-form,
.axo-cart-collaterals,
.axo-checkout-card {
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(7, 24, 39, 0.05);
}

.axo-cart-table {
  border-collapse: collapse;
  width: 100%;
}

.axo-cart-table th,
.axo-cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--axo-border);
  text-align: left;
}

.axo-cart-table th {
  color: var(--axo-slate);
  font-size: 0.9rem;
}

.axo-cart-table .product-thumbnail img {
  width: 72px;
  border-radius: 14px;
}

.axo-cart-research-note {
  display: block;
  margin-top: 8px;
  color: var(--axo-danger);
  font-weight: 700;
}

.axo-cart-collaterals {
  margin-top: 24px;
}

/* Checkout */
.axo-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: start;
}

.axo-checkout-card {
  margin-bottom: 22px;
}

.axo-checkout-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.axo-order-review-card {
  position: sticky;
  top: 100px;
}

.axo-checkout-form input,
.axo-checkout-form select,
.axo-checkout-form textarea,
.axo-cart-form input,
.axo-cart-form select,
.axo-cart-form textarea {
  border: 1px solid var(--axo-border);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 12px;
}

.axo-checkout-form textarea {
  min-height: 110px;
}

/* Legal Pages */
.axo-legal-content {
  max-width: 920px;
}

.axo-legal-content h2 {
  margin-top: 36px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.axo-legal-content p,
.axo-legal-content li {
  color: var(--axo-muted);
}

.axo-legal-content ul {
  padding-left: 22px;
}

.axo-legal-signoff {
  margin-top: 38px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--axo-border);
  border-radius: var(--axo-radius);
}

.axo-legal-signoff blockquote {
  margin: 18px 0 0;
  padding: 18px;
  border-left: 4px solid var(--axo-cyan);
  background: #f8fbfc;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 980px) {
  .axo-shop-layout,
  .axo-single-product-grid,
  .axo-cart-header,
  .axo-checkout-header,
  .axo-checkout-grid {
    grid-template-columns: 1fr;
  }

  .axo-shop-sidebar,
  .axo-order-review-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .axo-cart-form,
  .axo-cart-collaterals,
  .axo-checkout-card,
  .axo-single-product-card {
    padding: 18px;
  }

  .axo-cart-table thead {
    display: none;
  }

  .axo-cart-table,
  .axo-cart-table tbody,
  .axo-cart-table tr,
  .axo-cart-table td {
    display: block;
    width: 100%;
  }

  .axo-cart-table tr {
    margin-bottom: 20px;
    border: 1px solid var(--axo-border);
    border-radius: 18px;
    overflow: hidden;
  }

  .axo-cart-table td {
    border-bottom: 1px solid var(--axo-border);
  }

  .axo-cart-table td::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    color: var(--axo-slate);
  }

  .axo-cart-table .product-remove::before,
  .axo-cart-table .product-thumbnail::before {
    display: none;
  }
}
