/* =====================================================
   High Cotton Closet - Clean Final CSS
   Homepage hero, mobile hero, product cards, dropdown,
   boutique buttons, New Arrivals grid, category pages
   ===================================================== */


/* Hide duplicate WordPress site title text */
.wp-block-site-title {
    display: none !important;
}


/* Prevent sideways scrolling from full-width sections */
body {
    overflow-x: hidden !important;
}


/* Slightly increase logo size on desktop */
@media screen and (min-width: 1025px) {
    .site-branding img,
    .site-header .custom-logo,
    .wp-block-site-logo img {
        max-width: 220px !important;
        width: auto !important;
        height: auto !important;
    }
}


/* Remove extra space above homepage content */
.home .site-main,
.home .content-area,
.home .entry-content,
.home .wp-block-post-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* =====================================================
   DESKTOP HERO
   ===================================================== */

@media screen and (min-width: 1025px) {

    .home .entry-content > .wp-block-cover:first-child,
    .home .wp-block-post-content > .wp-block-cover:first-child,
    .home .wp-block-cover:first-child {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important;
        padding: 0 !important;
        min-height: 590px !important;
        height: 590px !important;
        background-position: center center !important;
    }

    .home .entry-content > .wp-block-cover:first-child img.wp-block-cover__image-background,
    .home .wp-block-post-content > .wp-block-cover:first-child img.wp-block-cover__image-background,
    .home .wp-block-cover:first-child img.wp-block-cover__image-background {
        object-fit: cover !important;
        object-position: center center !important;
    }

    .home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
    .home .wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
    .home .wp-block-cover:first-child .wp-block-cover__inner-container {
        position: relative !important;
        z-index: 2 !important;
        transform: translateY(70px) !important;
    }
}


/* Keep content below hero aligned */
.home .entry-content > .wp-block-cover:first-child + *,
.home .wp-block-post-content > .wp-block-cover:first-child + * {
    margin-top: 25px !important;
}


/* =====================================================
   TABLET HERO
   ===================================================== */

@media screen and (min-width: 769px) and (max-width: 1024px) {

    .home .entry-content > .wp-block-cover:first-child,
    .home .wp-block-post-content > .wp-block-cover:first-child,
    .home .wp-block-cover:first-child {
        min-height: 560px !important;
        background-position: center top !important;
    }

    .home .entry-content > .wp-block-cover:first-child img.wp-block-cover__image-background,
    .home .wp-block-post-content > .wp-block-cover:first-child img.wp-block-cover__image-background,
    .home .wp-block-cover:first-child img.wp-block-cover__image-background {
        object-position: center top !important;
    }
}


/* =====================================================
   MOBILE HERO
   Keeps the mobile wording readable
   ===================================================== */

@media screen and (max-width: 768px) {

    .home .entry-content > .wp-block-cover:first-child,
    .home .wp-block-post-content > .wp-block-cover:first-child,
    .home .wp-block-cover:first-child {
        min-height: 520px !important;
        align-items: center !important;
        padding: 20px 16px !important;
        background-position: center top !important;
    }

    .home .entry-content > .wp-block-cover:first-child img.wp-block-cover__image-background,
    .home .wp-block-post-content > .wp-block-cover:first-child img.wp-block-cover__image-background,
    .home .wp-block-cover:first-child img.wp-block-cover__image-background {
        object-position: center top !important;
    }

    .home .wp-block-cover:first-child::before,
    .home .wp-block-cover:first-child .wp-block-cover__background {
        opacity: 0.45 !important;
        background-color: #000000 !important;
    }

    .home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
    .home .wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
    .home .wp-block-cover:first-child .wp-block-cover__inner-container {
        width: 92% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 18px 14px !important;
        background: rgba(0, 0, 0, 0.38) !important;
        border-radius: 18px !important;
        text-align: center !important;
        transform: none !important;
    }

    .home .wp-block-cover:first-child h1,
    .home .wp-block-cover:first-child h2,
    .home .wp-block-cover:first-child h3,
    .home .wp-block-cover:first-child .wp-block-heading,
    .home .wp-block-cover:first-child strong {
        font-size: 28px !important;
        line-height: 1.08 !important;
        margin: 0 0 12px 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    .home .wp-block-cover:first-child p {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin: 8px 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    .home .wp-block-cover:first-child p:nth-of-type(2) {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .home .wp-block-cover:first-child .wp-block-button__link {
        font-size: 18px !important;
        padding: 12px 24px !important;
        border-radius: 999px !important;
        margin-top: 10px !important;
    }
}


/* Extra small phones */
@media screen and (max-width: 480px) {

    .home .entry-content > .wp-block-cover:first-child,
    .home .wp-block-post-content > .wp-block-cover:first-child,
    .home .wp-block-cover:first-child {
        min-height: 500px !important;
    }

    .home .wp-block-cover:first-child h1,
    .home .wp-block-cover:first-child h2,
    .home .wp-block-cover:first-child h3,
    .home .wp-block-cover:first-child .wp-block-heading,
    .home .wp-block-cover:first-child strong {
        font-size: 24px !important;
        line-height: 1.1 !important;
    }

    .home .wp-block-cover:first-child p {
        font-size: 13.5px !important;
    }

    .home .wp-block-cover:first-child .wp-block-button__link {
        font-size: 17px !important;
        padding: 11px 22px !important;
    }
}


/* =====================================================
   GENERAL PRODUCT CARD CLEANUP
   ===================================================== */

.woocommerce ul.products li.product,
.wc-block-grid__product {
    text-align: center !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title,
.home .wc-block-components-product-title,
.home .woocommerce-loop-product__title {
    min-height: 56px !important;
    line-height: 1.25 !important;
    text-align: center !important;
}


/* Desktop-only general homepage product image alignment */
@media screen and (min-width: 769px) {

    .home .wc-block-product-template .wp-block-woocommerce-product-image,
    .home .wc-block-product-template .wc-block-components-product-image,
    .home ul.products li.product a.woocommerce-LoopProduct-link {
        height: 300px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .home .wc-block-product-template .wp-block-woocommerce-product-image img,
    .home .wc-block-product-template .wc-block-components-product-image img,
    .home ul.products li.product img.attachment-woocommerce_thumbnail,
    .home ul.products li.product img.wp-post-image {
        width: 100% !important;
        height: 300px !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .home .wc-block-grid__product,
    .home .wc-block-product,
    .home ul.products li.product {
        text-align: center !important;
    }
}


/* =====================================================
   DESKTOP DROPDOWN MENU
   Boutique black with rose hover
   ===================================================== */

@media screen and (min-width: 1025px) {

    .header-navigation .header-menu-container ul ul.sub-menu,
    .main-navigation .primary-menu-container ul ul.sub-menu,
    .primary-menu-container ul ul.sub-menu {
        background-color: #1F1F1F !important;
        border: 1px solid #1F1F1F !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22) !important;
    }

    .header-navigation .header-menu-container ul ul.sub-menu li.menu-item > a,
    .main-navigation .primary-menu-container ul ul.sub-menu li.menu-item > a,
    .primary-menu-container ul ul.sub-menu li.menu-item > a {
        color: #ffffff !important;
        background-color: #1F1F1F !important;
        font-weight: 500 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .header-navigation .header-menu-container ul ul.sub-menu li.menu-item > a:hover,
    .main-navigation .primary-menu-container ul ul.sub-menu li.menu-item > a:hover,
    .primary-menu-container ul ul.sub-menu li.menu-item > a:hover {
        background-color: #A54B57 !important;
        color: #ffffff !important;
    }

    .header-navigation .header-menu-container ul ul.sub-menu li.menu-item:last-child > a,
    .main-navigation .primary-menu-container ul ul.sub-menu li.menu-item:last-child > a,
    .primary-menu-container ul ul.sub-menu li.menu-item:last-child > a {
        border-bottom: none !important;
    }
}


/* =====================================================
   BUTTON COLORS
   Boutique black buttons with rose hover on desktop
   ===================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wp-block-woocommerce-product-button .wp-block-button__link,
.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button__button,
.wc-block-components-button,
.products .product .button,
ul.products li.product .button,
a.add_to_cart_button,
a.product_type_simple,
.hcc-shop-button {
    background: #1F1F1F !important;
    background-color: #1F1F1F !important;
    border-color: #1F1F1F !important;
    color: #ffffff !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wc-block-components-product-button .wp-block-button__link:hover,
.wc-block-components-product-button__button:hover,
.wc-block-components-button:hover,
.products .product .button:hover,
ul.products li.product .button:hover,
a.add_to_cart_button:hover,
a.product_type_simple:hover,
.hcc-shop-button:hover {
    background: #A54B57 !important;
    background-color: #A54B57 !important;
    border-color: #A54B57 !important;
    color: #ffffff !important;
}


/* Mobile buttons stay black even after tapping */
@media screen and (max-width: 768px) {

    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit,
    .wc-block-grid__product-add-to-cart .wp-block-button__link,
    .wp-block-woocommerce-product-button .wp-block-button__link,
    .wc-block-components-product-button .wp-block-button__link,
    .wc-block-components-product-button__button,
    .wc-block-components-button,
    .products .product .button,
    ul.products li.product .button,
    a.add_to_cart_button,
    a.product_type_simple,
    .hcc-shop-button,
    .woocommerce a.button:hover,
    .woocommerce button.button:hover,
    .woocommerce input.button:hover,
    .woocommerce #respond input#submit:hover,
    .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
    .wp-block-woocommerce-product-button .wp-block-button__link:hover,
    .wc-block-components-product-button .wp-block-button__link:hover,
    .wc-block-components-product-button__button:hover,
    .wc-block-components-button:hover,
    .products .product .button:hover,
    ul.products li.product .button:hover,
    a.add_to_cart_button:hover,
    a.product_type_simple:hover,
    .hcc-shop-button:hover {
        background: #1F1F1F !important;
        background-color: #1F1F1F !important;
        border-color: #1F1F1F !important;
        color: #ffffff !important;
    }
}


/* =====================================================
   Footer / regular Shop Now buttons - boutique black
   ===================================================== */

.home a.wp-block-button__link[href*="/shop"],
.home a.wp-element-button[href*="/shop"],
.home .wp-block-button a[href*="/shop"] {
    background: #1F1F1F !important;
    background-color: #1F1F1F !important;
    border-color: #1F1F1F !important;
    color: #ffffff !important;
}

/* Desktop hover */
.home a.wp-block-button__link[href*="/shop"]:hover,
.home a.wp-element-button[href*="/shop"]:hover,
.home .wp-block-button a[href*="/shop"]:hover {
    background: #A54B57 !important;
    background-color: #A54B57 !important;
    border-color: #A54B57 !important;
    color: #ffffff !important;
}

/* Mobile/tap state stays black */
@media screen and (max-width: 768px) {
    .home a.wp-block-button__link[href*="/shop"],
    .home a.wp-element-button[href*="/shop"],
    .home .wp-block-button a[href*="/shop"],
    .home a.wp-block-button__link[href*="/shop"]:hover,
    .home a.wp-element-button[href*="/shop"]:hover,
    .home .wp-block-button a[href*="/shop"]:hover {
        background: #1F1F1F !important;
        background-color: #1F1F1F !important;
        border-color: #1F1F1F !important;
        color: #ffffff !important;
    }
}


/* =====================================================
   HCC Product Grid Alignment
   Targets only the New Arrivals section
   ===================================================== */

/* Desktop product image boxes */
@media screen and (min-width: 769px) {

    .hcc-product-grid .wc-block-components-product-image,
    .hcc-product-grid .wp-block-woocommerce-product-image,
    .hcc-product-grid .wc-block-grid__product-image,
    .hcc-product-grid ul.products li.product a.woocommerce-LoopProduct-link {
        height: 300px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hcc-product-grid .wc-block-components-product-image img,
    .hcc-product-grid .wp-block-woocommerce-product-image img,
    .hcc-product-grid .wc-block-grid__product-image img,
    .hcc-product-grid ul.products li.product img {
        width: 100% !important;
        height: 300px !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .hcc-product-grid .wp-block-post,
    .hcc-product-grid .wc-block-product,
    .hcc-product-grid .wc-block-grid__product,
    .hcc-product-grid ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hcc-product-grid .wc-block-components-product-title,
    .hcc-product-grid .wc-block-grid__product-title,
    .hcc-product-grid .woocommerce-loop-product__title {
        min-height: 88px !important;
        line-height: 1.25 !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hcc-product-grid .wc-block-components-product-price,
    .hcc-product-grid .wc-block-grid__product-price,
    .hcc-product-grid .price {
        min-height: 28px !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    .hcc-product-grid .wp-block-woocommerce-product-button,
    .hcc-product-grid .wc-block-components-product-button,
    .hcc-product-grid .wc-block-grid__product-add-to-cart {
        margin-top: auto !important;
    }
}

/* Mobile product image boxes */
@media screen and (max-width: 768px) {

    .hcc-product-grid .wc-block-components-product-image,
    .hcc-product-grid .wp-block-woocommerce-product-image,
    .hcc-product-grid .wc-block-grid__product-image,
    .hcc-product-grid ul.products li.product a.woocommerce-LoopProduct-link {
        height: 240px !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hcc-product-grid .wc-block-components-product-image img,
    .hcc-product-grid .wp-block-woocommerce-product-image img,
    .hcc-product-grid .wc-block-grid__product-image img,
    .hcc-product-grid ul.products li.product img {
        width: 100% !important;
        height: 240px !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .hcc-product-grid .wc-block-components-product-title,
    .hcc-product-grid .wc-block-grid__product-title,
    .hcc-product-grid .woocommerce-loop-product__title {
        min-height: 50px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }
}


/* =====================================================
   Product category pages - always show Shop Now buttons
   ===================================================== */

body.woocommerce-shop ul.products li.product .product-action-wrap,
body.post-type-archive-product ul.products li.product .product-action-wrap,
body.tax-product_cat ul.products li.product .product-action-wrap,
body.archive.woocommerce ul.products li.product .product-action-wrap {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
    margin-top: 12px !important;
    text-align: center !important;
}

/* Make category page buttons always visible and boutique black */
body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
body.archive.woocommerce ul.products li.product .button,
body.woocommerce-shop ul.products li.product a.button,
body.post-type-archive-product ul.products li.product a.button,
body.tax-product_cat ul.products li.product a.button,
body.archive.woocommerce ul.products li.product a.button {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    margin: 12px auto 0 !important;
    background: #1F1F1F !important;
    background-color: #1F1F1F !important;
    border-color: #1F1F1F !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    text-align: center !important;
}

/* Desktop hover color */
body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover,
body.archive.woocommerce ul.products li.product .button:hover {
    background: #A54B57 !important;
    background-color: #A54B57 !important;
    border-color: #A54B57 !important;
    color: #ffffff !important;
}

/* Mobile/tap state stays black */
@media screen and (max-width: 768px) {
    body.woocommerce-shop ul.products li.product .button,
    body.post-type-archive-product ul.products li.product .button,
    body.tax-product_cat ul.products li.product .button,
    body.archive.woocommerce ul.products li.product .button,
    body.woocommerce-shop ul.products li.product .button:hover,
    body.post-type-archive-product ul.products li.product .button:hover,
    body.tax-product_cat ul.products li.product .button:hover,
    body.archive.woocommerce ul.products li.product .button:hover {
        background: #1F1F1F !important;
        background-color: #1F1F1F !important;
        border-color: #1F1F1F !important;
        color: #ffffff !important;
    }
}/* =====================================================
   Category pages - align products + clean Shop Now buttons
   ===================================================== */

@media screen and (min-width: 769px) {

    body.woocommerce-shop ul.products,
    body.post-type-archive-product ul.products,
    body.tax-product_cat ul.products,
    body.archive.woocommerce ul.products {
        align-items: stretch !important;
    }

    body.woocommerce-shop ul.products li.product,
    body.post-type-archive-product ul.products li.product,
    body.tax-product_cat ul.products li.product,
    body.archive.woocommerce ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        height: 100% !important;
    }

    body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
    body.archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 96px !important;
        line-height: 1.25 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    body.woocommerce-shop ul.products li.product .price,
    body.post-type-archive-product ul.products li.product .price,
    body.tax-product_cat ul.products li.product .price,
    body.archive.woocommerce ul.products li.product .price {
        min-height: 28px !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    body.woocommerce-shop ul.products li.product .product-action-wrap,
    body.post-type-archive-product ul.products li.product .product-action-wrap,
    body.tax-product_cat ul.products li.product .product-action-wrap,
    body.archive.woocommerce ul.products li.product .product-action-wrap {
        margin-top: auto !important;
        text-align: center !important;
        width: 100% !important;
    }
}


/* Remove arrow icon from category page Shop Now buttons */
body.woocommerce-shop ul.products li.product .button::after,
body.post-type-archive-product ul.products li.product .button::after,
body.tax-product_cat ul.products li.product .button::after,
body.archive.woocommerce ul.products li.product .button::after,
body.woocommerce-shop ul.products li.product .button:after,
body.post-type-archive-product ul.products li.product .button:after,
body.tax-product_cat ul.products li.product .button:after,
body.archive.woocommerce ul.products li.product .button:after {
    content: none !important;
    display: none !important;
}


/* Style category page buttons to match homepage buttons */
body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
body.archive.woocommerce ul.products li.product .button,
body.woocommerce-shop ul.products li.product a.button,
body.post-type-archive-product ul.products li.product a.button,
body.tax-product_cat ul.products li.product a.button,
body.archive.woocommerce ul.products li.product a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1F1F1F !important;
    background-color: #1F1F1F !important;
    border-color: #1F1F1F !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 10px 18px !important;
    min-width: 110px !important;
    text-align: center !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 600 !important;
}


/* Desktop hover color */
body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover,
body.archive.woocommerce ul.products li.product .button:hover {
    background: #A54B57 !important;
    background-color: #A54B57 !important;
    border-color: #A54B57 !important;
    color: #ffffff !important;
}


/* Mobile/tap state stays black */
@media screen and (max-width: 768px) {
    body.woocommerce-shop ul.products li.product .button,
    body.post-type-archive-product ul.products li.product .button,
    body.tax-product_cat ul.products li.product .button,
    body.archive.woocommerce ul.products li.product .button,
    body.woocommerce-shop ul.products li.product .button:hover,
    body.post-type-archive-product ul.products li.product .button:hover,
    body.tax-product_cat ul.products li.product .button:hover,
    body.archive.woocommerce ul.products li.product .button:hover {
        background: #1F1F1F !important;
        background-color: #1F1F1F !important;
        border-color: #1F1F1F !important;
        color: #ffffff !important;
        border-radius: 4px !important;
    }
}/* =====================================================
   FINAL Category Page Button Cleanup
   Removes arrow, centers Shop Now, aligns product cards
   ===================================================== */

/* Make category product cards stack evenly */
@media screen and (min-width: 769px) {

    body.tax-product_cat ul.products li.product,
    body.woocommerce-shop ul.products li.product,
    body.post-type-archive-product ul.products li.product,
    body.archive.woocommerce ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        height: 100% !important;
    }

    body.tax-product_cat ul.products li.product .product-details,
    body.tax-product_cat ul.products li.product .entry-content-wrap,
    body.woocommerce-shop ul.products li.product .product-details,
    body.woocommerce-shop ul.products li.product .entry-content-wrap,
    body.post-type-archive-product ul.products li.product .product-details,
    body.post-type-archive-product ul.products li.product .entry-content-wrap,
    body.archive.woocommerce ul.products li.product .product-details,
    body.archive.woocommerce ul.products li.product .entry-content-wrap {
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        width: 100% !important;
    }

    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
    body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
    body.archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 108px !important;
        line-height: 1.25 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    body.tax-product_cat ul.products li.product .price,
    body.woocommerce-shop ul.products li.product .price,
    body.post-type-archive-product ul.products li.product .price,
    body.archive.woocommerce ul.products li.product .price {
        min-height: 28px !important;
        margin-bottom: 14px !important;
        text-align: center !important;
    }

    body.tax-product_cat ul.products li.product .product-action-wrap,
    body.woocommerce-shop ul.products li.product .product-action-wrap,
    body.post-type-archive-product ul.products li.product .product-action-wrap,
    body.archive.woocommerce ul.products li.product .product-action-wrap {
        margin-top: auto !important;
        width: 100% !important;
        text-align: center !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}


/* Clean category page Shop Now buttons */
body.tax-product_cat ul.products li.product .button,
body.woocommerce-shop ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.archive.woocommerce ul.products li.product .button {
    width: 118px !important;
    height: 42px !important;
    min-width: 118px !important;
    padding: 0 !important;
    margin: 12px auto 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1F1F1F !important;
    background-color: #1F1F1F !important;
    border-color: #1F1F1F !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-align: center !important;
    font-size: 0 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}


/* Replace original text/arrow with clean centered text */
body.tax-product_cat ul.products li.product .button::before,
body.woocommerce-shop ul.products li.product .button::before,
body.post-type-archive-product ul.products li.product .button::before,
body.archive.woocommerce ul.products li.product .button::before {
    content: "Shop Now" !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #ffffff !important;
}


/* Hide theme arrow/icon */
body.tax-product_cat ul.products li.product .button::after,
body.woocommerce-shop ul.products li.product .button::after,
body.post-type-archive-product ul.products li.product .button::after,
body.archive.woocommerce ul.products li.product .button::after,
body.tax-product_cat ul.products li.product .button svg,
body.woocommerce-shop ul.products li.product .button svg,
body.post-type-archive-product ul.products li.product .button svg,
body.archive.woocommerce ul.products li.product .button svg,
body.tax-product_cat ul.products li.product .button .kadence-svg-iconset,
body.woocommerce-shop ul.products li.product .button .kadence-svg-iconset,
body.post-type-archive-product ul.products li.product .button .kadence-svg-iconset,
body.archive.woocommerce ul.products li.product .button .kadence-svg-iconset {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* Desktop hover color */
body.tax-product_cat ul.products li.product .button:hover,
body.woocommerce-shop ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover,
body.archive.woocommerce ul.products li.product .button:hover {
    background: #A54B57 !important;
    background-color: #A54B57 !important;
    border-color: #A54B57 !important;
    color: #ffffff !important;
}


/* Mobile/tap stays black */
@media screen and (max-width: 768px) {
    body.tax-product_cat ul.products li.product .button,
    body.woocommerce-shop ul.products li.product .button,
    body.post-type-archive-product ul.products li.product .button,
    body.archive.woocommerce ul.products li.product .button,
    body.tax-product_cat ul.products li.product .button:hover,
    body.woocommerce-shop ul.products li.product .button:hover,
    body.post-type-archive-product ul.products li.product .button:hover,
    body.archive.woocommerce ul.products li.product .button:hover {
        background: #1F1F1F !important;
        background-color: #1F1F1F !important;
        border-color: #1F1F1F !important;
        color: #ffffff !important;
        border-radius: 4px !important;
    }
}/* =====================================================
   HCC Contact Page Styling
   ===================================================== */

.hcc-contact-page {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 40px 24px 10px;
    color: #2f3542;
}

.hcc-contact-hero {
    text-align: center;
    background: #f7f0ec;
    border: 1px solid #eadbd3;
    border-radius: 22px;
    padding: 46px 28px;
    margin-bottom: 28px;
}

.hcc-contact-eyebrow {
    color: #A54B57;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}

.hcc-contact-hero h1 {
    font-size: 42px;
    margin: 0 0 14px;
    color: #1f1f1f;
}

.hcc-contact-hero p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

.hcc-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-bottom: 24px;
}

.hcc-contact-card {
    background: #ffffff;
    border: 1px solid #eadbd3;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hcc-contact-card h2 {
    margin-top: 0;
    color: #1f1f1f;
}

.hcc-contact-card p {
    line-height: 1.7;
}

.hcc-contact-details strong {
    color: #A54B57;
}

.hcc-contact-note {
    text-align: center;
    background: #f4e8df;
    color: #5C453D;
    border-radius: 14px;
    padding: 16px 20px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .hcc-contact-page {
        padding: 28px 18px 0;
    }

    .hcc-contact-hero h1 {
        font-size: 34px;
    }

    .hcc-contact-grid {
        grid-template-columns: 1fr;
    }
}/* =====================================================
   Hide Contact page default title banner
   ===================================================== */

.page-id-230 .entry-hero,
.page-id-230 .page-hero-section,
.page-id-230 .entry-header,
.page-id-230 .page-header {
    display: none !important;
}/* =====================================================
   Contact page form button - force boutique black
   ===================================================== */

body.page-id-230 form button,
body.page-id-230 form button[type="submit"],
body.page-id-230 form input[type="submit"],
body.page-id-230 .contact-form button,
body.page-id-230 .contact-form input[type="submit"],
body.page-id-230 .wp-block-jetpack-contact-form button,
body.page-id-230 .wp-block-jetpack-contact-form input[type="submit"],
body.page-id-230 .wp-block-jetpack-button button,
body.page-id-230 .wp-block-button__link,
body.page-id-230 .wp-element-button {
    background: #1F1F1F !important;
    background-color: #1F1F1F !important;
    border-color: #1F1F1F !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 12px 22px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

/* Desktop hover */
body.page-id-230 form button:hover,
body.page-id-230 form button[type="submit"]:hover,
body.page-id-230 form input[type="submit"]:hover,
body.page-id-230 .contact-form button:hover,
body.page-id-230 .contact-form input[type="submit"]:hover,
body.page-id-230 .wp-block-jetpack-contact-form button:hover,
body.page-id-230 .wp-block-jetpack-contact-form input[type="submit"]:hover,
body.page-id-230 .wp-block-jetpack-button button:hover,
body.page-id-230 .wp-block-button__link:hover,
body.page-id-230 .wp-element-button:hover {
    background: #A54B57 !important;
    background-color: #A54B57 !important;
    border-color: #A54B57 !important;
    color: #ffffff !important;
}

/* Mobile/tap stays black */
@media screen and (max-width: 768px) {
    body.page-id-230 form button,
    body.page-id-230 form button[type="submit"],
    body.page-id-230 form input[type="submit"],
    body.page-id-230 .contact-form button,
    body.page-id-230 .contact-form input[type="submit"],
    body.page-id-230 .wp-block-jetpack-contact-form button,
    body.page-id-230 .wp-block-jetpack-contact-form input[type="submit"],
    body.page-id-230 .wp-block-jetpack-button button,
    body.page-id-230 .wp-block-button__link,
    body.page-id-230 .wp-element-button,
    body.page-id-230 form button:hover,
    body.page-id-230 form input[type="submit"]:hover {
        background: #1F1F1F !important;
        background-color: #1F1F1F !important;
        border-color: #1F1F1F !important;
        color: #ffffff !important;
    }
}/* =====================================================
   Hide FAQ page default title banner
   ===================================================== */

.page-id-163648 .entry-hero,
.page-id-163648 .page-hero-section,
.page-id-163648 .entry-header,
.page-id-163648 .page-header {
    display: none !important;
}/* =====================================================
   Hide default blue Shop page title banner ONLY
   Keeps Ask Tammy section visible
   ===================================================== */

body.woocommerce-shop .entry-hero,
body.woocommerce-shop .page-hero-section,
body.woocommerce-shop .entry-header,
body.woocommerce-shop .page-header,
body.post-type-archive-product .entry-hero,
body.post-type-archive-product .page-hero-section,
body.post-type-archive-product .entry-header,
body.post-type-archive-product .page-header {
    display: none !important;
}

/* Keep Shop page spacing clean */
body.woocommerce-shop .content-area,
body.post-type-archive-product .content-area {
    padding-top: 20px !important;
    margin-top: 0 !important;
}
/*
High Cotton Closet — sitewide cream header and colored logo
Paste into Appearance > Customize > Additional CSS.
*/

html,
body,
#page,
.site {
  background-color: #FBF5EF !important;
}

#masthead,
.site-header,
.site-main-header-wrap,
.site-main-header-wrap .site-header-row-container-inner,
.site-bottom-header-wrap .site-header-row-container-inner {
  background: #F7E4D2 !important;
}

.site-top-header-wrap,
.site-top-header-wrap .site-header-row-container-inner {
  background: #FFF9F3 !important;
}

#masthead .site-header-row-container-inner,
.site-top-header-wrap .site-header-row-container-inner {
  border-color: #D9BEA3 !important;
}

#masthead img.custom-logo,
#masthead .custom-logo-link img,
#masthead .site-branding img,
#masthead a.brand img {
  content: url("https://highcottoncloset.com/wp-content/uploads/2026/07/color-hcc-logo.png") !important;
  width: 108px !important;
  max-width: 108px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

#masthead .site-branding,
#masthead .site-branding a,
#masthead .custom-logo-link,
#masthead a.brand {
  min-width: 108px !important;
}

#masthead .header-navigation a,
#masthead .menu-item > a,
#masthead .site-header-item a,
#masthead .kadence-svg-iconset,
#masthead button,
#masthead .header-cart-button {
  color: #4A3022 !important;
}

#masthead .header-navigation a:hover,
#masthead .menu-item:hover > a,
#masthead .menu-item.current-menu-item > a,
#masthead .menu-item.current_page_item > a,
#masthead button:hover {
  color: #8A552E !important;
}

#masthead input[type="search"],
#masthead .search-field,
#masthead .woocommerce-product-search input {
  border: 1px solid #D9BEA3 !important;
  border-radius: 999px !important;
  background: #FFF9F3 !important;
  color: #4A3022 !important;
  box-shadow: none !important;
}

#masthead input[type="search"]::placeholder,
#masthead .search-field::placeholder {
  color: #7A6557 !important;
  opacity: 1;
}

#masthead .sub-menu {
  border: 1px solid #D9BEA3 !important;
  background: #FFF9F3 !important;
  box-shadow: 0 12px 28px rgba(90,52,27,.12) !important;
}

#masthead .sub-menu a {
  color: #4A3022 !important;
  background: #FFF9F3 !important;
}

#masthead .sub-menu a:hover {
  color: #8A552E !important;
  background: #F8EEE5 !important;
}

.popup-drawer .drawer-inner,
.mobile-drawer-content {
  background: #FFF9F3 !important;
}

.popup-drawer .drawer-inner a,
.mobile-navigation a {
  color: #4A3022 !important;
}

.popup-drawer .drawer-inner a:hover,
.mobile-navigation a:hover {
  color: #8A552E !important;
}

@media (max-width: 1024px) {
  #masthead img.custom-logo,
  #masthead .custom-logo-link img,
  #masthead .site-branding img,
  #masthead a.brand img {
    width: 88px !important;
    max-width: 88px !important;
  }

  #masthead .site-branding,
  #masthead .site-branding a,
  #masthead .custom-logo-link,
  #masthead a.brand {
    min-width: 88px !important;
  }
}