/*
Theme Name: Ambience Custom
Theme URI: https://ambiencecreation.com/
Author: Ambience Creation
Description: Custom WooCommerce theme for Ambience Creation.
Version: 1.0.0
Text Domain: ambience-custom
*/

:root {
    --ac-black: #111111;
    --ac-white: #ffffff;
    --ac-text: #222222;
    --ac-muted: #777777;
    --ac-border: #e5e5e5;
    --ac-background: #ffffff;
    --ac-container: 1060px;
    --main-color: #7C5858;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background: var(--ac-background);
    color: var(--ac-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.ac-container {
    width: min(
        calc(100% - 40px),
        var(--ac-container)
    );
    margin-inline: auto;
}

.ac-site {
    min-height: 100vh;
}

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

.ac-header {
    background: var(--ac-white);
    border-bottom: 1px solid var(--ac-border);
    position: relative;
    z-index: 100;
}

.ac-header__inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.ac-header__logo {
    grid-column: 1;
    justify-self: start;
}

.ac-header__logo .custom-logo-link {
    display: block;
}

.ac-header__logo .custom-logo {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 70px;
    object-fit: contain;
}

.ac-logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ac-main-nav {
    grid-column: 2;
    color: var(--main-color);
}

.ac-main-nav__list,
.ac-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ac-main-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.ac-main-nav__list > li > a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ac-main-nav__list > li > a:hover {
    opacity: 0.6;
}

.ac-header__actions {
    grid-column: 3;
    justify-self: end;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.ac-header-action {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.ac-header-action svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ac-header-action:hover {
    opacity: 0.6;
}

.ac-cart-count {
    position: absolute;

    top: 0;
    right: 0;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--main-color);
    color: var(--ac-white);

    font-size: 10px;
    line-height: 1;
}

.ac-menu-toggle {
    display: none;

    width: 38px;
    height: 38px;

    padding: 8px;
    border: 0;
    background: transparent;

    cursor: pointer;
}

.ac-menu-toggle span {
    display: block;

    width: 22px;
    height: 1px;

    margin: 5px auto;

    background: var(--ac-black);
}

.ac-mobile-menu {
    display: none;
}



/* =========================================
   INLINE SEARCH BAR (inside header actions)
   ========================================= */

.ac-search-bar {
    display: flex;
    align-items: center;
    color: var(--main-color);
}

.ac-search-bar__input {
    width: 200px;
    min-width: 0;

    height: 34px;
    padding: 0 12px;

    border: 1px solid var(--ac-border);
    border-right: 0;
    border-radius: 0;

    font: inherit;
    font-size: 13px;

    background: var(--ac-white);
    color: var(--main-color);

    outline: none;
    -webkit-appearance: none;
    appearance: none;

    transition: border-color 0.2s ease, width 0.2s ease;
}

.ac-search-bar__input:focus {
    border-color: var(--ac-border);
    width: 260px;
}

/* Hide the native × clear button on search inputs */
.ac-search-bar__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.ac-search-bar__submit {
    flex-shrink: 0;

    width: 36px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 1px solid var(--ac-border);
    border-left: 0;
    border-radius: 0;

    background: var(--ac-white);
    color: var(--ac-text);

    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ac-search-bar__submit:hover {
    background: var(--ac-black);
    color: var(--ac-white);
    border-color: var(--main-color);
}

.ac-search-bar__submit svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hide search form on mobile — the icon actions remain */
@media (max-width: 900px) {

    .ac-search-bar {
        display: none;
    }

}


/* =========================================
   MOBILE HEADER
   ========================================= */

@media (max-width: 900px) {

    .ac-header__inner {
        min-height: 76px;

        grid-template-columns: 40px 1fr 100px;

        gap: 10px;
    }

    .ac-menu-toggle {
        display: block;
        grid-column: 1;
    }

    .ac-header__logo {
        grid-column: 2;
        justify-self: center;
    }

    .ac-header__logo .custom-logo {
        max-width: 180px;
        max-height: 55px;
    }

    .ac-main-nav {
        display: none;
    }

    .ac-header__actions {
        grid-column: 3;
        gap: 4px;
    }

    .ac-header-action {
        width: 36px;
        height: 36px;
    }

    .ac-mobile-menu {
        display: none;

        border-top: 1px solid var(--ac-border);
    }

    .ac-mobile-menu.is-open {
        display: block;
    }

    .ac-mobile-nav__list {
        padding: 10px 0 20px;
    }

    .ac-mobile-nav__list li {
        border-bottom: 1px solid var(--ac-border);
    }

    .ac-mobile-nav__list a {
        display: block;
        padding: 14px 0;

        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
}


@media (max-width: 480px) {

    .ac-container {
        width: min(
            calc(100% - 28px),
            var(--ac-container)
        );
    }

    .ac-header__inner {
        grid-template-columns: 38px 1fr 76px;
    }

    .ac-header__logo .custom-logo {
        max-width: 150px;
    }

}

/* =========================================
   HERO SLIDER
   ========================================= */

.ac-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.ac-hero__viewport {
    width: 100%;
    overflow: hidden;
}

.ac-hero__track {
    display: flex;
    width: 100%;

    transform: translateX(0);
    transition: transform 0.6s ease;
}

.ac-hero__slide {
    flex: 0 0 100%;
    width: 100%;
}

.ac-hero__image {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
}


/* Navigation arrows */

.ac-hero__prev,
.ac-hero__next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 5;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);
    color: #111;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

.ac-hero__prev:hover,
.ac-hero__next:hover {
    background: #ffffff;
}

.ac-hero__prev {
    left: 20px;
}

.ac-hero__next {
    right: 20px;
}


/* Dots */

.ac-hero__dots {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    z-index: 5;

    display: flex;
    align-items: center;
    gap: 8px;
}

.ac-hero__dot {
    width: 8px;
    height: 8px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
        width 0.2s ease,
        background 0.2s ease;
}

.ac-hero__dot.is-active {
    width: 22px;
    border-radius: 10px;

    background: #ffffff;
}


/* Mobile */

@media (max-width: 600px) {

    .ac-hero__prev,
    .ac-hero__next {
        width: 34px;
        height: 34px;

        font-size: 24px;
    }

    .ac-hero__prev {
        left: 10px;
    }

    .ac-hero__next {
        right: 10px;
    }

    .ac-hero__dots {
        bottom: 10px;
    }

}

/* =========================================
   HOMEPAGE SECTIONS
   ========================================= */

.ac-category-section {
    padding: 40px 0 60px;
}

.ac-category-section__divider {
    border: none;
    border-top: 1px solid #f2f2f2;
    margin: 0 0 30px;
}

.ac-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.ac-section-heading h2,
.ac-section-heading__title {
    margin: 0;

    color: var(--ac-text);

    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.ac-section-heading__right {
    font-size: 14px;
    white-space: nowrap;
}

.ac-section-heading__right a {
    color: var(--main-color);
    transition: color 0.2s ease;
}

.ac-section-heading__right a:hover {
    color: var(--ac-text);
}


/* =========================================
   CATEGORY GRID
   ========================================= */

.ac-category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    text-align: center;
}

.ac-category-grid__item {
    min-width: 0;
}

.ac-category-card {
    position: relative;
    display: block;

    padding: 15px 0;

    border: 1px solid #dedede;
    background-color: #ffffff;

    text-align: center;
    text-decoration: none;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ac-category-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.02);
    z-index: 2;
    pointer-events: none;
}

.ac-category-card:hover {
    border-color: #c4c4c4;
}

.ac-category-card__inner {
    display: block;
    margin: 0 auto;
}

.ac-category-card__image-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.ac-category-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
    display: block;
    margin: 0 auto;

    transition: opacity 0.15s ease-in-out;
    backface-visibility: hidden;
}

.ac-category-card:hover .ac-category-card__image {
    opacity: 0.9;
}

.ac-category-card__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;

    background: #f7f7f7;
    display: block;
    margin: 0 auto;
}

.ac-category-card__content {
    background: transparent;
    padding: 0;
}

.ac-category-card__title,
.ac-category-card__content h3 {
    position: relative;
    display: block;
    margin: 0;
    padding: 15px 15px 0;

    color: #858585;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: normal;
    text-transform: none;

    z-index: 3;
    transition: color 0.15s ease-in-out;
}

.ac-category-card:hover .ac-category-card__title,
.ac-category-card:hover .ac-category-card__content h3 {
    color: #111111;
}


/* =========================================
   CATEGORY MOBILE
   ========================================= */

@media (max-width: 900px) {

    .ac-category-section {
        padding: 35px 0 45px;
    }

    .ac-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

}


@media (max-width: 600px) {

    .ac-category-section {
        padding: 25px 0 35px;
    }

    .ac-category-section__divider {
        margin: 0 0 20px;
    }

    .ac-section-heading {
        margin-bottom: 20px;
    }

    .ac-section-heading h2,
    .ac-section-heading__title {
        font-size: 20px;
    }

    .ac-section-heading__right {
        font-size: 13px;
    }

    .ac-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ac-category-card {
        padding: 10px 0;
    }

    .ac-category-card__image-wrap {
        padding: 0 10px;
    }

    .ac-category-card__title,
    .ac-category-card__content h3 {
        font-size: 13px;
        padding: 10px 8px 0;
    }

}


/* =========================================
   LOWER IMAGE CAROUSEL
   ========================================= */

.ac-lower-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.ac-lower-carousel__viewport {
    width: 100%;
    overflow: hidden;
}

.ac-lower-carousel__track {
    display: flex;
    width: 100%;
    transform: translateX(0);
    transition: transform 0.6s ease;
}

.ac-lower-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
}

.ac-lower-carousel__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}


/* =========================================
   LOWER CAROUSEL — SINGLE SLIDE VIEW
   ========================================= */

.ac-lower-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ac-lower-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ac-lower-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
}

.ac-lower-carousel__slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100%;
}

.ac-lower-carousel__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
}

/* Keep homepage carousels aligned with the header content area. */
.ac-hero,
.ac-lower-carousel {
    width: min(
        calc(100% - 40px),
        var(--ac-container)
    );
    margin-inline: auto;
}

/* Preserve lower-carousel images at their intrinsic size when possible. */
.ac-lower-carousel__image {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
}

.ac-lower-carousel {
    background: var(--ac-white);
}

@media (max-width: 480px) {

    .ac-hero,
    .ac-lower-carousel {
        width: min(
            calc(100% - 28px),
            var(--ac-container)
        );
    }
}


/* =========================================
   AMBIENCE SECTION
   ========================================= */

.ac-ambience-section {
    padding: 80px 0 90px;
    text-align: center;
}

.ac-ambience-section__heading {
    margin: 0 0 24px;

    color: var(--ac-text);

    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;

    letter-spacing: 0.02em;
}

.ac-ambience-section__text {
    max-width: 760px;
    margin: 0 auto;

    color: var(--ac-muted);

    font-size: 16px;
    line-height: 1.8;
}

.ac-ambience-section__text p {
    margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.ac-footer {
    margin-top: 0;
    background: #f5f2ed;
    color: #2d2a27;
    border-top: 1px solid var(--ac-border);
}

.ac-footer__inner {
    padding-top: 64px;
    padding-bottom: 28px;
}

.ac-footer__columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.ac-footer__brand h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ac-footer__brand p {
    max-width: 320px;
    margin: 0;
    color: var(--ac-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* Footer headings */

.ac-footer__links h3,
.ac-footer__signup h3 {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Quick links */

.ac-footer__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.ac-footer__menu li {
    margin: 0;
    padding: 0;
}

.ac-footer__menu a {
    color: inherit;
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ac-footer__menu a:hover {
    opacity: 0.55;
}


/* Newsletter */

.ac-footer__signup p {
    max-width: 360px;
    margin: 0 0 18px;

    color: var(--ac-muted);
    font-size: 14px;
    line-height: 1.7;
}

.ac-footer__signup-form {
    display: flex;
    max-width: 430px;
}

.ac-footer__signup-form input[type="email"] {
    min-width: 0;
    flex: 1;

    height: 44px;
    padding: 0 14px;

    border: 1px solid #d5d0c9;
    border-right: 0;

    background: #fff;
    color: #2d2a27;

    font: inherit;
    font-size: 13px;

    outline: none;
}

.ac-footer__signup-form input[type="email"]:focus {
    border-color: #aaa39a;
}

.ac-footer__signup-form button {
    height: 44px;
    padding: 0 20px;

    border: 1px solid #2d2a27;

    background: #2d2a27;
    color: #fff;

    font: inherit;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.ac-footer__signup-form button:hover {
    background: transparent;
    color: #2d2a27;
}


/* Bottom row */

.ac-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 55px;
    padding-top: 22px;

    border-top: 1px solid #ddd8d0;
}

.ac-footer__copyright {
    color: var(--ac-muted);
    font-size: 12px;
}


/* Payment methods */

.ac-footer__payments {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* =========================================
   PRODUCT CATALOG
   ========================================= */

.ac-catalog {
    padding-top: 52px;
    padding-bottom: 90px;
}

.ac-catalog__header {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--ac-border);
}

.ac-catalog__eyebrow {
    margin: 0 0 8px;
    color: var(--ac-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ac-catalog__header h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 500;
}

.ac-catalog__layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 44px;
    padding-top: 34px;
}

.ac-catalog__sidebar h2 {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ac-catalog__categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ac-catalog__categories a {
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.ac-catalog__categories a:hover {
    opacity: 0.6;
}

.ac-catalog__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.ac-catalog__toolbar .woocommerce-result-count {
    margin: 0;
    color: var(--ac-muted);
    font-size: 13px;
}

.ac-catalog__toolbar .woocommerce-ordering {
    float: none;
    margin: 0;
}

.ac-catalog__toolbar select {
    min-height: 38px;
    padding: 0 32px 0 10px;
    border: 1px solid var(--ac-border);
    background: var(--ac-white);
    font-size: 13px;
}

.ac-catalog .woocommerce ul.products,
.ac-search-page .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
    margin: 0;
    list-style: none;
    padding: 0;
}

.ac-catalog .woocommerce ul.products::before,
.ac-catalog .woocommerce ul.products::after,
.ac-search-page .woocommerce ul.products::before,
.ac-search-page .woocommerce ul.products::after {
    display: none;
}

.ac-catalog .woocommerce ul.products li.product,
.ac-search-page .woocommerce ul.products li.product {
    width: auto;
    margin: 0;
    float: none;
}

.ac-catalog .woocommerce ul.products li.product a img,
.ac-search-page .woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    margin: 0 0 14px;
    object-fit: cover;
}

.ac-catalog .woocommerce ul.products li.product .woocommerce-loop-product__title,
.ac-search-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 40px;
    margin: 0 0 8px;
    padding: 0;
    color: var(--ac-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.ac-catalog .woocommerce ul.products li.product .price,
.ac-search-page .woocommerce ul.products li.product .price {
    color: var(--ac-text);
    font-size: 14px;
    font-weight: 600;
}

.ac-catalog .woocommerce ul.products li.product .button,
.ac-search-page .woocommerce ul.products li.product .button {
    margin-top: 12px;
    border: 1px solid var(--ac-text);
    border-radius: 0;
    background: transparent;
    color: var(--ac-text);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ac-catalog .woocommerce ul.products li.product .button:hover,
.ac-search-page .woocommerce ul.products li.product .button:hover {
    background: var(--ac-text);
    color: var(--ac-white);
}

@media (max-width: 800px) {

    .ac-catalog__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ac-catalog__categories {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .ac-catalog .woocommerce ul.products,
    .ac-search-page .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {

    .ac-catalog {
        padding-top: 36px;
        padding-bottom: 60px;
    }

    .ac-catalog__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================
   SINGLE PRODUCT PAGE (Supply Theme Match)
   ========================================= */

.ac-single-product {
    padding-top: 30px;
    padding-bottom: 60px;
}

/* Two-column layout: 2/5 (approx 42%) gallery, 3/5 (approx 58%) summary */
.ac-single-product div.product,
.woocommerce.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 48px;
    align-items: start;
    margin-bottom: 0;
}

.ac-single-product div.product::before,
.ac-single-product div.product::after,
.woocommerce.single-product div.product::before,
.woocommerce.single-product div.product::after {
    display: none;
}

.ac-single-product div.product div.images,
.woocommerce.single-product div.product div.images {
    float: none !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

.ac-single-product div.product div.summary,
.woocommerce.single-product div.product div.summary {
    float: none !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Product Gallery */
.woocommerce div.product div.images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
    padding: 0;
    list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--ac-border, #e5e5e5);
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    opacity: 0.7;
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
    opacity: 1;
    border-color: var(--main-color, #7C5858);
}

/* Product Title */
.woocommerce div.product .product_title {
    margin: 0 0 14px;
    color: #2f2f2f;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.3;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    margin: 0 0 18px;
    color: var(--main-color, #7C5858);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none;
    color: var(--main-color, #7C5858);
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: var(--ac-muted);
    font-size: 0.8em;
    margin-right: 8px;
}

/* Add to Cart Form & Variations */
.woocommerce div.product form.cart {
    margin-bottom: 24px;
}

.woocommerce div.product form.cart .quantity {
    float: left;
    margin-right: 12px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 60px;
    height: 44px;
    padding: 0 8px;
    border: 1px solid var(--ac-border, #e5e5e5);
    border-radius: 0;
    text-align: center;
    font-size: 14px;
    background: var(--ac-white);
    color: var(--ac-text);
}

.woocommerce div.product form.cart .button {
    height: 44px;
    padding: 0 28px;
    border: none;
    border-radius: 0;
    background: var(--main-color, #7C5858);
    color: var(--ac-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce div.product form.cart .button:hover {
    background: #624343;
    color: var(--ac-white);
}

.woocommerce div.product table.variations {
    margin-bottom: 16px;
    border: none;
    border-collapse: collapse;
}

.woocommerce div.product table.variations tr {
    border: none;
}

.woocommerce div.product table.variations td {
    border: none;
    padding: 6px 0;
    vertical-align: middle;
}

.woocommerce div.product table.variations td.label {
    padding-right: 16px;
}

.woocommerce div.product table.variations label {
    font-size: 13px;
    font-weight: 600;
    color: #2f2f2f;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.woocommerce div.product table.variations select {
    min-height: 40px;
    min-width: 200px;
    padding: 6px 12px;
    border: 1px solid var(--ac-border, #e5e5e5);
    border-radius: 0;
    background: var(--ac-white);
    font-size: 13px;
    color: var(--ac-text);
}

.woocommerce div.product .reset_variations {
    font-size: 12px;
    margin-left: 10px;
    color: var(--ac-muted);
}

/* Horizontal separator matching Shopify product-template-hr */
hr.product-template-hr {
    border: 0;
    border-top: 1px solid var(--ac-border, #e5e5e5);
    margin: 28px 0;
}

/* Full Product Description in Summary */
.product-description.rte {
    color: #444444;
    font-size: 14px;
    line-height: 1.7;
    word-wrap: break-word;
}

.product-description.rte > *:first-child {
    margin-top: 0;
}

.product-description.rte > *:last-child {
    margin-bottom: 0;
}

.product-description.rte p {
    margin: 0 0 1.2em;
}

.product-description.rte h2,
.product-description.rte h3,
.product-description.rte h4 {
    color: #2f2f2f;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.4em 0 0.5em;
}

.product-description.rte h2 {
    font-size: 18px;
}

.product-description.rte h3 {
    font-size: 16px;
}

.product-description.rte h4 {
    font-size: 14px;
}

.product-description.rte ul,
.product-description.rte ol {
    margin: 0 0 1.4em;
    padding-left: 20px;
}

.product-description.rte li {
    margin-bottom: 0.4em;
}

@media (max-width: 800px) {
    .ac-single-product div.product,
    .woocommerce.single-product div.product {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .ac-single-product {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .woocommerce div.product .product_title {
        font-size: 20px;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 20px;
    }

    .woocommerce div.product form.cart .button {
        width: 100%;
        margin-top: 10px;
    }
}

/* =========================================
   WOOCOMMERCE MY ACCOUNT (LOGIN / REGISTER)
   ========================================= */

.woocommerce-account .ac-page__content {
    max-width: 880px;
}

.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 10px;
}

.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after {
    display: none;
}

.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-account #customer_login h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2f2f2f;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ac-border, #e5e5e5);
}

.woocommerce-account form.login,
.woocommerce-account form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .form-row {
    margin-bottom: 18px;
}

.woocommerce-account .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 6px;
}

.woocommerce-account .form-row .required {
    color: #d9534f;
    text-decoration: none;
}

.woocommerce-account .form-row input.input-text {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--ac-border, #e5e5e5);
    border-radius: 0;
    background: var(--ac-white);
    font-size: 14px;
    color: var(--ac-text);
    outline: none;
    transition: border-color 0.15s ease;
}

.woocommerce-account .form-row input.input-text:focus {
    border-color: var(--main-color, #7C5858);
}

.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 14px;
    cursor: pointer;
}

.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit {
    height: 44px;
    padding: 0 32px;
    border: none;
    border-radius: 0;
    background: var(--main-color, #7C5858);
    color: var(--ac-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce-account .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce-form-register__submit:hover {
    background: #624343;
    color: var(--ac-white);
}

.woocommerce-account .lost_password {
    margin-top: 14px;
    font-size: 13px;
}

.woocommerce-account .lost_password a {
    color: var(--ac-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-account .lost_password a:hover {
    color: var(--ac-black);
}

.woocommerce-account .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: var(--ac-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .woocommerce-account #customer_login {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================
   WOOCOMMERCE CART / CHECKOUT (BLOCKS)
   ========================================= */

.ac-page__content--shop {
    max-width: none;
}

.ac-page__shop {
    color: var(--ac-text);
    font-size: 14px;
    line-height: 1.6;
}

.ac-page__shop .wc-block-components-sidebar-layout {
    align-items: flex-start;
}

.ac-page__shop .wc-block-components-title,
.ac-page__shop .wc-block-components-checkout-step__title {
    color: #2f2f2f;
    font-weight: 700;
}

/* Square inputs to match the rest of the theme */
.ac-page__shop .wc-block-components-text-input input,
.ac-page__shop .wc-block-components-textarea,
.ac-page__shop .wc-blocks-components-select .wc-blocks-components-select__select,
.ac-page__shop .wc-block-components-combobox .wc-block-components-combobox-control input,
.ac-page__shop .wc-block-components-radio-control--highlight-checked,
.ac-page__shop .wc-block-components-radio-control-accordion-option,
.ac-page__shop .wc-block-components-address-card,
.ac-page__shop .wc-block-components-totals-coupon__input input {
    border-radius: 0 !important;
}

.ac-page__shop .wc-block-components-text-input input:focus,
.ac-page__shop .wc-block-components-textarea:focus,
.ac-page__shop .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.ac-page__shop .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 1px var(--main-color);
    outline: none;
}

.ac-page__shop .wc-block-components-button:not(.is-link) {
    min-height: 48px;
    border: none;
    border-radius: 0;
    background: var(--main-color);
    color: var(--ac-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ac-page__shop .wc-block-components-button:not(.is-link):hover,
.ac-page__shop .wc-block-components-button:not(.is-link):focus {
    background: #624343;
    color: var(--ac-white);
}

.ac-page__shop .wc-block-components-button:not(.is-link):disabled {
    opacity: 0.6;
}

.ac-page__shop .wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
.ac-page__shop .wc-block-components-radio-control__input:checked {
    border-color: var(--main-color);
}

.ac-page__shop .wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: var(--main-color);
}

.ac-page__shop .wc-block-components-checkbox .wc-block-components-checkbox__mark {
    fill: var(--ac-white);
}

.ac-page__shop .wc-block-components-radio-control__input:checked::before {
    background: var(--main-color);
}

/* =========================================
   SEARCH PAGE (Supply Theme Match)
   ========================================= */

.ac-search-page {
    padding-top: 30px;
    padding-bottom: 60px;
}

.ac-search-page__inner {
    width: 100%;
}

.ac-search-page__title {
    text-align: center;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: #2f2f2f;
    margin: 20px 0 28px;
    line-height: 1.35;
}

.ac-search-page__form {
    max-width: 580px;
    margin: 0 auto 40px;
}

.ac-search-page__form-row {
    display: flex;
    align-items: stretch;
}

.ac-search-page__input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--ac-border, #e5e5e5);
    border-right: none;
    border-radius: 0;
    background: var(--ac-white);
    font-size: 14px;
    color: var(--ac-text);
    outline: none;
    transition: border-color 0.15s ease;
}

.ac-search-page__input:focus {
    border-color: var(--main-color, #7C5858);
}

.ac-search-page__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 24px;
    border: none;
    border-radius: 0;
    background: var(--main-color, #7C5858);
    color: var(--ac-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.ac-search-page__submit:hover {
    background: #624343;
}

.ac-search-page__submit svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ac-search-page__empty-note {
    text-align: center;
    color: var(--ac-muted);
    font-size: 14px;
    margin-top: 20px;
}

.ac-search-page__results {
    margin-top: 30px;
}

@media (max-width: 480px) {
    .ac-search-page {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .ac-search-page__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ac-search-page__form-row {
        flex-direction: column;
        gap: 10px;
    }

    .ac-search-page__input {
        border-right: 1px solid var(--ac-border, #e5e5e5);
        width: 100%;
    }

    .ac-search-page__submit {
        width: 100%;
        justify-content: center;
    }
}

.ac-footer__payments-label {
    color: var(--ac-muted);

    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ac-footer__payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ac-footer__payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
}

.ac-footer__payment-icon img {
    display: block;
    max-width: 52px;
    max-height: 28px;
    width: auto;
    height: auto;
}

.ac-footer__payment-name {
    color: var(--ac-muted);
    font-size: 12px;
}


/* =========================================================
   FOOTER MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .ac-footer__columns {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .ac-footer__signup {
        grid-column: 1 / -1;
    }

}


@media (max-width: 700px) {

    .ac-footer__inner {
        padding-top: 45px;
        padding-bottom: 25px;
    }

    .ac-footer__columns {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .ac-footer__brand p,
    .ac-footer__signup p {
        margin-left: auto;
        margin-right: auto;
    }

    .ac-footer__menu {
        align-items: center;
    }

    .ac-footer__signup-form {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .ac-footer__bottom {
        flex-direction: column;
        gap: 22px;

        margin-top: 40px;

        text-align: center;
    }

    .ac-footer__payments {
        flex-direction: column;
        gap: 10px;
    }

    .ac-footer__payment-methods {
        justify-content: center;
    }

}


/* =========================================
   STANDARD PAGE (SINGLE / STATIC PAGE)
   ========================================= */

.ac-page {
    padding-top: 30px;
    padding-bottom: 60px;
}

.ac-page__container {
    width: min(calc(100% - 40px), var(--ac-container));
    margin-inline: auto;
}

/* Breadcrumbs */
.ac-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid var(--ac-border);
    padding-bottom: 15px;
    margin-bottom: 35px;
    color: var(--ac-muted);
}

.ac-breadcrumb a {
    color: var(--ac-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ac-breadcrumb a:hover {
    color: var(--ac-black);
}

.ac-breadcrumb__divider {
    display: inline-block;
    padding: 0 8px;
    color: #767676;
    font-size: 15px;
    font-family: Verdana, sans-serif;
    user-select: none;
}

.ac-breadcrumb__current {
    color: var(--ac-text);
}

/* Centered content box (matches live site two-thirds centered layout) */
.ac-page__inner {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ac-page__content {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
}

.ac-page__title {
    margin: 0 0 28px;
    color: #2f2f2f;
    font-size: clamp(24px, 3.2vw, 29px);
    font-weight: 700;
    line-height: 1.35;
}

/* Page Body Typography & Spacing */
.ac-page__body {
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
    word-wrap: break-word;
}

.ac-page__body > *:first-child {
    margin-top: 0;
}

.ac-page__body > *:last-child {
    margin-bottom: 0;
}

.ac-page__body p {
    margin: 0 0 1.5em;
}

.ac-page__body h1,
.ac-page__body h2,
.ac-page__body h3,
.ac-page__body h4,
.ac-page__body h5,
.ac-page__body h6 {
    color: #2f2f2f;
    font-weight: 700;
    line-height: 1.4;
    margin: 1.8em 0 0.6em;
}

.ac-page__body h2 {
    font-size: 20px;
}

.ac-page__body h3 {
    font-size: 17px;
}

.ac-page__body h4 {
    font-size: 15px;
}

.ac-page__body ul,
.ac-page__body ol {
    margin: 0 0 1.5em;
    padding-left: 28px;
}

.ac-page__body li {
    margin-bottom: 0.45em;
}

.ac-page__body a {
    color: var(--ac-black);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.ac-page__body a:hover {
    text-decoration: none;
}

.ac-page__body img {
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
}

.ac-page__body blockquote {
    margin: 1.6em 0;
    padding: 12px 20px;
    border-left: 3px solid var(--ac-border);
    color: var(--ac-muted);
    font-style: italic;
}

.ac-page__body hr {
    border: 0;
    border-top: 1px solid var(--ac-border);
    margin: 2em 0;
}

.ac-page__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8em 0;
    font-size: 14px;
}

.ac-page__body th,
.ac-page__body td {
    padding: 10px 14px;
    border: 1px solid var(--ac-border);
    text-align: left;
}

.ac-page__body th {
    background: #f9f9f9;
    font-weight: 600;
    color: #2f2f2f;
}

.page-links {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid var(--ac-border);
    font-size: 14px;
}

.page-links a {
    margin-inline: 4px;
    padding: 2px 8px;
    border: 1px solid var(--ac-border);
    text-decoration: none;
}

@media (max-width: 480px) {
    .ac-page {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .ac-page__container {
        width: calc(100% - 30px);
    }

    .ac-breadcrumb {
        margin-bottom: 24px;
        padding-bottom: 12px;
    }

    .ac-page__title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

/* =========================================
   BLOG & ARTICLE TEMPLATES (Supply Theme Match)
   ========================================= */

.ac-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
    align-items: start;
}

.ac-blog-main {
    min-width: 0;
}

.ac-blog-page-title {
    margin: 0 0 25px;
    color: #2f2f2f;
    font-size: clamp(24px, 3.2vw, 30px);
    font-weight: 700;
    line-height: 1.3;
}

/* Feed Article Card */
.ac-blog-item {
    margin-bottom: 0;
}

.ac-blog-item__title {
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.ac-blog-item__title a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ac-blog-item__title a:hover {
    color: var(--main-color);
    text-decoration: underline;
}

.ac-blog-item__meta {
    font-size: 13px;
    color: #767676;
    margin: 0 0 16px;
    line-height: 1.4;
}

.ac-blog-item__meta strong {
    color: #333333;
    font-weight: 600;
}

.ac-blog-item__excerpt {
    color: #444444;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.ac-blog-item__excerpt p {
    margin: 0 0 10px;
}

.ac-blog-item__excerpt p:last-child {
    margin-bottom: 0;
}

.ac-blog-item__read-more {
    margin: 0;
    font-size: 14px;
}

.ac-blog-item__read-more a {
    color: #2f2f2f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ac-blog-item__read-more a:hover {
    text-decoration: underline;
}

.ac-blog-divider {
    border: 0;
    border-top: 1px solid var(--ac-border, #e5e5e5);
    margin: 30px 0;
}

/* Blog Sidebar */
.ac-blog-sidebar {
    border-left: 1px solid var(--ac-border, #e5e5e5);
    padding-left: 28px;
}

.ac-blog-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--main-color);
    margin: 0 0 18px;
}

.ac-blog-sidebar__item {
    margin-bottom: 18px;
}

.ac-blog-sidebar__link {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: var(--main-color);
    text-decoration: none;
    margin-bottom: 3px;
    transition: color 0.15s ease;
}

.ac-blog-sidebar__link:hover {
    text-decoration: underline;
}

.ac-blog-sidebar__date {
    display: block;
    font-size: 12px;
    color: #767676;
    font-style: italic;
}

.ac-blog-sidebar__empty {
    font-size: 13px;
    color: var(--ac-muted);
}

/* Single Post View */
.ac-single-post__header {
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ac-border, #e5e5e5);
}

.ac-single-post__title {
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 700;
    color: #2f2f2f;
    margin: 0 0 12px;
    line-height: 1.3;
}

.ac-single-post__thumbnail {
    margin-bottom: 25px;
}

.ac-single-post__thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.ac-single-post__body {
    color: #333333;
    font-size: 15px;
    line-height: 1.75;
}

.ac-single-post__navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--ac-border, #e5e5e5);
    font-size: 14px;
    font-weight: 600;
}

.ac-single-post__navigation a {
    color: #2f2f2f;
    text-decoration: none;
}

.ac-single-post__navigation a:hover {
    text-decoration: underline;
}

/* Pagination */
.ac-pagination {
    margin-top: 30px;
}

.ac-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ac-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--ac-border, #e5e5e5);
    color: #555555;
    font-size: 14px;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.15s ease;
}

.ac-pagination .page-numbers.current {
    background: #2f2f2f;
    border-color: #2f2f2f;
    color: #ffffff;
}

.ac-pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: #2f2f2f;
    color: #2f2f2f;
}

/* Responsive */
@media (max-width: 860px) {
    .ac-blog-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ac-blog-sidebar {
        border-left: none;
        border-top: 1px solid var(--ac-border, #e5e5e5);
        padding-left: 0;
        padding-top: 25px;
    }
}



/* =========================================================
   NEWSLETTER UNSUBSCRIBE
   ========================================================= */

.ac-unsubscribe__button {
    height: 44px;
    padding: 0 20px;

    border: 1px solid #2d2a27;

    background: #2d2a27;
    color: #fff;

    font: inherit;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.ac-unsubscribe__button:hover {
    background: transparent;
    color: #2d2a27;
}



/* =========================================================
   WOOCOMMERCE BLOCK CART & CHECKOUT
   Targets the modern Gutenberg block-based cart/checkout
   rendered by woocommerce/cart and woocommerce/checkout blocks.
   ========================================================= */

/* ── Shared layout shell ──────────────────────────────────── */
.woocommerce-cart .ac-page__title,
.woocommerce-checkout .ac-page__title {
    display: none; /* WC blocks render their own headings */
}

.woocommerce-cart .ac-page__content,
.woocommerce-checkout .ac-page__content {
    max-width: 100%;
}

/* Cart items header */
.wc-block-cart-items__header {
    padding: 10px 0;
    border-bottom: 2px solid var(--ac-border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ac-muted);
}

/* Each cart row */
.wc-block-cart-items__row {
    padding: 16px 0;
    border-bottom: 1px solid var(--ac-border);
}

/* Product image */
.wc-block-cart-item__image img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid var(--ac-border);
}

/* Product name */
.wc-block-components-product-name,
.wc-block-components-product-name a {
    font-weight: 600;
    font-size: 14px;
    color: var(--ac-black) !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wc-block-components-product-name a:hover {
    color: var(--main-color) !important;
}

/* Product variation details */
.wc-block-components-product-details {
    font-size: 12px;
    color: var(--ac-muted);
    margin-top: 4px;
}

/* Remove link */
.wc-block-cart-item__remove-link a {
    font-size: 12px;
    color: var(--ac-muted) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.wc-block-cart-item__remove-link a:hover {
    color: #d9534f !important;
}

/* Prices */
.wc-block-components-product-price .wc-block-components-formatted-money-amount,
.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
    font-size: 15px;
    font-weight: 600;
    color: var(--ac-black);
}

/* ── Quantity stepper ─────────────────────────────────────── */
.wc-block-components-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ac-border);
    height: 40px;
    overflow: hidden;
}

.wc-block-components-quantity-selector__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    background: #fafafa;
    border: none;
    font-size: 18px;
    color: var(--ac-text);
    cursor: pointer;
    transition: background 0.15s ease;
}

.wc-block-components-quantity-selector__button:hover {
    background: var(--ac-border);
}

.wc-block-components-quantity-selector__input {
    width: 48px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--ac-border);
    border-right: 1px solid var(--ac-border);
    text-align: center;
    font-size: 14px;
    font-family: inherit;
    color: var(--ac-text);
    background: var(--ac-white);
    outline: none;
    -moz-appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* ── Order summary sidebar (cart) ─────────────────────────── */
.wc-block-cart__sidebar {
    position: sticky;
    top: 100px;
}

.wp-block-woocommerce-cart-order-summary-block {
    border: 1px solid var(--ac-border);
    padding: 20px;
    background: #fafafa;
}

.wc-block-cart__totals-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--ac-black) !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--ac-border) !important;
}

/* Totals rows */
.wc-block-components-totals-wrapper {
    border: none !important;
    padding: 0 !important;
}

.wc-block-components-totals-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--ac-border);
    font-size: 14px;
    color: var(--ac-text);
}

.wc-block-components-totals-item:last-child {
    border-bottom: none;
}

.wc-block-components-totals-item__label {
    font-weight: 500;
}

.wc-block-components-totals-item__value {
    font-weight: 600;
    color: var(--ac-black);
}

/* Grand total row */
.wc-block-components-totals-footer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 4px;
    border-top: 2px solid var(--ac-border);
    margin-top: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ac-black);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 16px;
    font-weight: 700;
    color: var(--ac-black);
}

/* ── Coupon panel ─────────────────────────────────────────── */
.wc-block-components-panel__button {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--main-color);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Text inputs ──────────────────────────────────────────── */
.wc-block-components-text-input input,
.wc-block-components-country-input input,
.wc-block-components-state-input input,
.components-input-control__input {
    width: 100% !important;
    border: 1px solid var(--ac-border) !important;
    border-radius: 0 !important;
    background: var(--ac-white) !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: var(--ac-text) !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-country-input input:focus,
.components-input-control__input:focus {
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 3px rgba(124, 88, 88, 0.12) !important;
}

.wc-block-components-text-input label,
.wc-block-components-country-input label,
.wc-block-components-state-input label {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--ac-text) !important;
}

/* ── Proceed to Checkout / Place Order buttons ────────────── */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
.wc-block-cart__submit .wc-block-components-button,
.wc-block-checkout__actions .wc-block-components-button {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 52px !important;
    padding: 0 24px !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--main-color) !important;
    color: var(--ac-white) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    text-align: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
}

.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover,
.wc-block-cart__submit .wc-block-components-button:hover,
.wc-block-checkout__actions .wc-block-components-button:hover {
    background: #624343 !important;
}

/* Section headings */
.wc-block-checkout__billing-fields h2,
.wc-block-checkout__shipping-fields h2,
.wc-block-checkout__add-note h2,
.wc-block-checkout__payment-method h2,
.wp-block-woocommerce-checkout-order-summary-block h2 {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--ac-black) !important;
    margin: 0 0 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--ac-border) !important;
}

/* Checkout sidebar */
.wc-block-checkout__sidebar {
    position: sticky;
    top: 100px;
}

.wp-block-woocommerce-checkout-order-summary-block {
    border: 1px solid var(--ac-border);
    padding: 20px;
    background: #fafafa;
}

/* Order summary items in checkout sidebar */
.wc-block-components-order-summary-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--ac-border);
    font-size: 13px;
}

.wc-block-components-order-summary-item__image img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid var(--ac-border);
}

.wc-block-components-order-summary-item__description {
    font-weight: 600;
    color: var(--ac-black);
    font-size: 13px;
}

/* ── Payment methods ──────────────────────────────────────── */
.wc-block-components-radio-control-accordion-option {
    border: 1px solid var(--ac-border) !important;
    margin-bottom: 8px !important;
    padding: 14px 16px !important;
    border-radius: 0 !important;
    background: var(--ac-white) !important;
    transition: border-color 0.15s ease !important;
}

.wc-block-components-radio-control-accordion-option:has(input:checked) {
    border-color: var(--main-color) !important;
    background: #fdf9f9 !important;
}

.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ac-black) !important;
}

.wc-block-components-radio-control__input {
    accent-color: var(--main-color) !important;
}

/* ── Terms & privacy ──────────────────────────────────────── */
.wc-block-checkout__terms {
    font-size: 12px;
    color: var(--ac-muted);
    line-height: 1.6;
}

.wc-block-checkout__terms a {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Notices ──────────────────────────────────────────────── */
.wc-block-components-notice-banner {
    padding: 14px 18px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    border-left: 4px solid var(--main-color) !important;
    border-radius: 0 !important;
    background: #fafafa !important;
}

.wc-block-components-notice-banner.is-error {
    border-left-color: #d9534f !important;
}

.wc-block-components-notice-banner.is-success {
    border-left-color: #5cb85c !important;
}

/* ── Empty cart ───────────────────────────────────────────── */
.wc-block-cart__empty-cart__title {
    font-size: clamp(18px, 2vw, 24px) !important;
    font-weight: 600 !important;
    color: var(--ac-black) !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* ── Order received / thank-you ───────────────────────────── */
.woocommerce-order .woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    border: 1px solid var(--ac-border);
    background: #fafafa;
}

.woocommerce-order .woocommerce-order-overview li {
    flex: 1 0 auto;
    padding: 20px 24px;
    border-right: 1px solid var(--ac-border);
    font-size: 13px;
    color: var(--ac-muted);
}

.woocommerce-order .woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order .woocommerce-order-overview li strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--ac-black);
    margin-top: 4px;
}

.woocommerce-order .woocommerce-thankyou-order-received {
    font-size: 18px;
    font-weight: 600;
    color: var(--ac-black);
    margin-bottom: 20px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar {
        position: static;
    }

    .woocommerce-order .woocommerce-order-overview {
        flex-direction: column;
    }

    .woocommerce-order .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid var(--ac-border);
    }

    .woocommerce-order .woocommerce-order-overview li:last-child {
        border-bottom: none;
    }
}


/* Shipping & tracking page */

.ac-tracking {
    margin: 0 0 40px;
    padding: 24px;
    border: 1px solid var(--ac-border);
}

.ac-tracking__heading {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #2f2f2f;
}

.ac-tracking__form {
    display: flex;
    align-items: stretch;
    max-width: 580px;
}

.ac-tracking__input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--ac-border);
    border-right: none;
    border-radius: 0;
    background: var(--ac-white);
    font-size: 14px;
    color: var(--ac-text);
    outline: none;
    transition: border-color 0.15s ease;
}

.ac-tracking__input:focus {
    border-color: var(--main-color);
}

.ac-tracking__submit {
    height: 46px;
    padding: 0 24px;
    border: none;
    border-radius: 0;
    background: var(--main-color);
    color: var(--ac-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ac-tracking__submit:hover {
    background: #624343;
}

.ac-tracking__result {
    margin-top: 24px;
}

.ac-tracking__details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin: 0 0 24px;
}

.ac-tracking__details dt {
    color: var(--ac-muted);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ac-tracking__details dd {
    margin: 2px 0 0;
    font-weight: 600;
    word-break: break-all;
}

.ac-tracking__steps {
    display: flex;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.ac-tracking__step {
    position: relative;
    flex: 1;
    padding-top: 22px;
    color: var(--ac-muted);
    font-size: 14px;
}

.ac-tracking__step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border: 2px solid var(--ac-border);
    border-radius: 50%;
    background: var(--ac-white);
    z-index: 1;
}

.ac-tracking__step::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 12px;
    right: 0;
    height: 2px;
    background: var(--ac-border);
}

.ac-tracking__step:last-child::after {
    display: none;
}

.ac-tracking__step.is-done {
    color: var(--ac-text);
}

.ac-tracking__step.is-done::before,
.ac-tracking__step.is-done::after {
    border-color: var(--main-color);
    background: var(--main-color);
}

.ac-tracking__step-label {
    display: block;
    font-weight: 600;
}

.ac-tracking__step-date {
    display: block;
    font-size: 13px;
}

.ac-tracking__note {
    margin: 0;
    color: var(--ac-muted);
    font-size: 14px;
}

.ac-tracking__note--error {
    margin-top: 16px;
    color: #a33a3a;
}

@media (max-width: 480px) {
    .ac-tracking {
        padding: 16px;
    }

    .ac-tracking__form {
        flex-direction: column;
        gap: 10px;
    }

    .ac-tracking__input {
        border-right: 1px solid var(--ac-border);
    }

    .ac-tracking__steps {
        flex-direction: column;
        gap: 16px;
    }

    .ac-tracking__step {
        padding: 0 0 0 24px;
    }

    .ac-tracking__step::after {
        display: none;
    }
}
