:root {
    --primary: hsl(24 85% 55%);
    --warm-pink: hsl(330 75% 55%);
    --bg-primary: hsl(40 20% 98%);
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --foreground: hsl(220 20% 10%);
    --accent: hsl(24 70% 95%);

    --text-primary: var(--foreground);
    --text-secondary: hsl(220 16% 36%);
    --text-muted: hsl(220 12% 48%);

    --border-color: hsl(24 26% 86%);
    --border-light: hsl(24 26% 91%);

    --accent-purple: var(--primary);
    --accent-pink: var(--warm-pink);
    --accent-blue: hsl(204 80% 48%);
    --accent-green: hsl(146 74% 36%);
    --accent-red: hsl(0 70% 50%);
    --accent-yellow: hsl(39 94% 52%);

    --white: #ffffff;
    --black: #ffffff;

    --gray-50: hsl(30 20% 98%);
    --gray-100: hsl(30 25% 96%);
    --gray-200: hsl(30 24% 92%);
    --gray-300: hsl(28 20% 84%);
    --gray-400: hsl(217 11% 62%);
    --gray-500: hsl(217 10% 52%);
    --gray-600: hsl(217 14% 40%);
    --gray-700: hsl(217 16% 30%);
    --gray-800: hsl(30 30% 95%);
    --gray-900: #ffffff;

    --brand-gradient: linear-gradient(135deg, #E8772E 0%, #D93B8B 100%);
    --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #1eae56 100%);

    --shadow-sm: 0 2px 8px rgba(17, 26, 39, 0.06);
    --shadow-md: 0 10px 24px rgba(17, 26, 39, 0.1);
    --shadow-lg: 0 16px 34px rgba(17, 26, 39, 0.12);
    --shadow-xl: 0 28px 56px rgba(17, 26, 39, 0.2);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --nav-height: 84px;
    --container-width: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: radial-gradient(circle at 10% -15%, rgba(232, 119, 46, 0.14), transparent 36%),
                radial-gradient(circle at 100% 10%, rgba(217, 59, 139, 0.1), transparent 34%),
                var(--bg-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    left: 14px;
    top: -44px;
    background: var(--brand-gradient);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 12px;
    z-index: 500;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 320;
    background: rgba(252, 250, 248, 0.94);
    border-bottom: 1px solid rgba(232, 119, 46, 0.15);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(252, 250, 248, 0.98);
}

.nav-shell {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 0 18px;
}

.nav-main {
    min-height: var(--nav-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-fallback {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.56rem;
    font-weight: 700;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.brand-badge {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.98rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 2px;
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: center;
    background: var(--brand-gradient);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(232, 119, 46, 0.12);
    color: var(--primary);
}

.desktop-search {
    position: relative;
}

.search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(390px, calc(100vw - 24px));
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.2s ease;
}

.search-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--accent);
    padding: 0 10px;
}

.search-icon {
    color: var(--text-muted);
}

.search-input {
    border: 0;
    background: transparent;
    width: 100%;
    height: 42px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.96rem;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
}

.clear-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: rgba(17, 26, 39, 0.08);
    color: var(--text-secondary);
}

.search-results {
    max-height: 320px;
    overflow-y: auto;
    margin-top: 8px;
}

.search-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 20px 10px;
}

.search-result-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    text-decoration: none;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background: var(--gray-100);
}

.result-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-fallback {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.result-name {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.result-meta {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.result-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.86rem;
    white-space: nowrap;
}

.search-helper-link {
    display: block;
    margin: 6px 4px;
    border: 1px dashed var(--border-color);
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.86rem;
    padding: 12px;
}

.search-helper-link strong {
    color: var(--primary);
}

.cart-toggle-btn {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    right: -2px;
    top: -2px;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    padding: 0 5px;
    font-size: 0.7rem;
    line-height: 18px;
    text-align: center;
    background: var(--brand-gradient);
    color: var(--white);
    font-weight: 700;
    display: none;
}

.cart-count-badge.show {
    display: inline-block;
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 4px;
}

.mobile-search-wrap {
    display: none;
    padding-bottom: 12px;
}

.mobile-search-wrap.show {
    display: block;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border-light);
    padding: 10px 0 14px;
}

.mobile-menu.show {
    display: block;
}

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.98rem;
    border-radius: 10px;
    padding: 11px 10px;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background: rgba(232, 119, 46, 0.1);
}

.main-content {
    min-height: calc(100vh - 360px);
    padding-top: var(--nav-height);
}

.footer {
    margin-top: 72px;
    background: hsl(220 22% 12%);
    color: hsl(220 22% 88%);
}

.footer-shell {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 64px 18px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.footer-brand-title {
    font-size: 1.76rem;
    margin-bottom: 14px;
}

.footer-brand-title span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(232, 119, 46, 0.95);
}

.footer-description {
    max-width: 330px;
    color: hsl(216 22% 72%);
    font-size: 0.93rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(232, 119, 46, 1);
    background: rgba(232, 119, 46, 0.14);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: hsl(220 22% 12%);
    background: rgba(232, 119, 46, 1);
}

.footer-title {
    color: var(--white);
    font-size: 1.06rem;
    margin-bottom: 12px;
}

.footer-link,
.footer-item,
.footer-contact-link {
    display: block;
    text-decoration: none;
    color: hsl(216 22% 72%);
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: rgba(232, 119, 46, 1);
}

.footer-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.footer-contact-link i {
    margin-top: 2px;
    color: rgba(232, 119, 46, 1);
    width: 15px;
}

.address-line {
    cursor: pointer;
}

.address-line:hover {
    color: rgba(232, 119, 46, 1);
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(216, 228, 236, 0.16);
    text-align: center;
    color: hsl(216 18% 62%);
    font-size: 0.84rem;
}

.footer-bottom p {
    margin: 0 0 8px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-credit {
    font-size: 0.82rem;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(216, 228, 236, 0.12);
    color: hsl(216 18% 68%);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.footer-credit a {
    display: inline-block;
    margin-left: 4px;
    color: hsl(210 25% 92%);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-credit a:hover {
    color: rgba(232, 119, 46, 1);
    border-bottom-color: rgba(232, 119, 46, 0.55);
    text-decoration: none;
}

.cart-overlay,
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 26, 39, 0.46);
    backdrop-filter: blur(2px);
    z-index: 410;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cart-overlay.show,
.checkout-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: min(100%, 430px);
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    z-index: 430;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 16px;
    border-bottom: 1px solid var(--border-light);
}

.cart-header h3 {
    font-size: 1.22rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header h3 i {
    color: var(--primary);
}

.cart-header-count {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-empty {
    margin: auto 0;
    text-align: center;
    padding: 24px;
}

.cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--primary);
    font-size: 1.8rem;
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.link-btn {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: none;
}

.cart-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 10px;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.cart-item-image {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    object-fit: cover;
    background: var(--gray-100);
}

.cart-item-name {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.91rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.86rem;
}

.cart-item-controls {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-btn,
.cart-remove-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-qty-btn {
    background: var(--accent);
    color: var(--text-primary);
}

.cart-qty-btn:hover {
    background: rgba(232, 119, 46, 0.16);
    color: var(--primary);
}

.cart-remove-btn {
    margin-left: auto;
    background: rgba(217, 59, 139, 0.08);
    color: var(--warm-pink);
}

.cart-remove-btn:hover {
    background: rgba(217, 59, 139, 0.18);
}

.cart-qty-text {
    width: 22px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-footer {
    border-top: 1px solid var(--border-light);
    padding: 14px;
    display: none;
    background: var(--bg-secondary);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.cart-total-row strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.checkout-btn {
    width: 100%;
}

.checkout-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    width: min(92vw, 560px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: var(--shadow-xl);
    transform: translate(-50%, -50%) scale(0.96);
    z-index: 450;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.checkout-modal,
.cart-items {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--accent);
}

.checkout-modal::-webkit-scrollbar,
.cart-items::-webkit-scrollbar {
    width: 10px;
}

.checkout-modal::-webkit-scrollbar-track,
.cart-items::-webkit-scrollbar-track {
    background: var(--accent);
    border-radius: 10px;
}

.checkout-modal::-webkit-scrollbar-thumb,
.cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--warm-pink));
    border-radius: 10px;
    border: 2px solid var(--accent);
}

.checkout-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-close {
    position: absolute;
    right: 12px;
    top: 12px;
}

.checkout-head h3 {
    font-size: 1.85rem;
    margin-bottom: 4px;
}

.checkout-head p {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 14px;
}

.checkout-summary {
    background: var(--accent);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
}

.checkout-summary-title {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.checkout-summary-item span:first-child {
    color: var(--text-secondary);
}

.checkout-summary-item span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.checkout-summary-total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(17, 26, 39, 0.12);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.checkout-summary-total span:last-child {
    color: var(--primary);
}

.checkout-form .form-group {
    margin-bottom: 10px;
}

.checkout-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.required {
    color: var(--warm-pink);
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.checkout-success {
    text-align: center;
    display: none;
    padding: 14px 4px 8px;
}

.checkout-success.open {
    display: block;
}

.success-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.checkout-success h3 {
    font-size: 1.78rem;
    margin-bottom: 6px;
}

.checkout-success p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.site-toast-wrap {
    position: fixed;
    top: 98px;
    right: 16px;
    z-index: 520;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-toast {
    min-width: 260px;
    max-width: 340px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.site-toast.error {
    border-color: rgba(217, 59, 139, 0.34);
    background: rgba(217, 59, 139, 0.08);
}

.site-toast.success {
    border-color: rgba(22, 163, 74, 0.34);
    background: rgba(22, 163, 74, 0.08);
}

.container {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    padding: 0 18px;
}

.brand-gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    padding: 12px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary {
    background: var(--accent);
    color: var(--foreground);
    border: 1px solid var(--border-light);
}

.btn-whatsapp {
    background: var(--whatsapp-gradient);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.94rem;
    padding: 11px 12px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid rgba(232, 119, 46, 0.22);
    border-color: var(--primary);
}

.back-to-top-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--brand-gradient);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 380;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.touch-active {
    transform: scale(0.96);
    opacity: 0.88;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1200px) {
    .brand-text {
        font-size: 1.34rem;
    }

    .brand-badge {
        font-size: 0.68rem;
    }

    .nav-menu {
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 74px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .brand-text {
        font-size: 1.14rem;
    }

    .brand-badge {
        font-size: 0.64rem;
    }

    .desktop-menu,
    .desktop-actions {
        display: none;
    }

    .mobile-controls {
        display: inline-flex;
        justify-self: end;
    }

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

@media (max-width: 767px) {
    .brand-text-wrap {
        display: none;
    }

    .nav-shell,
    .container,
    .footer-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .main-content {
        min-height: calc(100vh - 320px);
    }

    .footer-shell {
        padding-top: 50px;
    }

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

    .cart-sidebar {
        width: 100%;
    }

    .checkout-modal {
        width: calc(100vw - 16px);
        padding: 16px;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .site-toast-wrap {
        left: 12px;
        right: 12px;
        top: 86px;
    }

    .site-toast {
        min-width: 0;
        max-width: none;
    }

    .back-to-top-btn {
        right: 12px;
        bottom: 12px;
    }
}
