/*!
Theme Name: pants
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pants
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

pants is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}/* ==========================================================================
   Small Towns Custom Styling
   ========================================================================== */

* {
  font-family: 'Special Elite', 'Courier New', monospace, serif;
}

body {
  background-color: #EFECE6;
  color: #181716;
  -webkit-font-smoothing: antialiased;
}

/* Directional studio shadows matching catalog staging */
.studio-shadow {
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.22),
              6px 10px 18px -4px rgba(28, 24, 20, 0.12);
}

.envelope-layer-shadow {
  box-shadow: 24px 32px 42px -12px rgba(24, 20, 16, 0.28),
              4px 8px 14px -3px rgba(24, 20, 16, 0.15);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #EFECE6;
}
::-webkit-scrollbar-thumb {
  background: #D1CCC1;
}/* ==========================================================================
   Small Towns Layout & Card Grid Fixes
   ========================================================================== */

/* 1. Stop links from turning purple or blue */
header nav a,
header nav a:visited,
footer a,
footer a:visited {
  color: #736F67 !important;
  text-decoration: none !important;
}

header nav a:hover,
header nav a.underline,
footer a:hover {
  color: #181716 !important;
}

header nav a.underline {
  text-decoration: underline !important;
  text-underline-offset: 8px !important;
}

/* 2. Fix the header logo size and blend mode */
header img {
  height: 90px !important;
  width: auto !important;
  max-width: 380px !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  display: block !important;
}

/* 3. Force the Product Grid to display 3 columns */
#product-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem 2.5rem !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* 2 columns on tablet screens */
@media (min-width: 768px) {
  #product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 3 columns on desktop screens */
@media (min-width: 1024px) {
  #product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* 4. Fix the Card Visual Tile sizing */
.bg-hikoneTile {
  background-color: #E5E1D8 !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#product-grid article {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}/* ==========================================================================
   Small Towns Generator & 4-Column Footer Fixes
   ========================================================================== */

/* 1. Inscription Generator Box & Buttons */
#generator-section {
  max-width: 1400px !important;
  margin: 7rem auto 0 auto !important;
  padding-top: 4rem !important;
  border-top: 2px solid #DDD8CD !important;
}

#generator-section > div {
  max-width: 48rem !important;
}

#generator-section .bg-hikoneTile {
  aspect-ratio: auto !important;
  display: block !important;
  padding: 2rem !important;
  border-left: 4px solid #181716 !important;
  margin-top: 2rem !important;
  background-color: #E5E1D8 !important;
}

#generator-section button {
  cursor: pointer !important;
  font-family: inherit !important;
  border-radius: 0 !important;
}

/* 2. 4-Column Footer Directory */
footer#footer-contact {
  border-top: 2px solid #DDD8CD !important;
  background-color: #EFECE6 !important;
  padding: 5rem 1.5rem !important;
}

footer#footer-contact > div {
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* Force the 4 columns to sit side-by-side on desktop */
footer#footer-contact .grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2.5rem !important;
  border-bottom: 2px solid #DDD8CD !important;
  padding-bottom: 4rem !important;
}

@media (min-width: 640px) {
  footer#footer-contact .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  footer#footer-contact .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* 3. Bottom Legal Row */
footer#footer-contact .pt-10 {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  padding-top: 2.5rem !important;
}

@media (min-width: 640px) {
  footer#footer-contact .pt-10 {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}
/* ==========================================================================
   Small Towns Generator Buttons Fix
   ========================================================================== */

/* The button container */
#generator-section .flex {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  margin-top: 2rem !important;
}

/* Button 1: "↻ Roll Another" (Solid Dark Button) */
#generator-section button:first-child {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  display: inline-block !important;
}

#generator-section button:first-child:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

/* Button 2: "Copy Inscription" (Outlined Button) */
#generator-section button:last-child {
  background-color: transparent !important;
  color: #181716 !important;
  border: 2px solid #181716 !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  display: inline-block !important;
}

#generator-section button:last-child:hover {
  background-color: #E5E1D8 !important;
}/* Make product card tile background pure white */
#product-grid .bg-hikoneTile {
  background-color: #ffffff !important;
}/* ==========================================================================
   Small Towns Single Product Page Styling
   ========================================================================== */

/* 1. Layout Container: 2 columns on desktop */
.woocommerce div.product {
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important;
  margin-top: 1rem !important;
}

@media (min-width: 768px) {
  .woocommerce div.product {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 4rem !important;
  }
}

/* 2. Left Column: Product Image Box */
.woocommerce div.product div.images {
  width: 100% !important;
  max-width: 600px !important;
  background-color: #ffffff !important;
  padding: 2.5rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.18), 
              6px 10px 18px -4px rgba(28, 24, 20, 0.10) !important;
  margin: 0 auto !important;
  float: none !important;
}

.woocommerce div.product div.images img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 3. Right Column: Product Summary & Typography */
.woocommerce div.product div.summary {
  width: 100% !important;
  float: none !important;
  color: #181716 !important;
}

.woocommerce div.product .product_title {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 2.25rem !important;
  text-transform: uppercase !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #181716 !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.75rem !important;
  font-weight: bold !important;
  color: #181716 !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce div.product p.price del {
  color: #736F67 !important;
  font-weight: normal !important;
  font-size: 1.25rem !important;
  margin-right: 0.5rem !important;
}

.woocommerce div.product p.price ins {
  text-decoration: none !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 1.1rem !important;
  color: #736F67 !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
}

/* 4. Quantity Box & Add to Cart Button */
.woocommerce div.product form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
}

.woocommerce div.product form.cart .quantity input.qty {
  background-color: #ffffff !important;
  border: 2px solid #DDD8CD !important;
  padding: 0.75rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4rem !important;
  text-align: center !important;
  color: #181716 !important;
  height: auto !important;
  border-radius: 0 !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.25rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  transition: background-color 0.2s ease !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

/* 5. Product Meta (SKU, Categories) */
.woocommerce div.product .product_meta {
  border-top: 2px solid #DDD8CD !important;
  padding-top: 1.5rem !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #736F67 !important;
}

.woocommerce div.product .product_meta a {
  color: #181716 !important;
  font-weight: bold !important;
  text-decoration: underline !important;
}
/* ==========================================================================
   Small Towns Product Page Polish
   ========================================================================== */

/* 1. Hide the blog comments & reply box on product pages */
.single-product #comments,
.single-product #respond,
.single-product .comment-respond {
  display: none !important;
}

/* 2. Main product layout: Picture on left, Details on right */
.single-product div.product {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

@media (min-width: 768px) {
  .single-product div.product {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 4rem !important;
  }
}

/* 3. Product image box on the left */
.single-product div.product div.images {
  width: 100% !important;
  max-width: 540px !important;
  background-color: #ffffff !important;
  padding: 2rem !important;
  border: 1px solid #DDD8CD !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.15) !important;
  float: none !important;
  margin: 0 !important;
}

.single-product div.product div.images img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 4. Product details on the right */
.single-product div.product div.summary {
  width: 100% !important;
  max-width: 580px !important;
  float: none !important;
  margin: 0 !important;
  color: #181716 !important;
}

/* Main Product Title */
.single-product .product_title {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 2.5rem !important;
  text-transform: uppercase !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #181716 !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

/* Price */
.single-product div.product p.price {
  font-size: 2rem !important;
  font-weight: bold !important;
  color: #181716 !important;
  margin-bottom: 1.5rem !important;
}

/* Description / Specs */
.single-product div.product .woocommerce-product-details__short-description {
  font-size: 1.1rem !important;
  color: #736F67 !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 2px solid #DDD8CD !important;
}

/* Add to cart form */
.single-product div.product form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 2rem !important;
}

.single-product div.product form.cart .quantity input.qty {
  background-color: #ffffff !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4.5rem !important;
  text-align: center !important;
  color: #181716 !important;
  border-radius: 0 !important;
}

.single-product div.product form.cart .single_add_to_cart_button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
  background-color: #000000 !important;
}

/* 5. Tidy up Related Products below */
.single-product section.related {
  clear: both !important;
  width: 100% !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.single-product section.related h2 {
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.single-product section.related ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product section.related ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
}

.single-product section.related ul.products li.product a {
  color: #181716 !important;
  text-decoration: none !important;
}

.single-product section.related ul.products li.product .button {
  display: inline-block !important;
  margin-top: 1rem !important;
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.5rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}
/* ==========================================================================
   Small Towns Dedicated Single Product Styles
   ========================================================================== */

/* 1. Two-column layout */
.st-product-columns {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  margin-top: 1rem !important;
}

@media (min-width: 860px) {
  .st-product-columns {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 4.5rem !important;
  }
}

/* 2. Left Column: Image */
.st-product-gallery {
  flex: 1 1 50% !important;
  max-width: 580px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.st-image-card {
  background-color: #ffffff !important;
  padding: 2rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.st-image-card img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 3. Right Column: Typography & Form */
.st-product-summary {
  flex: 1 1 50% !important;
  color: #181716 !important;
}

.st-product-title {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 2.5rem !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  color: #181716 !important;
  margin: 0 0 1rem 0 !important;
  font-weight: bold !important;
}

.st-product-price {
  font-size: 2rem !important;
  font-weight: bold !important;
  color: #181716 !important;
  margin-bottom: 1.5rem !important;
}

.st-price-old {
  color: #736F67 !important;
  text-decoration: line-through !important;
  font-weight: normal !important;
  font-size: 1.4rem !important;
  margin-right: 0.75rem !important;
}

/* Specs card callout */
.st-specs-box {
  background-color: #E5E1D8 !important;
  border-left: 4px solid #181716 !important;
  padding: 1.25rem 1.5rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #736F67 !important;
}

.st-specs-box strong {
  color: #181716 !important;
}

.st-product-desc {
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  color: #181716 !important;
  margin-bottom: 2rem !important;
}

/* Add to cart inputs */
.st-cart-form-wrap form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 2rem !important;
}

.st-cart-form-wrap .quantity input.qty {
  background-color: #ffffff !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4.5rem !important;
  text-align: center !important;
  color: #181716 !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form-wrap .single_add_to_cart_button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form-wrap .single_add_to_cart_button:hover {
  background-color: #000000 !important;
}

/* Meta links */
.st-product-meta {
  border-top: 2px solid #DDD8CD !important;
  padding-top: 1.25rem !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  color: #736F67 !important;
}

.st-product-meta a {
  color: #181716 !important;
  font-weight: bold !important;
}

/* 4. Related Products section underneath */
.st-related-wrap {
  clear: both !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
  width: 100% !important;
}

.st-related-wrap h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.st-related-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.st-related-wrap ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.st-related-wrap ul.products li.product a {
  color: #181716 !important;
  text-decoration: none !important;
}

.st-related-wrap ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
}/* ==========================================================================
   Small Towns Single Product Clean Up Fixes
   ========================================================================== */

/* 1. Ensure columns sit side by side without spilling */
.st-product-columns {
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important;
  width: 100% !important;
}

@media (min-width: 860px) {
  .st-product-columns {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 4rem !important;
  }
}

/* 2. Left column (Image) */
.st-product-gallery {
  flex: 1 1 50% !important;
  width: 100% !important;
  max-width: 580px !important;
}

.st-image-card {
  background-color: #ffffff !important;
  padding: 2.5rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.st-image-card img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 3. Right column (Details & Form) */
.st-product-summary {
  flex: 1 1 50% !important;
  width: 100% !important;
}

.st-cart-form {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 1.5rem 0 2rem 0 !important;
}

.st-cart-form .qty {
  background-color: #ffffff !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4.5rem !important;
  text-align: center !important;
  color: #181716 !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form .single_add_to_cart_button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form .single_add_to_cart_button:hover {
  background-color: #000000 !important;
}

/* 4. Force Related Products to sit underneath, full width */
.st-related-wrap {
  clear: both !important;
  width: 100% !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
  display: block !important;
}

.st-related-wrap h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.st-related-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.st-related-wrap ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}

.st-related-wrap ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.st-related-wrap ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}/* ==========================================================================
   Fix Duplicate Product Details & Related Products Placement
   ========================================================================== */

/* 1. Hide the automatically injected duplicate elements inside the summary */
.st-product-summary .woocommerce-product-gallery,
.st-product-summary div.summary.entry-summary {
  display: none !important;
}

/* 2. Main layout columns */
.st-product-columns {
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important;
  width: 100% !important;
}

@media (min-width: 860px) {
  .st-product-columns {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 4.5rem !important;
  }
}

.st-product-gallery {
  flex: 1 1 50% !important;
  max-width: 580px !important;
  width: 100% !important;
}

.st-product-summary {
  flex: 1 1 50% !important;
  width: 100% !important;
}

/* 3. Specs callout box */
.st-specs-box {
  background-color: #E5E1D8 !important;
  border-left: 4px solid #181716 !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.5rem 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #736F67 !important;
}

.st-specs-box strong {
  color: #181716 !important;
}

/* 4. Single Add to Cart Form */
.st-cart-form {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 1.5rem 0 !important;
}

.st-cart-form .qty {
  background-color: #ffffff !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4.5rem !important;
  text-align: center !important;
  color: #181716 !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form .single_add_to_cart_button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form .single_add_to_cart_button:hover {
  background-color: #000000 !important;
}

/* 5. Force Related Products to sit underneath across the page */
.st-related-wrap {
  clear: both !important;
  width: 100% !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
  display: block !important;
}

.st-related-wrap h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.st-related-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.st-related-wrap ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}

.st-related-wrap ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.st-related-wrap ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}/* ==========================================================================
   Small Towns Single Product Layout Overrides
   ========================================================================== */

/* 1. Hide the default WooCommerce tabs box ("Description" tab) */
.woocommerce-tabs,
.wc-tabs-wrapper {
  display: none !important;
}

/* 2. Style the WooCommerce Add to Cart form container */
.st-cart-form-wrap form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 1.5rem 0 !important;
}

.st-cart-form-wrap .quantity input.qty {
  background-color: #ffffff !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4.5rem !important;
  text-align: center !important;
  color: #181716 !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form-wrap button.single_add_to_cart_button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  height: auto !important;
}

.st-cart-form-wrap button.single_add_to_cart_button:hover {
  background-color: #000000 !important;
}

/* 3. Break Related Products out of the float and sit full-width across bottom */
.st-related-wrap {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  display: block !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.st-related-wrap section.related {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.st-related-wrap section.related > h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

/* Force Related Products grid into neat columns */
.st-related-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
}

@media (min-width: 640px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.st-related-wrap ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.st-related-wrap ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.st-related-wrap ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}/* ==========================================================================
   Small Towns Product Page - Rock-Solid Layout Fixes
   ========================================================================== */

/* 1. Add to Cart Form (Quantity + Button) */
.st-direct-cart-form {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 2rem 0 !important;
}

.st-qty-input {
  background-color: #ffffff !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 1rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  width: 4.5rem !important;
  text-align: center !important;
  color: #181716 !important;
  border-radius: 0 !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.st-add-button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  border: 2px solid #181716 !important;
  padding: 0.85rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  display: inline-block !important;
}

.st-add-button:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

/* 2. Break Related Products completely out of any floats */
.st-single-product {
  overflow: visible !important;
  display: block !important;
  width: 100% !important;
}

.st-related-wrap {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  display: block !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.st-related-wrap section.related {
  clear: both !important;
  float: none !important;
  width: 100% !important;
}

.st-related-wrap section.related > h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

/* 3. Related Products Grid Columns */
.st-related-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
}

@media (min-width: 640px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .st-related-wrap ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.st-related-wrap ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.st-related-wrap ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.st-related-wrap ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}
/* ==========================================================================
   Small Towns - Maapilim Boutique Vibe Styling
   ========================================================================== */

/* Main outer container */
.st-product-page-wrap {
  width: 100% !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 3rem 1.5rem 6rem 1.5rem !important;
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
}

/* Two-column layout */
.st-layout-columns {
  display: flex !important;
  flex-direction: column !important;
  gap: 3.5rem !important;
  width: 100% !important;
}

@media (min-width: 860px) {
  .st-layout-columns {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 5rem !important;
  }
}

/* Left Column: Gallery Frame */
.st-gallery-column {
  flex: 1 1 50% !important;
  max-width: 580px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.st-gallery-frame {
  background-color: #ffffff !important;
  padding: 2.5rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.st-gallery-frame img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Right Column: Content */
.st-summary-column {
  flex: 1 1 50% !important;
  width: 100% !important;
  color: #181716 !important;
}

/* 1. Price above Title */
.st-top-price {
  font-size: 1.15rem !important;
  color: #736F67 !important;
  margin-bottom: 0.5rem !important;
  font-weight: bold !important;
}

.st-del-price {
  text-decoration: line-through !important;
  margin-right: 0.5rem !important;
  color: #99948a !important;
}

.st-main-price {
  color: #181716 !important;
}

/* 2. Bold Title */
.st-title {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 2.4rem !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  color: #181716 !important;
  margin: 0 0 1.5rem 0 !important;
  font-weight: bold !important;
}

/* 3. Minimalist Text Tabs */
.st-text-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  border-bottom: 1px solid #DDD8CD !important;
  padding-bottom: 0.6rem !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.95rem !important;
  color: #736F67 !important;
  text-transform: uppercase !important;
}

.st-text-tabs span {
  cursor: pointer !important;
  padding-bottom: 0.6rem !important;
  position: relative !important;
}

.st-text-tabs span.st-tab-active {
  color: #181716 !important;
  font-weight: bold !important;
  border-bottom: 2px solid #C8836A !important; /* Clay underline accent */
  margin-bottom: -0.65rem !important;
}

/* 4. Tab Content */
.st-tab-content {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: #555047 !important;
  margin-bottom: 2rem !important;
}

/* 5. Quantity Stepper */
.st-qty-row {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.st-qty-label {
  font-size: 0.95rem !important;
  color: #736F67 !important;
  text-transform: uppercase !important;
}

.st-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #C5C0B4 !important;
  background-color: #ffffff !important;
}

.st-stepper-btn {
  background: transparent !important;
  border: none !important;
  padding: 0.4rem 0.8rem !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  color: #181716 !important;
  line-height: 1 !important;
}

.st-stepper-btn:hover {
  background-color: #EFECE6 !important;
}

.st-stepper-num {
  width: 2.5rem !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  color: #181716 !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}

.st-stepper-num::-webkit-outer-spin-button,
.st-stepper-num::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* 6. Terracotta / Clay Add to Cart Button */
.st-terracotta-btn {
  display: block !important;
  width: 100% !important;
  background-color: #C8836A !important; /* Muted Terracotta */
  color: #ffffff !important;
  border: none !important;
  padding: 1.1rem 2rem !important;
  font-family: 'Special Elite', monospace !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: background-color 0.2s ease !important;
  border-radius: 0 !important;
}

.st-terracotta-btn:hover {
  background-color: #B5725A !important;
}

/* 7. Sub-notice box */
.st-sub-notice {
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #DDD8CD !important;
  font-size: 0.85rem !important;
  color: #736F67 !important;
}

.st-sub-notice span {
  font-weight: bold !important;
  color: #181716 !important;
  display: block !important;
  margin-bottom: 0.25rem !important;
}

/* 8. Bottom Related Products */
.st-bottom-related {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  display: block !important;
  margin-top: 6rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.st-bottom-related section.related > h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.4rem !important;
  text-transform: uppercase !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.st-bottom-related ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .st-bottom-related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .st-bottom-related ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.st-bottom-related ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}

.st-bottom-related ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.st-bottom-related ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}/* ==========================================================================
   Small Towns - Maapilim Boutique Product Styling
   ========================================================================== */

/* Outer container */
.st-product-page-wrap {
  width: 100% !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 3rem 1.5rem 6rem 1.5rem !important;
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
}

/* Two-column layout */
.st-layout-columns {
  display: flex !important;
  flex-direction: column !important;
  gap: 3.5rem !important;
  width: 100% !important;
}

@media (min-width: 860px) {
  .st-layout-columns {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 5rem !important;
  }
}

/* Left Column: Image */
.st-gallery-column {
  flex: 1 1 50% !important;
  max-width: 580px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.st-gallery-frame {
  background-color: #ffffff !important;
  padding: 2.5rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.st-gallery-frame img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Right Column: Summary */
.st-summary-column {
  flex: 1 1 50% !important;
  width: 100% !important;
  color: #181716 !important;
}

/* 1. Price above Title */
.st-top-price {
  font-size: 1.15rem !important;
  color: #736F67 !important;
  margin-bottom: 0.5rem !important;
  font-weight: bold !important;
}

.st-del-price {
  text-decoration: line-through !important;
  margin-right: 0.5rem !important;
  color: #99948a !important;
}

.st-main-price {
  color: #181716 !important;
}

/* 2. Title */
.st-title {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 2.4rem !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  color: #181716 !important;
  margin: 0 0 1.5rem 0 !important;
  font-weight: bold !important;
}

/* 3. Text Tabs */
.st-text-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  border-bottom: 1px solid #DDD8CD !important;
  padding-bottom: 0.6rem !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.95rem !important;
  color: #736F67 !important;
  text-transform: uppercase !important;
}

.st-text-tabs span {
  cursor: pointer !important;
  padding-bottom: 0.6rem !important;
}

.st-text-tabs span.st-tab-active {
  color: #181716 !important;
  font-weight: bold !important;
  border-bottom: 2px solid #C8836A !important;
  margin-bottom: -0.65rem !important;
}

/* 4. Tab Content */
.st-tab-content {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: #555047 !important;
  margin-bottom: 2rem !important;
}

/* 5. Stepper */
.st-qty-row {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.st-qty-label {
  font-size: 0.95rem !important;
  color: #736F67 !important;
  text-transform: uppercase !important;
}

.st-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #C5C0B4 !important;
  background-color: #ffffff !important;
}

.st-stepper-btn {
  background: transparent !important;
  border: none !important;
  padding: 0.4rem 0.8rem !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  color: #181716 !important;
  line-height: 1 !important;
}

.st-stepper-btn:hover {
  background-color: #EFECE6 !important;
}

.st-stepper-num {
  width: 2.5rem !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  color: #181716 !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}

.st-stepper-num::-webkit-outer-spin-button,
.st-stepper-num::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* 6. Terracotta Add to Cart Button */
.st-terracotta-btn {
  display: block !important;
  width: 100% !important;
  background-color: #C8836A !important;
  color: #ffffff !important;
  border: none !important;
  padding: 1.1rem 2rem !important;
  font-family: 'Special Elite', monospace !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: background-color 0.2s ease !important;
  border-radius: 0 !important;
}

.st-terracotta-btn:hover {
  background-color: #B5725A !important;
}

/* 7. Sub-notice */
.st-sub-notice {
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #DDD8CD !important;
  font-size: 0.85rem !important;
  color: #736F67 !important;
}

.st-sub-notice span {
  font-weight: bold !important;
  color: #181716 !important;
  display: block !important;
  margin-bottom: 0.25rem !important;
}

/* 8. Related Products Bottom Grid */
.st-bottom-related {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  display: block !important;
  margin-top: 6rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.st-bottom-related section.related > h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.4rem !important;
  text-transform: uppercase !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.st-bottom-related ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .st-bottom-related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .st-bottom-related ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.st-bottom-related ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}

.st-bottom-related ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.st-bottom-related ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}/* ==========================================================================
   Small Towns - Clean Single Product & Related Products Layout
   ========================================================================== */

/* 1. Main Product Two-Column Layout */
.single-product div.product {
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important;
  max-width: 1300px !important;
  margin: 2rem auto 0 auto !important;
  float: none !important;
}

@media (min-width: 860px) {
  .single-product div.product {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 5rem !important;
  }
}

/* 2. Left Column: Product Image Frame */
.single-product div.product div.woocommerce-product-gallery {
  flex: 1 1 50% !important;
  max-width: 580px !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  padding: 2.5rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.12) !important;
  box-sizing: border-box !important;
}

.single-product div.product div.woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 3. Right Column: Summary & Purchase */
.single-product div.product div.summary.entry-summary {
  flex: 1 1 50% !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  color: #181716 !important;
}

/* Price displayed above title (Maapilim Style) */
.single-product div.product div.summary p.price {
  order: 1 !important;
  font-size: 1.25rem !important;
  color: #736F67 !important;
  font-weight: bold !important;
  margin: 0 0 0.5rem 0 !important;
}

.single-product div.product div.summary p.price ins {
  text-decoration: none !important;
  color: #181716 !important;
}

.single-product div.product div.summary p.price del {
  color: #99948a !important;
  font-weight: normal !important;
  margin-right: 0.5rem !important;
}

/* Product Title */
.single-product div.product div.summary .product_title {
  order: 2 !important;
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 2.4rem !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  color: #181716 !important;
  margin: 0 0 1.5rem 0 !important;
  font-weight: bold !important;
}

/* Product Description / Specs */
.single-product div.product div.summary .woocommerce-product-details__short-description,
.single-product div.product div.summary .st-specs-box {
  order: 3 !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: #555047 !important;
  margin-bottom: 1.5rem !important;
}

/* 4. Cart Form & Quantity Controls */
.single-product div.product div.summary form.cart {
  order: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  margin: 1.5rem 0 !important;
}

.single-product div.product div.summary form.cart .quantity {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.single-product div.product div.summary form.cart .quantity::before {
  content: 'QUANTITY:' !important;
  font-size: 0.95rem !important;
  color: #736F67 !important;
  font-weight: bold !important;
  letter-spacing: 0.05em !important;
}

.single-product div.product div.summary form.cart .quantity input.qty {
  width: 3.5rem !important;
  height: auto !important;
  padding: 0.5rem !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border: 1px solid #C5C0B4 !important;
  background-color: #ffffff !important;
  color: #181716 !important;
  border-radius: 0 !important;
}

/* Terracotta / Clay Action Button */
.single-product div.product div.summary form.cart button.single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  background-color: #C8836A !important; /* Clay / Terracotta */
  color: #ffffff !important;
  border: none !important;
  padding: 1.1rem 2rem !important;
  font-family: 'Special Elite', monospace !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: center !important;
  border-radius: 0 !important;
  transition: background-color 0.2s ease !important;
}

.single-product div.product div.summary form.cart button.single_add_to_cart_button:hover {
  background-color: #B5725A !important;
}

/* Product Meta (Categories) */
.single-product div.product div.summary .product_meta {
  order: 5 !important;
  border-top: 1px solid #DDD8CD !important;
  padding-top: 1.25rem !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  color: #736F67 !important;
}

.single-product div.product div.summary .product_meta a {
  color: #181716 !important;
  font-weight: bold !important;
}

/* 5. Force Related Products Out of Any Float & Sit Full Width Across the Bottom */
.single-product section.related.products {
  clear: both !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: 1300px !important;
  margin: 5rem auto 0 auto !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.single-product section.related.products > h2 {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.5rem !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  color: #181716 !important;
  margin-bottom: 2rem !important;
}

.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .single-product section.related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .single-product section.related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.single-product section.related.products ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.single-product section.related.products ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.single-product section.related.products ul.products li.product .button {
  background-color: #181716 !important;
  color: #EFECE6 !important;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-align: center !important;
  border-radius: 0 !important;
  margin-top: 1rem !important;
  display: block !important;
  text-decoration: none !important;
}/* ==========================================================================
   Small Towns Product Page - Final Alignment & Related Products Fix
   ========================================================================== */

/* 1. Allow the main product container to wrap so Related Products drops below */
.single-product div.product {
  flex-wrap: wrap !important;
}

/* 2. Hide the duplicate second price sitting under the specs box */
.single-product div.product div.summary > p.price ~ p.price,
.single-product div.product div.summary .price + .price {
  display: none !important;
}

/* 3. Force Related Products to break onto its own full-width row */
.single-product div.product section.related.products,
.single-product section.related.products {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 1300px !important;
  margin: 4rem auto 0 auto !important;
  padding-top: 2.5rem !important;
  border-top: 2px solid #DDD8CD !important;
  clear: both !important;
}

/* 4. Display Related Products in clean, side-by-side columns */
.single-product section.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 2.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.single-product section.related.products ul.products li.product {
  background-color: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.single-product section.related.products ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}/* ==========================================================================
   Small Towns - Hide Duplicate Price & Tidy Spacing
   ========================================================================== */

/* 1. Hide the second price tag inside the product summary */
.single-product div.product div.summary p.price:not(:first-of-type) {
  display: none !important;
}

/* 2. Tidy the body text directly under the specs box */
.single-product div.product div.summary .woocommerce-product-details__short-description {
  margin-top: 1rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #181716 !important;
}/* Make product heading lowercase / normal casing */
.single-product div.product div.summary .product_title,
.st-title {
  text-transform: none !important;
}/* ==========================================================================
   Small Towns - Exact Maapilim Layout Rules
   ========================================================================== */

/* Outer Wrapper */
.maapilim-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 2rem auto 6rem auto !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
}

/* 2-Column Flex Layout */
.maapilim-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 3rem !important;
  align-items: flex-start !important;
  width: 100% !important;
}

@media (min-width: 860px) {
  .maapilim-grid {
    flex-direction: row !important;
    gap: 4.5rem !important;
  }
}

/* Left: Image Container */
.maapilim-image-col {
  flex: 1 1 50% !important;
  max-width: 540px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.maapilim-image-card {
  background-color: #ffffff !important;
  padding: 2.5rem !important;
  box-shadow: 18px 24px 38px -10px rgba(28, 24, 20, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.maapilim-image-card img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Right: Summary Column */
.maapilim-summary-col {
  flex: 1 1 50% !important;
  max-width: 480px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* 1. Small Top Price */
.maapilim-price-top {
  font-size: 1rem !important;
  color: #736F67 !important;
  margin-bottom: 0.35rem !important;
  letter-spacing: 0.02em !important;
}

.maapilim-del-price {
  text-decoration: line-through !important;
  margin-right: 0.4rem !important;
  color: #9c978f !important;
}

.maapilim-current-price {
  color: #181716 !important;
  font-weight: bold !important;
}

/* 2. Title */
.maapilim-title {
  font-size: 2.25rem !important;
  line-height: 1.2 !important;
  color: #181716 !important;
  margin: 0 0 1.25rem 0 !important;
  text-transform: none !important;
  font-weight: bold !important;
}

/* 3. Horizontal Minimalist Tabs */
.maapilim-tabs-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  border-bottom: 1px solid #DDD8CD !important;
  width: 100% !important;
  padding-bottom: 0.4rem !important;
  margin-bottom: 1rem !important;
}

.maapilim-tab-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 0 0.4rem 0 !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-transform: capitalize !important;
  color: #736F67 !important;
  cursor: pointer !important;
  position: relative !important;
}

.maapilim-tab-btn.active {
  color: #181716 !important;
  border-bottom: 2px solid #C8836A !important;
  margin-bottom: -0.45rem !important;
}

/* 4. Tab Body Content */
.maapilim-tabs-content {
  width: 100% !important;
  min-height: 55px !important;
  margin-bottom: 1.5rem !important;
}

.maapilim-tab-panel {
  display: none !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #555047 !important;
  margin: 0 !important;
}

.maapilim-tab-panel.active {
  display: block !important;
}

.maapilim-body-text {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #555047 !important;
  margin-bottom: 1.5rem !important;
}

/* 5. Inline Quantity Stepper Row */
.maapilim-cart-form {
  width: 100% !important;
  margin: 0 0 1.25rem 0 !important;
}

.maapilim-qty-row {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.25rem !important;
}

.maapilim-qty-label {
  font-size: 0.9rem !important;
  color: #736F67 !important;
  letter-spacing: 0.02em !important;
}

.maapilim-stepper {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #C5C0B4 !important;
  background-color: #ffffff !important;
  height: 36px !important;
  box-sizing: border-box !important;
}

.maapilim-stepper-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 0.75rem !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  color: #181716 !important;
  line-height: 1 !important;
  height: 100% !important;
}

.maapilim-stepper-btn:hover {
  background-color: #EFECE6 !important;
}

.maapilim-qty-input {
  width: 2.25rem !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: bold !important;
  color: #181716 !important;
  padding: 0 !important;
  -moz-appearance: textfield !important;
}

.maapilim-qty-input::-webkit-outer-spin-button,
.maapilim-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* 6. Solid Primary Button */
.maapilim-primary-btn {
  display: block !important;
  width: 100% !important;
  background-color: #C8836A !important; /* Clay / Terracotta */
  color: #ffffff !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: bold !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: background-color 0.2s ease !important;
}

.maapilim-primary-btn:hover {
  background-color: #B5725A !important;
}

/* 7. Secondary Box */
.maapilim-secondary-box {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #DDD8CD !important;
  padding: 0.85rem 1rem !important;
  text-align: center !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.06em !important;
  color: #736F67 !important;
  text-transform: uppercase !important;
  margin-bottom: 1.5rem !important;
}

/* 8. Share Row */
.maapilim-share-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  color: #736F67 !important;
  text-transform: uppercase !important;
}

.maapilim-share-row .dot {
  color: #DDD8CD !important;
}

/* Bottom Related Products Row */
.maapilim-related-row {
  clear: both !important;
  width: 100% !important;
  margin-top: 5rem !important;
  padding-top: 3rem !important;
  border-top: 2px solid #DDD8CD !important;
}

.maapilim-related-row section.related > h2 {
  font-size: 1.35rem !important;
  text-transform: uppercase !important;
  margin-bottom: 2rem !important;
  color: #181716 !important;
}

.maapilim-related-row ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.maapilim-related-row ul.products li.product {
  background: #ffffff !important;
  padding: 1.5rem !important;
  border: 1px solid #DDD8CD !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin: 0 !important;
}

.maapilim-related-row ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}/* ==========================================================================
   Small Towns - Clean Out Leftover Top Header & Duplicate Mini-Thumb
   ========================================================================== */

/* 1. Hide the old top uppercase title & old top price outside the Maapilim box */
.single-product div.product > .product_title,
.single-product div.product > .price,
.single-product div.product > p.price,
.single-product div.product div.summary > .product_title,
.single-product div.product div.summary > p.price,
.single-product div.product div.summary > .price {
  display: none !important;
}

/* 2. Hide the old grey specs box sticking to the top */
.single-product div.product > .st-specs-box,
.single-product div.product div.summary > .st-specs-box {
  display: none !important;
}

/* 3. Hide the small duplicate thumbnail inside the right-hand column */
.maapilim-summary-col .maapilim-image-fallback,
.maapilim-summary-col > .st-gallery-frame,
.maapilim-summary-col img:not(.maapilim-primary-btn img) {
  display: none !important;
}

/* 4. Let the Maapilim title and price show loud and clear */
.maapilim-summary-col .maapilim-price-top,
.maapilim-summary-col .maapilim-current-price,
.maapilim-summary-col .maapilim-title {
  display: block !important;
}/* Style WooCommerce Add to Cart button to match Terracotta theme */
.single-product form.cart .single_add_to_cart_button {
    background-color: #C8836A !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: bold !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    width: 100% !important;
    margin-top: 1rem !important;
    cursor: pointer !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background-color: #b5725a !important;
}

.single-product form.cart .quantity input.qty {
    border: 1px solid #C5C0B4 !important;
    height: 36px !important;
    border-radius: 0 !important;
}/* ==========================================================================
   Small Towns - Boutique Cart Page Styling
   ========================================================================== */

/* Cart Container Width & Font */
.woocommerce-cart .woocommerce {
  max-width: 1100px;
  margin: 3rem auto 6rem auto;
  padding: 0 1.5rem;
  font-family: 'Special Elite', 'Courier New', monospace, serif;
  color: #181716;
}

/* Page Heading */
.woocommerce-cart h1.entry-title,
.woocommerce-cart h1.page-title {
  font-family: 'Special Elite', 'Courier New', monospace, serif;
  font-size: 2.25rem;
  margin-bottom: 2rem;
  text-transform: none;
  font-weight: bold;
}

/* Stacked Green Notice Banners (Clean boutique style) */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info {
  background-color: #ffffff !important;
  border: 1px solid #DDD8CD !important;
  border-left: 4px solid #C8836A !important;
  color: #181716 !important;
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  padding: 0.85rem 1.25rem !important;
  margin-bottom: 1rem !important;
  list-style: none !important;
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before {
  display: none !important;
}

.woocommerce-cart .woocommerce-message a.button {
  background-color: #C8836A !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 0.4rem 0.85rem !important;
}

/* Cart Table Layout */
.woocommerce-cart table.shop_table {
  border: 1px solid #DDD8CD !important;
  border-collapse: collapse !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border-radius: 0 !important;
  margin-bottom: 2.5rem !important;
}

.woocommerce-cart table.shop_table th {
  background-color: #E5E1D8 !important;
  color: #181716 !important;
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 1rem !important;
  border: 1px solid #DDD8CD !important;
  font-size: 0.85rem !important;
}

.woocommerce-cart table.shop_table td {
  padding: 1.25rem 1rem !important;
  border: 1px solid #DDD8CD !important;
  vertical-align: middle !important;
  font-size: 1rem !important;
}

/* Product Thumbnail in Cart */
.woocommerce-cart table.shop_table td.product-thumbnail img {
  width: 70px !important;
  height: auto !important;
  border: 1px solid #DDD8CD !important;
  background: #ffffff !important;
  padding: 4px !important;
}

/* Product Name Link */
.woocommerce-cart table.shop_table td.product-name a {
  color: #181716 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.woocommerce-cart table.shop_table td.product-name a:hover {
  color: #C8836A !important;
}

/* Remove "X" Link */
.woocommerce-cart table.shop_table a.remove {
  color: #736F67 !important;
  font-size: 1.25rem !important;
}

.woocommerce-cart table.shop_table a.remove:hover {
  color: #C8836A !important;
  background: transparent !important;
}

/* Quantity Input Box */
.woocommerce-cart .quantity input.qty {
  border: 1px solid #C5C0B4 !important;
  background: #ffffff !important;
  font-family: 'Special Elite', monospace !important;
  font-weight: bold !important;
  padding: 0.4rem !important;
  width: 3.5rem !important;
  text-align: center !important;
  border-radius: 0 !important;
}

/* Coupon & Update Cart Row */
.woocommerce-cart table.shop_table td.actions {
  background-color: #FAF8F5 !important;
  padding: 1.25rem 1rem !important;
}

.woocommerce-cart table.shop_table td.actions .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.woocommerce-cart table.shop_table td.actions .coupon input#coupon_code {
  border: 1px solid #DDD8CD !important;
  background: #ffffff !important;
  font-family: inherit !important;
  padding: 0.6rem 0.85rem !important;
  border-radius: 0 !important;
}

/* Primary & Secondary Buttons */
.woocommerce-cart button.button[name="update_cart"],
.woocommerce-cart button.button[name="apply_coupon"] {
  background-color: #181716 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 0.75rem 1.25rem !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.woocommerce-cart button.button[name="update_cart"]:hover,
.woocommerce-cart button.button[name="apply_coupon"]:hover {
  background-color: #C8836A !important;
}

/* Cart Totals Box */
.woocommerce-cart .cart_totals {
  background-color: #ffffff !important;
  border: 1px solid #DDD8CD !important;
  padding: 2rem !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cart_totals h2 {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 1.35rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
  color: #181716 !important;
}

.woocommerce-cart .cart_totals table.shop_table {
  margin-bottom: 1.5rem !important;
}

/* Proceed to Checkout Button (Terracotta) */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  background-color: #C8836A !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.1rem 1.5rem !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #B5725A !important;
}
/* ==========================================================================
   Small Towns - Remove Notebook Paper Background on Shop & Category Pages
   ========================================================================== */
body.woocommerce-shop .st-notebook-sheet,
body.tax-product_cat .st-notebook-sheet,
body.archive.woocommerce .st-notebook-sheet {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

body.woocommerce-shop .st-notebook-tear-top,
body.tax-product_cat .st-notebook-tear-top,
body.archive.woocommerce .st-notebook-tear-top,
body.woocommerce-shop .st-notebook-red-margin,
body.tax-product_cat .st-notebook-red-margin,
body.archive.woocommerce .st-notebook-red-margin {
  display: none !important;
}

body.woocommerce-shop .st-notebook-body,
body.tax-product_cat .st-notebook-body,
body.archive.woocommerce .st-notebook-body {
  padding: 1.5rem 0 2rem 0 !important;
}
/* ==========================================================================
   Small Towns - Shop & Category Product Grid Layout
   ========================================================================== */

/* Main products container: clean 3-column responsive grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2.5rem 2rem !important;
  list-style: none !important;
  margin: 2rem 0 4rem 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Individual product card container */
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #FAF8F5 !important;
  border: 1px solid #DDD8CD !important;
  padding: 1.25rem !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(24, 23, 22, 0.08) !important;
}

/* Product Card Images */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 0 1rem 0 !important;
  background-color: #ffffff !important;
}

/* Product Card Titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Special Elite', 'Courier New', monospace, serif !important;
  font-size: 1.15rem !important;
  color: #181716 !important;
  line-height: 1.3 !important;
  margin: 0.5rem 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Product Price */
.woocommerce ul.products li.product .price {
  font-family: 'Special Elite', monospace !important;
  font-size: 1.05rem !important;
  color: #181716 !important;
  margin: 0.25rem 0 1rem 0 !important;
  display: block !important;
  text-align: left !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block !important;
  width: 100% !important;
  background-color: #181716 !important;
  color: #ffffff !important;
  font-family: 'Special Elite', monospace !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 0.75rem 1rem !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: auto !important;
  transition: background-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background-color: #C8836A !important; /* Terracotta hover */
  color: #ffffff !important;
}

/* Product Count & Sorting Dropdown alignment */
.woocommerce .woocommerce-result-count {
  font-family: 'Special Elite', monospace !important;
  font-size: 0.95rem !important;
  color: #736F67 !important;
  margin-bottom: 1.5rem !important;
  float: left !important;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 1.5rem !important;
  float: right !important;
}

.woocommerce .woocommerce-ordering select {
  font-family: 'Special Elite', monospace !important;
  background-color: #ffffff !important;
  border: 1px solid #DDD8CD !important;
  padding: 0.4rem 0.6rem !important;
  color: #181716 !important;
}

/* Clear floats above the grid */
.woocommerce .woocommerce-result-count::after,
.woocommerce .woocommerce-ordering::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* Responsive adjustments for Tablets & Phones */
@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 550px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
  }
}
/* ==========================================================================
   Small Towns - Remove White Card Boxes from Product Tiles
   ========================================================================== */
.woocommerce ul.products li.product,
ul.products li.product,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-LoopProduct-link {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}/* Custom Header Basket Icon */
.site-header .cart-contents::before,
.header-cart .cart-contents::before,
.site-header .shopping-basket-icon,
.site-header a.cart-icon::before {
    content: "" !important;
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    background-image: url('https://smalltowns.co.uk/wp-content/uploads/2026/10/basket.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    vertical-align: middle !important;
    font-family: inherit !important;
}

/* Basket Icon & Number Alignment */
.st-header-cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #4a4a4a !important;
    text-decoration: none !important;
    margin-top: -10px !important;
    margin-left: -12px !important;
}

.st-header-cart-icon img {
    width: 34px !important;
    height: auto !important;
    display: block !important;
}

.st-header-cart-icon span {
    color: #4a4a4a !important;
    line-height: 1 !important;
    margin-top: 5px !important; /* Nudges only the (1) down level with the menu text */
}/* ==========================================================================
   Small Towns - Card Series Icon Bar Styles
   ========================================================================== */
.st-series-nav-wrap {
    width: 100% !important;
    margin: 1.5rem 0 2.5rem 0 !important;
    padding: 1.25rem !important;
    background-color: #FAF8F5 !important;
    border: 1px solid #DDD8CD !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.st-series-title {
    display: block !important;
    font-family: 'Special Elite', monospace !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em !important;
    color: #736F67 !important;
    margin-bottom: 1rem !important;
}

.st-series-list {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
}

.st-series-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 0.5rem !important;
    transition: transform 0.2s ease !important;
}

.st-series-item:hover {
    transform: translateY(-2px) !important;
}

.st-series-circle {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    border: 2px solid #DDD8CD !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    box-shadow: 2px 2px 0px #EDE8DF !important;
}

.st-series-circle img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
}

.st-series-label {
    font-family: 'Special Elite', monospace !important;
    font-size: 0.95rem !important;
    color: #181716 !important;
    text-align: center !important;
}

.st-series-item:hover .st-series-label {
    color: #C8836A !important;
}/* ==========================================================================
   Small Towns - Greetings Cards Series Navigation Bar
   ========================================================================== */
.st-series-nav-wrap {
    width: 100% !important;
    margin: 1.5rem 0 2.5rem 0 !important;
    padding: 1.25rem 1.5rem !important;
    background-color: #FAF8F5 !important;
    border: 1px solid #DDD8CD !important;
    box-sizing: border-box !important;
    clear: both !important;
}

.st-series-title {
    display: block !important;
    font-family: 'Special Elite', monospace !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em !important;
    color: #736F67 !important;
    margin-bottom: 1.2rem !important;
    text-transform: uppercase !important;
}

.st-series-list {
    display: flex !important;
    align-items: flex-start !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
}

.st-series-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 0.6rem !important;
    transition: transform 0.2s ease !important;
}

.st-series-item:hover {
    transform: translateY(-3px) !important;
}

.st-series-circle {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    border: 2px solid #DDD8CD !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    box-shadow: 2px 2px 0px #EDE8DF !important;
}

.st-series-circle img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
}

.st-series-label {
    font-family: 'Special Elite', monospace !important;
    font-size: 0.95rem !important;
    color: #181716 !important;
    text-align: center !important;
}

.st-series-item:hover .st-series-label {
    color: #C8836A !important;
}<div class="st-series-nav-wrap">
  <span class="st-series-title">FILTER BY SERIES:</span>
  <div class="st-series-list">
    
    <!-- Series 1: Cabbage Patch -->
    <a href="/product-tag/cabbage-patch/" class="st-series-item">
      <div class="st-series-circle">
        <img src="https://smalltowns.co.uk/wp-content/uploads/2026/10/basket.png" alt="Cabbage Patch">
      </div>
      <span class="st-series-label">Cabbage Patch</span>
    </a>

    <!-- Series 2: Tesco Insults -->
    <a href="/product-tag/tesco/" class="st-series-item">
      <div class="st-series-circle">
        <img src="https://smalltowns.co.uk/wp-content/uploads/2026/10/elvis.png" alt="Tesco Insults">
      </div>
      <span class="st-series-label">Tesco Insults</span>
    </a>

    <!-- Series 3: Provincial Life -->
    <a href="/product-tag/provincial/" class="st-series-item">
      <div class="st-series-circle">
        <img src="https://smalltowns.co.uk/wp-content/uploads/2026/10/basket.png" alt="Provincial Life">
      </div>
      <span class="st-series-label">Provincial Life</span>
    </a>

    <!-- Series 4: Dark Roast -->
    <a href="/product-tag/dark-roast/" class="st-series-item">
      <div class="st-series-circle">
        <img src="https://smalltowns.co.uk/wp-content/uploads/2026/10/elvis.png" alt="Dark Roast">
      </div>
      <span class="st-series-label">Dark Roast</span>
    </a>

  </div>
</div>