/* Custom CSS Here */

* { 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

.mainmenu {
    padding-top: 80px;
    max-width: 50dvw;
    min-width: fit-content;
}

.mainmenu a {
    text-wrap: nowrap;
}

@media (min-width: 992px) {
    .mainmenu {
        padding-top: 0px;
        max-width: auto;
        min-width: auto;
    }

    .mainmenu a {
        text-wrap: wrap;
    }
}

.container { 
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.page_toplogo {
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f0 50%, #ffd4eb 100%) !important;
}

/* Calligraphy text styling */
.calligraphy-text {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 32px;
    color: #917bc5;
    line-height: 1.2;
}

/* Make the logo image larger and centered */
.logotop img {
    max-height: min(10dvw, 110px);
    min-height: 60px;
}

/* =====================================================
HERO / SLIDER - FULLY RESPONSIVE
===================================================== */
.intro_section {
    position: relative;
    height: 1220px;
    overflow: hidden;
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    .intro_section {
        height: 700px;
    }
}

@media (max-width: 767px) {
    .intro_section {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .intro_section {
        height: 500px;
    }
}

/* Flexslider heights */
.intro_section .flexslider,
.intro_section .flexslider .slides,
.intro_section .flexslider .slides li {
    height: 100% !important;
    margin-bottom: 0 !important;
}

.intro_section .flexslider .slides li {
    position: relative;
    overflow: hidden;
}

/* Full-bleed background image */
.intro_section .flexslider .slides li img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Center overlay content */
.intro_section .flexslider .slides li .container {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 767px) {
    .intro_section .flexslider .slides li .container {
        padding: 15px;
    }
}

.intro_section .flexslider .slides li .row {
    width: 100%;
}

/* Slide description wrapper - center vertically */
.slide_description_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -100px;
}

/* Slide description box */
.slide_description {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 10px;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .slide_description {
        max-width: 600px;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .slide_description {
        max-width: 500px;
        border-radius: 12px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .slide_description {
        max-width: 100%;
        border-radius: 10px;
    }
}

/* Inner layer padding */
.intro-layer,
.intro-layer.with_padding,
.intro-layer.big-padding {
    padding: 30px !important;
}

@media (max-width: 767px) {
    .intro-layer,
    .intro-layer.with_padding,
    .intro-layer.big-padding {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .intro-layer,
    .intro-layer.with_padding,
    .intro-layer.big-padding {
        padding: 16px !important;
    }
}

/* Hero Typography - Fluid Responsive */
.intro_section h2 {
    font-size: clamp(28px, 6vw, 56px);
    line-height: 1.1;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .intro_section h2 {
        margin-bottom: 10px;
    }
}

.intro_section p {
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000 !important;
}

@media (max-width: 480px) {
    .intro_section p {
        margin-bottom: 16px;
        line-height: 1.5;
    }
}

.intro_section hr.pattern_divider {
    margin: 12px auto 16px;
}

@media (max-width: 480px) {
    .intro_section hr.pattern_divider {
        margin: 10px auto 14px;
    }
}

/* CTA Button - Touch Optimized */
.theme_button {
    display: inline-block;
    font-size: clamp(13px, 2vw, 15px);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-height: 44px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .theme_button {
        padding: 10px 24px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .theme_button {
        padding: 9px 20px;
        min-height: 38px;
    }
}

.theme_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.theme_button:active {
    transform: translateY(0);
}

/* Scroll Button */
.intro_section .scroll_button_wrap {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 20 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .intro_section .scroll_button_wrap {
        bottom: 16px !important;
    }
}

@media (max-width: 480px) {
    .intro_section .scroll_button_wrap {
        bottom: 12px !important;
    }
}

.intro_section .scroll_button_wrap a {
    display: block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .intro_section .scroll_button_wrap a {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .intro_section .scroll_button_wrap a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }
}

.intro_section .scroll_button_wrap a:hover {
    transform: translateY(3px);
}

/* Flexslider viewport fix */
.flex-viewport {
    height: 100% !important;
}

/* =====================================================
PRODUCTS SECTION - RESPONSIVE GRID
===================================================== */
#products {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 991px) {
    #products {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

@media (max-width: 767px) {
    #products {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

#products h2.section_header {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
}

#products hr.pattern_divider {
    margin: 16px auto 40px;
}

@media (max-width: 767px) {
    #products hr.pattern_divider {
        margin: 12px auto 30px;
    }
}

/* =====================================================
   PRODUCT GRID & CARDS
   ===================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.product-card-link:hover,
.product-card-link:focus {
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 square aspect ratio */
    overflow: hidden;
    background: #f8f8f8;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    text-align: center;
}

.product-card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9c86cc;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
    flex: 1;
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #9c86cc;
    margin: 0;
}

.product-card-action {
    padding: 0 16px 16px;
}

/* Product card inside isotope container */
.isotope_container .isotope-item .product-card {
    height: 100%;
}

.isotope_container .isotope-item {
    padding: 10px;
}

.product-card-action .theme_button {
    display: block;
    text-align: center;
}

/* Category sidebar nav */
.category-nav .list-group-item {
    border-color: #eee;
    padding: 10px 16px;
    font-size: 15px;
    transition: background 0.15s, color 0.15s;
}

.category-nav .list-group-item:hover:not(.active) {
    background: #faf8ff;
}

.category-nav .list-group-item.active {
    background-color: #9c86cc;
    border-color: #9c86cc;
    color: #fff;
}

.category-nav-heading {
    padding: 10px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
    border-bottom: none;
    margin-top: 8px;
}

.category-nav-heading:first-child {
    margin-top: 0;
}
/* =====================================================
SEARCH PAGE CLASSES
===================================================== */
button.close {
	min-width: 0;
	margin-bottom: 0;
	margin-top: 0;
}

#search_modal .theme_button {
    height: 51px;
    border-radius: 0;
}

#search_modal .search-form {
	margin: 0 0 0 50px;
}

#search_modal input {
    border-radius: 0px;
}
#search_modal .theme_button:hover {
    background-color: white;
    transform: none;
}

#search form .theme_button {
    border-radius: 0px 5px 5px 0px;
    padding: 12px 0px;
    width: 60px;
    height: 60px;
    justify-content: center;
}

#search form .theme_button:hover {
    border-radius: 0px 5px 5px 0px;
    padding: 12px 0px;
    width: 60px;
    height: 60px;
    justify-content: center;
    border: 1px solid #9c86cc;
    transform: none;
}

#search form input {
border-radius: 5px 0px 0px 5px;
}

/* =====================================================
CONTACT SECTION CLASSES
===================================================== */

.white-bg {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    max-width: max(40dvw, 450px);
    padding: 40px;
    border-radius: 12px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select,
.form-control {
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.10);
	border: 1px solid rgba(0, 0, 0, 0.15);
}

/* =====================================================
UTILITY CLASSES
===================================================== */
a, button, input, select, textarea {
    touch-action: manipulation;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

/* Prevent text inflation on mobile */
input, textarea, select, button {
    font-size: 16px;
}

.w-fit {
    width: fit-content !important;
}

/* =====================================================
FLEXSLIDER NAVIGATION - RESPONSIVE
===================================================== */
.flex-direction-nav a {
    width: 54px;
    height: 54px;
}

@media (max-width: 767px) {
    .flex-direction-nav a {
        opacity: 0.8;
    }
}
/* =====================================================
PERFORMANCE OPTIMIZATIONS
===================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media (max-width: 768px) {
    .mobile_hide {
        display: none;
    }
}

/* =====================================================
HEADER ICONS & CART SIDEBAR
===================================================== */
.page_header .row {
    position: relative;
}

.header-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 18px;
    align-items: center;
    z-index: 10;
}

.header-icon {
    position: relative;
    color: #1c242f;
    font-size: 18px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.header-icon:hover {
    color: #9c86cc;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ff8adb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

/* Cart Sidebar (custom - replaces BS5 offcanvas) */
.cart-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-sidebar-overlay.open {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: #fff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar-header {
    background: linear-gradient(135deg, #9c86cc 0%, #ff8adb 100%);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cart-sidebar-header h5 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.cart-sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cart-sidebar-close:hover {
    opacity: 1;
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.cart-sidebar-body .cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.cart-sidebar-body .cart-sidebar-footer {
    border-top: 1px solid #eee;
    padding: 16px 20px;
    flex-shrink: 0;
}

.cart-sidebar-body .cart-sidebar-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.cart-sidebar-body .cart-sidebar-empty i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

.cart-sidebar .cart-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    transition: opacity 0.2s;
}

.cart-sidebar .cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-sidebar .cart-item-info h6 {
    margin: 0 0 4px;
    font-size: 14px;
}

.cart-sidebar .cart-item-meta {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.cart-sidebar .cart-item-qty {
    color: #999;
    font-size: 13px;
}

.cart-sidebar .cart-item-price {
    margin-left: auto;
    font-weight: 600;
    font-size: 14px;
}

.cart-sidebar .cart-item-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    flex-shrink: 0;
    margin-right: 12px;
}

.cart-sidebar .cart-item-subscription {
    display: inline-block;
    color: #9c86cc;
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

.cart-sidebar .cart-item-subscription i {
    font-size: 11px;
    margin-right: 3px;
}

.cart-sidebar .cart-remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    font-size: 14px;
    line-height: 1;
    transition: color 0.2s;
}

.cart-sidebar .cart-remove-btn:hover {
    color: #dc3545;
}

.cart-sidebar .cart-sidebar-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cart-sidebar .cart-sidebar-subtotal .label {
    font-weight: 600;
    color: inherit;
    font-size: inherit;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.cart-sidebar .cart-sidebar-subtotal .amount {
    font-weight: 700;
}

.cart-sidebar .cart-sidebar-note {
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
}

.cart-sidebar .cart-sidebar-actions .theme_button {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

.cart-sidebar .cart-sidebar-actions .theme_button:last-child {
    margin-bottom: 0;
}

/* =====================================================
BOOTSTRAP COLOR OVERRIDES
===================================================== */
.btn-primary {
    background-color: #9c86cc;
    border-color: #9c86cc;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #8a72be;
    border-color: #8a72be;
}

.btn-outline-primary {
    color: #9c86cc;
    border-color: #9c86cc;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #9c86cc;
    border-color: #9c86cc;
    color: #fff;
}

.text-primary {
    color: #9c86cc !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #9c86cc;
    box-shadow: 0 0 0 0.2rem rgba(156, 134, 204, 0.25);
}

.page-item.active .page-link {
    background-color: #9c86cc;
    border-color: #9c86cc;
}

.page-link {
    color: #9c86cc;
}

.page-link:hover {
    color: #8a72be;
}

.list-group-item.active {
    background-color: #9c86cc;
    border-color: #9c86cc;
}

.badge.bg-primary {
    background-color: #9c86cc !important;
}

/* =====================================================
PAGE BANNER & BREADCRUMBS
===================================================== */
.page-banner {
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f0 50%, #f5eaff 100%);
    padding: 50px 0 40px;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 8px;
}

.page-banner hr.pattern_divider {
    margin-left: auto;
    margin-right: auto;
}

.page-banner .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}

.page-banner .breadcrumb a {
    color: #9c86cc;
    text-decoration: none;
}

.page-banner .breadcrumb a:hover {
    color: #8a72be;
}

.page-banner .breadcrumb .active {
    color: #666;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

/* =====================================================
CHECKOUT STEP THEMING
===================================================== */
.checkout-progress {
    padding: 0 1rem;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.checkout-step.active .step-number {
    background: #9c86cc;
    color: white;
}

.checkout-step.completed .step-number {
    background: #ff8adb;
    color: white;
}

.step-label {
    font-size: 1.5rem;
    color: #6c757d;
    font-weight: 500;
}

.checkout-step.active .step-label {
    color: #9c86cc;
    font-weight: 600;
}

.checkout-step.completed .step-label {
    color: #ff8adb;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    margin: 18px 0.5rem 0;
    max-width: 100px;
}

.step-connector.completed {
    background: #ff8adb;
}

.checkout-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .checkout-step {
        min-width: 60px;
    }
    .step-label {
        font-size: 1.2rem;
    }
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1.3rem;
    }
    .step-connector {
        margin-top: 15px;
        max-width: 40px;
    }
}

/* =====================================================
ACCOUNT SIDEBAR
===================================================== */
.account-sidebar .list-group-item.active {
    background-color: #9c86cc;
    border-color: #9c86cc;
    color: #fff;
}

.account-sidebar .list-group-item {
    border-color: #eee;
}

.account-sidebar .list-group-item a {
    color: #333;
    text-decoration: none;
}

.account-sidebar .list-group-item:hover {
    background-color: #faf8ff;
}

/* =====================================================
CART ITEM IMAGES
===================================================== */
.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

/* =====================================================
THEMED CARDS & SECTIONS
===================================================== */
.card-header {
    padding: 0.75rem 1.25rem;
    background-color: #faf8ff;
    border-bottom: 1px solid #eee;
}

.card-header:first-child {
    border-radius: calc(0.375rem - 1px) calc(0.375rem - 1px) 0 0;
}

.themed-section {
    padding-top: 50px;
    padding-bottom: 100px;
}

/* =====================================================
THEME BUTTON OVERRIDES FOR INLINE FORMS
===================================================== */
.theme_button.inverse {
    background: transparent;
    color: #9c86cc;
    border: 2px solid #9c86cc;
}

.theme_button.inverse:hover {
    background: #9c86cc;
    color: #fff;
}

.theme_button.w-100 {
    width: 100%;
}

/* =====================================================
PRODUCT PAGE ENHANCEMENTS
===================================================== */
.product-gallery-main {
    border-radius: 12px;
    overflow: hidden;
}

.thumbnail-image {
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    cursor: pointer;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: #9c86cc;
}

.qty-btn {
    height: 60px;
    padding: 0px 20px;
    letter-spacing: normal;
    border-radius: 0px;
}

.qty-btn.left {
    border-radius: 5px 0px 0px 5px;
}

.qty-btn.right {
    border-radius: 0px 5px 5px 0px;
}

.qty-btn i {
    display: flex;
    align-items: center;
    justify-items: center;
    width: fit-content !important;
}

#quantity {
    width: 341px;
    max-width: 90dvw;
}

.theme_button.color1 {
    border: 1px solid #9c86cc;
}

.theme_button.color1.active {
    color: #9c86cc;
    background: transparent;
}

/* Purchase type radio options */
.purchase-option {
    display: block;
    min-width: fit-content;
    width: 341px;
    max-width: 90dvw;
    border: 2px solid #e0dce8;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.purchase-option:hover {
    border-color: #c4b8e0;
}

.purchase-option.active {
    border-color: #9c86cc;
    background: #faf8ff;
}

.purchase-option input[type="radio"] {
    display: none;
}

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

.purchase-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.purchase-option-label i {
    color: #9c86cc;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.purchase-option-price {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.purchase-option-original {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
}

.purchase-option-discount {
    display: inline-block;
    background: #ff8adb;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 0 8px;
    border-radius: 999px;
    vertical-align: middle;
}

.purchase-option-solo {
    border-color: #9c86cc;
    background: #faf8ff;
}

.subscription-interval-picker {
    padding: 12px 16px 4px 46px;
    animation: fadeSlideDown 0.2s ease;
}

.subscription-interval-picker select {
    max-width: 220px;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subscription stub section */
.subscription-stub,
.reviews-stub {
    background: #faf8ff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #eee;
}

.subscription-stub .badge,
.reviews-stub .badge {
    background: #ff8adb !important;
}

/* Star rating display */
.star-rating {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: fit-content;
}

.star-rating .fa-star {
    color: #ddd;
    font-size: 18px;
    flex-shrink: 0;
}

.star-rating .fa-star.filled {
    color: #ffc107;
}

/* =====================================================
FOOTER CONTENT
===================================================== */
.page_footer.themed-footer {
    background: linear-gradient(135deg, #2c1e4a 0%, #1c242f 100%) !important;
    color: #ccc;
}

.page_footer.themed-footer h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.page_footer.themed-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff8adb;
}

.page_footer.themed-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.page_footer.themed-footer a:hover {
    color: #ff8adb;
}

.page_footer.themed-footer .footer-links li {
    margin-bottom: 10px;
}

.page_footer.themed-footer .footer-contact i {
    color: #9c86cc;
    width: 20px;
    margin-right: 8px;
}

/* Search icon: desktop only in header-icons, mobile in hamburger menu */
.mobile-only-nav {
    display: none !important;
}

.desktop-only-icon {
    display: inline-block;
}

/* =====================================================
RESPONSIVE ADJUSTMENTS
===================================================== */
@media (max-width: 991px) {
    .header-icons {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        transform: none;
        z-index: 10;
        background-color: #ffffff;
        height: 60px;
        padding: 0 18px;
        gap: 18px;
    }

    .header-icon {
        font-size: 18px;
        color: #1c242f;
    }

    .desktop-only-icon {
        display: none;
    }

    .mobile-only-nav {
        display: list-item !important;
    }
}

@media (max-width: 767px) {
    .page-banner {
        padding: 35px 0 30px;
    }
}

/* =====================================================
BS5 THEME OVERRIDES
===================================================== */

/* Suppress BS5's default checkbox/radio so theme pseudo-elements take over */
.form-check .form-check-input {
    display: none;
}

/* Row gutters: ensure bottom spacing on stacked columns */
.row.g-3 > [class*="col"] {
    margin-bottom: 1rem;
}

/* sf-menu: desktop top-level items must not be 100% wide (theme sets width:100% on all li) */
@media (min-width: 992px) {
    .sf-menu > li {
        width: auto;
    }
}

/* sf-menu: mobile links need block display + padding (was provided by BS3's .nav > li > a) */
@media (max-width: 991px) {
    .sf-menu > li > a {
        display: block;
        padding: 10px 15px;
        width: 100%;
    }
}

/* =====================================================
CUSTOM TOAST NOTIFICATIONS
===================================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    pointer-events: none;
}

.custom-toast {
    pointer-events: auto;
    background: #333;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.3s ease;
    max-width: 350px;
    min-width: 250px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast.success {
    background: #198754;
}

.custom-toast.error {
    background: #dc3545;
}

.custom-toast i {
    margin-right: 10px;
    font-size: 16px;
}

