﻿﻿﻿/* ==========================================================================
   Raicraft Clone - Unified Design System (All Pages)
   ========================================================================== */

/* --- Import Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* --- CSS Custom Variables --- */
:root {
    --brand-pink: #FF1A58;
    --brand-pink-hover: #D60C41;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #0b8043;
    --text-main: #222222;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-800: #1F2937;
    
    --font-sans: 'Roboto', sans-serif;
    --font-serif: 'Arsenal', serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    
    --border-radius-pill: 9999px;
    --border-radius-card: 12px;
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-gray { color: var(--gray-500); }
.text-pink { color: var(--brand-pink); }
.hidden { display: none; }

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 16px 0;
    font-size: 12px;
    color: var(--gray-500);
}
.breadcrumbs a {
    color: var(--gray-500);
}
.breadcrumbs a:hover {
    color: var(--brand-pink);
}
.breadcrumbs span {
    margin: 0 8px;
    color: var(--gray-300);
}

/* --- Announcement Bar --- */
.announce-bar {
    background-color: var(--brand-pink);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.announce-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.announce-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .announce-text { font-size: 11px; }
}

.whatsapp-pill {
    background-color: #ffffff;
    color: var(--gray-800);
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 11px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, background-color 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

.whatsapp-pill:hover {
    color: var(--whatsapp-green-hover);
    background-color: var(--gray-50);
}

.whatsapp-pill svg {
    color: var(--whatsapp-green);
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* --- Header Section --- */
.bb-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    min-width: 120px;
    text-decoration: none;
}

.brand-logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 48px;
    object-fit: contain;
}

.brand-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-pink);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.brand-logo-text {
    color: #000000;
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

/* Search Bar Wrapper */
.search-bar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-pill);
    width: 100%;
    max-width: 460px;
    height: 42px;
    background: #ffffff;
    padding: 2px 4px 2px 16px;
    transition: border-color 0.2s;
}

.search-bar-wrap:focus-within {
    border-color: #222222;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 13px;
    color: var(--text-main);
    background: transparent;
    padding-right: 64px;
}

.search-icons {
    position: absolute;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.search-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: background-color 0.2s, color 0.2s;
}

.search-icon-btn:hover {
    background-color: var(--gray-100);
    color: var(--text-main);
}

.search-icon-btn.ai-sparkle:hover {
    color: var(--brand-pink);
}

.search-submit {
    background-color: var(--brand-pink);
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.search-submit:hover {
    background-color: #000000;
}

.search-submit svg {
    stroke: #ffffff;
    width: 16px;
    height: 16px;
}

/* Header Right Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    position: relative;
    transition: background-color 0.2s;
    cursor: pointer;
}

.action-icon:hover {
    background-color: var(--gray-100);
}

.action-icon svg {
    stroke: var(--text-main);
    width: 20px;
    height: 20px;
}

.badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--brand-pink);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* --- Category Pills Nav --- */
.categories-nav {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
    background-color: #ffffff;
    position: relative;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    cursor: grab;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    transition: background-color 0.2s, border-color 0.2s;
    user-select: none;
}

.cat-pill:hover {
    background-color: var(--gray-200);
    border-color: var(--gray-300);
}

.cat-pill.special-pill {
    background-color: var(--gray-50);
}

.cat-pill img {
    width: 14px;
    height: 14px;
}

/* --- Interactive Mega Menu --- */
.mega-menu-trigger {
    /* Position relative is removed to allow mega-menu-panel to stretch full width of categories-nav */
}
.mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    padding: 24px 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mega-menu-trigger:hover .mega-menu-panel {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mega-menu-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--gray-100);
}
.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mega-menu-list a {
    font-size: 12px;
    color: var(--gray-500);
}
.mega-menu-list a:hover {
    color: var(--brand-pink);
    padding-left: 4px;
}

/* --- Sticky Header fixed Class --- */
.bb-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* --- Hero Banner Section --- */
.hero-banner-section {
    margin-top: 16px;
}

.hero-banner-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1920 / 700;
    background-color: var(--gray-100);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .hero-banner-wrap { aspect-ratio: 16 / 9; }
}

.banner-slide {
    width: 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.2s, width 0.2s;
}

.dot.active {
    background-color: #ffffff;
    width: 18px;
    border-radius: 4px;
}

/* --- Sections & Titles --- */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 32px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title a {
    font-size: 13px;
    color: var(--brand-pink);
    font-weight: 600;
}

/* --- Brand Grid --- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (min-width: 480px) { .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .brands-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .brands-grid { grid-template-columns: repeat(8, 1fr); } }

.brand-circle-item {
    background-color: #ffffff;
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
}

.brand-circle-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.brand-circle-item img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

/* --- Top Categories --- */
.top-categories-section {
    padding: 24px 0;
}

.top-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 640px) {
    .top-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .top-categories-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.top-category-card {
    min-height: 72px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #fff5f8);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: var(--shadow-sm);
}

.top-category-card:hover {
    border-color: var(--brand-pink);
    color: var(--brand-pink);
}

/* --- Product Cards & Grids --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.product-card {
    background-color: #ffffff;
    border: 1px solid var(--gray-100);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--brand-pink);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}

.product-img-wrap {
    position: relative;
    padding-top: 100%;
    background-color: var(--gray-50);
    overflow: hidden;
}

.product-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 8px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.product-stars svg {
    width: 12px;
    height: 12px;
    fill: #FBBF24;
}

.product-stars span {
    font-size: 11px;
    color: var(--gray-500);
    margin-left: 4px;
}

.product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 12px;
}

.sale-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-pink);
}

.reg-price {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.btn-add-bag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: transparent;
    border: 1px solid var(--brand-pink);
    color: var(--brand-pink);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    width: 100%;
}

.btn-add-bag:hover {
    background-color: var(--brand-pink);
    color: #ffffff;
}

/* --- Category / Archive Page Layout --- */
.archive-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .archive-layout { grid-template-columns: 240px 1fr; }
}

.filter-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-card);
    padding: 20px;
    height: fit-content;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--text-main);
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
}

.filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-pink);
}

/* --- Brand Banner Header --- */
.brand-header-banner {
    background-color: var(--gray-100);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    margin-bottom: 24px;
}
.brand-header-banner img {
    height: 60px;
    object-fit: contain;
}
.brand-header-banner p {
    font-size: 14px;
    color: var(--gray-700);
    max-width: 600px;
}

/* --- Single Product Page Layout --- */
.product-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 16px;
}
@media (min-width: 768px) {
    .product-single-layout { grid-template-columns: 1fr 1fr; }
}
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.main-img-wrap {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-row {
    display: flex;
    gap: 12px;
}
.thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.thumb-item.active {
    border-color: var(--brand-pink);
}
.product-info-wrap {
    display: flex;
    flex-direction: column;
}
.product-single-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 8px;
    margin-bottom: 12px;
}
.product-single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}
.price-box .sale-price {
    font-size: 28px;
}
.price-box .reg-price {
    font-size: 18px;
}
.action-box {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    overflow: hidden;
    height: 44px;
}
.qty-btn {
    border: none;
    background: none;
    width: 36px;
    height: 100%;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}
.qty-btn:hover { background-color: var(--gray-100); }
.qty-input {
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    width: 44px;
    height: 100%;
    text-align: center;
    font-weight: 600;
}
.btn-buy-now {
    flex: 1;
    background-color: var(--brand-pink);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 44px;
}
.btn-buy-now:hover { background-color: var(--brand-pink-hover); }

.desc-accordion {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
}
.accordion-tab {
    margin-bottom: 16px;
}
.accordion-tab h3 {
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.accordion-content {
    margin-top: 8px;
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* --- View Cart Page Layout --- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 16px;
}
@media (min-width: 1024px) {
    .cart-layout { grid-template-columns: 1fr 360px; }
}
.cart-table-wrap {
    overflow-x: auto;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.cart-table th {
    background-color: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    padding: 12px;
    font-weight: 700;
    text-align: left;
    font-size: 14px;
}
.cart-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-product img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
}
.cart-totals {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
}
.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}
.totals-row.grand-total {
    font-size: 18px;
    font-weight: 700;
    border-bottom: none;
}
.btn-checkout {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--brand-pink);
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 16px;
}
.btn-checkout:hover {
    background-color: var(--brand-pink-hover);
}

/* --- Checkout Form --- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 16px;
}
@media (min-width: 1024px) {
    .checkout-layout { grid-template-columns: 1fr 400px; }
}
.form-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.form-group.full-width {
    grid-column: span 2;
}
.form-control {
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
}
.form-control:focus {
    border-color: #222222;
}
.payment-methods {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-method-item {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.payment-method-item input[type="radio"] {
    accent-color: var(--brand-pink);
}

/* --- Thank You Confirmation --- */
.thank-you-card {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: var(--shadow-md);
}
.success-checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #DEF7EC;
    color: #03543F;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.success-checkmark svg {
    width: 32px;
    height: 32px;
}

/* --- Login & Register Forms --- */
.auth-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 40px auto;
}
@media (min-width: 640px) {
    .auth-layout { grid-template-columns: 1fr 1fr; }
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--whatsapp-green);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-green-hover);
    transform: scale(1.05);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* --- Footer --- */
.bb-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--gray-200);
    padding-top: 40px;
    padding-bottom: 30px;
    margin-top: 60px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) { .footer-columns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-columns { grid-template-columns: repeat(4, 1fr); } }

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-subheading {
    margin-top: 24px;
}

.footer-help {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.footer-help a {
    color: var(--brand-pink);
    font-size: 15px;
    font-weight: 700;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 13px;
    color: var(--gray-700);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-pink); }

.social-wrap {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 10px;
    font-weight: 800;
    transition: background-color 0.2s, color 0.2s;
}

.social-icon:hover {
    background-color: var(--brand-pink);
    color: #ffffff;
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.footer-app-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border-radius: 6px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.footer-app-links a:hover {
    background: var(--brand-pink);
    color: #ffffff;
}

.footer-address {
    margin-top: 28px;
    color: var(--gray-700);
    font-size: 13px;
    line-height: 1.6;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 30px 0 20px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 12px;
    color: var(--gray-500);
}

.payment-gateways {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.payment-gateways img {
    height: 24px;
    object-fit: contain;
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 2px 6px;
}

/* Codex live menu smoothing - 2026-07-04 */
.cat-pill.special-pill {
    display: none !important;
}
.mega-menu-trigger {
    padding-bottom: 10px;
    margin-bottom: -10px;
}
.mega-menu-panel {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0s linear 0.24s;
}
.mega-menu-trigger:hover .mega-menu-panel,
.mega-menu-trigger:focus-within .mega-menu-panel {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s, 0.08s, 0s;
}
/* Codex header redesign 2026-07-04 */
.announce-bar {
    display: none;
}
.bb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    border-top: 2px solid var(--brand-pink);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.bb-header .container {
    max-width: 1240px;
}
.header-row {
    min-height: 48px;
    gap: 16px;
}
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}
.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    display: block;
}
.brand-logo {
    min-width: 190px;
    gap: 10px;
}
.brand-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(255, 26, 88, 0.18);
}
.brand-logo-text {
    font-size: 24px;
    letter-spacing: 0;
}
.brand-logo-text::after {
    content: "K-BEAUTY SOURCE";
    display: block;
    margin-top: 2px;
    color: var(--gray-400);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}
.search-bar-wrap {
    max-width: 520px;
    height: 42px;
    border-color: var(--gray-200);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
    margin-left: auto;
    margin-right: auto;
}
.search-input {
    font-size: 14px;
    color: var(--gray-700);
}
.search-submit {
    background: transparent;
    width: 32px;
    height: 32px;
}
.search-submit svg,
.search-icon-btn svg {
    stroke: var(--gray-500);
}
.search-submit:hover {
    background: var(--gray-100);
}
.header-actions {
    gap: 12px;
}
.skin-analyzer-link {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-pill);
    background: #fff;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
.skin-analyzer-link svg {
    width: 17px;
    height: 17px;
    stroke: var(--brand-pink);
}
.action-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: #fff;
}
.wishlist-icon svg {
    width: 21px;
    height: 21px;
}
.header-actions > .action-icon:last-child {
    background: #fff1f6;
    border-color: #ffd4e2;
    color: var(--brand-pink);
}
.header-actions > .action-icon:last-child svg {
    stroke: var(--brand-pink);
}
.categories-nav {
    border-bottom: 1px solid var(--gray-100);
}
.mobile-bottom-nav {
    display: none;
}
@media (min-width: 769px) {
    .header-actions #accountBtn {
        width: auto;
        min-width: 44px;
        border-radius: var(--border-radius-pill);
        padding: 0 4px;
    }
}
@media (max-width: 768px) {
    body {
        padding-bottom: 74px;
        background: #eefafa;
    }
    .bb-header {
        padding: 8px 0;
        border-top: 0;
        box-shadow: 0 1px 8px rgba(15, 23, 42, 0.05);
    }
    .bb-header .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .header-row {
        min-height: 46px;
        gap: 8px;
        justify-content: flex-start;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 40px;
        order: 0;
    }
    .brand-logo {
        min-width: 0;
        flex: 1 1 auto;
        order: 1;
        gap: 8px;
    }
    .brand-logo-mark {
        width: 24px;
        height: 24px;
        border-radius: 7px;
        font-size: 13px;
    }
    .brand-logo-text {
        font-size: 19px;
    }
    .brand-logo-text::after {
        display: none;
    }
    .search-bar-wrap {
        order: 2;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        max-width: 42px;
        padding: 0;
        border-radius: 50%;
        margin: 0;
        justify-content: center;
    }
    .search-bar-wrap form {
        justify-content: center;
    }
    .search-input,
    .search-icons {
        display: none;
    }
    .search-submit {
        width: 40px;
        height: 40px;
    }
    .header-actions {
        order: 3;
        flex: 0 0 auto;
        gap: 8px;
    }
    .skin-analyzer-link,
    .wishlist-icon,
    .header-actions #accountBtn {
        display: none !important;
    }
    .header-actions .action-icon {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--gray-100);
        border-color: transparent;
    }
    .categories-nav {
        display: none;
    }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        height: 68px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        padding: 6px 8px 8px;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--gray-100);
        box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
    }
    .mobile-bottom-link {
        min-width: 0;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        color: #8b8f98;
        font-size: 10px;
        font-weight: 600;
        text-align: center;
    }
    .mobile-bottom-link svg {
        width: 21px;
        height: 21px;
        stroke: currentColor;
    }
    .mobile-bottom-link:hover,
    .mobile-bottom-link:focus {
        color: var(--brand-pink);
    }
}
/* Codex search and drawer fixes 2026-07-04 */
.search-bar-wrap {
    overflow: visible;
    z-index: 1010;
}
.search-bar-wrap form {
    align-items: center;
}
.search-icons {
    z-index: 2;
}
.search-icon-btn,
.search-submit {
    flex: 0 0 auto;
    opacity: 1 !important;
    visibility: visible !important;
}
.raicraft-image-search-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.raicraft-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    z-index: 1200;
}
.raicraft-search-results.is-open {
    display: block;
}
.raicraft-search-result {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-100);
    background: #fff;
}
.raicraft-search-result:hover {
    background: var(--gray-50);
}
.raicraft-search-result img,
.raicraft-result-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--gray-100);
    flex: 0 0 auto;
}
.raicraft-result-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.raicraft-result-meta strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.raicraft-result-meta em {
    font-style: normal;
    font-size: 12px;
    color: var(--brand-pink);
    font-weight: 700;
}
.raicraft-search-empty,
.raicraft-search-all {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--gray-600, #64748b);
}
.raicraft-search-all {
    color: var(--brand-pink);
    font-weight: 800;
    text-align: center;
}
.raicraft-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 1400;
}
.raicraft-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.raicraft-side-drawer,
.raicraft-category-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(340px, 88vw);
    background: #fff;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    z-index: 1401;
    box-shadow: 20px 0 45px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
}
.raicraft-side-drawer.is-open,
.raicraft-category-drawer.is-open {
    transform: translateX(0);
}
.raicraft-drawer-head {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--gray-100);
}
.raicraft-drawer-head strong {
    font-size: 17px;
}
.raicraft-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--gray-100);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.raicraft-drawer-body,
.raicraft-category-body {
    padding: 10px;
    overflow-y: auto;
}
.raicraft-drawer-body a,
.raicraft-category-body a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 700;
}
.raicraft-drawer-body a:hover,
.raicraft-category-body a:hover {
    background: var(--gray-50);
    color: var(--brand-pink);
}
.raicraft-drawer-active {
    overflow: hidden;
}
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 42px;
    }
    .brand-logo {
        min-width: 170px;
    }
}
@media (max-width: 768px) {
    .raicraft-search-results {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 62px;
        max-height: 70vh;
        overflow-y: auto;
    }
    .search-bar-wrap:focus-within {
        position: static;
    }
}
/* Codex mobile search and footer social fixes 2026-07-04 */
.footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social-links a:hover {
    color: var(--brand-pink);
    border-color: #ffc7d8;
    transform: translateY(-1px);
}
.footer-social-links svg {
    width: 18px;
    height: 18px;
}
@media (max-width: 768px) {
    html,
    body,
    .site-main,
    #page,
    .elementor,
    .woocommerce {
        background: #ffffff !important;
    }
    body {
        background: #ffffff !important;
    }
    .search-bar-wrap.mobile-search-open {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 54px;
        width: auto;
        max-width: none;
        height: 46px;
        padding: 2px 4px 2px 14px;
        border-radius: var(--border-radius-pill);
        z-index: 1600;
        box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
        background: #fff;
    }
    .search-bar-wrap.mobile-search-open form {
        width: 100%;
        justify-content: flex-start;
    }
    .search-bar-wrap.mobile-search-open .search-input,
    .search-bar-wrap.mobile-search-open .search-icons {
        display: flex;
    }
    .search-bar-wrap.mobile-search-open .search-input {
        display: block;
        font-size: 14px;
        padding-right: 72px;
    }
    .search-bar-wrap.mobile-search-open .search-icons {
        right: 46px;
    }
    .search-bar-wrap.mobile-search-open .search-submit {
        width: 38px;
        height: 38px;
    }
    .search-bar-wrap.mobile-search-open .raicraft-search-results {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 106px;
        max-height: 62vh;
        overflow-y: auto;
    }
}

/* Codex category directory and desktop hamburger fixes 2026-07-04 */
@media (min-width: 1025px) {
    .bb-header .mobile-menu-toggle {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bb-header .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 42px;
    }
}

.raicraft-category-directory-page {
    background: #ffffff;
}

.raicraft-category-hero {
    padding: 20px 0 18px;
    border-bottom: 1px solid var(--gray-100);
    background: #ffffff;
}

.raicraft-category-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gray-500);
    font-size: 12px;
}

.raicraft-category-breadcrumb a:hover {
    color: var(--brand-pink);
}

.raicraft-category-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.raicraft-category-kicker {
    margin: 0 0 4px;
    color: var(--brand-pink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.raicraft-category-hero h1 {
    margin: 0;
    color: var(--text-main);
    font-size: 28px;
    line-height: 1.15;
}

.raicraft-category-search {
    position: relative;
    flex: 0 1 360px;
}

.raicraft-category-search input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-pill);
    padding: 0 18px;
    background: #ffffff;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}

.raicraft-category-search input:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 3px rgba(255, 26, 88, 0.08);
}

.raicraft-category-directory {
    padding: 26px 0 72px;
}

.raicraft-category-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.raicraft-category-feature-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.raicraft-category-feature-card:hover {
    border-color: #ffc7d8;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    color: var(--brand-pink);
}

.raicraft-category-image {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}

.raicraft-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.raicraft-category-name {
    min-width: 0;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.raicraft-category-sections {
    display: grid;
    gap: 16px;
}

.raicraft-category-section {
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #ffffff;
}

.raicraft-category-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.raicraft-category-section-head h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.raicraft-category-section-head a {
    color: var(--brand-pink);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.raicraft-category-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.raicraft-category-chip {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-pill);
    padding: 8px 14px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.raicraft-category-chip:hover {
    border-color: #ffc7d8;
    background: #fff5f8;
    color: var(--brand-pink);
}

.raicraft-category-chip-single {
    border-radius: 8px;
}

.raicraft-category-empty {
    padding: 36px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    text-align: center;
    color: var(--gray-500);
}

@media (min-width: 640px) {
    .raicraft-category-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .raicraft-category-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .raicraft-category-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .raicraft-category-hero {
        padding-top: 14px;
    }

    .raicraft-category-breadcrumb {
        margin-bottom: 12px;
    }

    .raicraft-category-hero-row {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .raicraft-category-hero h1 {
        font-size: 24px;
    }

    .raicraft-category-search {
        flex-basis: auto;
    }

    .raicraft-category-feature-card {
        min-height: 82px;
        padding: 10px;
    }

    .raicraft-category-image {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .raicraft-category-name {
        font-size: 13px;
    }

    .raicraft-category-section {
        padding: 15px;
    }
}

/* Codex visual fixes: hero, category cards, cart drawer, product page 2026-07-04 */
.raicraft-glow-hero .hero-banner-wrap {
    position: relative;
    min-height: 360px;
    aspect-ratio: auto;
    border-radius: 0;
    background-image: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 29%, rgba(255,255,255,.32) 58%, rgba(255,255,255,.08) 100%), var(--raicraft-hero-image);
    background-size: cover;
    background-position: center right;
    box-shadow: none;
}
.raicraft-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 70px 18px 64px;
}
.raicraft-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 22px;
    padding: 5px 12px;
    border-radius: var(--border-radius-pill);
    background: var(--brand-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.raicraft-hero-content h1 {
    margin: 0 0 12px;
    color: #1f3327;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
}
.raicraft-hero-content p {
    margin: 0 0 8px;
    color: #344054;
    font-size: 20px;
    font-weight: 500;
}
.raicraft-hero-content strong {
    display: block;
    margin-bottom: 24px;
    color: var(--brand-pink);
    font-size: 18px;
    font-weight: 900;
}
.raicraft-hero-content strong::before,
.raicraft-hero-content strong::after {
    content: "âœ¦";
    margin: 0 7px 0 0;
    color: #14251b;
}
.raicraft-hero-content strong::after {
    margin: 0 0 0 7px;
}
.raicraft-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 24px;
    border-radius: var(--border-radius-pill);
    background: var(--brand-pink);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(255, 26, 88, .22);
}
.raicraft-hero-button:hover {
    color: #fff;
    background: var(--brand-pink-hover);
}
.raicraft-glow-hero .carousel-dots {
    bottom: 14px;
}
.raicraft-glow-hero .dot {
    background: #ffc3d5;
}
.raicraft-glow-hero .dot.active {
    background: var(--brand-pink);
}

.raicraft-category-feature-grid,
.raicraft-category-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.raicraft-category-feature-card,
.raicraft-category-mini-card {
    min-width: 0;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}
.raicraft-category-feature-card:hover,
.raicraft-category-mini-card:hover {
    border-color: #ffc7d8;
    color: var(--brand-pink);
    transform: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}
.raicraft-category-image {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
}
.raicraft-category-name {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}
.raicraft-category-section {
    border-radius: 6px;
}
.raicraft-category-chip,
.raicraft-category-chip-grid {
    display: none;
}

.raicraft-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(15, 23, 42, .22);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.raicraft-cart-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.raicraft-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1601;
    width: min(430px, 100vw);
    background: #fff;
    transform: translateX(104%);
    transition: transform .24s ease;
    box-shadow: -18px 0 50px rgba(15, 23, 42, .16);
    display: flex;
    flex-direction: column;
}
.raicraft-cart-panel.is-open {
    transform: translateX(0);
}
.raicraft-cart-open {
    overflow: hidden;
}
.raicraft-cart-head {
    height: 72px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
}
.raicraft-cart-head strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
}
.raicraft-cart-bag-icon {
    color: var(--brand-pink);
    font-size: 21px;
}
.raicraft-cart-close {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    font-size: 30px;
    cursor: pointer;
}
.raicraft-cart-body {
    padding: 16px;
    overflow-y: auto;
}
.raicraft-cart-item,
.raicraft-cart-summary,
.raicraft-cart-total-box {
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: #fff;
}
.raicraft-cart-item {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    margin-bottom: 44px;
}
.raicraft-cart-thumb img,
.raicraft-cart-thumb span {
    width: 50px;
    height: 50px;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    background: var(--gray-50);
}
.raicraft-cart-item-main strong {
    display: block;
    color: #111827;
    font-size: 13px;
    line-height: 1.25;
}
.raicraft-cart-item-main em {
    display: inline-flex;
    margin-top: 5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff1f6;
    color: var(--brand-pink);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}
.raicraft-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    height: 24px;
    margin-top: 9px;
    padding: 0 8px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
}
.raicraft-cart-qty button {
    border: 0;
    background: transparent;
    color: #98a2b3;
}
.raicraft-cart-item b {
    color: #111827;
    font-size: 14px;
}
.raicraft-cart-section-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.raicraft-cart-section-title em {
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff1f6;
    color: var(--brand-pink);
    font-size: 10px;
    font-style: normal;
}
.raicraft-cart-summary {
    padding: 12px;
    margin-bottom: 12px;
}
.raicraft-cart-summary small {
    color: #98a2b3;
    font-weight: 900;
    text-transform: uppercase;
}
.raicraft-cart-summary p {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 700;
}
.raicraft-cart-summary b,
.raicraft-cart-summary strong {
    color: var(--brand-pink);
}
.raicraft-cart-form {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.raicraft-cart-form input,
.raicraft-cart-form textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 13px 12px;
    font-size: 13px;
    outline: none;
}
.raicraft-cart-form textarea {
    min-height: 54px;
    resize: vertical;
}
.raicraft-cart-form small {
    margin-top: -7px;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 800;
}
.raicraft-cart-total-box {
    padding: 14px;
    margin-bottom: 12px;
    background: #fbfcfe;
}
.raicraft-cart-total-box p {
    display: flex;
    justify-content: space-between;
    margin: 0 0 8px;
    color: #475467;
    font-size: 13px;
}
.raicraft-cart-total-box em {
    display: block;
    margin: 8px 0 12px;
    padding: 5px 9px;
    border-radius: 6px;
    background: #fff1f6;
    color: var(--brand-pink);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}
.raicraft-cart-total-box .raicraft-cart-grand {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}
.raicraft-cart-grand b {
    color: var(--brand-pink);
}
.raicraft-cart-view,
.raicraft-cart-checkout {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.raicraft-cart-view {
    margin-bottom: 12px;
    border: 2px solid var(--brand-pink);
    color: var(--brand-pink);
}
.raicraft-cart-checkout {
    background: var(--brand-pink);
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 26, 88, .18);
}
.raicraft-cart-checkout:hover {
    color: #fff;
}
.floating-whatsapp,
.ai-chat-button,
.ai-floating-button,
[class*="floating-ai"],
[class*="whatsapp-float"] {
    display: none !important;
}

.raicraft-product-topbar {
    border-bottom: 1px solid var(--gray-100);
    background: #fff;
}
.raicraft-product-topbar .container {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.raicraft-back-products,
.raicraft-product-breadcrumb {
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.raicraft-product-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
}
.raicraft-single-product-page {
    margin-top: 32px;
    margin-bottom: 80px;
}
.raicraft-single-product-page div.product {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    gap: 48px;
    padding: 40px;
    border: 1px solid var(--gray-100);
    border-radius: 22px;
    background: #fff;
}
.raicraft-single-product-page .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    border-radius: 18px;
    background: #fbfcfd;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.raicraft-single-product-page .woocommerce-product-gallery img {
    max-height: 360px;
    width: auto;
    object-fit: contain;
    margin: auto;
}
.raicraft-single-product-page .summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}
.raicraft-single-product-page .product_title {
    margin: 28px 0 18px;
    color: #07142f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    text-transform: uppercase;
}
.raicraft-single-product-page .price {
    display: block;
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #ffe1ea;
    border-radius: 16px;
    background: #fffafb;
    color: #07142f !important;
    font-size: 34px !important;
    font-weight: 900;
}
.raicraft-single-product-page .woocommerce-product-details__short-description {
    color: #475467;
    font-size: 15px;
    line-height: 1.55;
}
.raicraft-single-product-page form.cart {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}
.raicraft-single-product-page .single_add_to_cart_button {
    min-height: 46px;
    border-radius: 12px !important;
    background: var(--brand-pink) !important;
    color: #fff !important;
    font-weight: 900 !important;
    text-transform: uppercase;
}
.raicraft-single-product-page .woocommerce-tabs {
    grid-column: 2;
    margin-top: 0;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 0 20px 18px;
}
.raicraft-single-product-page .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 18px !important;
}

@media (max-width: 768px) {
    .raicraft-glow-hero .hero-banner-wrap {
        min-height: 330px;
        background-position: center right;
    }
    .raicraft-hero-content {
        padding: 38px 14px 62px;
        max-width: 310px;
    }
    .raicraft-hero-content p {
        font-size: 15px;
    }
    .raicraft-hero-content strong {
        font-size: 14px;
    }
    .raicraft-category-feature-grid,
    .raicraft-category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .raicraft-product-topbar .container {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .raicraft-product-breadcrumb {
        display: none;
    }
    .raicraft-single-product-page {
        margin-top: 18px;
    }
    .raicraft-single-product-page div.product {
        display: block;
        padding: 16px;
        border-radius: 16px;
    }
    .raicraft-single-product-page .woocommerce-product-gallery {
        min-height: 320px;
        margin-bottom: 24px !important;
    }
    .raicraft-single-product-page .woocommerce-tabs {
        margin-top: 24px;
    }
}

/* Codex category broken-design fix 2026-07-04 */
.raicraft-category-flat-page .raicraft-category-directory {
    padding: 22px 0 72px;
}

.raicraft-category-flat-page .raicraft-category-flat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.raicraft-category-flat-page .raicraft-category-mini-card {
    min-width: 0;
    min-height: 64px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: #ffffff;
    color: var(--text-main);
    box-shadow: none;
    overflow: hidden;
}

.raicraft-category-flat-page .raicraft-category-mini-card:hover {
    border-color: #ffc7d8;
    color: var(--brand-pink);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

.raicraft-category-flat-page .raicraft-category-image {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.raicraft-category-flat-page .raicraft-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.raicraft-category-flat-page .raicraft-category-name {
    min-width: 0;
    display: block;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.raicraft-category-flat-page .raicraft-category-section,
.raicraft-category-flat-page .raicraft-category-sections,
.raicraft-category-flat-page .raicraft-category-feature-grid,
.raicraft-category-flat-page .raicraft-category-card-grid,
.raicraft-category-flat-page .raicraft-category-chip-grid {
    display: none !important;
}

@media (min-width: 640px) {
    .raicraft-category-flat-page .raicraft-category-flat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .raicraft-category-flat-page .raicraft-category-flat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}



/* --- Raicraft final live visibility overrides --- */
body,
.woocommerce-page,
.single-product {
    color: #111827;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bb-header,
.bb-header-container,
.categories-nav,
.nav-wrapper {
    background: #ffffff !important;
    color: #111827 !important;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.site-logo a,
.brand-logo-text,
.header-actions a,
.nav-icon,
.cat-pill,
.mega-menu-list a,
.search-input,
.user-name-span {
    color: #111827 !important;
}

.cat-pill {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    font-weight: 700 !important;
}

.cat-pill:hover,
.cat-pill:focus {
    color: var(--brand-pink) !important;
    border-color: var(--brand-pink) !important;
    background: #fff5f8 !important;
}

.product-single-layout {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 36px;
    align-items: start;
}

.product-gallery,
.product-info-wrap,
.filter-sidebar,
.woocommerce .widget,
.woocommerce div.product div.images,
.woocommerce div.product .summary {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06) !important;
}

.product-gallery,
.product-info-wrap,
.woocommerce div.product div.images,
.woocommerce div.product .summary {
    padding: 24px !important;
}

.main-img-wrap,
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    min-height: 420px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f9fafb !important;
    border-radius: 8px;
    overflow: hidden;
}

.main-img-wrap img,
.woocommerce div.product div.images img {
    width: 100% !important;
    max-height: 520px;
    object-fit: contain !important;
}

.product-single-title,
.woocommerce div.product .product_title {
    color: #111827 !important;
    font-size: clamp(24px, 3vw, 34px) !important;
    line-height: 1.18 !important;
    margin: 10px 0 14px !important;
}

.product-single-meta,
.woocommerce-product-details__short-description,
.accordion-content,
.woocommerce div.product p.stock,
.woocommerce div.product .summary,
.filter-sidebar,
.filter-sidebar label,
.filter-sidebar a,
.filter-sidebar h3,
.filter-sidebar h4 {
    color: #374151 !important;
}

.price-box,
.sale-price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.product-card .price,
.woocommerce ul.products li.product .price {
    color: var(--brand-pink) !important;
    font-weight: 800 !important;
}

.action-box,
.woocommerce div.product form.cart {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    margin-top: 18px !important;
}

.qty-input,
.woocommerce .quantity .qty {
    min-height: 46px !important;
    border: 1px solid #cbd5e1 !important;
    color: #111827 !important;
    background: #ffffff !important;
    font-weight: 700 !important;
}

.btn-buy-now,
.btn-add-bag,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.woocommerce ul.products li.product .button,
a.add_to_cart_button {
    min-height: 46px !important;
    border-radius: 8px !important;
    background-color: var(--brand-pink) !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid var(--brand-pink) !important;
    font-weight: 800 !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-buy-now:hover,
.btn-add-bag:hover,
.single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce ul.products li.product .button:hover,
a.add_to_cart_button:hover {
    background-color: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
}

.product-card,
.woocommerce ul.products li.product,
.products-grid .product-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.05) !important;
}

.product-card a,
.woocommerce ul.products li.product a,
.product-title,
.woocommerce-loop-product__title {
    color: #111827 !important;
}

@media (max-width: 767px) {
    .product-single-layout {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .product-gallery,
    .product-info-wrap,
    .woocommerce div.product div.images,
    .woocommerce div.product .summary {
        padding: 16px !important;
    }

    .main-img-wrap,
    .woocommerce div.product div.images .woocommerce-product-gallery__image {
        min-height: 300px !important;
    }

    .action-box,
    .woocommerce div.product form.cart {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .qty-input,
    .woocommerce .quantity .qty,
    .btn-buy-now,
    .single_add_to_cart_button,
    .woocommerce button.button.alt {
        width: 100% !important;
    }
}
