:root {
    --bg: #090c14;
    --panel: rgba(13, 20, 38, 0.72);
    --soft: rgba(255, 255, 255, 0.08);
    --text: #f6f1ea;
    --muted: #c0c4d6;
    --accent: #f3b36b;
    --accent-2: #8fe0d0;
    --danger: #f17b7b;
    --success: #87d7a2;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(243, 179, 107, 0.14), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(143, 224, 208, 0.18), transparent 22%),
        linear-gradient(135deg, #080b13 0%, #131a2f 55%, #0a0e17 100%);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, textarea, select, button {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font: inherit;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(243, 179, 107, 0.52);
    background: rgba(16, 23, 38, 0.92);
    box-shadow: 0 0 0 3px rgba(243, 179, 107, 0.12);
}
input::placeholder,
textarea::placeholder {
    color: rgba(192, 196, 214, 0.82);
}
select,
option {
    color: #f6f1ea;
    background: #11182a;
}
button { cursor: pointer; }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #121a2c inset;
    transition: background-color 9999s ease-in-out 0s;
}
.variant-option{
    display:block;
}

.variant-option input{
    display:none;
}

.variant-box{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    padding:10px !important;
}

.variant-box img{
    width:45px !important;
    height:45px !important;
    max-width:45px !important;
    min-width:45px !important;
    flex:none !important;
    object-fit:cover !important;
}

.site-header, .site-footer, .section, .page-hero, .hero, .admin-main {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(9, 12, 20, 0.32);
}

.brand {
    display: inline-flex;
    gap: 14px;
    align-items: center;
}
.variant-selector{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:14px;
}

.variant-option{
    width:auto;
}

.variant-option input{
    display:none;
}

.variant-box{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:14px;
    cursor:pointer;
    background:rgba(255,255,255,0.05);
    min-width:170px;
    transition:all .25s ease;
}

.variant-box:hover{
    border-color:var(--accent);
    transform:translateY(-2px);
    background:rgba(255,255,255,0.08);
}

.variant-option input:checked + .variant-box{
    border:2px solid var(--accent);
    background:rgba(243,179,107,0.12);
    box-shadow:0 0 0 3px rgba(243,179,107,0.08);
}

.variant-box strong{
    font-size:14px;
    line-height:1.4;
}

.variant-box small{
    opacity:.75;
    font-size:12px;
}
.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(243, 179, 107, 0.92), rgba(143, 224, 208, 0.84));
    color: #10131a;
    font-weight: 700;
    box-shadow: var(--shadow);
}
.brand-logo-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    overflow: hidden;
}
.brand small { display: block; color: var(--muted); margin-top: 4px; }

.site-nav, .admin-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.site-nav a, .admin-nav a {
    padding: 10px 16px;
    border: 1px solid transparent;
    transition: 200ms ease;
}
.site-nav a:hover, .admin-nav a:hover, .pill-link {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.hero, .product-page, .contact-grid, .checkout-grid, .admin-section.split {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero {
    padding: 56px 0 32px;
    align-items: center;
    min-height: 78vh;
}
.hero h1, .page-hero h1, .product-detail h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    margin: 0 0 18px;
}
.hero p, .page-hero p, .lead {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}
.eyebrow {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent-2);
    margin-bottom: 16px;
}

.hero-actions, .hero-stats, .price-row, .checkout-bar, .summary-row, .form-split {
    display: flex;
    gap: 14px;
    align-items: center;
}
.hero-stats { margin-top: 26px; flex-wrap: wrap; }
.hero-stats article, .info-panel, .glass-card, .metric-card, .table-card, .product-card {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
}
.hero-stats article, .metric-card {
    padding: 18px;
    border-radius: 24px;
    min-width: 180px;
}
.hero-stats span, .metric-card span { display: block; color: var(--muted); margin-top: 8px; }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ffd7a0);
    color: #11131a;
    font-weight: 700;
}
.btn-secondary {
    background: linear-gradient(135deg, var(--accent-2), #d3fff5);
    color: #10131a;
    font-weight: 700;
}
.btn-ghost { background: rgba(255, 255, 255, 0.04); }
.btn-small { padding: 10px 16px; width: auto; }

.hero-visual {
    position: relative;
    min-height: 520px;
    perspective: 1200px;
}
.floating-card, .glass-sphere, .planet-ring {
    position: absolute;
    animation: floaty 8s ease-in-out infinite;
}
.floating-card {
    top: 8%;
    right: 8%;
    width: 290px;
    padding: 28px;
    border-radius: 28px;
    transform: rotateY(-18deg) rotateX(8deg);
}
.planet-ring {
    inset: 15% 16%;
    border-radius: 50%;
    border: 1px solid rgba(243, 179, 107, 0.42);
    box-shadow: inset 0 0 40px rgba(143, 224, 208, 0.2);
}
.glass-sphere {
    inset: auto auto 8% 12%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.45), rgba(143, 224, 208, 0.22), rgba(243, 179, 107, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.section, .page-hero { padding: 36px 0; }
.compact { padding-top: 54px; }
.section-heading { max-width: 760px; margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0; }

.product-grid, .panel-grid, .metric-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card, .info-panel, .glass-card, .table-card, .metric-card {
    border-radius: 30px;
    overflow: hidden;
}
.product-card { align-self: start; }
.product-card img { height: 210px; width: 100%; object-fit: contain; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
.product-media img { width: 100%; border-radius: 30px; object-fit: cover; }
.product-page {
    align-items: start;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}
.product-detail h1 {
    font-size: clamp(1.35rem, 2vw, 2.15rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 18ch;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    max-height: calc(1em * 1.06 * 3);
    margin-bottom: 12px;
}
.product-main-image {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 0.95 / 1;
    padding: 0;
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(180deg, rgba(8, 11, 19, 0.9), rgba(13, 20, 38, 0.72));
}
.product-thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
}
.product-collage {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
    align-items: stretch;
}
.product-thumb {
    padding: 0;
    min-height: 84px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}
.product-thumb img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
}
.product-option-block {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}
.product-actions-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.product-description {
    margin-top: 22px;
    color: var(--muted);
}
.product-story-card {
    padding: 8px;
}
.product-card-media {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 0;
}
.product-card-overlay {
    position: absolute;
    inset: auto 24px 18px 24px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: 220ms ease;
    align-items: center;
}
.product-card-overlay .btn {
    background: rgba(9, 12, 20, 0.82);
    color: #f6f1ea;
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
}
.product-card-overlay .btn.btn-ghost {
    background: linear-gradient(135deg, var(--accent), #ffd7a0);
    color: #11131a;
    border-color: transparent;
}
.product-card:hover .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.product-card-cart-form {
    width: auto;
    margin: 0;
}
.product-card-cart-form button {
    width: auto;
}
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: grid;
    place-items: center;
    background: rgba(6, 10, 18, 0.88);
    backdrop-filter: blur(18px);
    padding: 24px;
}
.product-lightbox-image {
    width: min(960px, 92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.product-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: auto;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}
.prose-content p,
.prose-content li {
    line-height: 1.8;
}
.prose-content img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 22px;
    margin: 18px 0;
    border: 1px solid rgba(255,255,255,0.08);
}
.prose-content ul,
.prose-content ol {
    padding-left: 22px;
}
.prose-content table {
    display: block;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}
.product-content, .info-panel, .glass-card, .table-card, .metric-card {
    padding: 24px;
}
.product-content {
    padding-top: 18px;
}
.product-content h3 {
    margin: 6px 0 10px;
    font-size: 1.05rem;
    line-height: 1.3;
    min-height: 2.6em;
}
.product-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--muted);
    min-height: 4.8em;
}
.product-content .social-proof {
    margin: 10px 0 14px;
}
.product-content .price-row strong {
    font-size: 1.2rem;
}
.tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(143, 224, 208, 0.12);
    border: 1px solid rgba(143, 224, 208, 0.22);
    color: var(--accent-2);
    margin-bottom: 14px;
}
.price-row { justify-content: space-between; }
.price-row small { color: var(--muted); text-decoration: line-through; }
.large strong { font-size: 2rem; }

.filter-bar, .contact-form, .mini-form {
    display: grid;
    gap: 14px;
}
.filter-bar {
    max-width: 880px;
    margin: 0;
    justify-items: start;
    grid-template-columns: minmax(0, 1fr);
}
.filter-bar input,
.filter-bar select,
.filter-bar button {
    width: 100%;
}
.filter-bar .btn-primary {
    width: auto;
    min-width: 160px;
    justify-self: start;
}
.inline-form { display: flex; gap: 12px; align-items: center; margin: 22px 0; }
.inline-form input { width: 110px; }
.seo-chip-box { display: flex; gap: 10px; flex-wrap: wrap; }
.social-proof {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 16px;
}
.social-proof span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.92rem;
}
.social-proof.big span {
    font-size: 1rem;
    padding: 10px 14px;
}
.seo-chip-box span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--muted);
}

table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.checkout-bar, .summary-row { justify-content: space-between; padding-top: 18px; }
.cart-pay-box {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.cart-pay-btn {
    width: 100%;
    min-height: 56px;
    font-size: 1rem;
}
.payment-panel { margin-top: 22px; color: var(--muted); line-height: 1.8; }
.paypal-live-box {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(243, 179, 107, 0.12);
    background: linear-gradient(180deg, rgba(26, 21, 12, 0.78), rgba(18, 14, 9, 0.92));
}
.paypal-card-box {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(243, 179, 107, 0.12);
    background: rgba(255, 255, 255, 0.03);
}
.paypal-live-box h4 {
    margin: 0;
}
.payment-button-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payment-button-grid .btn {
    min-height: 54px;
}
.paypal-card-box-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}
.card-fields-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-fields-grid.tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card-field-wrap {
    display: grid;
    gap: 8px;
}
.card-field-wrap.full {
    grid-column: 1 / -1;
}
.paypal-field-container {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(14, 20, 36, 0.96);
    padding: 14px 16px;
}
.tracking-status-box {
    margin: 18px 0;
    display: grid;
    gap: 10px;
}
.tracking-chip {
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: capitalize;
}
.tracking-chip.pending { background: rgba(255, 214, 102, 0.14); color: #ffd666; }
.tracking-chip.processing { background: rgba(143, 224, 208, 0.14); color: #8fe0d0; }
.tracking-chip.on_the_way { background: rgba(132, 181, 255, 0.14); color: #84b5ff; }
.tracking-chip.delivered,
.tracking-chip.completed { background: rgba(135, 215, 162, 0.14); color: #87d7a2; }
.tracking-chip.cancelled { background: rgba(241, 123, 123, 0.14); color: #f17b7b; }
#paypal-button-container,
#paypal-card-button-container {
    min-height: 50px;
}
.custom-icon {
    background-size: cover !important;
    border-radius: 50%;
}
.hint { color: var(--muted); }
.break-anywhere {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.inline-flash {
    width: 100%;
    margin: 0 0 6px;
}
.check-line { display: flex; gap: 12px; align-items: center; }
.check-line input { width: auto; }

.flash {
    width: min(1180px, calc(100% - 32px));
    margin: 12px auto 0;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
}
.flash.success { background: rgba(135, 215, 162, 0.15); border-color: rgba(135, 215, 162, 0.35); }
.flash.error { background: rgba(241, 123, 123, 0.12); border-color: rgba(241, 123, 123, 0.35); }

.assistant-shell {
    position: fixed !important;
    right: 18px !important;
    bottom: 100px !important;
    z-index: 9998 !important;
    width: 64px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    overflow: visible !important;
}
.assistant-toggle {
    width: 64px !important;
    height: 64px !important;
    margin-left: auto !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 28% 26%, rgba(255,255,255,0.58), transparent 30%),
        radial-gradient(circle at 72% 78%, rgba(255,255,255,0.12), transparent 28%),
        linear-gradient(145deg, #ffd79f, #f2b365 58%, #ca8744);
    color: #12151b !important;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26), inset 0 2px 6px rgba(255,255,255,0.28);
    animation: floatBubble 3.8s ease-in-out infinite;
    position: relative;
    border: 1px solid rgba(255,255,255,0.28) !important;
    cursor: pointer !important;
}
.assistant-toggle-custom,
.whatsapp-float-custom {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.assistant-toggle-custom::after,
.whatsapp-float-custom::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.28));
}
.assistant-toggle-custom .assistant-toggle-icon,
.whatsapp-float-custom .whatsapp-float-icon {
    display: none !important;
}
.assistant-toggle-custom .assistant-toggle-text,
.whatsapp-float-custom .whatsapp-float-text {
    width: 52px;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(8, 12, 20, 0.62);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.54rem;
    line-height: 1.1;
}
.assistant-toggle::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(255,211,153,0.18);
    opacity: 0.85;
}
.assistant-toggle-pulse,
.whatsapp-float-pulse {
    display: none;
}
.assistant-toggle::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}
.assistant-toggle-icon,
.whatsapp-float-icon {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0 auto 2px;
    position: relative;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.assistant-toggle-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2312151b' d='M12 2C6.48 2 2 5.94 2 10.8c0 2.72 1.42 5.15 3.64 6.73L4.8 22l4.38-2.18c.9.2 1.84.31 2.82.31 5.52 0 10-3.94 10-8.8S17.52 2 12 2Zm-3.2 7.4a1.2 1.2 0 1 1 0-2.4 1.2 1.2 0 0 1 0 2.4Zm3.2 0a1.2 1.2 0 1 1 0-2.4 1.2 1.2 0 0 1 0 2.4Zm3.2 0a1.2 1.2 0 1 1 0-2.4 1.2 1.2 0 0 1 0 2.4Z'/%3E%3C/svg%3E");
}
.whatsapp-float-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M16.03 3C8.84 3 3 8.7 3 15.73c0 2.46.72 4.83 2.08 6.86L3.7 29l6.67-1.72a13.2 13.2 0 0 0 5.66 1.27h.01C23.2 28.55 29 22.85 29 15.82 29 8.78 23.21 3 16.03 3Zm7.62 18.34c-.32.9-1.88 1.72-2.6 1.82-.67.09-1.52.13-2.46-.17-.57-.18-1.29-.42-2.23-.81-3.92-1.63-6.47-5.44-6.66-5.7-.19-.27-1.59-2.08-1.59-3.97 0-1.89.99-2.82 1.34-3.2.35-.37.76-.46 1.02-.46.26 0 .51 0 .73.01.24.01.56-.09.88.68.32.77 1.09 2.66 1.19 2.85.1.19.16.41.03.67-.13.26-.19.41-.38.63-.19.22-.4.5-.57.67-.19.19-.39.4-.17.79.22.38.97 1.58 2.08 2.56 1.43 1.26 2.64 1.64 3.02 1.83.38.19.6.16.82-.09.22-.25.95-1.08 1.2-1.45.25-.37.51-.31.85-.19.35.12 2.18 1.02 2.56 1.2.38.19.63.28.72.44.09.16.09.93-.22 1.83Z'/%3E%3C/svg%3E");
}
.assistant-toggle-text {
    width: 46px;
    text-align: center;
    font-size: 0.58rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.14);
    position: relative;
    z-index: 1;
}
.assistant-panel {
    margin-top: 12px;
    margin-left: auto;
    background: rgba(10, 16, 28, 0.94);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    width: min(360px, calc(100vw - 24px));
    position: relative;
    right: 0;
}
.assistant-shell.assistant-open {
    width: min(360px, calc(100vw - 24px)) !important;
}
.assistant-head,
.assistant-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.assistant-messages {
    max-height: 260px;
    overflow: auto;
    display: grid;
    gap: 10px;
    margin: 14px 0;
}
.assistant-bubble {
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.5;
}
.assistant-bubble-bot {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}
.assistant-bubble-user {
    background: rgba(143, 224, 208, 0.14);
    color: var(--text);
    justify-self: end;
}
.assistant-chip {
    width: auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}
.assistant-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}
.whatsapp-float {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 9999 !important;
    width: 64px !important;
    height: 64px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background:
        radial-gradient(circle at 28% 26%, rgba(255,255,255,0.5), transparent 30%),
        radial-gradient(circle at 72% 78%, rgba(255,255,255,0.12), transparent 28%),
        linear-gradient(145deg, #34e07f, #1fbf75 58%, #129355);
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), inset 0 2px 6px rgba(255,255,255,0.22);
    animation: floatBubble 4.2s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.16) !important;
    text-decoration: none !important;
    overflow: hidden;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(52,224,127,0.2);
}
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent);
}
.assistant-toggle,
.whatsapp-float {
    isolation: isolate;
}
.assistant-toggle:before,
.assistant-toggle:after,
.whatsapp-float:before,
.whatsapp-float:after {
    z-index: 0;
}
.assistant-toggle {
    overflow: visible;
}
.assistant-toggle .assistant-toggle-icon,
.assistant-toggle .assistant-toggle-text,
.whatsapp-float .whatsapp-float-icon,
.whatsapp-float .whatsapp-float-text {
    z-index: 1;
}
.assistant-toggle:focus-visible,
.whatsapp-float:focus-visible {
    outline: 2px solid rgba(255,255,255,0.4);
    outline-offset: 4px;
}
.assistant-toggle .assistant-toggle-icon {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}
.whatsapp-float .whatsapp-float-icon {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}
.assistant-toggle::before,
.whatsapp-float::before {
    animation: pulseRing 2.4s ease-out infinite;
}
.whatsapp-float-text {
    width: 46px;
    text-align: center;
    font-size: 0.58rem;
    line-height: 1.05;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,255,0.16);
    position: relative;
    z-index: 1;
}

.site-footer {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 42px 0 70px;
    color: var(--muted);
}

.login-body, .admin-body { background: linear-gradient(135deg, #081018, #11182a 60%, #070a12); }
.login-card {
    width: min(520px, calc(100% - 32px));
    margin: 10vh auto;
    padding: 32px;
    border-radius: 34px;
}
.admin-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    font-size: 14px;
}
.admin-sidebar {
    min-height: 100vh;
    border-right: 1px solid var(--border);
    padding: 22px;
    background: rgba(8, 12, 20, 0.94);
    position: sticky;
    top: 0;
}
.admin-brand { margin-bottom: 20px; }
.admin-nav { flex-direction: column; gap: 8px; }
.admin-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.95rem;
}
.admin-main { padding: 22px 0 48px; }
.admin-main .flash {
    width: 100%;
}
.admin-body input,
.admin-body textarea,
.admin-body select,
.login-body input,
.login-body textarea,
.login-body select {
    background: rgba(14, 20, 36, 0.96);
    color: var(--text);
}
.admin-body table select {
    min-width: 132px;
}
.settings-stack {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.settings-image-preview {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}
.logo-preview {
    width: 88px;
    height: 88px;
    border-radius: 22px;
}
.admin-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.admin-header p,
.table-card,
.glass-card,
.metric-card,
.admin-body td,
.admin-body th,
.admin-body input,
.admin-body textarea,
.admin-body select,
.admin-body button {
    font-size: 0.94rem;
}
.admin-section, .metric-grid, .admin-header { margin-bottom: 24px; }
.split.wide-left { grid-template-columns: 1.1fr 1fr; }
.table-card {
    overflow-x: auto;
}
.table-card table {
    min-width: 860px;
}
.mini-form {
    align-items: start;
}
.mini-form input,
.mini-form select,
.mini-form textarea,
.mini-form button {
    width: 100%;
}
.mini-form textarea {
    min-width: 240px;
    resize: vertical;
}
.payment-panel p {
    margin: 0 0 8px;
}
.metric-card strong {
    font-size: 1.6rem;
}
.admin-product-list,
.admin-contact-list {
    display: grid;
    gap: 16px;
}
.admin-products-toolbar,
.admin-products-toolbar-actions,
.admin-products-bulk-row,
.admin-products-delete-all {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.admin-products-mode-switch {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-editor-shell {
    display: grid;
    gap: 18px;
}
.admin-editor-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-editor-tab {
    width: auto;
    padding: 12px 18px;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
}
.admin-editor-tab.is-active {
    background: rgba(243, 179, 107, 0.14);
    border-color: rgba(243, 179, 107, 0.24);
    color: var(--text);
}
.admin-editor-panel {
    display: grid;
    gap: 14px;
}
.admin-products-toolbar {
    margin-bottom: 18px;
}
.admin-products-bulk-row {
    margin-top: 18px;
    justify-content: flex-start;
}
.admin-products-delete-all {
    margin-top: 12px;
    justify-content: flex-start;
}
.admin-chat-list {
    display: grid;
    gap: 18px;
}
.admin-inbox-item {
    padding: 0;
    overflow: hidden;
}
.admin-inbox-summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.admin-inbox-summary::-webkit-details-marker {
    display: none;
}
.admin-inbox-primary,
.admin-inbox-secondary {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.admin-inbox-secondary {
    justify-content: flex-end;
}
.admin-inbox-item[open] .admin-inbox-summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-chat-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 28px;
}
.admin-chat-sidebar {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-chat-sidebar strong {
    font-size: 1rem;
}
.admin-chat-sidebar p {
    margin: 6px 0 0;
}
.admin-chat-meta {
    display: grid;
    gap: 10px;
}
.admin-chat-thread {
    display: grid;
    gap: 16px;
}
.admin-chat-messages {
    display: grid;
    gap: 12px;
    max-height: 440px;
    overflow: auto;
    padding-right: 6px;
}
.admin-chat-bubble {
    max-width: 84%;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-chat-bubble-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.admin-chat-bubble-top small {
    color: var(--muted);
}
.admin-chat-bubble p {
    margin: 0;
    line-height: 1.6;
}
.admin-chat-bubble-customer {
    justify-self: start;
    background: rgba(255, 255, 255, 0.05);
}
.admin-chat-bubble-admin {
    justify-self: end;
    background: rgba(243, 179, 107, 0.12);
    border-color: rgba(243, 179, 107, 0.18);
}
.admin-chat-actions {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-chat-reply-form {
    display: grid;
    gap: 12px;
}
.admin-chat-button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-delete-thread {
    max-width: 240px;
}
.admin-item-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}
.admin-product-thumb {
    width: 56px;
    height: 56px;
    margin: 10px 0 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
.admin-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-product-form-preview {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    max-width: 420px;
}
.admin-product-form-preview img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
}
.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
}
.admin-media-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
.admin-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-video-list {
    display: grid;
    gap: 10px;
}
.admin-field {
    display: grid;
    gap: 8px;
}
.admin-field-label {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-2);
}
.admin-field-note {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}
.admin-field-editor textarea {
    min-height: 170px;
    line-height: 1.7;
}
.admin-variant-list {
    display: grid;
    gap: 14px;
}
.admin-variant-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) minmax(220px, 320px);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.admin-variant-card img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
}
.admin-variant-meta {
    display: grid;
    gap: 4px;
}
.admin-variant-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.admin-item-top {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.admin-item-content p {
    margin: 8px 0 0;
}
.admin-item-action {
    min-width: 130px;
    align-content: start;
}
.admin-item-action .btn {
    width: 100%;
}
.admin-contact-card {
    padding: 20px;
    border-radius: 26px;
}
.admin-contact-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    flex-wrap: wrap;
}
.admin-contact-head p {
    margin: 6px 0 0;
}
.admin-contact-card details {
    margin-top: 14px;
}
.admin-contact-card summary {
    cursor: pointer;
    color: var(--accent-2);
    font-weight: 700;
}
.admin-contact-body {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 18px;
    margin-top: 16px;
}
.admin-contact-message,
.admin-contact-actions {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-contact-message h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
}
.admin-contact-message p {
    margin: 0;
    line-height: 1.65;
}
.cart-update-hidden {
    display: none;
}

.bg-orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
}
.orb-a { top: -140px; left: -120px; background: rgba(243, 179, 107, 0.16); }
.orb-b { right: -120px; bottom: -160px; background: rgba(143, 224, 208, 0.12); }

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotateY(-18deg) rotateX(8deg); }
    50% { transform: translateY(-18px) rotateY(-10deg) rotateX(2deg); }
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.94);
        opacity: 0.75;
    }
    70% {
        transform: scale(1.14);
        opacity: 0;
    }
    100% {
        transform: scale(1.14);
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .hero, .product-page, .contact-grid, .checkout-grid, .admin-section.split, .site-footer, .product-grid, .panel-grid, .metric-grid, .admin-body {
        grid-template-columns: 1fr;
    }
    .product-collage {
        grid-template-columns: 1fr;
    }
    .site-header { position: static; flex-direction: column; gap: 18px; }
    .admin-sidebar { position: static; min-height: auto; }
    .hero h1, .page-hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
    .product-detail h1 {
        font-size: clamp(1.3rem, 6vw, 1.85rem);
        max-width: 100%;
        line-height: 1.08;
        max-height: calc(1em * 1.08 * 3);
    }
    .floating-card, .planet-ring, .glass-sphere { animation: none; }
    .hero-visual { min-height: 360px; }
    .product-card img { height: 180px; }
    .product-thumb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-header, .site-footer, .section, .page-hero, .hero, .admin-main {
        width: min(1180px, calc(100% - 24px));
    }
    .filter-bar {
        max-width: 100%;
    }
    .filter-bar .btn-primary {
        width: auto;
        min-width: 0;
    }
    .card-fields-grid {
        grid-template-columns: 1fr;
    }
    .payment-button-grid {
        grid-template-columns: 1fr;
    }
    .admin-item-card,
    .admin-contact-body,
    .admin-chat-card,
    .admin-variant-card {
        grid-template-columns: 1fr;
    }
    .admin-variant-prices {
        grid-template-columns: 1fr;
    }
    .admin-inbox-summary {
        align-items: flex-start;
    }
    .admin-inbox-secondary {
        justify-content: flex-start;
    }
    .admin-chat-bubble {
        max-width: 100%;
    }
    .assistant-shell {
        right: 10px !important;
        bottom: 82px !important;
        width: 58px !important;
    }
    .whatsapp-float {
        right: 10px !important;
        bottom: 10px !important;
        width: 58px !important;
        height: 58px !important;
    }
}

@media (min-width: 981px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .filter-bar {
        grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr) auto;
        align-items: end;
    }
}

@media (hover: none) {
    .hero-stats article, .info-panel, .glass-card, .metric-card, .table-card, .product-card {
        backdrop-filter: blur(14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .floating-card, .glass-sphere, .planet-ring {
        animation: none !important;
    }
    .assistant-toggle,
    .whatsapp-float {
        animation: none !important;
    }
}
