/*
Theme Name: Vape Shops in the UK
Theme URI: http://vapeshopsuk.com/
Author: Theme Developer
Author URI: http://vapeshopsuk.com/
Description: A custom theme for Vape Shops UK directory website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vapeshops-uk
Tags: directory, vape-shops, custom
*/

/* 
* Color Palette:
* #222222 - Dark Gray (Text)
* #ffffff - White (Background)
* #4b4e6d - Deep Blue (Primary)
* #84dcc6 - Mint Green (Secondary)
* #95a3b3 - Slate Blue (Accent)
*/

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    overflow: hidden;
}

a {
    color: #4b4e6d;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #84dcc6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #222222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #4b4e6d;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #3d4058;
    color: #ffffff;
}

.btn-secondary {
    background-color: #84dcc6;
    color: #222222;
}

.btn-secondary:hover {
    background-color: #6bc4af;
    color: #222222;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #4b4e6d;
    color: #4b4e6d;
}

.btn-outline:hover {
    background-color: #4b4e6d;
    color: #ffffff;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: #4b4e6d;
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.header-contact span {
    margin-right: 20px;
}

.header-contact i {
    margin-right: 5px;
}

.header-social a {
    color: #ffffff;
    margin-left: 15px;
    font-size: 1rem;
}

.header-social a:hover {
    color: #84dcc6;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.site-title a {
    color: #222222;
}

.site-description {
    font-size: 0.9rem;
    color: #95a3b3;
    margin-bottom: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4b4e6d;
    cursor: pointer;
}

.primary-menu-container ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.primary-menu-container li {
    position: relative;
    margin: 0 15px;
}

.primary-menu-container a {
    color: #222222;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    position: relative;
}

.primary-menu-container a:hover {
    color: #4b4e6d;
}

.primary-menu-container a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #84dcc6;
    transition: width 0.3s ease;
}

.primary-menu-container a:hover::after {
    width: 100%;
}

.primary-menu-container .current-menu-item a::after {
    width: 100%;
}

.primary-menu-container .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: block;
    border-radius: 5px;
    overflow: hidden;
}

.primary-menu-container li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-container .sub-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.primary-menu-container .sub-menu li:last-child {
    border-bottom: none;
}

.primary-menu-container .sub-menu a {
    padding: 10px 15px;
}

.primary-menu-container .sub-menu a::after {
    display: none;
}

.dropdown-toggle {
    display: none;
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    font-size: 0.8rem;
    color: #95a3b3;
    cursor: pointer;
    padding: 0 10px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f0f2f5;
    padding: 10px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e8ed;
}

.breadcrumbs-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumbs-list li {
    font-size: 0.9rem;
    color: #95a3b3;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #d0d5db;
}

.breadcrumbs-list a {
    color: #4b4e6d;
}

.breadcrumbs-list a:hover {
    color: #84dcc6;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
    text-align: center;
    padding: 30px 0;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4b4e6d;
}

.archive-description {
    max-width: 800px;
    margin: 0 auto;
    color: #95a3b3;
}

/* Main Content */
.site-content {
    padding: 40px 0;
}

/* Cards Layout */
.taxonomy-cards-container {
    margin-bottom: 40px;
}

.taxonomy-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.taxonomy-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taxonomy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.taxonomy-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.taxonomy-card-content {
    padding: 20px;
}

.taxonomy-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #4b4e6d;
}

.taxonomy-post-count {
    display: inline-block;
    background-color: #f0f2f5;
    color: #95a3b3;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.taxonomy-card-description {
    font-size: 0.9rem;
    color: #666;
}

/* Child Taxonomy Grid */
.child-taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vape-shop-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vape-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vape-shop-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.vape-shop-card-image {
    height: 200px;
    overflow: hidden;
}

.vape-shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vape-shop-card:hover .vape-shop-card-image img {
    transform: scale(1.05);
}

.vape-shop-card-content {
    padding: 20px;
}

.vape-shop-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4b4e6d;
}

.vape-shop-card-address,
.vape-shop-card-website {
    font-size: 0.9rem;
    color: #95a3b3;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.vape-shop-card-address i,
.vape-shop-card-website i {
    margin-right: 8px;
    color: #84dcc6;
}

.vape-shop-card-rating {
    margin-bottom: 15px;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-value,
.rating-count {
    color: #95a3b3;
    margin-left: 5px;
    font-size: 0.8rem;
}

.vape-shop-card-attributes {
    margin-top: 15px;
    font-size: 0.85rem;
}

.attribute-category {
    margin-bottom: 10px;
}

.attribute-category-title {
    font-size: 0.9rem;
    color: #4b4e6d;
    margin-bottom: 5px;
}

.attribute-list {
    list-style: none;
    padding: 0;
}

.attribute-list li {
    margin-bottom: 3px;
    color: #666;
}

.attribute-list i {
    color: #84dcc6;
    margin-right: 5px;
}

.vape-shop-card-view-more {
    margin-top: 15px;
    color: #4b4e6d;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.vape-shop-card-view-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.vape-shop-card:hover .vape-shop-card-view-more i {
    transform: translateX(3px);
}

/* Single Vape Shop */
.vape-shop-single {
    margin-bottom: 50px;
}

.vape-shop-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.vape-shop-title {
    font-size: 2rem;
    color: #4b4e6d;
    margin-bottom: 10px;
    flex: 1;
}

.navigation-links {
    margin-top: 10px;
}

.vape-shop-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.vape-shop-main {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vape-shop-featured-image {
    height: 400px;
    overflow: hidden;
}

.vape-shop-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vape-shop-details {
    padding: 30px;
}

.section-title {
    font-size: 1.5rem;
    color: #4b4e6d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.vape-shop-attributes {
    margin-bottom: 30px;
}

.attributes-section {
    margin-bottom: 20px;
}

.attributes-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222222;
}

.available-attributes .attribute-list i {
    color: #84dcc6;
}

.unavailable-attributes .attribute-list i {
    color: #ff6b6b;
}

.vape-shop-hours {
    margin-bottom: 30px;
}

.current-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.current-status.open {
    background-color: rgba(132, 220, 198, 0.1);
    color: #84dcc6;
}

.current-status.closed {
    background-color: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.open .status-indicator {
    background-color: #84dcc6;
}

.closed .status-indicator {
    background-color: #ff6b6b;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #f0f2f5;
}

.hours-table tr.today {
    background-color: rgba(75, 78, 109, 0.05);
}

.hours-table td {
    padding: 10px 5px;
}

.day-name {
    font-weight: 500;
    width: 120px;
}

.today-label {
    font-size: 0.7rem;
    background-color: #4b4e6d;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.vape-shop-sidebar {
    align-self: start;
}

.vape-shop-info-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.info-card-title {
    font-size: 1.3rem;
    color: #4b4e6d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(75, 78, 109, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #4b4e6d;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.info-content .btn {
    margin-top: 5px;
}

.nearby-shops {
    margin-top: 50px;
}

.nearby-shops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nearby-shop-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nearby-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nearby-shop-link {
    display: flex;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.nearby-shop-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.nearby-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nearby-shop-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.nearby-shop-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #4b4e6d;
}

.nearby-shop-address {
    font-size: 0.85rem;
    color: #95a3b3;
    margin-bottom: 10px;
}

.nearby-shop-address i {
    color: #84dcc6;
    margin-right: 5px;
}

.nearby-shop-view-more {
    margin-top: auto;
    font-size: 0.85rem;
    color: #4b4e6d;
    font-weight: 500;
}

.nearby-shop-view-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nearby-shop-card:hover .nearby-shop-view-more i {
    transform: translateX(3px);
}

/* Homepage Styles */
.hero-section {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-buttons .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-buttons .btn-outline:hover {
    background-color: #ffffff;
    color: #4b4e6d;
}

.search-section {
    padding: 50px 0;
    background-color: #ffffff;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    color: #4b4e6d;
    margin-bottom: 10px;
}

.section-description {
    color: #95a3b3;
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #222222;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e8ed;
    border-radius: 5px;
    font-size: 1rem;
    color: #222222;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #84dcc6;
}

.form-control:disabled {
    background-color: #f0f2f5;
    cursor: not-allowed;
}

.browse-section {
    padding: 50px 0;
    margin-bottom: 50px;
}

.region-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.region-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.region-card-link {
    display: block;
    height: 100%;
    padding: 30px;
    color: inherit;
    text-decoration: none;
}

.region-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #4b4e6d;
}

.region-post-count {
    display: inline-block;
    background-color: #f0f2f5;
    color: #95a3b3;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.region-card-description {
    font-size: 0.9rem;
    color: #666;
}

.popular-shops-section {
    padding: 50px 0;
    background-color: #f0f2f5;
    margin-bottom: 50px;
}

.popular-shops-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.popular-shop-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.popular-shop-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.popular-shop-image {
    height: 150px;
    overflow: hidden;
}

.popular-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-shop-card:hover .popular-shop-image img {
    transform: scale(1.05);
}

.popular-shop-content {
    padding: 15px;
}

.popular-shop-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #4b4e6d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-shop-address {
    font-size: 0.8rem;
    color: #95a3b3;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-shop-address i {
    color: #84dcc6;
    margin-right: 5px;
}

.popular-shop-rating {
    font-size: 0.8rem;
}

/* Footer Styles */
.site-footer {
    background-color: #222222;
    color: #ffffff;
    padding-top: 50px;
}

.footer-widgets {
    padding-bottom: 30px;
}

.footer-widget-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-site-logo {
    max-height: 50px;
    margin-bottom: 15px;
}

.footer-site-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-site-title a {
    color: #ffffff;
}

.footer-description p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #84dcc6;
    color: #222222;
}

.footer-widget-title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-menu li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-menu a:hover {
    color: #84dcc6;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-contact-info i {
    color: #84dcc6;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: #84dcc6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .taxonomy-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .popular-shops-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .taxonomy-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .child-taxonomy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popular-shops-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vape-shop-content {
        grid-template-columns: 1fr;
    }
    
    .footer-widget-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .region-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popular-shops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nearby-shops-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .primary-menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 999;
        display: none;
    }
    
    .primary-menu-container.active {
        display: block;
    }
    
    .primary-menu-container ul {
        flex-direction: column;
    }
    
    .primary-menu-container li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .primary-menu-container a {
        padding: 12px 0;
    }
    
    .dropdown-toggle {
        display: block;
    }
    
    .primary-menu-container .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .taxonomy-cards-grid,
    .region-cards-grid,
    .popular-shops-grid,
    .child-taxonomy-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widget-row {
        grid-template-columns: 1fr;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
}
/* ---------------------------------------------------------------------------
   Centred reading column (single.php)
   --------------------------------------------------------------------------- */

/* Width of the reading column and of the wider "breakout" elements. */
:root {
	--content-width: 42rem;   /* ~672px — comfortable measure for body text */
	--wide-width: 60rem;      /* ~960px — featured images, galleries, tables  */
	--gutter: 1.25rem;
}

.site-main .content-column {
	max-width: var(--content-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Full-width wrapper still needed so the breakout below has room to grow.
   If .site-main is itself constrained by a parent, remove that constraint. */
.site-main {
	width: 100%;
}

/* Elements allowed to break out wider than the text column, while staying
   centred. Falls back gracefully: without support they just sit at column width. */
.content-column .post-thumbnail,
.content-column .alignwide,
.content-column .wp-block-table,
.content-column figure.wp-block-image.size-large {
	max-width: var(--wide-width);
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	margin-inline: calc(50% - min(50vw, var(--wide-width) / 2));
	padding-inline: var(--gutter);
}

.content-column .post-thumbnail img,
.content-column .alignwide img {
	width: 100%;
	height: auto;
	display: block;
}

/* Long words / URLs shouldn't push the column open. */
.content-column .entry-content {
	overflow-wrap: break-word;
}

/* Sensible vertical rhythm inside the column. */
.content-column .entry-header,
.content-column .entry-content,
.content-column .entry-footer,
.content-column .post-navigation,
.content-column .comments-area {
	margin-block: 2rem;
}

.content-column .entry-content > * + * {
	margin-block-start: 1.5em;
}

/* Meta and footer rows. */
.content-column .entry-meta,
.content-column .entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.9em;
}

.content-column .post-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
}

/* ---------------------------------------------------------------------------
   Archive layout (archive.php)
   Two columns: story list ~67%, sidebar 33%. Palette and card treatment follow
   the region/shop cards used elsewhere in the theme.
   --------------------------------------------------------------------------- */

/* Visually hidden, still read by screen readers. The theme had no such helper,
   so any hidden label would previously have rendered on screen. */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.archive-container {
    padding-top: 30px;
    padding-bottom: 50px;
}

.archive-header {
    margin-bottom: 30px;
}

.archive-title {
    font-size: 2rem;
    color: #4b4e6d;
    margin-bottom: 8px;
}

.archive-description {
    color: #95a3b3;
    max-width: 65ch;
    /* An earlier .archive-description rule centres the block with margin:0 auto,
       which left it floating away from the heading. Align it left instead. */
    margin-inline: 0;
}

.archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

/* --- Story list ----------------------------------------------------------- */

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.archive-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.archive-item-media {
    position: relative;
    background-color: #f0f2f5;
}

.archive-item-media a {
    display: block;
    height: 100%;
}

.archive-item-image {
    display: block;
    width: 100%;
    height: 100%;
    /* Fixed ratio keeps the row heights even regardless of the source image. */
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* The SVG fallback is artwork, not a photo: cropping it to fill a narrow, tall
   column would cut off its label. Contain it instead. The .placeholder-image
   class covers images swapped in by the onerror handler, whose src may not end
   in .svg by the time the attribute selector is evaluated. */
.archive-item-image[src$=".svg"],
.archive-item-image.placeholder-image {
    object-fit: contain;
    padding: 24px;
}

/* Generic placeholder treatment for the single-post and shop templates, where a
   broken featured image is replaced in place. */
.placeholder-image {
    background-color: #f0f2f5;
    object-fit: contain;
}

.archive-item-body {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 22px 0;
    min-width: 0;
}

.archive-item-title {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.archive-item-title a {
    color: #4b4e6d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-item-title a:hover,
.archive-item-title a:focus {
    color: #3d4058;
    text-decoration: underline;
}

.archive-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 0.85rem;
    color: #95a3b3;
    margin-bottom: 12px;
}

.archive-item-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.archive-item-meta-item i {
    color: #84dcc6;
}

.archive-item-meta a {
    color: #95a3b3;
    text-decoration: none;
}

.archive-item-meta a:hover,
.archive-item-meta a:focus {
    color: #4b4e6d;
    text-decoration: underline;
}

.archive-item-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.archive-item-excerpt p {
    margin: 0 0 10px;
}

.archive-item-excerpt p:last-child {
    margin-bottom: 0;
}

/* Pushes the button to the bottom so buttons align across uneven cards. */
.archive-item-more {
    margin-top: auto;
    margin-bottom: 0;
}

.archive-item-more .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.archive-item-more .btn i {
    transition: transform 0.2s ease;
}

.archive-item-more .btn:hover i {
    transform: translateX(3px);
}

.archive-empty {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.archive-empty h2 {
    color: #4b4e6d;
    margin-bottom: 10px;
}

.archive-empty p {
    color: #95a3b3;
    margin-bottom: 20px;
}

/* --- Sidebar -------------------------------------------------------------- */

.archive-sidebar .widget {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.archive-sidebar .widget:last-child {
    margin-bottom: 0;
}

.archive-sidebar .widget-title {
    font-size: 1.1rem;
    color: #4b4e6d;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}

.archive-sidebar .widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-sidebar .widget-list li {
    border-bottom: 1px solid #f0f2f5;
}

.archive-sidebar .widget-list li:last-child {
    border-bottom: 0;
}

.archive-sidebar .widget-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    color: #222222;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.archive-sidebar .widget-list a:hover,
.archive-sidebar .widget-list a:focus {
    color: #4b4e6d;
}

.archive-sidebar .widget-list-count {
    flex: none;
    background-color: #f0f2f5;
    color: #95a3b3;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.78rem;
}

.archive-sidebar .widget-list--posts a {
    display: block;
    padding-bottom: 2px;
}

.archive-sidebar .widget-list-date {
    display: block;
    font-size: 0.78rem;
    color: #95a3b3;
    padding-bottom: 9px;
}

.archive-sidebar .search-form,
.archive-empty .search-form {
    display: flex;
    gap: 8px;
}

.archive-sidebar .search-form label,
.archive-empty .search-form label {
    flex: 1 1 auto;
    min-width: 0;
}

.archive-sidebar .search-field,
.archive-empty .search-field {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e5e8ed;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
}

.archive-sidebar .search-field:focus,
.archive-empty .search-field:focus {
    outline: 2px solid #84dcc6;
    outline-offset: 1px;
    border-color: #84dcc6;
}

.archive-sidebar .search-submit,
.archive-empty .search-submit {
    flex: none;
    padding: 9px 16px;
    border: 0;
    border-radius: 5px;
    background-color: #4b4e6d;
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.archive-sidebar .search-submit:hover,
.archive-empty .search-submit:hover {
    background-color: #3d4058;
}

/* --- Pagination ----------------------------------------------------------- */

.archive-main .pagination {
    margin-top: 35px;
}

.archive-main .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.archive-main .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 5px;
    color: #4b4e6d;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.archive-main .page-numbers:hover,
.archive-main .page-numbers:focus {
    background-color: #4b4e6d;
    color: #ffffff;
}

.archive-main .page-numbers.current {
    background-color: #4b4e6d;
    color: #ffffff;
}

.archive-main .page-numbers.dots {
    background: none;
    box-shadow: none;
    color: #95a3b3;
}

/* --- Responsive ----------------------------------------------------------- */

/* Sidebar drops below the listings before the story rows get cramped. */
@media (max-width: 992px) {
    .archive-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .archive-item {
        grid-template-columns: 200px minmax(0, 1fr);
    }
}

/* Stack the media object: image on top, text beneath. */
@media (max-width: 640px) {
    .archive-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .archive-item-image {
        aspect-ratio: 16 / 9;
    }

    .archive-item-body {
        padding: 20px;
    }

    .archive-title {
        font-size: 1.6rem;
    }

    .archive-item-more .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Respect a reduced-motion preference for the hover lift. */
@media (prefers-reduced-motion: reduce) {
    .archive-item,
    .archive-item-more .btn i {
        transition: none;
    }

    .archive-item:hover {
        transform: none;
    }
}

/* ---------------------------------------------------------------------------
   Single post with sidebar (single.php)
   Reuses the .archive-layout grid, so the article sits at ~67% and the widget
   sidebar at 33%.
   --------------------------------------------------------------------------- */

/* The reading column is centred and width-capped when it owns the full page.
   Inside a grid column it should simply fill the space it is given. */
.single-layout .content-column,
.single-layout .site-main .content-column {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

/* The breakout rules escape the reading column with width:100vw and negative
   margins. That is correct full-width, but inside a 67% column it would run
   straight across the sidebar — so within this layout they stay in the column. */
.single-layout .content-column .post-thumbnail,
.single-layout .content-column .alignwide,
.single-layout .content-column .wp-block-table,
.single-layout .content-column figure.wp-block-image.size-large {
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
}

.single-entry {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* The shared rhythm rule adds 2rem above the header; unwanted against the
   card's own padding. */
.single-entry .content-column > *:first-child {
    margin-block-start: 0;
}

.single-entry .entry-title {
    font-size: 2rem;
    line-height: 1.25;
    color: #4b4e6d;
    margin-bottom: 12px;
}

.single-entry .entry-meta {
    align-items: center;
    gap: 8px 18px;
    color: #95a3b3;
    font-size: 0.88rem;
    margin-block: 0 0;
}

.single-entry .entry-meta i {
    color: #84dcc6;
    margin-right: 6px;
}

.single-entry .entry-meta a,
.single-entry .entry-footer a {
    color: #95a3b3;
    text-decoration: none;
}

.single-entry .entry-meta a:hover,
.single-entry .entry-footer a:hover,
.single-entry .entry-meta a:focus,
.single-entry .entry-footer a:focus {
    color: #4b4e6d;
    text-decoration: underline;
}

.single-entry .post-thumbnail img {
    border-radius: 6px;
}

.single-entry .entry-footer {
    border-top: 1px solid #f0f2f5;
    padding-top: 18px;
    color: #95a3b3;
    font-size: 0.88rem;
    margin-block-end: 0;
}

/* Previous / next, now outside the reading column and styled as its own card. */
.single-layout .post-navigation {
    margin-top: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.single-layout .post-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.single-layout .post-navigation a {
    color: #4b4e6d;
    text-decoration: none;
    font-weight: 500;
    max-width: 100%;
}

.single-layout .post-navigation a:hover,
.single-layout .post-navigation a:focus {
    text-decoration: underline;
}

.single-layout .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #95a3b3;
    margin-bottom: 3px;
}

.single-layout .comments-area {
    margin-top: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
    .single-entry,
    .single-layout .comments-area {
        padding: 20px;
    }

    .single-entry .entry-title {
        font-size: 1.5rem;
    }
}
