/*
Theme Name: Sassy Reviews
Theme URI: https://sassyreviews.com
Author: Abdullah
Author URI: https://sassyreviews.com
Description: A custom, highly modular WordPress theme for bookish reviews, dark romance, author spotlights, and community nooks.
Version: 1.1.0
Tested up to: 6.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sassy-reviews
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, book-reviews, dark-romance, modular, tailwind
*/

/* =========================================================
   GLOBAL TYPOGRAPHY TOKENS & BASE ELEMENT DEFINITIONS
   ========================================================= */
:root {
    --font-heading: 'Cinzel', Georgia, 'Times New Roman', serif;
    --font-body: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-script: 'Great Vibes', 'Brush Script MT', cursive;
    --brand-plum: #2c1328;
    --brand-darkPlum: #1a0918;
    --brand-purpleCard: #270e25;
    --brand-gold: #c5a059;
    --brand-goldHover: #dfb76c;
    --brand-cream: #f9f5ed;
    --brand-creamDark: #eee5d8;
    --brand-textDark: #2d252b;
    --brand-textLight: #e0d6dc;
}

/* Base Elements */
body {
    font-family: var(--font-body);
    color: var(--brand-textDark);
    background-color: #f4efe6;
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading) !important;
    letter-spacing: 0.05em;
}

p,
blockquote {
    font-family: var(--font-body);
}

button,
input,
select,
textarea,
.font-sans {
    font-family: var(--font-sans) !important;
}

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

.font-script,
.script-accent {
    font-family: var(--font-script) !important;
}

/* BuddyPress Base Typography Overrides */
#buddypress {
    font-family: var(--font-sans);
}

#buddypress h1,
#buddypress h2,
#buddypress h3,
#buddypress h4,
#buddypress h5,
#buddypress h6 {
    font-family: var(--font-heading) !important;
}

#buddypress div.item-list-tabs ul li a,
#buddypress .bp-navs li a,
#buddypress .bp-subnavs li a,
.sassy-shelf-pill,
.sassy-community-tab-pill {
    font-family: var(--font-sans) !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

#buddypress .activity-content .activity-inner {
    font-family: var(--font-body);
    line-height: 1.6;
}

#buddypress .activity-header,
#buddypress .activity-meta,
#buddypress .activity-comments {
    font-family: var(--font-sans);
}

/* bbPress Base Typography Overrides */
#bbpress-forums {
    font-family: var(--font-sans);
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title,
#bbpress-forums h1,
#bbpress-forums h2,
#bbpress-forums h3,
#bbpress-forums h4 {
    font-family: var(--font-heading) !important;
    letter-spacing: 0.05em;
}

#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
    font-family: var(--font-body) !important;
    line-height: 1.65;
}

#bbpress-forums .bbp-meta,
#bbpress-forums .bbp-author-name,
#bbpress-forums .bbp-pagination,
#bbpress-forums .bbp-form {
    font-family: var(--font-sans) !important;
}

.vintage-box {
    background-color: #f9f5ed;
    border: 1px solid rgba(197, 160, 89, 0.5);
    box-shadow: inset 0 0 20px rgba(197, 160, 89, 0.08);
}

.dark-vintage-card {
    background-color: #1a0918;
    border: 1px solid #c5a059;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.relative.group\/nested:hover>ul.sub-menu {
    display: block !important;
}

/* WP Editor Dark Vintage Styling Compatibility */
#wp-sassy_book_synopsis-wrap {
    border: 1px solid #c5a059 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background-color: #270e25 !important;
}

#wp-sassy_book_synopsis-wrap .mce-toolbar-grp,
#wp-sassy_book_synopsis-wrap .quicktags-toolbar {
    background-color: #1a0918 !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4) !important;
    padding: 4px 8px !important;
}

#wp-sassy_book_synopsis-wrap .mce-btn button,
#wp-sassy_book_synopsis-wrap .quicktags-toolbar input {
    color: #e0d6dc !important;
    background: transparent !important;
    border-color: rgba(197, 160, 89, 0.3) !important;
}

#wp-sassy_book_synopsis-wrap .mce-btn:hover button,
#wp-sassy_book_synopsis-wrap .quicktags-toolbar input:hover {
    color: #c5a059 !important;
    background: rgba(197, 160, 89, 0.15) !important;
}

#wp-sassy_book_synopsis-wrap iframe {
    background-color: #ffffff !important;
}

/* =========================================================
   SIDEBAR WIDGETS PIXEL-PERFECT SPACING & LAYOUT OVERRIDES
   ========================================================= */

/* General Widget Container Spacing */
.widget {
    margin-bottom: 1.5rem;
}

.widget .widget-title {
    margin-bottom: 0.75rem;
}

/* Category & Navigation List Widgets */
.widget_categories ul,
.widget_archive ul,
.widget_nav_menu ul,
.widget_pages ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Balanced spacing between items */
}

.widget_categories ul li,
.widget_archive ul li,
.widget_nav_menu ul li,
.widget_pages ul li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.25rem 0 !important;
    border-bottom: none !important;
    font-size: 0.75rem;
    /* text-xs */
    color: #2d252b;
}

.widget_categories ul li a,
.widget_archive ul li a,
.widget_nav_menu ul li a,
.widget_pages ul li a {
    color: #2d252b;
    font-weight: 500;
    transition: color 0.2s ease;
}

.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_nav_menu ul li a:hover {
    color: #c5a059;
    /* brand-gold */
}

/* Category Post Count styling "(18)" */
.widget_categories ul li,
.widget_archive ul li {
    color: #6b7280;
    /* text-gray-500 */
}

/* Search Widget Form Fixes */
.widget_search form {
    display: flex !important;
    gap: 0.25rem !important;
    margin-top: 0.5rem !important;
}

.widget_search input[type="search"],
.widget_search input[type="text"] {
    flex-grow: 1;
    padding: 0.5rem 0.75rem !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    border-radius: 0.25rem !important;
    font-size: 0.75rem !important;
    color: #1f2937 !important;
}

.widget_search input[type="search"]:focus {
    outline: none !important;
    border-color: #2c1328 !important;
}

.widget_search button,
.widget_search input[type="submit"] {
    padding: 0.5rem 0.85rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border-radius: 0.25rem !important;
    font-weight: 700 !important;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.widget_search button:hover,
.widget_search input[type="submit"]:hover {
    background-color: #1a0918 !important;
}

/* Recent / Popular Posts Widget List Spacing */
.widget_recent_entries ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Gap between post entries */
}

.widget_recent_entries ul li {
    display: flex !important;
    flex-direction: column;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.widget_recent_entries ul li:last-child {
    border-bottom: none;
}

.widget_recent_entries ul li a {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2c1328;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.widget_recent_entries ul li a:hover {
    color: #c5a059;
}

.widget_recent_entries ul li .post-date {
    font-size: 0.625rem;
    /* 10px */
    color: #6b7280;
    margin-top: 0.25rem;
}

/* WooCommerce Price Del & Ins styling matching shop-main.html */
.price del {
    color: #9ca3af !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    margin-right: 0.25rem !important;
}

.price ins {
    text-decoration: none !important;
}

.woocommerce-ordering select {
    padding: 0.375rem 0.75rem !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    border-radius: 0.25rem !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    outline: none !important;
}

.woocommerce-ordering select:focus {
    border-color: #2c1328 !important;
}

.widget.woocommerce input[type="search"],
.widget_product_search input[type="search"] {
    padding: 0.5rem 0.75rem !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    border-radius: 0.25rem !important;
    font-size: 0.75rem !important;
    color: #1f2937 !important;
}

/* Sidebar Category Widget Styling */
.widget_product_categories ul.product-categories {
    font-family: Montserrat, sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.widget_product_categories ul.product-categories li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    color: #2d252b;
    transition: color 0.2s;
}

.widget_product_categories ul.product-categories li a {
    color: inherit;
    font-weight: 500;
}

.widget_product_categories ul.product-categories li a:hover {
    color: #c5a059;
}

.widget_product_categories ul.product-categories li .count {
    font-size: 10px;
    color: #6b7280;
    font-weight: 400;
}



/* =========================================================
   SINGLE PRODUCT & WOOCOMMERCE FORM COMPATIBILITY
   ========================================================= */
.single-product .quantity input.qty {
    width: 3rem;
    text-align: center;
    font-weight: 700;
    color: #2c1328;
    background: transparent;
    border: none;
    font-size: 0.75rem;
}

.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.single-product form.cart .button.single_add_to_cart_button {
    padding: 0.75rem 1.5rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 0.25rem !important;
    border: 1px solid #c5a059 !important;
    transition: all 0.2s ease !important;
}

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

.woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    background-color: #f9f5ed;
    padding: 0.5rem 1rem 0;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    color: #2c1328;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    border-bottom: 2px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a {
    border-bottom-color: #2c1328;
    color: #2c1328;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
}

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

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

/* =========================================================
   WOOCOMMERCE ARCHIVE PAGINATION HORIZONTAL LAYOUT
   ========================================================= */
.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-pagination ul.page-numbers li {
    display: inline-block !important;
    margin: 0 !important;
}

.woocommerce-pagination ul.page-numbers li span.current {
    padding: 0.375rem 0.75rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    font-weight: 700 !important;
    border-radius: 0.25rem !important;
    border: 1px solid #c5a059 !important;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers {
    padding: 0.375rem 0.75rem !important;
    background-color: #f9f5ed !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    color: #2c1328 !important;
    border-radius: 0.25rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background-color 0.2s;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background-color: #eee5d8 !important;
}

/* =========================================================
   WOOCOMMERCE STAR RATINGS UNICODE OVERRIDE
   ========================================================= */
.woocommerce .star-rating {
    overflow: hidden;
    position: relative;
    height: 1.2em;
    line-height: 1.2em;
    font-size: 11px;
    width: 5.4em;
    font-family: "Font Awesome 6 Free", sans-serif;
    color: #c5a059 !important;
    margin: 0 auto !important;
}

.woocommerce .star-rating::before {
    content: "\f005\f005\f005\f005\f005";
    color: #d1d5db;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    font-weight: 400;
}

.woocommerce .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.woocommerce .star-rating span::before {
    content: "\f005\f005\f005\f005\f005";
    top: 0;
    position: absolute;
    left: 0;
    color: #c5a059;
    font-weight: 900;
}

/* =========================================================
   SINGLE PRODUCT TABS & REVIEW FORM FIXES
   ========================================================= */
/* Additional Information Table Styling */
.woocommerce table.shop_attributes {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 0.5rem !important;
    font-size: 0.75rem !important;
}

.woocommerce table.shop_attributes th {
    font-family: Cinzel, serif !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    text-transform: uppercase !important;
    width: 120px !important;
    padding: 0.5rem 0 !important;
    text-align: left !important;
}

.woocommerce table.shop_attributes td {
    color: #2d252b !important;
    padding: 0.5rem 0 !important;
    font-style: italic !important;
}

/* Review Form Layout & Spacing Cleanups */
#review_form_wrapper form {
    display: flex;
    flex-direction: column;
}

#review_form_wrapper form .comment-notes {
    font-size: 0.75rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

#review_form_wrapper form .form-submit {
    margin-top: 0.5rem;
}

/* =========================================================
   WOOCOMMERCE INTERACTIVE STAR RATING FORM FIX
   ========================================================= */
.woocommerce p.stars {
    display: block !important;
    margin: 0.5rem 0 1rem !important;
}

.woocommerce p.stars span {
    display: flex !important;
    gap: 0.35rem !important;
}

.woocommerce p.stars span a {
    position: relative !important;
    display: inline-block !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    text-indent: -9999px !important;
    text-decoration: none !important;
    color: transparent !important;
}

.woocommerce p.stars span a::before {
    content: "\f005" !important;
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.1rem !important;
    color: #c5a059 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    text-indent: 0 !important;
}

.woocommerce p.stars span a:hover::before,
.woocommerce p.stars span a:hover~a::before,
.woocommerce p.stars span a.active::before {
    font-weight: 900 !important;
    color: #c5a059 !important;
}

.woocommerce p.stars:hover span a::before {
    font-weight: 900 !important;
}

.woocommerce p.stars span a:hover~a::before {
    font-weight: 400 !important;
}

/* =========================================================
   ELEMENTOR SVG ICON RENDER & SELECTOR FIXES
   ========================================================= */
.dark-vintage-card .grid svg,
.dark-vintage-card .grid i {
    /* width: 1.25rem !important;
    height: 1.25rem !important; */
    /* fill: #c5a059 !important;
    color: #c5a059 !important; */
    display: inline-block;
}

.vintage-box .rounded-full svg,
.vintage-box .rounded-full i {
    /* width: 2rem !important;
    height: 2rem !important; */
    /* fill: #c5a059 !important;
    color: #c5a059 !important; */
    display: inline-block;
}

/* =========================================================
   BUDDYPRESS CSS & OVERRIDE FIXES
   ========================================================= */

/* Disable default BuddyPress Theme CSS resets */
#buddypress ul,
#buddypress ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.activity-list.bp-list {
    background-color: transparent;
}

/* BuddyPress Member Nav Styling */
#buddypress div#item-nav ul,
#buddypress div#object-nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 1.5rem !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4) !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    list-style: none !important;
    padding-left: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

#buddypress div#item-nav ul li,
#buddypress div#object-nav ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#buddypress div#item-nav ul li a,
#buddypress div#object-nav ul li a {
    color: #2c1328 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

#buddypress div#item-nav ul li.selected a,
#buddypress div#item-nav ul li.current a,
#buddypress div#object-nav ul li.selected a,
#buddypress div#object-nav ul li.current a,
#buddypress div#item-nav ul li a:hover,
#buddypress div#object-nav ul li a:hover {
    color: #c5a059 !important;
    border-bottom-color: #c5a059 !important;
}

/* SVG & FontAwesome Icon Sizing & Gold Fill Override */
#buddypress [&_svg]:w-4,
#buddypress [&_svg]:h-4,
#buddypress svg.bp-icon {
    width: 1rem !important;
    height: 1rem !important;
    fill: #c5a059 !important;
}

/* =========================================================
   BUDDYPRESS COMMENT SECTION UI OVERRIDES
   ========================================================= */
#buddypress .activity-comments ul,
#buddypress .activity-comments ul li {
    list-style: none !important;
    padding-left: 0;
}

.vintage-box h2.member-user-title {
    margin-bottom: 0 !important;
}

/* Reset default unstyled HTML buttons in BuddyPress comments */
#buddypress .activity-comments .acomment-options a,
#buddypress .activity-comments .acomment-options button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
}

#buddypress .activity-comments .ac-form {
    display: none !important;
    /* Hide native BP duplicate forms in favor of our custom inline input */
}

/* =========================================================
   BUDDYPRESS & NATIVE LOGIN / REGISTER FORMS OVERRIDES
   ========================================================= */
#loginform input[type="text"],
#loginform input[type="password"],
.nook-native-login-wrapper input[type="text"],
.nook-native-login-wrapper input[type="password"],
.nook-native-register-wrapper input[type="text"],
.nook-native-register-wrapper input[type="email"],
.nook-native-register-wrapper input[type="password"] {
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    border-radius: 0.5rem !important;
    font-size: 0.75rem !important;
    color: #2d252b !important;
    outline: none !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.75rem !important;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
}

#loginform label,
.nook-native-login-wrapper label,
.nook-native-register-wrapper label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
}

#loginform input[type="submit"],
.nook-native-login-wrapper input[type="submit"],
.nook-native-register-wrapper input[type="submit"],
.nook-native-register-wrapper button[type="submit"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 0.5rem !important;
    border: 1px solid #c5a059 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    margin-top: 0.5rem !important;
}

#loginform input[type="submit"]:hover,
.nook-native-login-wrapper input[type="submit"]:hover,
.nook-native-register-wrapper input[type="submit"]:hover {
    background-color: #1a0918 !important;
}

#buddypress .standard-form input[type="text"],
#buddypress .standard-form input[type="email"],
#buddypress .standard-form input[type="password"],
#buddypress .standard-form textarea,
#buddypress .standard-form select {
    width: 100% !important;
    padding: 0.5rem 0.75rem !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    border-radius: 0.5rem !important;
    font-size: 0.75rem !important;
    color: #2d252b !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

#buddypress .standard-form input[type="text"]:focus,
#buddypress .standard-form input[type="email"]:focus,
#buddypress .standard-form input[type="password"]:focus,
#buddypress .standard-form textarea:focus,
#buddypress .standard-form select:focus {
    border-color: #2c1328 !important;
}

#buddypress .standard-form input[type="submit"],
#buddypress .standard-form button[type="submit"],
#buddypress .standard-form input[type="button"],
#buddypress button.submit {
    padding: 0.5rem 1.25rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-radius: 0.375rem !important;
    border: 1px solid #c5a059 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

#buddypress .standard-form input[type="submit"]:hover,
#buddypress .standard-form button[type="submit"]:hover {
    background-color: #1a0918 !important;
}

#buddypress table.profile-fields,
#buddypress table.notifications,
#buddypress table.wp-profile-fields {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.75rem !important;
}

#buddypress table.profile-fields td,
#buddypress table.notifications td,
#buddypress table.wp-profile-fields td,
#buddypress table.profile-fields th,
#buddypress table.notifications th {
    padding: 0.75rem !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2) !important;
}

#buddypress .notification-list a {
    color: #2c1328 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.025em !important;
    transition: color 0.2s ease !important;
}

#buddypress .notification-list a:hover {
    color: #c5a059 !important;
}


#buddypress .activity-comments:empty {
    display: none !important;
}

.buddypress-page-title-section h1 {
    margin: 0 !important;
}

.sassy-group-header h1.font-heading {
    margin: 0 !important;
}

.buddypress-page-title-section {
    margin-bottom: 50px;
}

/* ==========================================================================
   WooCommerce Sidebar Widget Styling Overrides (Matching Reference Design)
   ========================================================================== */

/* 1. Product Search Widget */
.widget.widget_product_search .woocommerce-product-search {
    display: flex !important;
    gap: 0.25rem !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 0.75rem !important;
}

.widget.widget_product_search .woocommerce-product-search input[type="search"],
.widget.widget_product_search .woocommerce-product-search input.search-field {
    padding: 0.5rem 0.75rem !important;
    background-color: #ffffff !important;
    border-radius: 0.25rem !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    color: #1f2937 !important;
    font-size: 0.75rem !important;
    flex-grow: 1 !important;
    outline: none !important;
    font-family: Montserrat, sans-serif !important;
}

.widget.widget_product_search .woocommerce-product-search input[type="search"]:focus,
.widget.widget_product_search .woocommerce-product-search input.search-field:focus {
    border-color: #2c1328 !important;
}

.widget.widget_product_search .woocommerce-product-search button[type="submit"],
.widget.widget_product_search .woocommerce-product-search input[type="submit"] {
    padding: 0.5rem 0.75rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border-radius: 0.25rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.widget.widget_product_search .woocommerce-product-search button[type="submit"]:hover,
.widget.widget_product_search .woocommerce-product-search input[type="submit"]:hover {
    background-color: #1a0918 !important;
    color: #dfb76c !important;
}

/* 2. Product Categories Widget */
.widget_product_categories ul.product-categories {
    font-family: Montserrat, sans-serif !important;
    font-size: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.widget_product_categories ul.product-categories li.cat-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #1f2937 !important;
    transition: color 0.2s ease !important;
}

.widget_product_categories ul.product-categories li.cat-item a {
    color: #2d252b !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
}

.widget_product_categories ul.product-categories li.cat-item a:hover {
    color: #c5a059 !important;
}

.widget_product_categories ul.product-categories li.cat-item.current-cat>a,
.widget_product_categories ul.product-categories li.cat-item.current-cat {
    font-weight: 700 !important;
    color: #2c1328 !important;
}

.widget_product_categories ul.product-categories li.cat-item .count,
.widget_product_categories ul.product-categories li.cat-item span.text-\[10px\] {
    font-size: 10px !important;
    color: #6b7280 !important;
    margin-left: auto !important;
}

/* 3. Price Filter Slider Widget */
.widget_price_filter .price_slider_wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 0.75rem !important;
}

.widget_price_filter .price_slider {
    position: relative !important;
    text-align: left !important;
    background-color: #eee5d8 !important;
    height: 0.5rem !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    margin: 1rem 0 !important;
}

.widget_price_filter .price_slider .ui-slider-range {
    position: absolute !important;
    z-index: 1 !important;
    font-size: .7em !important;
    display: block !important;
    border: 0 !important;
    border-radius: 9999px !important;
    background-color: #c5a059 !important;
    height: 100% !important;
    top: 0 !important;
}

.widget_price_filter .price_slider .ui-slider-handle {
    position: absolute !important;
    z-index: 2 !important;
    width: 0.875rem !important;
    height: 0.875rem !important;
    background-color: #2c1328 !important;
    border: 2px solid #c5a059 !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    outline: none !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.widget_price_filter .price_slider_amount {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    color: #374151 !important;
}

.widget_price_filter .price_slider_amount .price_label {
    font-size: 11px !important;
    color: #374151 !important;
    font-weight: 600 !important;
}

.widget_price_filter .price_slider_amount .price_label strong,
.widget_price_filter .price_slider_amount .price_label span {
    font-weight: 700 !important;
    color: #2c1328 !important;
}

.widget_price_filter .price_slider_amount button.button {
    padding: 4px 12px !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    border: none !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer !important;
}

.widget_price_filter .price_slider_amount button.button:hover {
    background-color: #1a0918 !important;
    color: #dfb76c !important;
}

/* 4. Products List Widgets (Top Rated Products, Recent Products, Products) */
.widget_products ul.product_list_widget,
.widget_top_rated_products ul.product_list_widget,
.widget_recently_viewed_products ul.product_list_widget,
ul.product_list_widget {
    font-family: Montserrat, sans-serif !important;
    font-size: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

ul.product_list_widget li {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

ul.product_list_widget li img {
    width: 3rem !important;
    height: 3rem !important;
    object-fit: cover !important;
    border-radius: 0.25rem !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    float: none !important;
    margin: 0 !important;
}

ul.product_list_widget li a {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.125rem !important;
    text-decoration: none !important;
}

ul.product_list_widget li .product-title,
ul.product_list_widget li a>span.product-title,
ul.product_list_widget li h6 {
    font-family: Cinzel, serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

ul.product_list_widget li .star-rating {
    color: #c5a059 !important;
    font-size: 9px !important;
    margin: 0.125rem 0 !important;
    float: none !important;
}

ul.product_list_widget li .amount,
ul.product_list_widget li ins .amount {
    font-weight: 700 !important;
    color: #1f2937 !important;
    font-size: 0.75rem !important;
}

ul.product_list_widget li del .amount {
    color: #9ca3af !important;
    font-weight: 400 !important;
    font-size: 11px !important;
}

/* ==========================================================================
   Single Product Page Layout & Form Overrides
   ========================================================================== */

/* 1. Variations Table & Dropdowns */
.single-product table.variations {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 0.5rem !important;
    margin-bottom: 1rem !important;
    text-align: left;
}

.single-product table.variations td.label {
    display: block !important;
    padding: 0 0 0.25rem 0 !important;
}

.single-product table.variations td.label label {
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.single-product table.variations td.value {
    display: block !important;
    padding: 0 !important;
}

.single-product table.variations td.value select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 1rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border: 1px solid #c5a059 !important;
    border-radius: 0.375rem !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    outline: none !important;
    cursor: pointer !important;
}

.single-product table.variations td.value select option {
    background-color: #1a0918 !important;
    color: #e0d6dc !important;
}

.single-product a.reset_variations {
    display: inline-block !important;
    margin-top: 0.5rem !important;
    font-size: 10px !important;
    color: #9ca3af !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

/* 2. Quantity & Add to Cart Flex Row Container */
.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-bottom: 0.75rem !important;
}

.single-product div.quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(197, 160, 89, 0.6) !important;
    background-color: #ffffff !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
    height: 2.75rem !important;
    margin: 0 !important;
}

.single-product .quantity input.qty {
    width: 2.5rem !important;
    height: 100% !important;
    text-align: center !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    border: none !important;
    font-size: 0.875rem !important;
    background: transparent !important;
    outline: none !important;
}

.single-product form.cart .button.single_add_to_cart_button {
    flex-grow: 1 !important;
    height: 2.75rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 0.375rem !important;
    border: 1px solid #c5a059 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer !important;
}

.single-product form.cart .button.single_add_to_cart_button:hover {
    background-color: #1a0918 !important;
    border-color: #dfb76c !important;
    color: #dfb76c !important;
}


ul.product_list_widget li del .amount {
    color: #9ca3af !important;
    font-weight: 400 !important;
    font-size: 11px !important;
}

/* ==========================================================================
   3. WooCommerce Notices & Cart Styling Overrides
   ========================================================================== */

/* Notice Boxes (.woocommerce-message, .woocommerce-info, .woocommerce-error) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-NoticeGroup-checkout {
    background-color: #1a0918 !important;
    color: #e0d6dc !important;
    border: 1px solid rgba(197, 160, 89, 0.6) !important;
    border-left: 4px solid #c5a059 !important;
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 0.8125rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    list-style: none !important;
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Notice Action Buttons (e.g. "View cart") */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    background-color: #c5a059 !important;
    color: #1a0918 !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.6875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 0.4rem 1rem !important;
    border-radius: 9999px !important;
    border: 1px solid #c5a059 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    float: none !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
    background-color: #dfb76c !important;
    border-color: #dfb76c !important;
    color: #1a0918 !important;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.75rem 1.5rem !important;
    background-color: #c5a059 !important;
    color: #1a0918 !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 0.5rem !important;
    border: 1px solid #c5a059 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    margin-top: 1rem !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #dfb76c !important;
    border-color: #dfb76c !important;
    color: #1a0918 !important;
}

/* Cart Quantity Inputs in Table */
.woocommerce-cart-form div.quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    background-color: #ffffff !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
}

.woocommerce-cart-form div.quantity input.qty {
    width: 3rem !important;
    height: 2.25rem !important;
    text-align: center !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    border: none !important;
    font-size: 0.8125rem !important;
    background: transparent !important;
    outline: none !important;
}

/* ==========================================================================
   4. WooCommerce Checkout Page Styling Overrides
   ========================================================================== */

/* Billing & Additional Information Section & Spacing */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    margin-bottom: 1.5rem !important;
}

.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 2.5rem !important;
    padding-top: 1.75rem !important;
    border-top: 1px solid rgba(197, 160, 89, 0.3) !important;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
    font-family: Cinzel, serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 2px solid #c5a059 !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.25rem !important;
}

/* Order Review Heading in Vintage Box */
.woocommerce-checkout #order_review_heading,
.vintage-box #order_review_heading {
    font-family: Cinzel, serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1.25rem !important;
}

/* ==========================================================================
   4. WooCommerce Cart Totals & Checkout Review Order (Vintage Aesthetic)
   ========================================================================== */

/* Cart Totals Title Compact Styling */
.cart_totals h2,
.cart_totals .font-heading {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
    color: #2c1328 !important;
}

.cart_totals .border-b {
    padding-bottom: 0.75rem !important;
}

/* Cart Totals Table Grid & Row Alignment */
.cart_totals table.shop_table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.cart_totals table.shop_table tbody {
    display: table-row-group !important;
}

.cart_totals table.shop_table tr {
    display: table-row !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
}

.cart_totals table.shop_table th {
    display: table-cell !important;
    width: 35% !important;
    vertical-align: top !important;
    text-align: left !important;
    padding: 0.75rem 0 !important;
    color: #2c1328 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-family: Montserrat, sans-serif !important;
    line-height: 1.4 !important;
}

.cart_totals table.shop_table td {
    display: table-cell !important;
    width: 65% !important;
    vertical-align: top !important;
    text-align: right !important;
    padding: 0.75rem 0 !important;
    color: #1f2937 !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
}

.cart_totals table.shop_table .amount {
    color: #c5a059 !important;
    font-weight: 700 !important;
}

/* Shipping Methods & Destination Cleanup in Cart Totals */
.cart_totals ul#shipping_method {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    width: 100% !important;
}

.cart_totals ul#shipping_method li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 0 0.25rem 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    font-size: 0.8rem !important;
    text-align: right !important;
}

.cart_totals ul#shipping_method li input[type="radio"],
.cart_totals ul#shipping_method li input[type="hidden"] {
    margin: 0 !important;
    accent-color: #2c1328 !important;
    cursor: pointer !important;
}

.cart_totals ul#shipping_method li label {
    margin: 0 !important;
    cursor: pointer !important;
    color: #2c1328 !important;
    font-weight: 700 !important;
}

.cart_totals .woocommerce-shipping-destination {
    text-align: right !important;
    font-size: 0.75rem !important;
    color: #4b5563 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.4 !important;
    width: 100% !important;
}

.cart_totals .shipping-calculator-button {
    display: inline-block !important;
    text-align: right !important;
    font-size: 0.75rem !important;
    color: #2c1328 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    margin-top: 0.25rem !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
}

.cart_totals .shipping-calculator-button:hover {
    color: #c5a059 !important;
}

.cart_totals .shipping-calculator-form {
    margin-top: 0.75rem !important;
    text-align: left !important;
}

/* Total Row in Cart Totals */
.cart_totals tr.order-total th {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #2c1328 !important;
    vertical-align: middle !important;
    padding: 1rem 0 !important;
}

.cart_totals tr.order-total td {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #2c1328 !important;
    vertical-align: middle !important;
    padding: 1rem 0 !important;
}

.cart_totals tr.order-total td .amount {
    color: #2c1328 !important;
    font-weight: 800 !important;
}

/* Installment & Gateway Buttons Spacing */
.cart_totals .afterpay-paragraph,
.cart_totals .klarna-paragraph,
.cart_totals .paypal-installments,
.cart_totals .paypal-pay-in-4,
.cart_totals p:has(.afterpay-logo),
.cart_totals p:has(.klarna-logo) {
    text-align: center !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    margin: 0.5rem auto !important;
    color: #4b5563 !important;
    width: 100% !important;
}

.cart_totals .wc-proceed-to-checkout,
.cart_totals .woocommerce-express-checkout {
    margin-top: 1rem !important;
}

/* Review Order Table Typography & Alignment */
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.woocommerce-checkout-review-order-table th {
    color: #2c1328 !important;
    font-weight: 700 !important;
    padding: 0.75rem 0 !important;
}

.woocommerce-checkout-review-order-table td {
    color: #1f2937 !important;
    padding: 0.75rem 0 !important;
}

.woocommerce-checkout-review-order-table .amount {
    color: #c5a059 !important;
    font-weight: 700 !important;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td,
.woocommerce-checkout-review-order-table tr.order-total .amount {
    color: #2c1328 !important;
    font-weight: 700 !important;
}

/* Shipping & Shipment Row Distortion Fix */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.shipping th,
.woocommerce-checkout-review-order-table tr.shipping td {
    padding: 0.75rem 0 !important;
    vertical-align: middle !important;
    height: auto !important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table tr.shipping td {
    text-align: right !important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method,
.woocommerce-checkout-review-order-table tr.shipping ul#shipping_method {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline-block !important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method li,
.woocommerce-checkout-review-order-table tr.shipping ul#shipping_method li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
}

/* Payment Methods & Gateways (Radio + Name + Logo on One Line) */
.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 1.5rem !important;
}

.woocommerce-checkout ul.wc_payment_methods,
.woocommerce-checkout ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.25rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method,
.woocommerce-checkout ul.payment_methods li.wc_payment_method {
    display: block !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 0.75rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method:has(input:checked),
.woocommerce-checkout ul.payment_methods li.wc_payment_method:has(input:checked) {
    border-color: #c5a059 !important;
    box-shadow: 0 1px 4px rgba(197, 160, 89, 0.25) !important;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method>label,
.woocommerce-checkout ul.payment_methods li.wc_payment_method>label {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin: 0 !important;
    cursor: pointer !important;
    color: #2c1328 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    font-family: Montserrat, sans-serif !important;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method input[type="radio"],
.woocommerce-checkout ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin: 0 !important;
    vertical-align: middle !important;
    accent-color: #2c1328 !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.woocommerce-checkout ul.wc_payment_methods li.wc_payment_method img,
.woocommerce-checkout ul.payment_methods li.wc_payment_method img,
.woocommerce-checkout .wc_payment_method img {
    margin-left: auto !important;
    max-height: 22px !important;
    width: auto !important;
    display: inline-block !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    border-radius: 4px !important;
}

.woocommerce-checkout div.payment_box {
    background-color: #f4efe6 !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    margin-top: 0.5rem !important;
    color: #374151 !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout div.payment_box::before {
    border-bottom-color: #f4efe6 !important;
}

.woocommerce-checkout div.payment_box p {
    color: #374151 !important;
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout div.payment_box a {
    color: #2c1328 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Installment & Gateway Paragraphs */
.woocommerce-checkout .afterpay-paragraph,
.woocommerce-checkout .klarna-paragraph,
.woocommerce-checkout .paypal-pay-in-4,
.woocommerce-checkout p {
    color: #4b5563 !important;
    font-size: 0.75rem !important;
}

.woocommerce-checkout .afterpay-paragraph a,
.woocommerce-checkout .klarna-paragraph a,
.woocommerce-checkout .paypal-pay-in-4 a,
.woocommerce-checkout a {
    color: #2c1328 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.woocommerce-checkout .afterpay-paragraph a:hover,
.woocommerce-checkout .klarna-paragraph a:hover,
.woocommerce-checkout .paypal-pay-in-4 a:hover,
.woocommerce-checkout a:hover {
    color: #c5a059 !important;
}

/* Terms & Conditions */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
    color: #374151 !important;
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-top: 0.75rem !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a,
.woocommerce-checkout .woocommerce-privacy-policy-link,
.woocommerce-checkout .woocommerce-terms-and-conditions-link {
    color: #2c1328 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.woocommerce-checkout input[type="checkbox"] {
    accent-color: #2c1328 !important;
    cursor: pointer !important;
}

/* Prominent Place Order Button Styling */
.woocommerce-checkout #place_order {
    background-color: #c5a059 !important;
    color: #1a0918 !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    border: none !important;
    margin-top: 1rem !important;
    display: block !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: background-color 0.2s ease !important;
    text-align: center !important;
}

.woocommerce-checkout #place_order:hover {
    background-color: #dfb76c !important;
    color: #1a0918 !important;
}

/* =========================================================
   SASSY BOOK PROSE & EDITORIAL BLOCKQUOTE STYLING
   ========================================================= */
.sassy-book-prose blockquote {
    background-color: #f5efe4 !important;
    border-left: 4px solid #1f0a21 !important;
    border-top-right-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
    padding: 1.25rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    font-family: 'Cinzel', 'Merriweather', Georgia, serif !important;
    font-style: italic !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: #1f0a21 !important;
    letter-spacing: 0.02em !important;
    box-shadow: inset 0 0 15px rgba(197, 160, 89, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    quotes: none !important;
}

.sassy-book-prose blockquote::before,
.sassy-book-prose blockquote::after {
    content: "" !important;
}

.sassy-book-prose blockquote p {
    margin: 0 !important;
    font-family: inherit !important;
    font-style: inherit !important;
    color: inherit !important;
}

.sassy-book-prose h1,
.sassy-book-prose h2,
.sassy-book-prose h3,
.sassy-book-prose h4,
.sassy-book-prose h5,
.sassy-book-prose h6 {
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    color: #2c1328 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
}

.sassy-book-prose ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.sassy-book-prose ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.sassy-book-prose li {
    margin-bottom: 0.35rem !important;
}

.sassy-book-prose li::marker {
    color: #c5a059 !important;
    font-weight: bold !important;
}

.sassy-book-prose a {
    color: #2c1328 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.sassy-book-prose a:hover {
    color: #c5a059 !important;
}

.sassy-book-prose strong,
.sassy-book-prose b {
    font-weight: 700 !important;
    color: #111827 !important;
}

/* =========================================================
   BUDDYPRESS GROUPS ("NOOK CIRCLES") STYLING OVERRIDES
   ========================================================= */

/* Action Buttons (Join Circle, Leave Circle, Request Membership) */
.group-button-wrap .generic-button a,
.group-actions-wrapper .generic-button a,
.groups-list .group-button a,
.group-header-actions .generic-button a,
#buddypress .generic-button a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0.375rem 0.875rem !important;
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.6875rem !important;
    /* 11px */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: 1px solid #c5a059 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.group-button-wrap .generic-button a:hover,
.group-actions-wrapper .generic-button a:hover,
.groups-list .group-button a:hover,
.group-header-actions .generic-button a:hover,
#buddypress .generic-button a:hover {
    background-color: #1a0918 !important;
    color: #dfb76c !important;
    border-color: #dfb76c !important;
}

.group-button-wrap .leave-group a,
.group-actions-wrapper .leave-group a,
#buddypress .leave-group a {
    background-color: #f9f5ed !important;
    color: #2c1328 !important;
    border-color: rgba(197, 160, 89, 0.6) !important;
}

.group-button-wrap .leave-group a:hover,
.group-actions-wrapper .leave-group a:hover,
#buddypress .leave-group a:hover {
    background-color: #eee5d8 !important;
    color: #831843 !important;
    border-color: #831843 !important;
}

/* ==========================================================================
   BuddyPress Navigation Tabs - Editorial Minimal Underline Style
   ========================================================================== */
#buddypress .item-list-tabs,
#item-nav .item-list-tabs,
#sassy-member-subnav,
.member-subnav,
#sassy-group-admin-subnav,
.sassy-admin-subnav {
    border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

#buddypress .item-list-tabs ul,
#sassy-member-subnav ul,
.member-subnav ul,
#sassy-group-admin-subnav ul,
.sassy-admin-subnav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

#buddypress .item-list-tabs ul li,
#sassy-member-subnav ul li,
.member-subnav ul li,
#sassy-group-admin-subnav ul li,
.sassy-admin-subnav ul li {
    margin: 0 !important;
    display: inline-flex !important;
    border: none !important;
    background: transparent !important;
}

#buddypress .item-list-tabs ul li a,
#sassy-member-subnav ul li a,
.member-subnav ul li a,
#sassy-group-admin-subnav ul li a,
.sassy-admin-subnav ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0 0 0.625rem 0 !important;
    margin-bottom: -1px !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background: none !important;
    box-shadow: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    color: #4b5563 !important;
    transition: all 0.2s ease !important;
}

#buddypress .item-list-tabs ul li a:hover,
#sassy-member-subnav ul li a:hover,
.member-subnav ul li a:hover,
#sassy-group-admin-subnav ul li a:hover,
.sassy-admin-subnav ul li a:hover {
    color: #2c1328 !important;
    border-bottom-color: rgba(197, 160, 89, 0.6) !important;
    background: transparent !important;
}

#buddypress .item-list-tabs ul li.current a,
#buddypress .item-list-tabs ul li.selected a,
#buddypress .item-list-tabs ul li.active a,
#sassy-member-subnav ul li.current a,
#sassy-member-subnav ul li.selected a,
#sassy-member-subnav ul li.active a,
.member-subnav ul li.current a,
.member-subnav ul li.selected a,
.member-subnav ul li.active a,
#sassy-group-admin-subnav ul li.current a,
#sassy-group-admin-subnav ul li.selected a,
#sassy-group-admin-subnav ul li.active a,
.sassy-admin-subnav ul li.current a,
.sassy-admin-subnav ul li.selected a,
.sassy-admin-subnav ul li.active a {
    color: #2c1328 !important;
    border-bottom: 2px solid #2c1328 !important;
    background-color: transparent !important;
    background: none !important;
    box-shadow: none !important;
    font-weight: 700 !important;
}

#buddypress .item-list-tabs ul li a span,
#sassy-member-subnav ul li a span,
.member-subnav ul li a span,
#sassy-group-admin-subnav ul li a span,
.sassy-admin-subnav ul li a span {
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    margin-left: 0.25rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
}

#buddypress .item-list-tabs ul li.current a span,
#buddypress .item-list-tabs ul li.selected a span,
#buddypress .item-list-tabs ul li.active a span,
#sassy-member-subnav ul li.current a span,
#sassy-member-subnav ul li.selected a span,
.member-subnav ul li.current a span,
.member-subnav ul li.selected a span,
#sassy-group-admin-subnav ul li.current a span,
#sassy-group-admin-subnav ul li.selected a span,
.sassy-admin-subnav ul li.current a span,
.sassy-admin-subnav ul li.selected a span {
    background: transparent !important;
    background-color: transparent !important;
    color: #2c1328 !important;
}

/* BuddyPress Pagination Styling */
#buddypress .pagination .pagination-links a,
#buddypress .pagination .pagination-links span.current {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 1.75rem !important;
    height: 1.75rem !important;
    padding: 0 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 0.375rem !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    background-color: #ffffff !important;
    color: #2c1328 !important;
    text-decoration: none !important;
    margin: 0 0.125rem !important;
}

#buddypress .pagination .pagination-links a:hover {
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border-color: #2c1328 !important;
}

#buddypress .pagination .pagination-links span.current {
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border-color: #2c1328 !important;
}

/* BuddyPress Form Controls Inside Groups & Activity */
#buddypress form.standard-form input[type="text"],
#buddypress form.standard-form input[type="password"],
#buddypress form.standard-form textarea,
#buddypress form.standard-form select {
    background-color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.5) !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 0.75rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    color: #1f2937 !important;
}

#buddypress form.standard-form input[type="text"]:focus,
#buddypress form.standard-form textarea:focus,
#buddypress form.standard-form select:focus {
    outline: none !important;
    border-color: #2c1328 !important;
    box-shadow: 0 0 0 1px #2c1328 !important;
}

/* =========================================================
   BUDDYPRESS FRIENDSHIP ACTION BUTTONS (VINTAGE THEME AESTHETIC)
   ========================================================= */
.sassy-friendship-btn-wrap,
.sassy-friendship-btn-wrap .generic-button,
.friendship-button {
    display: inline-flex;
    align-items: center;
}

.sassy-friendship-btn-wrap .generic-button a,
.friendship-button a,
#buddypress .generic-button a,
#buddypress .member-friends-wrapper .action a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1.25rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Default / Add Friend State */
.sassy-friendship-btn-wrap .generic-button.not_friends a,
.sassy-friendship-btn-wrap .generic-button a.add,
.friendship-button a.add,
.friendship-button.not_friends a,
#buddypress .generic-button a.add {
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border: 1px solid #c5a059 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.sassy-friendship-btn-wrap .generic-button.not_friends a:hover,
.sassy-friendship-btn-wrap .generic-button a.add:hover,
.friendship-button a.add:hover,
.friendship-button.not_friends a:hover,
#buddypress .generic-button a.add:hover {
    background-color: #1a0918 !important;
    color: #dfba73 !important;
    border-color: #dfba73 !important;
}

/* Pending / Requested State */
.sassy-friendship-btn-wrap .generic-button.pending_friend a,
.sassy-friendship-btn-wrap .generic-button a.requested,
.friendship-button a.requested,
.friendship-button.pending_friend a,
#buddypress .generic-button a.requested {
    background-color: #fdfaf3 !important;
    color: #854d0e !important;
    border: 1px solid rgba(202, 138, 4, 0.6) !important;
}

.sassy-friendship-btn-wrap .generic-button.pending_friend a:hover,
.sassy-friendship-btn-wrap .generic-button a.requested:hover,
.friendship-button a.requested:hover,
.friendship-button.pending_friend a:hover,
#buddypress .generic-button a.requested:hover {
    background-color: #fef08a !important;
    color: #713f12 !important;
}

/* Is Friend / Remove Friendship State */
.sassy-friendship-btn-wrap .generic-button.is_friend a,
.sassy-friendship-btn-wrap .generic-button a.remove,
.friendship-button a.remove,
.friendship-button.is_friend a,
#buddypress .generic-button a.remove {
    background-color: #fdfaf3 !important;
    color: #2c1328 !important;
    border: 1px solid rgba(197, 160, 89, 0.6) !important;
}

.sassy-friendship-btn-wrap .generic-button.is_friend a:hover,
.sassy-friendship-btn-wrap .generic-button a.remove:hover,
.friendship-button a.remove:hover,
.friendship-button.is_friend a:hover,
#buddypress .generic-button a.remove:hover {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #f87171 !important;
}

/* Accept / Reject in Friend Requests */
.friendship-requests .accept,
.friendship-requests a.accept {
    background-color: #2c1328 !important;
    color: #c5a059 !important;
    border: 1px solid #c5a059 !important;
}

.friendship-requests .reject,
.friendship-requests a.reject {
    background-color: #fdfaf3 !important;
    color: #991b1b !important;
    border: 1px solid rgba(153, 27, 27, 0.4) !important;
}

/* =========================================================
   GLOBAL TYPOGRAPHY & RICH-TEXT PROSE STYLING
   ========================================================= */
.sassy-book-prose,
.sassy-entry-content,
.entry-content {
    color: #374151;
    line-height: 1.8;
}

.sassy-book-prose h1,
.sassy-book-prose h2,
.sassy-book-prose h3,
.sassy-book-prose h4,
.sassy-book-prose h5,
.sassy-book-prose h6,
.sassy-entry-content h1,
.sassy-entry-content h2,
.sassy-entry-content h3,
.sassy-entry-content h4,
.sassy-entry-content h5,
.sassy-entry-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: 'Cinzel', serif;
    color: var(--brand-plum, #2c1328);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.sassy-book-prose h1,
.sassy-entry-content h1,
.entry-content h1 {
    font-size: 2rem;
}

.sassy-book-prose h2,
.sassy-entry-content h2,
.entry-content h2 {
    font-size: 1.625rem;
}

.sassy-book-prose h3,
.sassy-entry-content h3,
.entry-content h3 {
    font-size: 1.375rem;
}

.sassy-book-prose h4,
.sassy-entry-content h4,
.entry-content h4 {
    font-size: 1.15rem;
}

.sassy-book-prose h5,
.sassy-entry-content h5,
.entry-content h5 {
    font-size: 1rem;
}

.sassy-book-prose h6,
.sassy-entry-content h6,
.entry-content h6 {
    font-size: 0.875rem;
}

.sassy-book-prose p,
.sassy-entry-content p,
.entry-content p {
    line-height: 1.8;
    margin-bottom: 1.25em;
    color: #374151;
}

.sassy-book-prose ul,
.sassy-entry-content ul,
.entry-content ul {
    list-style-type: disc !important;
    margin-left: 1.5rem !important;
    margin-bottom: 1.25em !important;
    padding-left: 0.5rem !important;
}

.sassy-book-prose ol,
.sassy-entry-content ol,
.entry-content ol {
    list-style-type: decimal !important;
    margin-left: 1.5rem !important;
    margin-bottom: 1.25em !important;
    padding-left: 0.5rem !important;
}

.sassy-book-prose li,
.sassy-entry-content li,
.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.sassy-book-prose blockquote,
.sassy-entry-content blockquote,
.entry-content blockquote {
    border-left: 4px solid var(--brand-gold, #c5a059);
    padding-left: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--brand-darkPlum, #1a0918);
    background-color: rgba(249, 245, 237, 0.6);
    border-radius: 0 0.5rem 0.5rem 0;
}

.sassy-book-prose a,
.sassy-entry-content a,
.entry-content a {
    color: var(--brand-plum, #2c1328);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.sassy-book-prose a:hover,
.sassy-entry-content a:hover,
.entry-content a:hover {
    color: var(--brand-gold, #c5a059);
    text-decoration-color: var(--brand-gold, #c5a059);
}

.sassy-book-prose strong,
.sassy-book-prose b,
.sassy-entry-content strong,
.sassy-entry-content b,
.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: #1f2937;
}

.sassy-book-prose em,
.sassy-book-prose i,
.sassy-entry-content em,
.sassy-entry-content i,
.entry-content em,
.entry-content i {
    font-style: italic;
}

.sassy-book-prose hr,
.sassy-entry-content hr,
.entry-content hr {
    border: 0;
    border-top: 1px solid rgba(197, 160, 89, 0.4);
    margin: 2em 0;
}

.sassy-book-prose img,
.sassy-entry-content img,
.entry-content img {
    border-radius: 0.5rem;
    margin: 1.25em auto;
    height: auto;
    max-width: 100%;
}