/*
Theme Name: Noodle Neck
Theme URI: https://noodleneck.co.uk
Author: You
Description: Minimal vintage/art-deco WooCommerce theme for Noodle Neck.
Version: 0.1
Text Domain: noodleneck
*/


html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
}


:root{
  --bg:#0b0b0b;
  --ink:#f7f2e4;          /* cream */
  --muted:#c5a46d;        /* antique gold */
  --muted-2:#8c6e3d;      /* deeper gold */
  --sans:"Federo", sans-serif;
  --deco:"Limelight", serif;   /* swapped here */
}

/* Headings: deco flourish */
h1, h2, h3, h4, h5, h6,
.brand {
  font-family: var(--deco);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 0.6em;
}

/* Gold underline accent */
h1::after, h2::after, h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--muted);
  margin-top: 6px;
}


/* Deco Menu Styling */
.nav {
   background: #0b0b0b; /* deep black */
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--deco);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.08em;
  position: relative;
  border-top: 1px solid rgba(197,164,109,.4);
  border-bottom: 1px solid rgba(197,164,109,.4);
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  transition: color .3s ease;
}

/* Add deco dividers between menu items */
.nav li {
  position: relative;
  list-style: none;
}

.nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;   /* space between link and divider */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--muted);
  opacity: 0.7;
}


.nav a::before,
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--muted);
  transition: width .3s ease;
}

.nav a::before { left: 50%; }
.nav a::after { right: 50%; }

.nav a:hover {
  color: var(--muted);
}

.nav a:hover::before,
.nav a:hover::after {
  width: 50%;
}

/* === Fancy Deco Header Banner === */
.deco-banner{
  padding: 10px 0 10px;
}

.deco-frame {
  position: relative;
  text-align: center;
  color: var(--muted);
  padding: 10px 10px 12px;
  border: 3px solid #7a5a2f; /* main bronze frame */
  background: linear-gradient(180deg, #c5a46d, #9c7a40);
  box-shadow:
    0 0 0 4px #4b341a inset,   /* inner darker frame */
    0 0 0 8px rgba(255,255,255,0.05) inset,
    0 12px 28px rgba(0,0,0,.35);
}

/* ===== HEADER SKINS ===== */

/* Default: dark gold/bronze */
.header-gold .deco-frame {
  background: linear-gradient(180deg, #c5a46d, #9c7a40);
  border-color: #7a5a2f;
  box-shadow:
    0 0 0 4px #4b341a inset,
    0 0 0 8px rgba(255,255,255,0.05) inset,
    0 12px 28px rgba(0,0,0,.35);
}

/* Deep maroon (theatre curtain) */
.header-maroon .deco-frame {
  background: linear-gradient(180deg, #5a1d26, #3a1017);
  border-color: #3a1017;
  box-shadow:
    0 0 0 4px #2b0a0e inset,
    0 0 0 8px rgba(255,255,255,0.05) inset,
    0 12px 28px rgba(0,0,0,.35);
}

/* Vintage cream */
.header-cream .deco-frame {
  background: linear-gradient(180deg, #f7f2e4, #e8e1cf);
  border-color: #b2a98d;
  box-shadow:
    0 0 0 4px #8a836b inset,
    0 0 0 8px rgba(0,0,0,0.05) inset,
    0 12px 28px rgba(0,0,0,.25);
}

/* Sleek black-on-black */
.header-black .deco-frame {
  background: linear-gradient(180deg, #111, #000);
  border-color: #444;
  box-shadow:
    0 0 0 4px #222 inset,
    0 0 0 8px rgba(255,255,255,0.05) inset,
    0 12px 28px rgba(0,0,0,.5);
}

/* Soft Pink Deco Header */
.header-pink .deco-frame {
  background: linear-gradient(180deg, #e8c6c6, #d8a7a7);
  border-color: #a06c6c;
  box-shadow:
    0 0 0 4px #7a4d4d inset,
    0 0 0 8px rgba(255,255,255,0.05) inset,
    0 12px 28px rgba(0,0,0,.25);
}
.deco-frame .corner {
  border-color: #7a4d4d; /* darker corner brackets to match inner frame */
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Corner ornaments */
.deco-frame::before,
.deco-frame::after{
  content:"";
  position:absolute; inset:6px;
  border: 1px solid rgba(197,164,109,.35);
  pointer-events:none;
}

.deco-frame::before{ clip-path: polygon(0 0, 18% 0, 18% 2px, 2px 2px, 2px 98%, 18% 98%, 18% 100%, 0 100%); }
.deco-frame::after{
  clip-path: polygon(100% 0, 82% 0, 82% 2px, 98% 2px, 98% 98%, 82% 98%, 82% 100%, 100% 100%);
}

/* Tiny corner “brackets” */
.deco-frame .corner{
  position:absolute; width:24px; height:24px; border:1px solid var(--muted);
  opacity:.8;
}
.deco-frame .corner.tl{top:-6px; left:-6px; border-right:none; border-bottom:none}
.deco-frame .corner.tr{top:-6px; right:-6px; border-left:none; border-bottom:none}
.deco-frame .corner.bl{bottom:-6px; left:-6px; border-right:none; border-top:none}
.deco-frame .corner.br{bottom:-6px; right:-6px; border-left:none; border-top:none}

/* Branding inside frame */
.brand-wrap{display:inline-block; color:var(--ink)}

.brand-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
}

.brand-img img {
  max-height: 250px;   /* adjust to taste */
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
}



/* Responsive tweaks */
@media (max-width:720px){
  .brand{font-size:32px}
  .brand-img img{max-height:56px}
  .sunburst{width: 180px}
}



*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:var(--sans);line-height:1.5}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--muted)}
img{max-width:100%;height:auto;display:block}

.container{width:min(1100px, 92vw);margin:0 auto}
.site-header{padding:10px 0 8px; position:relative}
.brand{font-family:var(--deco); letter-spacing:1px; font-size:28px}
.tagline{opacity:.8; font-size:14px; margin-top:2px}

.deco-line{height:1px; background:linear-gradient(90deg, transparent, var(--muted), transparent)}
.deco-rule{border:0;height:2px;background:
  linear-gradient(90deg, transparent, var(--muted), var(--muted-2), var(--muted), transparent);
  margin:18px 0}

.nav{display:flex;gap:18px;margin:12px 0 0}
.nav a{font-variant:small-caps;letter-spacing:.06em;opacity:.9}
.nav a:hover{opacity:1;color:var(--muted)}

.hero{padding:48px 0 28px;display:grid;gap:18px}
.hero h1{font-family:var(--deco); font-size:40px; margin:0}
.hero p{max-width:60ch; opacity:.9}
.btn{display:inline-block;border:1px solid var(--muted);padding:10px 18px;border-radius:2px}
.btn:hover{border-color:var(--ink); color:var(--bg); background:var(--ink)}

.section{padding:32px 0}
.section h2{font-family:var(--deco);font-size:28px;margin:0 0 12px}
.section .sub{opacity:.85;margin-top:-6px;margin-bottom:16px}

.site-footer{padding:24px 0 40px;font-size:14px;opacity:.9}



/* Tiny “seal” */
.seal{display:inline-flex;align-items:center;gap:8px;font-size:13px;opacity:.9}
.seal:before{content:"🐾";filter:grayscale(100%)}

/* Responsive */
@media (max-width:720px){
  .hero h1{font-size:32px}
  .nav{flex-wrap:wrap; gap:12px}
}



/* Footer bar with seal + socials */
.footer-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 12px 0;
}

.footer-bar .seal {
  margin: 0;
}

.footer-bar .social-links {
  display: flex;
  gap: 14px;
}

.footer-bar .social-links a {
  font-size: 18px;
  color: var(--muted);
  transition: color .3s ease, transform .2s ease;
}

.footer-bar .social-links a:hover {
  color: var(--ink);
  transform: scale(1.2);
}


/* Footer Nav */
.footer-nav {
  margin-top: 18px;
  text-align: center;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-nav a {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .7;
  color: var(--ink);
  transition: opacity .3s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--muted); /* gold hover */
}




@media (hover:hover){
  .woocommerce ul.products li.product:hover{transform: translateY(-2px);
    border-color: rgba(247,242,228,.85);
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
  }
}



/* ==== Ratings in gold (if used) ==== */
.woocommerce .star-rating span:before{
  color: var(--muted);
}



/* ==== Responsive niceties ==== */
@media (max-width: 900px){
  .woocommerce ul.products li.product .button{ font-size:12px; padding:8px 10px }
}
@media (max-width: 720px){
  .woocommerce div.product .product_title{ font-size:22px }
  .woocommerce ul.products li.product{ padding:10px }
}



/* Footer bottom bar */
.footer-bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--ink);
  opacity: 1;
}
/* Extra glitchy Soft Error Studio link */
.made-by a {
  position: relative;
  display: inline-block;
  transition: color .2s ease;
}

.made-by a:hover {
  color: var(--ink);
  animation: se-glitch-shake 0.4s infinite;
  text-shadow:
    -2px 0 #ff00cc,
     2px 0 #30d5c8,
    -1px 1px #fff;
}

@keyframes se-glitch-shake {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(-2px, 1px); }
  40%  { transform: translate(2px, -1px); }
  60%  { transform: translate(-1px, -2px); }
  80%  { transform: translate(1px, 2px); }
  100% { transform: translate(0,0); }
}
/* Lower the 'o' in Soft */
.lower-o {
  position: relative;
  top: 3px;        /* adjust how low it sits */
  font-size: 0.9em; /* make it a touch smaller if you like */
}


/* === Noodle Neck: Accessibility & Mobile polish — 2025-08-26 === */

/* 1) Keyboard focus visibility */
:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}
.nav a:focus-visible,
.button:focus-visible,
.wp-block-button__link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 2) Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 3) Nav tap targets (safe to redeclare for cascade) */
.nav a {
  display: inline-block;
  padding: 12px 10px;
  line-height: 1.2;
}
@media (max-width: 720px){
  .nav a { padding: 14px 12px; }
}

/* 4) Very small screens helper */
@media (max-width: 480px){
  h1 { font-size: clamp(24px, 6vw, 32px); }
  .container { padding-left: 14px; padding-right: 14px; }
}

/* 5) Container max-width guard (appends to cascade) */
.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* 6) Button baseline (keeps your variables) */
.button, .wp-block-button__link {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--sans);
  letter-spacing: .04em;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.button:hover, .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  background: linear-gradient(180deg, var(--accent), #b65110);
}
.button:active, .wp-block-button__link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Block editor front-end sanity */
.front-page .wp-block-group.hero { row-gap: 14px; }
.front-page .wp-block-columns.cards { gap: 20px; }
.front-page .wp-block-columns.cards .wp-block-column { display: grid; gap: 10px; }

/* WooCommerce Review Form Stars */
.woocommerce p.stars a {
  color: #cfcfc5; /* base state (unselected) */
  text-decoration: none;
}

/* === WooCommerce Reviews Tab Content Box === */
.woocommerce div.product .woocommerce-tabs .panel#tab-reviews {
  background: #111;                         /* dark background */
  border: 1px solid var(--muted);           /* gold border */
  border-radius: 6px;
  padding: 16px 20px;
  color: var(--ink);                        /* cream text */
  box-shadow: 0 0 12px rgba(197,164,109,.2); /* subtle gold glow */
}

/* Style headings inside the reviews */
#reviews #comments h2,
#reviews #review_form_wrapper h3 {
  color: var(--ink);                      /* gold section headings */
  font-family: var(--deco);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Review form fields */
#reviews input,
#reviews textarea {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 4px;
  padding: 8px 10px;
}
#reviews input:focus-visible,
#reviews textarea:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(247,242,228,.18);
}

/* Review form submit button */
#reviews input#submit {
  background: var(--muted);
  color: var(--bg);
  border: 1px solid var(--muted);
  font-family: var(--deco);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 10px 16px;
  border-radius: 4px;
  transition: all .25s ease;
}
#reviews input#submit:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,242,228,.25);
}



/* === WooCommerce variation/attribute selects – dark theme fix === */

/* Native <select> (when Select2 is not enhancing) */
.woocommerce div.product .variations select {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 10px 12px;
}
.woocommerce div.product .variations select:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}
.woocommerce div.product .variations option {
  background: var(--bg);
  color: var(--ink);
}

/* Select2 single select (Woo enhances attribute dropdowns with this) */
.woocommerce .select2-container--default .select2-selection--single {
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: 6px;
  height: auto;            /* let padding control height */
  padding: 8px 36px 8px 12px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ink);
  line-height: 1.4;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(247,242,228,.7); /* faded cream */
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--muted) transparent transparent transparent; /* little chevron */
}

/* Focus state */
.woocommerce .select2-container--default .select2-selection--single:focus-visible,
.woocommerce .select2-container--default.select2-container--focus .select2-selection--single {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}

/* Dropdown panel + options */
.woocommerce .select2-container .select2-dropdown {
  background: var(--bg);
  border: 1px solid var(--muted);
}
.woocommerce .select2-results__option {
  color: var(--ink);
  padding: 8px 10px;
}
.woocommerce .select2-results__option--highlighted[aria-selected] {
  background: var(--ink);  /* cream highlight on hover */
  color: var(--bg);        /* black text on cream */
}
.woocommerce .select2-results__option[aria-selected=true] {
  background: var(--muted); /* gold for selected */
  color: var(--bg);
}

/* Disabled/out-of-stock attributes (if used) */
.woocommerce .select2-results__option[aria-disabled=true],
.woocommerce div.product .variations option:disabled {
  color: rgba(247,242,228,.4);
}

/* General form inputs (for consistency, optional) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 6px;
}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
  color: rgba(247,242,228,.6);
}



/* Disabled / loading */
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce input.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button.loading,
.woocommerce button.button.loading,
.woocommerce input.button.loading {
  opacity: .6; cursor: not-allowed; transform: none; box-shadow: none;
}

/* View cart in notices */
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--bg);
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}


/* Review form submit */
#review_form #respond input#submit {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--bg);
}
#review_form #respond input#submit:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}



/* === WooCommerce Notices – Noodle Neck theme === */

/* Base notice box */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--muted);   /* antique gold border */
  border-left-width: 4px;           /* give it a subtle accent edge */
  background: var(--bg);            /* deep black background */
  color: var(--ink);                /* cream text */
  border-radius: 4px;
  padding: 12px 16px;
  margin: 20px 0;
  font-family: var(--sans);
  font-size: 15px;
}

/* Success (order received, item added to cart) */
.woocommerce-message {
  border-color: var(--muted);
}

/* Info (like "You must be logged in") */
.woocommerce-info {
  border-color: var(--ink); /* cream edge to distinguish */
}

/* Error (out of stock, invalid coupon) */
.woocommerce-error {
  border-color: #a94442; /* muted maroon for contrast */
}

/* Links inside notices */
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: var(--muted);
  text-decoration: underline;
  font-weight: 600;
}
.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
  color: var(--ink);
}


/* === CFVSW Label/Text Swatches (Sizes etc) as rectangles === */

/* Default */
.cfvsw-label-option {
  background: var(--bg) !important;        /* black */
  color: var(--ink) !important;            /* cream text */
  border: 1px solid var(--muted) !important;
  border-radius: 4px !important;           /* rectangle with slight roundness */
  padding: 8px 16px !important;
  font-family: var(--sans);
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s ease;
  display: inline-block;
  min-width: 60px;                         /* keeps them a consistent width */
  text-align: center;
}

/* Hover */
.cfvsw-label-option:hover {
  background: var(--ink) !important;       /* cream */
  color: var(--bg) !important;             /* black text */
  border-color: var(--ink) !important;
}

/* Selected */
.cfvsw-selected-swatch .cfvsw-label-option {
  background: var(--muted) !important;     /* gold */
  color: var(--bg) !important;             /* black */
  border-color: var(--muted) !important;
  box-shadow: 0 0 0 2px rgba(197,164,109,.3);
}

/* Disabled */
.cfvsw-swatches-option.disabled .cfvsw-label-option {
  opacity: .4;
  cursor: not-allowed;
}

/* Add spacing below each attribute row */
.cfvsw-swatches-option {
  margin-bottom: 7px !important;
}

/* === CFVSW Selected State Styling === */

/* If the parent gets .cfvsw-selected-swatch */
.cfvsw-swatches-option.cfvsw-selected-swatch,
.cfvsw-swatches-option.cfvsw-selected-swatch .cfvsw-label-option {
  background: var(--muted) !important;   /* gold */
  color: var(--bg) !important;           /* black text */
  border-color: var(--muted) !important;
  box-shadow: 0 0 0 2px rgba(197,164,109,.4);
}

/* Jetpack slideshow — border directly on the images */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide img,
.jetpack-slideshow .swiper-slide img {
  border: 3px solid rgba(197,164,109,.6); /* antique gold */
  border-radius: 6px;
  background: #111;                       /* fallback bg */
  display: block;
}


/* Avoid fuzzy downscales on product thumbs */
.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic; /* legacy IE */
}
/* Woo archive header */
.woocommerce-products-header { text-align:center; margin: 10px 0 18px; }
.woocommerce-products-header__title.page-title {
  font-family: var(--deco);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 28px;
  margin: 0 0 8px;
}
.term-description {
  max-width: 100%;
  margin: 0 auto 18px;
  opacity: .9;
  color: var(--ink);
  border: 1px solid rgba(197,164,109,.35);
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
}


/* Tablet (2 cards) */
@media (max-width: 980px) {
  .single-product .related.products ul.products {
    grid-template-columns: repeat(2, 220px);
  }
}

/* Mobile (1 card) */
@media (max-width: 560px) {
  .single-product .related.products ul.products {
    grid-template-columns: 220px;
  }
}



@media (hover:hover){
  .btn:hover { 
    transform:translateY(-1px); 
    box-shadow:0 6px 20px rgba(0,0,0,.25); 
    background:var(--ink); 
    border-color:var(--ink); 
    color:var(--bg); 
  }
}

/* Footer nav keyboard focus */
.footer-nav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width:560px){
  .wp-block-woocommerce-product-new ul.products { 
    display:grid; 
    grid-template-columns:1fr; 
    gap:16px; 
  }
}




/* ===== Noodle Neck Contact ===== */
.nn-contact {
  max-width: 800px;
  margin: clamp(16px, 3vw, 40px) auto;
  padding: 0 16px;
}

.nn-contact__title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  color: #f7f2e4; /* gold */
}

.nn-contact__lede {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 24px;
}

.nn-contact__notice {
  border: 1px solid;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 16px 0 24px;
  font-weight: 600;
}
.nn-contact__notice--ok { border-color: #3fb950; color: #dff6e6; background: #142516; }
.nn-contact__notice--err { border-color: #dd5555; color: #ffdada; background: #2a1313; }

.nn-contact__form {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.nn-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.nn-field input[type="text"],
.nn-field input[type="email"],
.nn-field select,
.nn-field textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid #333;
  color: #eee;
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.nn-field textarea { resize: vertical; }

.nn-field input:focus,
.nn-field select:focus,
.nn-field textarea:focus {
  border-color: #c5a46d;
  outline: none;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.25);
}

.nn-field--consent .nn-checkbox {
  display: flex; gap: 10px; align-items: center; color: #ddd;
}
.nn-field--consent input[type="checkbox"] { transform: translateY(1px); }

.nn-btn {
  background: #c5a46d;
  color: #000;
  border: none;
  padding: 12px 18px;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  width: fit-content;
}
.nn-btn:hover { filter: brightness(1.05); }
.nn-btn:active { transform: translateY(1px); }

.nn-contact__alt {
  margin-top: 8px;
  font-size: .95rem;
  color: #ccc;
}
.nn-contact__alt a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.nn-contact__details { margin-top: 32px; }
.nn-contact__details h2 { color: #d4af37; margin-bottom: 10px; }
.nn-list { list-style: disc; padding-left: 20px; }
.nn-list a { text-decoration: underline; text-decoration-thickness: 1px; }

/* Honeypot (hide visually but keep in DOM) */
.nn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* === Terms Modal === */
#nn-terms-modal { 
  position: fixed; inset:0; z-index: 9999; display:none;
}
.nn-terms-modal__overlay {
  position: absolute; inset:0; background: rgba(0,0,0,.75);
}
.nn-terms-modal__content {
  position: relative; 
  background: var(--bg);
  color: var(--ink);
  max-width: 700px;
  max-height: 80vh;
  margin: 5% auto;
  padding: 20px;
  border: 2px solid var(--muted);
  border-radius: 6px;
  overflow-y: auto;
  z-index: 2;
}
.nn-terms-modal__close {
  position: absolute; top:10px; right:10px;
  background: none; border: none; font-size: 24px; color: var(--muted);
  cursor: pointer;
}
.nn-terms-modal__body p { margin-bottom: 1em; }
body.nn-modal-open { overflow: hidden; }

/* STOP STRETCHING the ADD TO CART buttons */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.wp-block-button__link.add_to_cart_button {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  max-height: 48px !important;
  margin-top: 10px !important;
  padding: 10px 16px !important;
  white-space: nowrap !important;
  text-align: center !important;
  line-height: 1.2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  align-self: center !important;
}

/* ============================================
   GOLD Add to Cart buttons – Grid + Single Page
   ============================================ */

/* Product grid buttons */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.wp-block-button__link.add_to_cart_button,
.single-product .cart .single_add_to_cart_button {
  display: inline-block;
  width: 100%;
  padding: 10px 16px;
  margin-top: 10px;
  border: 1px solid var(--muted);
  background: var(--muted);  /* antique gold */
  color: var(--bg);          /* black text */
  font-family: var(--deco);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 2px;
  transition: all .25s ease;
  position: relative;
  z-index: 1;
}

/* Hover effect: soft cream glow */
.woocommerce ul.products li.product .button:hover,
.wp-block-button__link.add_to_cart_button:hover,
.single-product .cart .single_add_to_cart_button:hover {
  background: var(--ink);   /* cream */
  color: var(--bg);         /* black text */
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247, 242, 228, 0.25);
}

/* === Single Product: Fix Add to Cart button (force gold) === */

.single-product .cart .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce .wp-element-button {
  background: var(--muted) !important;   /* antique gold */
  color: var(--bg) !important;           /* black text */
  border: 1px solid var(--muted) !important;
  font-family: var(--deco);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 4px;
  transition: all .3s ease;
}

/* Hover state */
.single-product .cart .single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .wp-element-button:hover {
  background: var(--ink) !important;     /* cream */
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  box-shadow: 0 6px 18px rgba(247, 242, 228, 0.25);
  transform: translateY(-1px);
}

/* === Single Product: Fix Add to Cart button (force gold) === */

.single-product .cart .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce .wp-element-button {
  background: var(--muted) !important;   /* antique gold */
  color: var(--bg) !important;           /* black text */
  border: 1px solid var(--muted) !important;
  font-family: var(--deco);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 4px;
  transition: all .3s ease;
}

/* Hover state */
.single-product .cart .single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .wp-element-button:hover {
  background: var(--ink) !important;     /* cream */
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  box-shadow: 0 6px 18px rgba(247, 242, 228, 0.25);
  transform: translateY(-1px);
}
/* ============================================
   Noodle Neck Global Button Styling (Woo + WP)
   ============================================ */

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wp-element-button,
.woocommerce-page button,
.woocommerce-page input[type="submit"],
.woocommerce-page input[type="button"],
.single_add_to_cart_button,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce a.checkout-button,
.woocommerce button[name="update_cart"],
.woocommerce button[name="apply_coupon"],
.woocommerce button[name="proceed"],
.woocommerce #place_order {
  background: var(--muted);         /* gold base */
  color: var(--bg);                 /* black text */
  border: 1px solid var(--muted);
  font-family: var(--deco);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 4px;
  display: inline-block;
  transition: all .25s ease;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

/* Hover State */
.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .wp-element-button:hover,
.woocommerce-page button:hover,
.woocommerce-page input[type="submit"]:hover,
.woocommerce-page input[type="button"]:hover,
.single_add_to_cart_button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce button[name="update_cart"]:hover,
.woocommerce button[name="apply_coupon"]:hover,
.woocommerce button[name="proceed"]:hover,
.woocommerce #place_order:hover {
  background: var(--ink);           /* cream on hover */
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247, 242, 228, 0.25);
}

/* === Woo Blocks Cart: Proceed to Checkout button === */
.wc-block-components-button.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button.wp-element-button {
  background: var(--muted) !important;   /* gold */
  color: var(--bg) !important;           /* black text */
  border: 1px solid var(--muted) !important;
  font-family: var(--deco);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration:none;
  padding: 12px 20px;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  transition: all .25s ease;
}

/* Hover state */
.wc-block-components-button.wc-block-cart__submit-button:hover {
  background: var(--ink) !important;     /* cream */
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247, 242, 228, 0.25);
}

/* === Product Page Custom Inputs (Custom Size + Paracord Colours) === */
.woocommerce div.product input[id^="nn_"],
.woocommerce div.product textarea[id^="nn_"],
.woocommerce div.product select[id^="nn_"] {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  letter-spacing: .02em;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: box-shadow .2s ease, border-color .2s ease;
  display: block;
  margin-top: 8px;
}

/* Placeholder */
.woocommerce div.product input[id^="nn_"]::placeholder,
.woocommerce div.product textarea[id^="nn_"]::placeholder {
  color: rgba(247,242,228,.6);
  font-style: italic;
}

/* Focus state */
.woocommerce div.product input[id^="nn_"]:focus-visible,
.woocommerce div.product textarea[id^="nn_"]:focus-visible,
.woocommerce div.product select[id^="nn_"]:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(247,242,228,.18);
}



/* ===== Noodle Neck: Quantity box styling ===== */
.woocommerce div.product form.cart .quantity input.qty,
.woocommerce .quantity input.qty {
  width: 60px;
  max-width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  letter-spacing: .02em;
  line-height: 1.3;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: box-shadow .2s ease, border-color .2s ease, transform .06s ease;
}

/* Focus state (cream glow) */
.woocommerce div.product form.cart .quantity input.qty:focus-visible,
.woocommerce .quantity input.qty:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(247,242,228,.18);
}

/* 6) Coupon box styling (Cart & Checkout) */
.woocommerce-cart .coupon input.input-text,
.woocommerce-checkout .woocommerce-form-coupon input.input-text{
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  letter-spacing: .02em;
}
.woocommerce-cart .coupon input.input-text::placeholder,
.woocommerce-checkout .woocommerce-form-coupon input.input-text::placeholder{
  color: rgba(247,242,228,.6);
}
.woocommerce-cart .coupon input.input-text:focus-visible,
.woocommerce-checkout .woocommerce-form-coupon input.input-text:focus-visible{
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(247,242,228,.18);
}

/* === Product tabs — active black, inactive gold === */
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs {
  border-bottom: 0;
}

/* Inactive tabs */
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li {
  background: var(--muted) !important;      /* gold background */
  border: 1px solid var(--muted) !important;
  border-bottom-color: transparent !important;
  border-radius: 4px 4px 0 0 !important;
  margin-right: 4px;
}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li a {
  color: var(--bg) !important;              /* black text */
  padding: 10px 16px;
  display: block;
  font-family: var(--deco);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Active tab */
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--bg) !important;         /* black */
  border: 1px solid var(--muted) !important;/* gold border */
  border-bottom-color: var(--bg) !important;/* blends into panel */
}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--muted) !important;           /* gold text */
}

/* Kill Woo's decorative corners */
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li::after,
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs::before {
  content: none !important;
  border: 0 !important;
}

/* Hover: cream highlight for inactive tabs */
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li:hover:not(.active) {
  background: var(--ink) !important;        /* cream */
  border-color: var(--ink) !important;
}
body.woocommerce.single-product div.product .woocommerce-tabs ul.tabs li:hover:not(.active) a {
  color: var(--bg) !important;              /* black text */
}



/* 3) Prices in gold (grid + single) */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color: var(--muted);
}


/* === Center content inside product & category cards === */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category,
.woocommerce-page ul.products li.product,
.woocommerce-page ul.products li.product-category {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers horizontally */
  text-align: center;    /* text centered */
}

/* Make the add-to-cart and shop-now buttons auto-push down so spacing feels even */
.woocommerce ul.products li.product .button,
ul.products li.product-category .shop-now-button {
  margin-top: auto;
  align-self: center;
}
/* === Center the gold underline on product & category titles === */
.woocommerce ul.products li.product .woocommerce-loop-product__title::after,
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title::after {
  margin-left: auto;
  margin-right: auto;
}
/* === Add spacing below buttons inside product & category cards === */
.woocommerce ul.products li.product .button,
ul.products li.product-category .shop-now-button {
  margin-top: auto;       /* keeps them pushed down */
  margin-bottom: 12px;    /* add space above card bottom */
}

/* === Remove all page titles (no blog in use) === */
.page:not(.single-product) .entry-title {
  display: none;
}


/* === Gold inline links for page/Woo content only === */
.entry-content a,
.woocommerce .term-description a,
.woocommerce .woocommerce-Tabs-panel a {
  color: var(--muted);             /* gold */
  text-decoration: underline;
}

.entry-content a:hover,
.woocommerce .term-description a:hover,
.woocommerce .woocommerce-Tabs-panel a:hover {
  color: var(--ink);               /* cream on hover */
  text-decoration: none;           /* optional: cleaner hover */
}


/* My Account notice bar (Downloads/Orders) */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error{
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 1px solid var(--muted) !important;
  border-left-width: 4px !important;
  border-radius: 6px !important;
  box-shadow: 0 6px 18px rgba(197,164,109,.12);
}
.woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-MyAccount-content .woocommerce-error::before{ display:none !important; }

/* Button inside the notice (catch-all: classic + blocks) */
.woocommerce-MyAccount-content .woocommerce-info a.button,
.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-info a.wp-element-button,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button,
.woocommerce-MyAccount-content .woocommerce-info .wc-block-components-button,
.woocommerce-MyAccount-content .woocommerce-message a.button,
.woocommerce-MyAccount-content .woocommerce-message .button,
.woocommerce-MyAccount-content .woocommerce-message a.wp-element-button,
.woocommerce-MyAccount-content .woocommerce-message .woocommerce-Button,
.woocommerce-MyAccount-content .woocommerce-message .wc-block-components-button{
  background: var(--muted) !important;
  color: var(--bg) !important;
  border: 1px solid var(--muted) !important;
  background-image: none !important;   /* kill Woo gradient */
  box-shadow: none !important;
  display: inline-block !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-family: var(--deco) !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
             /* Woo likes to float it right */
}

.woocommerce-MyAccount-content .woocommerce-info a.button:hover,
.woocommerce-MyAccount-content .woocommerce-info .button:hover,
.woocommerce-MyAccount-content .woocommerce-info a.wp-element-button:hover,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button:hover,
.woocommerce-MyAccount-content .woocommerce-info .wc-block-components-button:hover,
.woocommerce-MyAccount-content .woocommerce-message a.button:hover,
.woocommerce-MyAccount-content .woocommerce-message .button:hover,
.woocommerce-MyAccount-content .woocommerce-message a.wp-element-button:hover,
.woocommerce-MyAccount-content .woocommerce-message .woocommerce-Button:hover,
.woocommerce-MyAccount-content .woocommerce-message .wc-block-components-button:hover{
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,242,228,.25);
}

/* ===== My Account forms: Save changes + Add payment method ===== */
.woocommerce-account .woocommerce-EditAccountForm input[type="submit"],
.woocommerce-account .woocommerce-Addresses .button,
.woocommerce-account .woocommerce-address-fields .button,
.woocommerce-account .woocommerce-MyAccount-paymentMethods .button,
.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method,
.woocommerce-account .woocommerce-MyAccount-content .button.add-payment-method,
.woocommerce-account .woocommerce-MyAccount-content form .button,
.woocommerce-account .woocommerce-MyAccount-content form button.button,
.woocommerce-account .woocommerce-Button,
.woocommerce-account .wp-element-button {
  background: var(--muted) !important;
  color: var(--bg) !important;
  border: 1px solid var(--muted) !important;
  font-family: var(--deco) !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.2 !important;
  transition: all .25s ease !important;
  cursor: pointer !important;
}

.woocommerce-account .woocommerce-EditAccountForm input[type="submit"]:hover,
.woocommerce-account .woocommerce-Addresses .button:hover,
.woocommerce-account .woocommerce-address-fields .button:hover,
.woocommerce-account .woocommerce-MyAccount-paymentMethods .button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content .button.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content form .button:hover,
.woocommerce-account .woocommerce-MyAccount-content form button.button:hover,
.woocommerce-account .woocommerce-Button:hover,
.woocommerce-account .wp-element-button:hover {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,242,228,.25);
}

/* === My Account: "Add payment method" (all template variants) === */
.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-Button--add-payment-method,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button--add-payment-method,
.woocommerce-account .woocommerce-MyAccount-content a.button.add-payment-method,
.woocommerce-account .woocommerce-MyAccount-paymentMethods a.add-payment-method,
.woocommerce-account .woocommerce-MyAccount-paymentMethods a.button,
.woocommerce-account .woocommerce-MyAccount-content .wp-element-button.add-payment-method,
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-button.add-payment-method,
/* Fallback: any link to the add-payment-method endpoint */
.woocommerce-account .woocommerce-MyAccount-content a[href*="add-payment-method"] {
  background: var(--muted) !important;
  color: var(--bg) !important;
  border: 1px solid var(--muted) !important;
  background-image: none !important;
  font-family: var(--deco) !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.2 !important;
  transition: all .25s ease !important;
  cursor: pointer !important;
}

.woocommerce-account .woocommerce-MyAccount-content a.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content a.woocommerce-Button--add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button--add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-paymentMethods a.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-paymentMethods a.button:hover,
.woocommerce-account .woocommerce-MyAccount-content .wp-element-button.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content .wc-block-components-button.add-payment-method:hover,
.woocommerce-account .woocommerce-MyAccount-content a[href*="add-payment-method"]:hover {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,242,228,.25);
}

/* Make "Select options" match Add to Cart (small + centred, with spacing) */
.woocommerce ul.products li.product .button.product_type_variable {
  display: inline-block !important;
  width: auto !important;
  max-width: 220px !important;
  margin: 10px auto 14px !important;   /* 14px gap at bottom */
  padding: 10px 16px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* One stacked grid for categories + products on mobile */
@media (max-width: 640px){
  /* Turn both product lists into one-column grids */
  .woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 12px 0;           /* unify spacing */
  }

  /* Make items full-width and kill old float widths/margins */
  .woocommerce ul.products li.product,
  .woocommerce ul.products li.product-category {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
  }

  /* Remove the “gap” between the two ULs so it feels like one list */
  .woocommerce ul.products + ul.products {
    margin-top: 0 !important;
  }

  /* Tidy headers/controls above the grid */
  .woocommerce-result-count,
  .woocommerce-ordering {
    width: 100%;
    margin: 8px 0 12px;
    float: none;
    text-align: left;
  }

  /* Keep category & product thumbnails consistent */
  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product-category a img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
  }
}

/* (Optional) If you use Woo Blocks grids anywhere */
@media (max-width: 640px){
  .wc-block-grid .wc-block-grid__products{
    display:grid; grid-template-columns:1fr; gap:14px;
  }
  .wc-block-grid__product{ margin:0 !important; }
}

/* Category pages: Sorting dropdown */
.woocommerce .woocommerce-ordering select {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;            /* remove native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c5a46d'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 10px center;
}

/* Focus glow */
.woocommerce .woocommerce-ordering select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(247,242,228,.18);
}

/* Dropdown options */
.woocommerce .woocommerce-ordering option {
  background: var(--bg);
  color: var(--ink);
}
/* Separate product vs category image behaviour */

/* Products = square cropped */
.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background:#111;
}

/* Categories = natural size (no cropping) */
.woocommerce ul.products li.product-category a img {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 4px;
  background:#111;
}

/* Related products: full-width on mobile */
@media (max-width: 640px){
  .single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important; /* one column */
    gap: 16px;
  }
  .single-product .related.products ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }
}

/* === "View cart" button in add-to-cart notices === */
.woocommerce-message a.button,
.woocommerce-message .button,
.woocommerce-message a.wp-element-button {
  background: var(--muted) !important;   /* gold */
  color: var(--bg) !important;           /* black */
  border: 1px solid var(--muted) !important;
  background-image: none !important;     /* remove Woo gradient */
  font-family: var(--deco) !important;
  font-size: 13px !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  text-align: center !important;
  line-height: 1.2 !important;
  transition: all .25s ease !important;
}

.woocommerce-message a.button:hover,
.woocommerce-message .button:hover,
.woocommerce-message a.wp-element-button:hover {
  background: var(--ink) !important;     /* cream hover */
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,242,228,.25);
}
/* === WooCommerce Notices: Dark theme with gold accents === */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg) !important;           /* dark background */
  color: var(--ink) !important;               /* cream text */
  border: 1px solid var(--muted) !important;  /* gold border */
  border-left-width: 4px !important;          /* gold accent bar */
  border-radius: 6px;
  padding: 12px 16px;
  margin: 20px 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 6px 18px rgba(197,164,109,.12);
}

/* Remove Woo's default icons in the bars */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}

/* Links inside notices */
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: var(--muted);
  text-decoration: underline;
  font-weight: 600;
}
.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
  color: var(--ink);
}

/* Buttons inside notices (View cart, etc.) */
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
  background: var(--muted) !important;
  color: var(--bg) !important;
  border: 1px solid var(--muted) !important;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: var(--deco);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .25s ease;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247,242,228,.25);
}

@media (max-width: 768px) {
  .site-header .primary-nav,
  .site-header .nav {
    display: flex !important;
    justify-content: center;
    gap: 12px; /* space between links */
    border-top: 1px solid var(--muted);
    padding: 8px 0;
  }

  .site-header .primary-nav a,
  .site-header .nav a {
    font-size: 14px;      /* smaller text */
    padding: 4px 6px;     /* tighter spacing */
  }
}
@media (max-width: 768px){
  /* tighten the space around the menu */
  .site-header .nav{ 
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;           /* row/column gap */
    padding: 6px 0;          /* less vertical padding */
    border-top: 1px solid var(--muted);
  }

  /* smaller, crisper links */
  .site-header .nav a{
    font-size: 15px;         /* was bigger; reduce a touch */
    letter-spacing: .06em;
    padding: 4px 6px;        /* tighter so two rows breathe */
  }

  /* make the little separators thinner/shorter (if you use them) */
  .site-header .nav li:not(:last-child)::after{
    height: 10px;            /* shorter line */
    opacity: .6;             /* less shouty */
  }
}

@media (max-width: 480px){
  .site-header .nav a{ font-size: 14px; padding: 3px 6px; }
}

/* ============ Footer nav: match header style on mobile ============ */
@media (max-width: 768px){
  .site-footer .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;      /* row + column gap */
    padding: 6px 0;
    border-top: 1px solid var(--muted);
  }

  .site-footer .nav a {
    font-size: 14px;
    letter-spacing: .06em;
    padding: 4px 6px;
    border: none !important;   /* no gold dividers */
  }
}

@media (max-width: 480px){
  .site-footer .nav a {
    font-size: 13px;
    padding: 3px 6px;
  }
}
/* ============ Footer text polish on mobile ============ */
@media (max-width: 768px){
  .site-footer .footer-bottom,
  .site-footer .copyright,
  .site-footer .made-by {
    font-size: 13px;       /* smaller but still readable */
    text-align: center;    /* keep it neat in the middle */
    line-height: 1.4;
  }
}

@media (max-width: 480px){
  .site-footer .footer-bottom,
  .site-footer .copyright,
  .site-footer .made-by {
    font-size: 12px;       /* even smaller on very narrow phones */
  }
}
/* ============ Footer stacked layout on mobile ============ */
@media (max-width: 768px){
  .site-footer .footer-bar,
  .site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .site-footer .nav {
    order: 1;             /* nav links first */
  }
  .site-footer .footer-bottom {
    order: 2;             /* copyright + made-by after */
  }

  /* shrink text as before */
  .site-footer .footer-bottom,
  .site-footer .copyright,
  .site-footer .made-by {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 480px){
  .site-footer .footer-bottom,
  .site-footer .copyright,
  .site-footer .made-by {
    font-size: 12px;
  }
}
/* === Simple frame around products & categories (no layout shift) === */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
  outline: 1px solid rgba(197,164,109,.55); /* antique gold */
  outline-offset: 0;                         /* sits on the edge */
  border-radius: 4px;                        /* keeps your deco softness */
}

/* Optional: subtle hover lift without changing size */
.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-category:hover {
  outline-color: var(--ink);                 /* cream on hover */
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

/* If you want it ultra-minimal, kill the decorative inner frame/brackets */
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after 
  display: none !important;

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 12px;
}

.payment-icons i {
  font-size: 20px;           /* adjust size */
  color: var(--muted);       /* antique gold */
  transition: color .2s ease, transform .2s ease;
}

.payment-icons i:hover {
  color: var(--ink);         /* cream hover */
  transform: scale(1.15);
}

/* Slideshow captions → Limelight font */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption,
.jetpack-slideshow .wp-block-jetpack-slideshow_caption {
  font-family: var(--deco);   /* Limelight */
  font-size: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);    
  text-align: center;
}

/* Smaller on mobile */
@media (max-width: 720px) {
  .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption,
  .jetpack-slideshow .wp-block-jetpack-slideshow_caption {
    font-size: 14px;
    letter-spacing: .04em; /* a little tighter spacing */
  }
}


/* Smaller wishlist buttons on mobile */
@media (max-width: 720px) {
  .nn-wl-link,
  .nn-wl-remove {
    font-size: 12px;
    padding: 6px 10px;
  }
}
/* ===== Wishlist: mobile stack ===== */
@media (max-width: 720px) {
  /* Hide header row */
  .nn-wl-head { display: none; }

  /* Each row becomes a vertical card */
  .nn-wl-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  /* Product column: center thumb + title */
  .nn-col-product {
    display: grid;
    justify-items: center;
    gap: 8px;
  }
  .nn-wl-thumb img {
    width: 96px; height: 96px; object-fit: cover;
  }
  .nn-wl-title {
    font-size: 15px;
    text-align: center;
  }
  .nn-wl-title::before {
    font-size: 1.2em;     /* slightly smaller heart on mobile */
    position: relative; top: 1px;
  }

  /* Price centered */
  .nn-col-price {
    justify-content: center;
    text-align: center;
  }

  /* Actions centered, tighter buttons */
  .nn-col-actions {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nn-wl-link,
  .nn-wl-remove {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* Footer actions below list */
  .nn-wishlist-actions {
    gap: 10px;
  }
}
/* === NN Wishlist (no plugin) === */
/* Wishlist text link */
.nn-wishlist-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--muted);         /* gold */
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  transition: color .2s ease;
}

.nn-wishlist-btn:hover {
  color: var(--ink);           /* cream on hover */
  text-decoration: none;
}

.nn-wishlist-btn.is-added {
  color: var(--ink);           /* cream text when added */
  font-style: italic;
}

/* Default state → paw print */
.nn-wishlist-btn::before,
.nn-wl-link::before,
.nn-wl-remove::before {
  content: "🐾 ";
  font-size: 0.9em;
  opacity: 0.85;
}

/* In-wishlist state → baby pink heart */
.nn-wishlist-btn.is-added::before {
  content: "♥ ";
  color: #f4b6c2;   /* soft baby pink */
  opacity: 1;
}


/* === NN Wishlist – Row/List layout === */

/* Baby-pink heart on wishlist page titles */
.nn-wl-title::before {
  content: "♥ ";
  color: #f4b6c2;       /* soft baby pink */
  margin-right: 6px;
}

/* Table-like wrapper */
.nn-wishlist-list {
  border: 1px solid rgba(197,164,109,.35);
  border-radius: 6px;
  overflow: hidden;
}

/* Head row */
.nn-wl-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 260px;
  gap: 0;
  background: #111;
  color: var(--muted);
  font-family: var(--deco);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(197,164,109,.35);
}

/* Data rows */
.nn-wl-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 260px;
  gap: 0;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(197,164,109,.25);
  background: rgba(255,255,255,.01);
}
.nn-wl-row:last-child { border-bottom: 0; }

/* Columns */
.nn-col { display: flex; align-items: center; gap: 12px; }

/* Product col: thumb + title stacked nicely */
.nn-wl-thumb img {
  width: 64px; height: 64px; object-fit: cover;
  border: 1px solid rgba(197,164,109,.25); border-radius: 4px; background:#111;
}
.nn-wl-meta { display: grid; }
.nn-wl-title { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.3; }
.nn-wl-title a { color: var(--ink); }
.nn-wl-title a:hover { color: var(--muted); }

/* Price */
.nn-wl-price { color: var(--muted); font-weight: 600; }

/* Actions: text links (no buttons) */
.nn-wl-link,
.nn-wl-remove {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--muted);
  text-decoration: underline;
  margin-right: 14px;
  transition: color .2s ease;
}
.nn-wl-link:hover,
.nn-wl-remove:hover { color: var(--ink); text-decoration: none; }

/* Row actions layout */
.nn-col-actions { gap: 16px; flex-wrap: wrap; }

/* Page header + empty state */
.nn-wishlist-title {
  font-family: var(--deco);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 12px 0;
}
.nn-wishlist-empty {
  border: 1px dashed rgba(197,164,109,.35);
  border-radius: 6px;
  padding: 18px;
  text-align: center;
}

/* Footer actions */
.nn-wishlist-actions {
  margin-top: 14px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.nn-wishlist-actions .nn-wl-link { font-size: 16px; }

/* Responsive: stack columns on mobile */
@media (max-width: 720px) {
  .nn-wl-head { display: none; }
  .nn-wl-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
  .nn-col-price, .nn-col-actions { justify-content: flex-start; }
}
/* Wishlist page action buttons */
/* Wishlist page action buttons */
.nn-wl-link,
.nn-wl-remove {
  display: inline-block;
  background: var(--muted);       /* antique gold */
  color: var(--bg) !important;    /* readable text */
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none !important;   /* 🚫 no underline */
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  cursor: pointer;
}

.nn-wl-link:hover,
.nn-wl-remove:hover {
  background: var(--ink);         /* cream hover */
  border-color: var(--ink);
  color: var(--bg) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}


/* Align multiple buttons nicely in row cells */
.nn-col-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
/* Only put the heart before product titles */
.nn-wl-title::before {
  content: "♥ ";
  color: #f4b6c2;       /* soft baby pink */
  font-size: 1.4em;     /* bigger than text */
  line-height: 1;
  margin-right: 6px;
}

/* Remove icons from other links/buttons */
.nn-wl-link::before,
.nn-wl-remove::before {
  content: none !important;
}

/* Center the wishlist link under Add to Cart on single product pages */
/* Wishlist section with full-width deco line */
.nn-wishlist-wrap {
  text-align: center;
  margin-top: 5px;
  padding-bottom: 10px;
  width: 100%;                       /* span full container */
  border-bottom: 1px solid var(--muted);
  display: block;                    /* force full-width block */
}


.nn-wishlist-wrap .nn-wishlist-btn {
  text-align: center;
  margin-top: 5px;
  padding-bottom: 10px;
  
}
/* Categories line under the deco divider */
.nn-product-cats {
  margin-top: 10px;
  font-family: var(--sans);
  color: var(--ink);
}
.nn-product-cats a { 
	color: var(--ink); 
	text-decoration: none; }

.nn-product-cats a:hover { 
	color: var(--muted); 
	text-decoration: none; }
/* Make tiles stretch evenly */
.woocommerce ul.products { align-items: stretch; }
.woocommerce ul.products li.product.product-category { display: flex; }

/* Shop now button */
.nn-cat-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* thumb, title, spacer, CTA */
  width: 100%;
  border: 1px solid rgba(197,164,109,.35);
  border-radius: 6px;
  background: rgba(255,255,255,.01);
  overflow: hidden;
}


.nn-cat-thumb { overflow: hidden; }
.nn-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Title (clamp to 2 lines so rows match) */
.nn-cat-title {
  margin: 10px 12px 0;
  text-align: center;
  font-family: var(--deco);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
  line-height: 1.25;

  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;

  min-height: calc(2 * 1.25em);
  max-height: calc(2 * 1.25em);
}

/* Spacer row keeps CTA pinned at the bottom */
.nn-cat-card::before { content: ""; }

/* CTA: no absolute positioning; sits in final grid row */
.nn-cat-cta { margin: 12px 0 14px; text-align: center; }

.nn-cat-btn {
  display: inline-block;
  background: var(--muted);
  color: var(--bg);
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease, border-color .2s ease;
}
.nn-cat-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Mobile tweaks */
@media (max-width: 720px){
  .product-category.is-root  .nn-cat-thumb { aspect-ratio: 4 / 3; }
  .product-category.is-child .nn-cat-thumb { aspect-ratio: 1 / 1; }
  .nn-cat-title { margin: 8px 10px 0; }
  .nn-cat-cta { margin: 10px 0 12px; }
  .nn-cat-btn { font-size: 13px; padding: 7px 12px; }
}
.nn-cat-cta{
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin-top: 10px;          /* space under the title */
  text-align: center;
}

/* Font Awesome v5 class shim for v6 */
.fas { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.far { font-family: "Font Awesome 6 Free"; font-weight: 400; }
.fab { font-family: "Font Awesome 6 Brands"; font-weight: 400; }

.nn-share {
  margin-top: 1rem;
  display: flex;
  justify-content: center;   /* center horizontally */
  gap: .5rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold, #c9a758);  /* gold line underneath */
}

.nn-share__label {
  font-weight: 600;
  margin-right: .25rem;
}

.nn-share a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold, #c9a758);
  border-radius: 50%;
  color: var(--gold, #c9a758);
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}

.nn-share a:hover {
  background: var(--gold, #c9a758);
  color: #000;
}

/* gold seals container pinned top-left of image */
.nn-badges {
  display: flex;
  flex-direction: row;
  gap: 10px;
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 10;
}

/* Make sure the product image container is positioned */
.woocommerce-product-gallery {
  position: relative;
}

/* Actual image badge as background */
.nn-badge-img.barney-seal {
  width: 100px;
  height: 100px;
  background-image: url('https://www.noodleneck.co.uk/wp-content/uploads/2025/10/barney-approved-1.png'); /* Replace with your actual URL */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.nn-badge-img.cat-seal {
  width: 100px;
  height:100px;
  background-image: url('https://www.noodleneck.co.uk/wp-content/uploads/2025/10/cat-tested.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.nn-badge-img.squirrel-seal {
  width: 100px;
  height: 100px;
  background-image: url('https://www.noodleneck.co.uk/wp-content/uploads/2025/10/squirrel-tested.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 600px) {
  .nn-badge-img {
    width: 65px !important;
    height: 65px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block !important;
    opacity: 1 !important;
  }

  .nn-badges {
    flex-direction: row !important;
    gap: 6px !important;
    top: 8px !important;
    left: 8px !important;
    display: flex !important;
  }

  .woocommerce-product-gallery {
    position: relative !important;
  }
}


