/*
Theme Name: TLF Theme (2025)
Theme URI: https://torontolovesfashion.ca
Author: Tia McQuaid
Author URI: https://tiamcquaid.com
Version: 1.0
Text Domain: tlf
*/

/* Reset and Base Styles */
:root {
    --primary-color: #fa4166;
    --font-color: #000;
    --background-color: #FFFFFF;
    --secondary-color: #E5E9FD;
    --font-heading: "Red Hat Display", sans-serif;
    --font-body: "Newsreader", serif;
    --canada-color: #F94343;
    --alt-color: #F2F2F2;
    --brick-color: #B85858;
    --forest-color: #5BA270;
    --navy-color: #575A78;
    --gray-color: #f4f4f9;
    --yellow-color: #FDDF7D;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--font-color);
    line-height: 1.6;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 1.25rem 0 0.875rem;
    font-weight: 300;
    font-optical-sizing: auto;
}

h1,
.h1 {
    font-size: 2.75rem;
    font-weight: 900;
}

h2,
.h2 {
    font-size: 2.75rem;
}

h3,
.h3 {
    font-size: 2rem;
}

h4,
.h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5,
.h5 {
    font-size: 1rem;
    font-weight: 700;
}

h6,
.h6 {
    font-size: 0.875rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.5;
}

.body-font {
    font-family: var(--font-body);
}

.heading-font {
    font-family: var(--font-heading);
}

a {
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--font-color);
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

strong,
b {
    font-weight: 900;
}

label:not(.lead) {
    font-family: var(--font-heading);
}

figure {
    text-align: center;
}

figcaption {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-family: var(--font-heading);
    text-align: center;
}

figcaption a {
    color: var(--font-color);
    text-decoration: none;
}

figcaption a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

hr {
    border-width: 1px;
    border-color: rgba(87, 90, 120, 0.5);
    margin: 4rem 0 2rem;
}

#site-content {
    padding-top: 100px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
}

.post-details {
    text-align: center;
}

.helper-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
}

span.separator {
    margin: 0 0.5rem;
    color: var(--secondary-color);
}

.helper-text a {
    text-decoration: none;
}

.helper-text a:hover {
    text-decoration: underline;
    color: var(--font-body);
}

/* Select Styles */
select {
    word-wrap: normal;
    letter-spacing: 0;
    text-transform: uppercase !important;
    border: 4px solid #000 !important;
    border-width: 2px 4px 4px 2px !important;
    border-radius: 6px !important;
    padding: 8px !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.025rem;
    line-height: 16px !important;
    text-decoration: none !important;
    transition: all .2s !important;
    background-color: var(--background-color);
    color: var(--font-color);
    cursor: pointer;
    min-width: 300px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" height="12" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 24px;
}

/* Button Styles */
.btn,
.wp-block-button__link,
.wp-element-button,
.wpforms-form button:not(.iti__selected-country) {
    letter-spacing: 0;
    text-transform: uppercase !important;
    border: 4px solid #000 !important;
    border-width: 2px 4px 4px 2px !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.025rem;
    line-height: 16px !important;
    text-decoration: none !important;
    transition: all .2s !important;
    background-color: var(--background-color);
    color: var(--font-color);
    cursor: pointer;
    text-align: center;
}

.btn-pink {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-purple {
    background-color: var(--navy-color);
    color: var(--background-color);
}

.btn-yellow {
    background-color: var(--yellow-color);
    color: var(--font-color);
}

.btn-pink:hover,
.btn-purple:hover,
.btn-yellow:hover,
.btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
    background-color: var(--font-color);
    color: var(--background-color);
    scale: 1.05;
}

.wpforms-form button:not(.iti__selected-country) {
    background: var(--primary-color) !important;
    color: var(--background-color) !important;
}

.wpforms-form button:not(.iti__selected-country):hover {
    background: var(--background-color) !important;
    color: var(--font-color) !important;
}

.btn-link {
    border: none !important;
    padding: 0 !important;
    text-decoration: underline !important;
}

.btn-link:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-small {
    padding: 8px 16px;
}

.btn .icon svg {
    height: 24px;
}

.btn .icon:not(.web) svg {
    height: 12px;
    margin: -2px 0 0 8px;
}

.btn .icon svg path {
    fill: var(--font-color);
}

.btn:hover .icon svg path {
    fill: var(--background-color);
}

.btn .icon.web svg path {
    fill: var(--background-color);
}

.btn:hover .icon.web svg path {
    fill: var(--font-color);
}

.btn .icon {
    display: inline-block;
}

.btn:not(.menu-toggle) i {
    margin-left: 8px;
}

/* WP Forms Button Icons */
#wpforms-submit-2647 {
    position: relative;
    padding-right: 38px !important;
}

#wpforms-submit-2647::before {
    content: "\f164";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2rem;
    font-weight: bold;
    font-size: 1.125rem;
}

.pagination a {
    color: black;
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.2s ease;
}

.pagination a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.pagination .current {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
    margin: 0 4px;
}

/* Header */
.site-header {
    background: var(--background-color);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.admin-bar .site-header {
    top: 32px;
}

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

.site-branding img {
    max-height: 50px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.025rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--font-color);
}

.nav-menu a:hover {
    text-decoration: underline;
}

.custom-logo-link img {
    max-height: 32px;
    width: auto;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.125rem !important;
    padding: 8px 12px !important;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Sections */
section {
    padding: 0 0 40px;
}

.section-background {
    background-color: var(--secondary-color);
}

.section-heading-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem auto 0;
    flex-direction: column;
    text-align: left;
    align-items: center;
    max-width: 700px;
}

.archive .section-heading-wrapper,
.blog .section-heading-wrapper {
    margin: 2rem auto 0;
}

.blog .section-heading-wrapper {
    margin: 2rem auto 4rem;
}

.section-heading-wrapper.center {
    text-align: center;
    display: block;
}

.section-heading-wrapper.center h1 {
    margin: 0 auto 1rem;
}

.section-heading-wrapper * {
    text-align: center;
}

.section-heading-wrapper h2 {
    margin-top: 0;
}

body:not(.blog) .section-heading-wrapper h1 {
    margin: 0 0 0.5rem;
}

.section-heading {
    text-align: left;
    margin: 2rem auto 1rem 0;
    font-weight: 700;
    padding: 0.5rem 1rem 0.5rem 0;
}

.featured-brands-section .section-heading,
.lastest-posts-section .section-heading {
    margin: 0;
}

.view-all-button .btn {
    display: inline-block;
}

/* Hero Section */
.hero-grid {
    display: grid;
    align-items: center;
    gap: 2rem;
    text-align: left;
    grid-template-columns: repeat(2, 1fr);
}

.page-template-page-signup .hero-grid,
.home .hero-grid {
    margin-bottom: 6rem;
}

.hero-grid .hero-text {
    margin: 0 auto 0 10%;
}

.page-template-page-signup .hero-grid .hero-text {
    max-width: 550px;
}

.hero-grid .hero-text h1 {
    margin-top: 0;
}

.age-group-filter-form label {
    display: block;
    margin: 2rem auto 0.5rem;
}

.outfit-inspo-images {
    position: relative;
}

.outfit-inspo-images img {
    width: 100%;
    border-radius: 0.5rem;
    border: 2px solid;
    border-width: 2px 4px 4px 2px;
}

.outfit-inspo-images img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}

/* Featured Brands Section */
.featured-brands-section {
    padding: 0 0 1rem;
}

.featured-brand {
    display: flex;
    justify-content: center;
}

.featured-brand .brand-card {
    width: 100%;
}

/* All Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* Posts Grid */
.post-card {
    border: 2px solid #000;
    border-radius: 8px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    border-bottom: 2px solid #000;
}

.card-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.card-sticker {
    position: absolute;
    top: -18px;
    right: -12px;
    background: var(--font-color);
    border: 2px solid var(--font-color);
    color: var(--background-color);
    border-radius: 8px;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 10px;
    font-family: var(--font-heading);
}

.card-footer {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    row-gap: 0;
    text-align: left;
    height: 100%;
}

.card-footer>div {
    flex-grow: 1;
}

.hero-section .card-footer {
    row-gap: 10px;
}

.card-title {
    margin: 0;
}

.card-excerpt {
    margin-bottom: 0.5rem;
}

.post-card .category-logo {
    max-height: 36px;
    object-fit: contain;
    object-position: left;
    max-width: 90px;
    margin-bottom: 1rem
}

/* Brands Grid */
.brand-count-container {
    margin: 2rem auto 1rem;
}

.brand-count {
    font-weight: 600;
}

.brand-card {
    border: 2px solid #000;
    border-radius: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    max-width: 405.33px;
}

.brand-image {
    position: relative;
    border-bottom: 2px solid;
}

.brand-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 12px;
}

.brand-single .brand-image img:not(.icon) {
    height: 320px;
}

.brand-card-body {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
    row-gap: 1rem;
    justify-content: space-between;
}

.brand-logo {
    max-height: 36px;
    object-fit: contain;
    object-position: left;
    max-width: 230px;
    width: 98%;
}

.brand-site {
    display: inline-block;
    padding: 4px 6px !important;
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

.brand-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-meta li {
    margin-bottom: 1rem;
}

.meta-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--font-color, #111);
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
    color: #111;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 16px 2px;
    border-radius: 100px;
    white-space: nowrap;
    border: 4px solid #000;
    border-width: 2px 4px 4px 2px;
    margin-bottom: 4px;
}

.tag-canada {
    background-color: var(--canada-color);
    color: var(--background-color);
}

.tag-toorder {
    background-color: var(--brick-color);
    color: var(--background-color);
}

.tag-grey {
    background-color: var(--alt-color);
}

.tag .icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    filter: invert(1);
}

.view-all-button {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

h3.brand-title {
    margin: 0;
    font-size: 1.5rem;
}

.brand-card .brand-card-footer {
    width: 100%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top: 2px solid #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 0.25rem;
}

.brand-card .brand-card-footer .footer-item {
    width: 50%;
    text-align: center;
    padding: 1rem 0;
}

.brand-card .brand-card-footer .footer-item:nth-of-type(2) {
    border-left: 1px solid #000;
}

.brand-card .brand-card-footer .footer-item span {
    display: block;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.5;
}

.brand-card .brand-card-footer .footer-item span.label,
.brand-card .brand-meta span,
.brand-info .brand-meta span {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.5;
}

.brand-logo-box {
    margin-top: -5rem;
    position: relative;
}

.brand-logo-box .brand-logo {
    max-height: 100%;
    width: 100%;
    border: 4px solid #000 !important;
    border-width: 2px 4px 4px 2px !important;
    border-radius: 6px !important;
    padding: 12px 12px !important;
    height: 100px;
    width: 100px;
    background-color: white;
    object-position: center;
}

.brand-card-body--header {
    display: flex;
    width: 100%;
    align-items: flex-start;
    column-gap: 1rem;
}

.brand-contact-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.brand-contact-info .brand-title {
    margin: 0 auto 0.5rem 0;
}

.brand-card .brand-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-card-body--content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.brand-card-body--content .brand-title {
    margin-top: 0;
    font-weight: 500;
}

.featured-brand-card .brand-card-body--content .brand-title {
    margin: 0;
    font-size: 1.5rem;
}

.brand-card-body--content .brand-contact {
    margin-top: auto;
    display: flex;
    column-gap: 1rem;
}

/* Signup Section */
.signup-section {
    background-color: var(--gray-color);
    padding: 4rem;
    margin: 3rem 0 4rem;
}

.signup-section .container {
    display: grid;
    align-items: center;
    gap: 2rem;
    text-align: left;
    grid-template-columns: repeat(2, 1fr);
}

.newsletter>div {
    padding: 0 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter div.wpforms-container-full:not(:empty) {
    margin-bottom: 0 !important;
}

/* Core layout visibility (hidden until JS loads) */
.load-more-wrapper {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-content {
    margin-top: 2rem;
    position: relative;
}

/* Brand Filters Layout */
.brand-filters {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.sort-reset {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--font-color);
    width: 100%;
}

.filter-wrapper label {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.active-filters {
    margin: 0;
}

.active-filters .filter-badge {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem 0.25rem;
    border-radius: 50px;
    margin: 0 0.5rem 0.5rem 0;
    cursor: pointer;
}

.active-filters .filter-badge:hover {
    background-color: var(--background-color);
    color: var(--font-color);
    transform: scale(1.05);
}

.active-filters .filter-badge .remove-x {
    font-size: 16px;
    margin-left: 0.35rem;
    font-weight: bold;
}

.active-filters .filter-badge .remove-x:hover {
    transform: scale(1.2);
}

/* Choices.js styling */
.choices__inner {
    background-color: #fff !important;
    border: 2px solid !important;
    border-radius: 6px !important;
    padding: 7.5px 7.5px 3.75px !important;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    border: 2px solid !important;
    z-index: 9999 !important;
    border-bottom-right-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-top: none !important;
    margin-top: -4px !important;
}

.choices__placeholder {
    opacity: 1 !important;
}

.select-loading {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease-in;
}

.choices {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* Filter Toggle Button */
.brand-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-toolbar-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
}

.brand-toolbar select {
    border: 2px solid #000;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: #fff;
    color: #000;
    min-height: 51.84px;
    min-width: auto;
}

.brand-toolbar .sort-reset select {
    background-color: var(--yellow-color);
    text-align: center;
}

.brand-toolbar-buttons button {
    white-space: nowrap;
}

.brand-toolbar-buttons .filter-wrapper {
    min-width: 154px;
}

.brands-error {
    width: 200%;
}

.choices__list--multiple .choices__item {
    background-color: var(--font-color)!important;
    border: 1px solid var(--font-color)!important;
}

/* Slide-out Filter Drawer */
.brand-filter-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transition: right 0.3s ease, visibility 0s, opacity 0.3s ease;
}

.brand-filter-drawer.open {
    right: 0;
    visibility: visible;
    opacity: 1;
}

/* Drawer Header */
.drawer-header {
    display: block;
    position: relative;
    padding-top: 2rem;
}

.drawer-close,
[data-close-filters] {
    background: none;
    border: none;
    font-size: 2rem;
    color: #000;
    cursor: pointer;
    position: absolute;
    top: 0.5rem;
    right: -0.25rem;
}

.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1001;
    display: none;
}

.brand-filter-drawer.open+.filter-overlay {
    display: block;
}

/* Categories Section */
.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/2;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--font-color);
    background-color: rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.category-card:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.category-card h3 {
    text-align: center;
    z-index: 1;
    background: var(--background-color);
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
    font-weight: 700;
}

.category-card:hover h3 {
    background: var(--primary-color);
    color: var(--background-color);
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

/* Footer Styles */
.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-columns {
    display: flex;
    gap: 40px;
    align-items: flex-end;
    justify-content: space-between;
}

.footer-column.footer-nav {
    width: 60%;
    text-align: start;
}

.footer-column.footer-nav>div {
    display: inline-flex;
    column-gap: 6rem;
    text-align: left;
}

.footer-column.footer-skyline {
    width: 40%;
    grid-column: span 1;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: var(--font-color);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
}

.toronto-skyline {
    background-image: url('assets/TLF-Skyline.svg');
    height: 120px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    margin-bottom: 20px;
}

.copyright {
    font-size: 12px;
    color: var(--font-color);
}

.copyright a {
    color: var(--font-color);
}

/* Posts Styles */
.single .post-image img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    border: 2px solid;
}

.single .post-details {
    text-align: center;
}

.single .post-excerpt {
    font-weight: 700;
}

/* Subscribe Section */
.subscribe-section p {
    text-align: center;
}

.subscribe-section .wpforms-container {
    margin: 0 auto !important;
    max-width: 748px !important;
}

.subscribe-section .wpforms-container input,
.subscribe-section .wpforms-container select {
    max-width: 100%;
    min-height: 47px;
}

div.wpforms-container-full select {
    min-height: 47px !important;
}

/* Forms */
.wpforms-container .wpforms-required-label,
.wp-core-ui div.wpforms-container .wpforms-required-label {
    color: var(--font-color) !important;
}

div.wpforms-container-full input[type=date],
div.wpforms-container-full input[type=datetime],
div.wpforms-container-full input[type=datetime-local],
div.wpforms-container-full input[type=email],
div.wpforms-container-full input[type=month],
div.wpforms-container-full input[type=number],
div.wpforms-container-full input[type=password],
div.wpforms-container-full input[type=range],
div.wpforms-container-full input[type=search],
div.wpforms-container-full input[type=tel],
div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=time],
div.wpforms-container-full input[type=url],
div.wpforms-container-full input[type=week],
div.wpforms-container-full select,
div.wpforms-container-full textarea,
.wp-core-ui div.wpforms-container-full input[type=date],
.wp-core-ui div.wpforms-container-full input[type=datetime],
.wp-core-ui div.wpforms-container-full input[type=datetime-local],
.wp-core-ui div.wpforms-container-full input[type=email],
.wp-core-ui div.wpforms-container-full input[type=month],
.wp-core-ui div.wpforms-container-full input[type=number],
.wp-core-ui div.wpforms-container-full input[type=password],
.wp-core-ui div.wpforms-container-full input[type=range],
.wp-core-ui div.wpforms-container-full input[type=search],
.wp-core-ui div.wpforms-container-full input[type=tel],
.wp-core-ui div.wpforms-container-full input[type=text],
.wp-core-ui div.wpforms-container-full input[type=time],
.wp-core-ui div.wpforms-container-full input[type=url],
.wp-core-ui div.wpforms-container-full input[type=week],
.wp-core-ui div.wpforms-container-full select,
.wp-core-ui div.wpforms-container-full textarea {
    background-color: var(--background-color) !important;
    border: 1px solid #000 !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    color: var(--font-color) !important;
    min-height: 47px;
    text-transform: initial !important;
    font-weight: 600 !important;
}

div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input,
div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input,
div.wpforms-container-full .wpforms-field.wpforms-field-payment-checkbox ul li input,
div.wpforms-container-full .wpforms-field.wpforms-field-payment-multiple ul li input,
div.wpforms-container-full .wpforms-field.wpforms-field-gdpr-checkbox ul li input {
    width: 20px !important;
    height: 20px !important;
    margin-right: 10px !important;
    border: 2px solid #000 !important;
    border-radius: 4px !important;
    background-color: var(--background-color) !important;
}

div.wpforms-container-full input[type=checkbox]:checked:before,
div.wpforms-container-full input[type=radio]:checked:before {
    border-color: var(--font-color) !important;
    box-shadow: 0 0 0 1px var(--font-color), 0px 1px 2px rgba(0, 0, 0, 0.15) !important;
}

div.wpforms-container-full input[type=checkbox]:checked:after {
    border-left: 4px solid var(--font-color) !important;
    border-bottom: 4px solid var(--font-color) !important;
}

div.wpforms-container-full input[type=checkbox]:before,
div.wpforms-container-full input[type=radio]:before {
    border-color: var(--font-color) !important;
    background-color: var(--background-color) !important;
}

div.wpforms-container-full input[type=radio],
div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input {
    border-radius: 50% !important;
}

div.wpforms-container-full input[type=radio]:checked:after {
    background-color: var(--font-color) !important;
}

div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input+label,
div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input+label,
div.wpforms-container-full .wpforms-field.wpforms-field-payment-checkbox ul li input+label,
div.wpforms-container-full .wpforms-field.wpforms-field-payment-multiple ul li input+label,
div.wpforms-container-full .wpforms-field.wpforms-field-gdpr-checkbox ul li input+label {
    padding-inline-start: 2px !important;
    margin: 5px 0 0 !important;
    line-height: 1 !important;
    padding-inline-end: 16px !important;
}

.wpforms-container .wpforms-form .wpforms-field-label,
.wpforms-container .wpforms-form .wpforms-field-sublabel,
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form li,
.wpforms-container .wpforms-form th {
    font-family: var(--font-heading) !important;
}

.wpforms-container .wpforms-form .wpforms-field-description {
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    margin-top: 0.75rem !important;
    color: var(--navy-color) !important;
}

button[name="wpforms[submit]"] {
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    border: 4px solid #000 !important;
    border-width: 2px 4px 4px 2px !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.025rem;
    text-decoration: none !important;
    transition: all .2s !important;
    background: var(--background-color) !important;
    color: var(--font-color) !important;
    cursor: pointer !important;
    height: unset !important;
}

button[name="wpforms[submit]"]:hover {
    background: var(--primary-color) !important;
    color: var(--background-color) !important;
}

div.wpforms-container-full select[multiple]>option:not(.placeholder):checked,
.wp-core-ui div.wpforms-container-full select[multiple]>option:not(.placeholder):checked {
    background: var(--secondary-color) !important;
    color: var(--font-color) !important;
}

.wpforms-container .wpforms-field,
.wp-core-ui div.wpforms-container .wpforms-field {
    padding: 0 0 15px !important;
}

/* Brand Modal */
#brandModal {
    margin-top: 6%;
}

/* Brand Single Profile */
.brand-single {
    padding: 0;
    max-width: 1160px;
    margin: 0 auto;
}

.brand-single .brand-header {
    position: relative;
    top: -6rem;
    justify-content: flex-start;
}

.brand-single .brand-features {
    padding-top: 3rem;
}

.brand-single .brand-shoplink {
    display: block;
    margin-top: 0.5rem;
}

.brand-card-body--header .brand-summary {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 0 0 2rem;
}

.brand-single .brand-card-body {
    padding-top: 0;
}

.brand-card-body .brand-price {
    font-weight: 700;
}

.brand-card-body--header .brand-summary>div>* {
    margin: 0 0 0.5rem;
}

.brand-card-body--body {
    padding-top: 1.5rem;
    width: 100%;
}

.brand-card-body--body hr {
    margin: 3rem 0;
}

.brand-taxononmy-label {
    margin-bottom: 0.5rem;
    display: block;
}

.brand-taxonomies>div {
    margin-bottom: 1rem;
}

.brand-taxonomies>div:last-of-type {
    margin-bottom: 0;
}

.brand-taxonomies a {
    background-color: var(--secondary-color);
    padding: 6px 8px;
    border-radius: 4px;
    color: var(--font-color);
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    margin-right: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.brand-taxonomies a:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* About Section */
.about-section {
    background-color: var(--gray-color);
    padding: 4rem 0;
    margin: 4rem auto;
}

.about-section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
    max-width: 1100px;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 100%;
    border: 2px solid #000;
    border-width: 2px 4px 4px 2px;
    max-width: 400px;
    margin: 0 auto;
}

.about-image-wrapper img:hover {
    transform: scale(1.01);
}

.about-section label {
    margin: 0;
}

.about-section h2 {
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 1090px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid .brand-card {
        max-width: 100%;
    }

    .hero-grid .brand-card {
        max-width: 405.33px;
    }

    .category-card {
        aspect-ratio: 16/9;
    }

    .section-heading {
        padding: 0 60px;
    }

    .section-heading::before,
    .section-heading::after {
        width: 120px;
        height: 40px;
    }

    .section-heading::before {
        left: -70px;
    }

    .section-heading::after {
        right: -70px;
    }
}

@media (max-width: 925px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        padding: 1rem;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        z-index: 99;
    }

    .main-navigation.open {
        display: flex;
        row-gap: 3rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-menu {
        padding: 0;
        flex-direction: column;
    }

    .custom-logo-link img {
        max-height: 24px;
    }
}

@media (max-width: 881px) {
    .brand-card-body--header {
        padding-top: 2rem;
    }

    .brand-card-body--header .brand-meta {
        margin-top: 0;
        position: static;
    }

    .brand-card-body--header .brand-summary {
        padding-top: 0;
    }

    .brand-single .brand-image img {
        height: 320px;
    }

    .footer-columns {
        display: block;
    }

    .footer-columns>* {
        width: 100% !important;
        margin-bottom: 2rem !important;
    }

    .newsletter>div {
        padding: 2rem;
    }

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

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 767px) {
    #site-cotent {
        padding-top: 70px;
    }

    section {
        padding: 20px 0;
    }

    .hero-section {
        padding: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 0;
        gap: 1rem;
    }

    .hero-grid .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-grid .post-card {
        width: 100%;
        margin: 0 auto;
    }

    .home .hero-grid {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .brand-card {
        max-width: 95%;
        margin: 0 auto;
        width: 100%;
    }

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

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

    .section-heading-wrapper,
    .section-heading-wrapper *,
    .archive .section-heading-wrapper,
    .archive .section-heading-wrapper * {
        text-align: center;
        display: block;
    }

    .page-template-page-signup .featured-brands-section.preferred .section-heading-wrapper h2 {
        margin-top: 4rem;
    }

    .page-title {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        ;
    }

    .section-heading {
        padding: 0;
        text-align: left;
    }

    #subscribe .section-heading {
        margin-bottom: 8px;
    }

    .subscribe-section p {
        text-align: left;
    }

    .section-heading::before,
    .section-heading::after {
        display: none;
    }

    .brand-filters {
        flex-direction: column;
        gap: 0;
    }

    .filter-wrapper {
        margin-bottom: 1rem;
    }

    .brand-toolbar {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 1rem;
    }

    .brand-toolbar-buttons {
        display: block;
    }

    .brand-toolbar-buttons .reset-filters {
        margin-top: 1rem;
    }

    .main-navigation {
        gap: 8px;
    }

    #site-content {
        padding-top: 64px;
    }

    .outfit-inspo-images {
        order: 2;
    }

    .page-template-page-signup .hero-grid .hero-text {
        margin: 3rem auto 1rem;
    }

    .signup-section {
        padding: 2rem 2rem 4rem;
    }

    .signup-section .container {
        display: block;
        padding: 0;
    }

    .newsletter>div {
        margin: 0;
    }

    .about-section .container {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-image-wrapper {
        order: 2;
    }

    .about-section {
        margin-bottom: 2rem;
    }

    .page-template-default .section-heading-wrapper {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .tag-overlay {
        font-size: 0.75rem;
        padding: 5px 12px 3px;
    }

    .brand-single .brand-image img {
        height: 220px;
        border-bottom: 2px solid #000;
        margin-bottom: 2rem;
    }

    .brand-single .brand-image {
        border-bottom: none;
    }

    .brand-card-body--header {
        display: block;
    }

    .brand-card-body--header .brand-summary {
        padding-left: 0;
    }

    .brand-card-body--body {
        padding-top: 0;
    }

    .brand-card-body--header .brand-summary {
        padding: 1rem 0 0;
    }

    .brand-card-body--header .brand-summary .brand-title {
        display: none;
    }

    .toronto-skyline {
        background-position: center;
    }

    .featured-brands-section .brands-grid {
        grid-template-columns: repeat(1, 1fr);   
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

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

    .brand-toolbar-buttons {
        flex-direction: column;
    }

    .brand-toolbar-buttons .reset-filters {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .hero-text h1 {
        margin-top: 0;
    }

    .newsletter>div {
        padding: 1rem;
    }

    .footer-bottom {
        display: block;
        text-align: center;
        padding-bottom: 1rem;
    }
}