
/* Base styles */
body {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 1.0625rem; /* 17px - improved readability */
    line-height: 1.7; /* Improved line-height */
    color: var(--text-primary);
    background-color: var(--bg-cream);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Blog post content - enhanced readability */
.blog-view, .blog-post-view {
    font-size: 1.1rem;
    line-height: 1.8;
}
 
.bg-light {
    --gk-bg-opacity: 1;
    background-color: #f1f5f9 !important;
}

.bg-light2 {
    background: #fffef9 !important;
}

.bg-light3 {
    background: #f0f2f5 !important;
}
 
.bg-gr {
    background-image: radial-gradient( at 5% 80%, hsla(184, 38%, 92%, 1) 0px, transparent 50% ), radial-gradient(at 8% 9%, hsla(178, 39%, 83%, 1) 0px, transparent 50%), radial-gradient( at 72% 100%, hsl(173deg 42.04% 83.06%) 0px, transparent 50% ), radial-gradient( at 98% 93%, hsl(182.5deg 100% 96.74%) 0px, transparent 50% ), radial-gradient(at 62% 8%, hsl(45deg 95.34% 92.08%) 0px, transparent 50%), radial-gradient(at 76% 1%, hsla(80, 19%, 97%, 1) 0px, transparent 50%), radial-gradient(at 94% 7%, hsla(195, 24%, 96%, 1) 0px, transparent 50%)
}

.bg-gradient {
    background: linear-gradient(135deg, #E5F7F9 0%, #FEF9E7 100%) !important;
}

/* ============================================
   HOME PAGE HERO - STYLE OPTIONS
   Switch between these by changing class in _Hero.cshtml
   ============================================ */

/* OPTION 1: Burgundy Theme (Matches Blog) */
.hero-burgundy {
    background: linear-gradient(135deg, #FFF5F7 0%, #FFFFFF 100%);
    border-bottom: 1px solid #F0E0E3 !important;
}

.blog-header.hero-burgundy {
    border-bottom: 1px solid #F0E0E3 !important;
}

.hero-burgundy h1 {
    color: #0A0A0A;
    font-weight: 700;
}

.hero-burgundy .btn-dark {
    background: #000000;
    border-color: #000000;
}

.hero-burgundy .btn-dark:hover {
    background: #2C2C2C;
    border-color: #2C2C2C;
}

/* OPTION 2: Mint Fresh (Current Style) */
.hero-mint {
    background: linear-gradient(135deg, #E5F7F9 0%, #FEF9E7 100%);
}

.hero-mint h1 {
    color: #1A1A1A;
    font-weight: 700;
}

/* OPTION 3: Minimal White (Elegant) */
.hero-minimal {
    background: #FFFFFF;
    border-bottom: 1px solid #E8E8E8;
}

.hero-minimal h1 {
    color: #0A0A0A;
    font-weight: 400;
    letter-spacing: -1px;
}

.hero-minimal .btn-dark {
    background: #000000;
    border-color: #000000;
}

.hero-minimal .btn-dark:hover {
    background: #2C2C2C;
}

/* OPTION 4: Warm Peach (Soft & Inviting) */
.hero-warm {
    background: linear-gradient(135deg, #FFF8F4 0%, #FFFCF9 100%);
    border-bottom: 1px solid #F5E8E0;
}

.hero-warm h1 {
    color: #2C2C2C;
    font-weight: 700;
}

.hero-warm .btn-dark {
    background: #000000;
    border-color: #000000;
}

.hero-warm .btn-dark:hover {
    background: #2C2C2C;
}

.text-grey {
    color: #5c5776;
}

.btn-outline-black {
    color: #000;
    background-color: transparent;
    border: 2px solid #000;
    border-radius: var(--bs-btn-border-radius); /* keep default radius */
    transition: background-color .2s, color .2s;
}

    .btn-outline-black:hover,
    .btn-outline-black:focus {
        background-color: #000;
        color: #fff;
        text-decoration: none;
    }

    .btn-outline-black:active {
        background-color: #222;
        border-color: #222;
        color: #fff;
    }

    .btn-outline-black:disabled {
        opacity: .5;
        pointer-events: none;
    }

.bg-light-warning {
    --bs-bg-opacity: 1;
    background-color: #ffeeda;
}

.text-dark-warning {
    --bs-text-opacity: 1;
    color: #c28135 !important;
}
/* Programmatic/UI text (buttons, nav, etc.) */
.navbar, .btn, .form-label, .badge, .breadcrumb, .card-title small {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Override Bootstrap base font */
:root {
    --bs-body-font-family: 'Lora', serif;
    --bs-body-font-size: 1rem;
}

/* Override heading fonts globally */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.display-6 {
    font-size: 2.5rem;
}

.mb-6 {
    margin-bottom: 2.5rem !important;
}

html {
  font-size: 14px;
}

body {
    color: var(--text-primary);
    font-style: normal;
    background: var(--bg-cream);
}

.breadcrumb-item a {
    color: #000000;
}

.breadcrumb-item.active {
    color: #000000;
}
 

footer a {
    color:#000000;
}

footer .categories .nav-link {
    color: #000000;
}
.pt-10 {
    padding-top: 8.5rem !important;
}

.pt-8 {
    padding-top: 7.5rem !important;
}

.pt-12 {
    padding-top: 10rem !important;
}

.py-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.pb-8 {
    padding-bottom: 6.5rem !important;
}

.pb-7 {
    padding-bottom: 6.0rem !important;
}

.pt-6 {
   padding-top: 5.5rem !important;
}
.pb-6 {
    padding-bottom: 5.5rem !important;
}

.pb-45 {
    padding-bottom: 4.5rem !important;
}

.mt-8 {
    margin-top: 6.5rem !important;
}

.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-10 {
    padding-top: 8.5rem !important;
    padding-bottom: 8.5rem !important;
}

.py-12 {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
} 

.display-3 {
    font-weight: 600;
    line-height: 1.3;
}

.display-3 {
    font-size: 3rem;
}

@media (min-width: 768px) {
    html {
    font-size: 16px;
  }
}

.card {
    --bs-card-bg: transparent;
    border:0;
}

.card-header:first-child {
    background: transparent;
}

.card-footer {
    background: transparent;
    border: 0;
}

header {
    height: 62px;
}

.navbar { 
    box-shadow: 0 1px 3px rgba(17, 24, 39, .09);
}

.navbar .nav-link {
   color:#000;
}


.navbar-brand .navbar-brand-item {
    height: 42px;
}

main {
    background-color: #f4f2ee;
    background-color: #ffffff;
}

/*Blog*/

.blog-content {
    
}

.blog-header {
   /* background: url('https://pinmybeauty.com/img/bg1.jpg') */
}

.blog-listing {
    
}

.side-bar {
    /* background: #f6f8f9;*/
    border-radius: 16px;
    padding-top: 66px;
}

.side-bar h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.side-bar .border-bottom {
    border-color: #E8E8E8 !important;
}

.ms-n8 {
    margin-left: -3.5rem !important;
}

.mt-n8 {
    margin-top: -3.5rem !important;
}

.mt-n4 {
    margin-top: -1.5rem !important;
}

.mt-8 {
    margin-top: 3.5rem 56px !important;
}
 
.ms-8 {
    margin-left: 3.5rem !important;
}

.end-0 {
    right: 0 !important;
}
.top-0 {
    top: 0 !important;
}
.top-10 {
    top: 10% !important;
}

.top-25 {
    top: 25% !important;
}

.top-60 {
    top: 60% !important;
}

.top-75 {
    top: 75% !important;
}

.start-60 {
    left: 60% !important;
}

.end-0 {
    right: 0 !important;
}

.end-10 {
    right: 10% !important;
}

@media (min-width: 1200px) {
    .me-xl-n8 {
        margin-right: -3.5rem !important;
    }
}

header.fixed-top + main {
    padding-top: calc(1.5rem + 40px);
}

.top-search-form .form-control {
    border: 2px solid #e0e0e0;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#accountModal .modal-header {
    border: 0 !important;
}

.account-modal-view {
    padding: 0 2rem 2rem;
}

.social-login-buttons .btn {
    border: 2px solid #d1d1d1;
    padding: 0.6rem 1.25rem;
}

.social-login-buttons .btn:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04) !important;
}

.social-login-buttons .btn img {
    height: 20px;
}

 
.p-terms a {
    text-decoration: underline;
    color:#000;
}

.product-card {
    border-top:solid 1px #e1e1e1 !important;
}

.product-card .nav .nav-item .nav-link {
    background: #e2e8f3;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    color:#000000;
}


.sub-heading {
    color: #c7cbd8;
    font-size:2.5rem;
}

.highline-outer {
    background: #ffffff;
    display: inline-block;
    padding:7px 15px;
}

.highline2 {
    background-image: linear-gradient(135deg,#feb900 0,#fd7030 20%,#fdaa9a 40%,#b7d5d5 60%);
    /* 2) Make the background clip to the text */
    -webkit-background-clip: text;
    background-clip: text;
    /* 3) Hide the actual text color so the gradient shows through */
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 1.0rem;
}
.highline {
    text-transform: uppercase;
    font-size: 1.0rem;
    color:#999999;
}


.dark-tag {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.85em;
    --bs-badge-font-weight: 400;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: #ffffff;
    background: #000000;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
    text-transform: uppercase;
    padding-top: 0.375rem;
    letter-spacing: 1px;
}

.blog-listing .card-main, .posts-grid .card-main {
    padding: 1.5rem !important; /* Increased from 0.75rem for better breathing room */
    border-radius: 12px; /* More modern rounded corners */
    background: var(--card-bg);
    border: 1px solid #E8E8E8 !important; /* Light, subtle border */
    margin: 0 5px 10px 5px; /* Small horizontal spacing, bottom spacing */
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-listing .card-main:hover, .posts-grid .card-main:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #D0D0D0 !important;
}
 
 
.post-panel-2 .post-tags {
    line-height: 1.5rem;
    max-height: 4.3rem;
    overflow: hidden;
}

@media (max-width: 768px) { /* md and up */
    .post-panel-2 .post-tags {
        max-height: 4.45rem;
    }
}

.card-main .product-group .avatar-img {
    border-radius: 10px !important;
}

.card-main.shadow-dark {
    /*box-shadow: 7px 7px #000000;*/
}

.product-group {

}

.card-main .list-group-item {
    border-bottom: 1px solid var(--border-light);
    font-size: .825rem !important;
    color: var(--text-secondary);
}

.card-main .product-name {
    /* Limit product descriptions to 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card images - modern styling */
.card-main img.rounded-2 {
    border-radius: 12px !important;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card-main:hover img.rounded-2 {
    transform: scale(1.03);
}

/* Short description limiting */
.card-main .border-top p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}
 

.post-tags a {
    border: 1px solid #5b5a58;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.3;
    padding: .30rem .75rem;
    margin-right: 5px;
    font-weight: normal;
    border-radius: 999px !important;
    color: #5b5a58;
    font-weight: 500 !important;
    display: inline-block;
    margin-bottom: 5px;
}

.badge-item.city {
    border: 1px solid #5b5a58;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.3;
    padding: .30rem .75rem;
    margin-right: 5px;
    font-weight: normal;
    border-radius: 999px !important;
    color: #5b5a58;
    font-weight: 500 !important;
    display: inline-block;
    margin-bottom: 5px;
}

.nav.nav-pills .nav-link {
    background-color: #ffffff;
    color: #000;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 0; /*3px 10px;*/
    border: 1px solid #000000;
}

.side-bar .nav.nav-pills .nav-link {
    padding: 6px 14px;
    border: 1.5px solid #CCCCCC;
    background: #FFFFFF;
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.side-bar .nav.nav-pills .nav-link:hover {
    background: var(--accent-main);
    border-color: var(--accent-main);
    color: #FFFFFF;
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(212, 69, 126, 0.2);
}

 
/* ============================================
   SIDEBAR IMAGE TAGS - FULL WIDTH
   ============================================ */
ul.image-list {
    list-style: none;
    padding: 0;
}

ul.image-list li {
    margin-bottom: 1rem;
    overflow: hidden;
}

ul.image-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 64px;
    color: #ffffff;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

ul.image-list a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background 0.3s ease;
    border-radius: 8px;
}

ul.image-list a:hover {
    transform: translateY(-2px);
}

ul.image-list a:hover::before {
    background: rgba(0, 0, 0, 0.7);
}

ul.image-list a span {
    position: relative;
    z-index: 2;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem;
    display: block;
}

.newsletter-box {
    border: 1px solid #000;
    background: #fff;
    padding: 15px;
    border-radius: 7px;
}

.newsletter-box .form-control {
    border: 1px solid #000000;
    margin-bottom: 10px;
    padding: 9px 9px;
    height: 32px;
    background: #fff;
    font-size: 12px;
    border-radius: 0;
}

.newsletter-full {
    border-top: 1px solid #D8D8D8;
    border-bottom: 1px solid #D8D8D8;
}

.newsletter-full .form-control {
    border: 1px solid #000000;
    margin-bottom: 10px;
    padding: 0.75rem;
    background: #fff;
    border-radius: 0;
}

.newsletter-box .success-view {
    padding: 2rem 1rem;
}

.newsletter-box .form-control.error, .newsletter-full .form-control.error {
    border: 1px solid #e71515;
}
 
.newsletter-full .btn {
    margin-bottom: 5px;
    padding: 0.75rem;
    border-radius: 0;
    text-transform: uppercase;
}

.blog-post-view h3 {
    margin-top: 2.0rem;
}

.blog-post-view ul h3 {
    font-size: 1.171875rem;
    margin-top: 1.2rem;
}

.card.card-sh {
    box-shadow: 0 1px 3px rgb(39 17 17 / 30%);
}

.hover-dark:hover {
    color: #000 !important;
}

@media (min-width: 768px) {
    .share div.v-line {
        height: 50px;
        width: 1px;
        display: block;
        background-color: #CBD3DC;
    }
}


.highlights .card {
    border:1px solid;
}

.highlights .feature-icon {
    font-size:2.0rem;
}

/* ============================================
   FOOTER - ELEGANT STYLING
   ============================================ */
footer {
    background-color: #FAFAFA;
}

footer h6 {
    color: #0A0A0A;
    font-weight: 600;
}

footer .hover-burgundy {
    transition: color 0.3s ease;
}

footer .hover-burgundy:hover {
    color: #8B2635 !important;
}

footer .border-top {
    border-color: #E8E8E8 !important;
}

/* ============================================
   CATEGORY SECTION HEADERS - ENHANCED STYLING
   ============================================ */
.category-section {
    margin-top: 60px !important; /* Increased spacing between categories */
    padding-top: 30px !important;
}

.category-section h2 {
    font-size: 2.25rem; /* Larger, bolder headers */
    font-weight: 700;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    position: relative;
}

.category-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-main);
    border-radius: 2px;
}

.category-section p.fw-medium {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================
   SPACING IMPROVEMENTS
   ============================================ */
.blog-listing {
    margin-bottom: 30px;
}

.post-panel-1, .post-panel-2 {
    margin-bottom: 20px;
}

/* Row gaps for better breathing room */
.blog-listing .row.gx-0 {
    row-gap: 30px; /* Increased spacing between cards */
}

.posts-grid .row.gx-0 {
    row-gap: 30px;
}

/* ============================================
   TAG STYLING - MODERN BEAUTY BRAND LOOK
   ============================================ */
.post-tags a {
    border: 1px solid var(--accent-main);
    background-color: transparent;
    color: var(--accent-main);
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--accent-main);
    color: var(--text-light);
    transform: scale(1.05);
}

.dark-tag {
    background: var(--primary-dark) !important;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.dark-tag:hover {
    background: var(--btn-secondary-hover) !important;
    transform: scale(1.05);
}

/* ============================================
   BUTTON IMPROVEMENTS
   ============================================ */
.btn-outline-black {
    color: var(--primary-dark);
    background-color: transparent;
    border: 2px solid var(--primary-dark);
    transition: all 0.3s ease;
}

.btn-outline-black:hover,
.btn-outline-black:focus {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   NEWSLETTER BOX - THEME INTEGRATION
   ============================================ */
.newsletter-box {
    border: 2px solid var(--primary-dark);
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
}

.newsletter-box .form-control {
    border: 1px solid var(--border-main);
}

.newsletter-box .form-control:focus {
    border-color: var(--accent-main);
}

/* ============================================
   BLOG CATEGORIES NAVIGATION - ELEGANT WITH EMOJIS
   ============================================ */
.blog-categories.nav-pills .nav-link {
    background: #FFFFFF;
    color: #2C2C2C;
    border: 1px solid #D0D0D0;
    transition: all 0.3s ease;
    margin-right: 18px;
    margin-bottom: 18px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blog-categories.nav-pills .nav-link:hover {
    border-color: #8B2635;
    box-shadow: 0 4px 12px rgba(139, 38, 53, 0.15);
}

/* Category emoji styling */
.blog-categories.nav-pills .category-emoji {
    font-size: 2rem;
    line-height: 1;
    margin-right: 12px;
    display: inline-block;
}

.blog-categories.nav-pills .tag-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================
   BLOG PAGE SPECIFIC STYLES
   ============================================ */

/* Blog pages body and main overrides */
body.blog-page {
    background-color: #FFFFFF !important;
}

/* Force white background on blog pages (using :has selector) */
body:has(.blog-page) {
    background-color: #FFFFFF !important;
}

body:has(.blog-post-view) {
    background-color: #FFFFFF !important;
}

body.blog-page main {
    margin-bottom: 0 !important;
}

body:has(.blog-page) main,
body:has(.blog-post-view) main {
    margin-bottom: 0 !important;
}

/* Hero burgundy customization for blog pages */
.blog-page .hero-burgundy {
    padding-top: 7.5rem !important;
    padding-bottom: 5rem !important;
    position: relative;
}

.blog-page .hero-burgundy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid #F0E0E3;
    display: block;
}

/* Blog hero content styling */
.blog-page .hero-burgundy .blog-categories {
    background: transparent;
    padding: 0;
    margin-top: 3rem;
    border: none;
    box-shadow: none;
}

.blog-page .hero-burgundy .highline {
    color: #8B2635;
    font-weight: 400;
    letter-spacing: 2.5px;
    font-size: 0.875rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.blog-page .hero-burgundy h1 {
    color: #0A0A0A;
    font-weight: 400;
    letter-spacing: -1px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.blog-page .hero-burgundy .lead {
    color: #6B6B6B;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Blog content area */
.blog-page .blog-content {
    background: #FFFFFF;
}

.blog-page .pb-5.mt-5 {
    background: #FFFFFF;
}