body > :not(#riddhiApp) {
    display: none !important;
}

body {
    background: #f6f3ee;
}

#riddhiApp {
    --ink: #18211f;
    --ink-soft: #51615d;
    --muted: #76837f;
    --line: rgba(24, 33, 31, 0.12);
    --paper: #fffdf8;
    --paper-soft: #f6f3ee;
    --emerald: #0369a1;
    --emerald-2: #0284c7;
    --gold: #f2aa22;
    --mint: #dbeafe;
    --sky: #d8ecff;
    --danger: #b3261e;
    --shadow: 0 24px 80px rgba(18, 31, 29, 0.14);
    --shadow-soft: 0 16px 44px rgba(18, 31, 29, 0.09);
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(246, 243, 238, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(242, 170, 34, 0.18), transparent 32%);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

body.riddhi-dark #riddhiApp {
    --ink: #f7fbf7;
    --ink-soft: #c8d5d1;
    --muted: #8fa29d;
    --line: rgba(247, 251, 247, 0.16);
    --paper: #111a18;
    --paper-soft: #0a1211;
    --emerald: #38bdf8;
    --emerald-2: #7dd3fc;
    --mint: rgba(56, 189, 248, 0.16);
    --sky: rgba(129, 202, 255, 0.14);
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.30);
    background:
        linear-gradient(180deg, rgba(13, 20, 19, 0.96), rgba(7, 13, 12, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(242, 170, 34, 0.12), transparent 32%);
}

#riddhiApp *,
#riddhiApp *::before,
#riddhiApp *::after {
    box-sizing: border-box;
}

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

#riddhiApp a {
    color: inherit;
}

#riddhiApp button,
#riddhiApp input,
#riddhiApp select,
#riddhiApp textarea {
    font: inherit;
}

.riddhi-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.riddhi-container.hero-layout {
    width: 100%;
    max-width: 100%;
}

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

.riddhi-header {
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 84%, transparent);
    backdrop-filter: blur(22px) saturate(160%);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.riddhi-header.is-scrolled {
    box-shadow: 0 10px 34px rgba(18, 31, 29, 0.08);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-logo {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 10px 18px rgba(3, 102, 161, 0.18));
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-name {
    color: var(--emerald);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.brand-meta {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--paper) 74%, transparent);
}

.main-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.93rem;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.22s ease, background 0.22s ease;
}

.main-nav a:hover {
    color: var(--ink);
    background: var(--mint);
}

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

.contact-chip {
    color: var(--emerald);
    text-decoration: none;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(18, 31, 29, 0.06);
}

.icon-btn,
.cart-button {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.icon-btn:hover,
.cart-button:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--emerald) 46%, var(--line));
    box-shadow: 0 14px 32px rgba(18, 31, 29, 0.12);
}

.theme-icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: inset -6px -4px 0 currentColor;
}

body.riddhi-dark .theme-icon {
    box-shadow: inset 0 0 0 currentColor;
}

.cart-icon {
    width: 19px;
    height: 16px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    position: relative;
}

.cart-icon::before {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    top: -8px;
    height: 10px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
}

.cart-count {
    position: absolute;
    right: -4px;
    top: -5px;
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--gold);
    color: #20170c;
    font-size: 0.72rem;
    font-weight: 900;
}

.premium-hero {
    position: relative;
    min-height: calc(86svh - 76px);
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(8, 22, 19, 0.3), rgba(8, 22, 19, 0.2) 46%, rgba(246, 243, 238, 0.05)),
        url("images/all_items.png") center / cover;
    transform: scale(1.04);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::before,
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-media::before {
    background:
        linear-gradient(115deg, transparent 0 31%, rgba(255, 253, 248, 0.16) 34%, transparent 39% 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 92px);
    mix-blend-mode: screen;
    opacity: 0.58;
    transform: translateX(-18%);
    animation: heroScan 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-media::after {
    background:
        linear-gradient(180deg, rgba(3, 102, 161, 0.2), transparent 44%),
        repeating-linear-gradient(0deg, transparent 0 24px, rgba(242, 170, 34, 0.12) 25px 26px, transparent 27px 68px);
    opacity: 0.26;
    animation: gridFloat 14s linear infinite;
}

.premium-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    z-index: -1;
    background: linear-gradient(0deg, var(--paper-soft), transparent);
}

.hero-ambient {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient-ring,
.ambient-line {
    position: absolute;
    display: block;
}

.ambient-ring {
    border: 1px solid rgba(255, 253, 248, 0.22);
    border-radius: 50%;
    transform: rotateX(64deg) rotateZ(-20deg);
    animation: orbitTilt 18s ease-in-out infinite;
}

.ring-one {
    width: 520px;
    height: 520px;
    right: 7%;
    top: 18%;
}

.ring-two {
    width: 360px;
    height: 360px;
    right: 16%;
    top: 29%;
    border-color: rgba(242, 170, 34, 0.32);
    animation-duration: 13s;
    animation-direction: reverse;
}

.ambient-line {
    width: 42%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 253, 248, 0.6), transparent);
    transform: rotate(-15deg);
    opacity: 0.48;
    animation: lineTravel 7.5s ease-in-out infinite;
}

.line-one {
    right: 2%;
    top: 28%;
}

.line-two {
    right: 8%;
    bottom: 24%;
    animation-delay: -3s;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    padding: 88px 32px 74px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.hero-content h1,
.section-heading h2,
.catalog-top h2,
.about-copy h2,
.contact-copy h2 {
    margin: 0;
    color: var(--ink);
    letter-spacing: 0;
    line-height: 0.98;
}

.hero-content h1 {
    color: #fffdf8;
    max-width: 900px;
    font-size: 5.2rem;
    text-wrap: balance;
    text-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin: 12px auto;
}

.hero-copy {
    max-width: 720px;
    margin: 16px auto 0;
    color: rgba(255, 253, 248, 0.88);
    font-size: 1.15rem;
    line-height: 1.65;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.hero-search {
    width: min(640px, 100%);
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: searchLift 0.8s ease 0.18s both;
    margin-left: auto;
    margin-right: auto;
}

.hero-search input,
.search-box input,
.checkout-section input,
.checkout-section textarea,
#sortSelect {
    border: 0;
    color: var(--ink);
    background: transparent;
    outline: none;
}

.hero-search input {
    min-width: 0;
    color: #fff;
    padding: 0 18px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.74);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

#riddhiApp .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

#riddhiApp .btn::before {
    display: none;
}

#riddhiApp .btn:hover {
    transform: translateY(-2px);
}

#riddhiApp .btn-primary {
    background: linear-gradient(135deg, var(--gold), #ffd77a);
    color: #20170c;
    box-shadow: 0 16px 36px rgba(242, 170, 34, 0.22);
}

#riddhiApp .btn-primary:hover {
    box-shadow: 0 22px 46px rgba(242, 170, 34, 0.30);
}

#riddhiApp .btn-ghost {
    background: color-mix(in srgb, var(--paper) 74%, transparent);
    color: var(--ink);
    border-color: var(--line);
}

.full-width {
    width: 100%;
}

.hero-showcase {
    display: grid;
    gap: 16px;
}

.premium-stage {
    position: relative;
    min-height: 560px;
    display: block;
    perspective: 1200px;
}

.stage-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 234px;
    height: 234px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 253, 248, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.86), rgba(223, 246, 234, 0.68)),
        linear-gradient(45deg, transparent, rgba(242, 170, 34, 0.2));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(22px);
    transform: translate(-50%, -50%) rotateY(-10deg) rotateX(7deg);
    animation: stageFloat 6.5s ease-in-out infinite;
}

.stage-core::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(3, 102, 161, 0.22);
    border-radius: 8px;
}

.stage-logo {
    width: 132px;
    height: 132px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 32px rgba(3, 102, 161, 0.24));
}

.stage-pulse {
    position: absolute;
    inset: -28px;
    border: 1px solid rgba(242, 170, 34, 0.38);
    border-radius: 8px;
    animation: stagePulse 2.8s ease-in-out infinite;
}

.floating-chip {
    position: absolute;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 253, 248, 0.34);
    border-radius: 999px;
    color: #fffdf8;
    background: rgba(7, 16, 15, 0.42);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    font-size: 0.86rem;
    font-weight: 900;
    animation: chipFloat 5.4s ease-in-out infinite;
}

.chip-rice {
    left: 0;
    top: 112px;
}

.chip-electric {
    right: 4px;
    top: 196px;
    animation-delay: -1.8s;
}

.chip-office {
    left: 48px;
    bottom: 118px;
    animation-delay: -3.2s;
}

.premium-stage .showcase-card {
    position: absolute;
    z-index: 2;
    width: min(250px, 48%);
}

.premium-stage .showcase-card.featured {
    right: 0;
    top: 14px;
}

.premium-stage .showcase-card:not(.featured):not(.accent) {
    left: 0;
    bottom: 24px;
}

.premium-stage .showcase-card.accent {
    right: 10px;
    bottom: 0;
}

.showcase-card,
.contact-card,
.address-card,
.checkout-modal,
.confirmation-modal,
.product-card,
.category-card,
.about-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    box-shadow: var(--shadow-soft);
}

.showcase-card {
    padding: 22px;
    color: var(--ink);
    backdrop-filter: blur(24px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.showcase-card.featured {
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(223, 246, 234, 0.92));
}

.showcase-card.accent {
    background: linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(216, 236, 255, 0.9));
}

.showcase-card strong {
    display: block;
    margin: 6px 0 8px;
    font-size: 1.34rem;
    line-height: 1.1;
}

.showcase-card span:last-child {
    color: var(--ink-soft);
    line-height: 1.45;
}

.showcase-kicker {
    color: var(--emerald);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

.trust-grid > div {
    min-height: 116px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 26px;
    border-left: 1px solid var(--line);
}

.trust-grid > div:last-child {
    border-right: 1px solid var(--line);
}

.trust-grid strong {
    color: var(--emerald);
    font-size: 1.1rem;
}

.trust-grid span {
    color: var(--ink-soft);
    line-height: 1.4;
}

.categories-section,
.catalog-section,
.about-section,
.contact-section {
    padding: 86px 0;
}

.section-heading {
    max-width: 690px;
    margin-bottom: 28px;
}

.section-heading h2,
.catalog-top h2,
.about-copy h2,
.contact-copy h2 {
    font-size: 3.8rem;
}

.section-heading p,
.about-copy p,
.contact-copy p {
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 18px 0 0;
    font-size: 1.04rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    text-align: left;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 21, 18, 0.74), rgba(5, 21, 18, 0.08));
    z-index: 1;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 178px;
    transition: transform 0.4s ease;
}

.category-card span {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
}

.category-card small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
}

.category-card:hover,
.category-card.active {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--gold) 65%, var(--line));
    box-shadow: var(--shadow);
}

.category-card:hover img {
    transform: scale(1.08);
}

.catalog-section {
    background:
        linear-gradient(180deg, var(--paper), var(--paper-soft));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.catalog-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.catalog-tools {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box,
#sortSelect {
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(18, 31, 29, 0.06);
}

.search-box {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    min-width: 280px;
}

.search-icon {
    width: 15px;
    height: 15px;
    border: 2px solid var(--muted);
    border-radius: 50%;
    position: relative;
}

.search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    background: var(--muted);
    transform: rotate(45deg);
    border-radius: 2px;
}

#sortSelect {
    padding: 0 38px 0 16px;
    color: var(--ink);
}

.active-filter-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--ink-soft);
    margin-bottom: 20px;
    font-weight: 800;
}

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

#riddhiApp .product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    animation: cardIn 0.45s ease both;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    transform-style: preserve-3d;
}

#riddhiApp .product-card::before {
    content: none;
}

#riddhiApp .product-card:hover {
    transform: translateY(-7px);
    border-color: color-mix(in srgb, var(--emerald) 42%, var(--line));
    box-shadow: var(--shadow);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-soft);
}

.product-media::before {
    content: "";
    position: absolute;
    inset: -40% -60%;
    z-index: 2;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.45), transparent 58%);
    transform: translateX(-54%) rotate(8deg);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.product-card:hover .product-media::before {
    transform: translateX(54%) rotate(8deg);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--emerald);
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.product-info {
    padding: 16px;
}

.product-category {
    color: var(--emerald);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.product-title {
    min-height: 48px;
    margin-top: 8px;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.25;
}

.product-meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
}

.product-price {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.price {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.original-price {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.discount {
    border-radius: 999px;
    padding: 4px 8px;
    background: var(--mint);
    color: var(--emerald);
    font-size: 0.78rem;
    font-weight: 900;
}

.add-to-cart-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    color: #fffdf8;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-2));
    cursor: pointer;
    font-weight: 900;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.add-to-cart-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
    transform: translateX(-110%);
    transition: transform 0.45s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(3, 102, 161, 0.22);
}

.add-to-cart-btn:hover::after {
    transform: translateX(110%);
}

.empty-results {
    margin: 30px 0 0;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--ink-soft);
    text-align: center;
    background: var(--paper);
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
    gap: 42px;
    align-items: center;
}

.about-points {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-points span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--emerald);
    background: var(--paper);
    font-weight: 900;
}

.about-panel {
    padding: 16px;
    display: grid;
    gap: 14px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--paper) 94%, transparent), color-mix(in srgb, var(--sky) 70%, transparent));
}

.address-card {
    padding: 22px;
    box-shadow: none;
}

.address-card h3 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 1.55rem;
    line-height: 1.1;
}

.address-card p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.65;
}

.mini-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-contact-grid a {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    text-decoration: none;
}

.mini-contact-grid span,
.contact-label {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.mini-contact-grid strong {
    display: block;
    margin-top: 7px;
    color: var(--emerald);
    overflow-wrap: anywhere;
}

.contact-section {
    color: #fffdf8;
    background:
        linear-gradient(135deg, rgba(3, 102, 161, 0.98), rgba(14, 29, 50, 0.98)),
        url("images/Rice.jpg") center / cover fixed;
}

.contact-copy h2,
.contact-copy p {
    color: #fffdf8;
}

.contact-copy p {
    color: rgba(255, 253, 248, 0.78);
}

.contact-card {
    padding: 24px;
    display: grid;
    gap: 18px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(20px);
}

.contact-card p {
    margin: 7px 0 0;
    color: var(--ink-soft);
    line-height: 1.58;
}

.contact-card a {
    display: inline-block;
    margin-top: 7px;
    color: var(--emerald);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.riddhi-footer {
    padding: 52px 0 26px;
    color: rgba(255, 253, 248, 0.82);
    background: #07100f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr 0.9fr;
    gap: 34px;
}

.footer-brand {
    color: #fffdf8;
    font-weight: 900;
}

.footer-logo {
    width: 44px;
    height: 44px;
}

.riddhi-footer p {
    max-width: 520px;
    color: rgba(255, 253, 248, 0.66);
    line-height: 1.65;
}

.riddhi-footer h3 {
    margin: 0 0 12px;
    color: #fffdf8;
    font-size: 1rem;
}

.riddhi-footer a {
    display: block;
    margin: 10px 0;
    color: rgba(255, 253, 248, 0.72);
    text-decoration: none;
}

.riddhi-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 253, 248, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 253, 248, 0.56);
    font-size: 0.92rem;
}

#riddhiApp .cart-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 980;
    background: rgba(7, 16, 15, 0.55);
    backdrop-filter: blur(4px);
}

#riddhiApp .cart-overlay.open {
    display: block;
}

#riddhiApp .cart-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 990;
    width: min(430px, 100%);
    height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    box-shadow: -28px 0 80px rgba(0, 0, 0, 0.18);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#riddhiApp .cart-drawer.open {
    transform: translateX(0);
}

#riddhiApp .cart-header,
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

#riddhiApp .cart-header h2,
.modal-header h2 {
    margin: 0;
    font-size: 1.6rem;
}

.close-btn {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}

#riddhiApp .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

#riddhiApp .empty-cart {
    margin: 0;
    color: var(--ink-soft);
    text-align: center;
    padding: 60px 20px;
}

#riddhiApp .cart-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    margin-bottom: 12px;
}

#riddhiApp .cart-item-image {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
}

#riddhiApp .cart-item-title {
    color: var(--ink);
    font-weight: 900;
    line-height: 1.25;
}

#riddhiApp .cart-item-price {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

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

#riddhiApp .cart-item-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper-soft);
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
}

#riddhiApp .cart-item-remove {
    margin-left: auto;
    width: auto !important;
    padding: 0 10px;
    color: var(--danger) !important;
}

#riddhiApp .cart-footer {
    padding: 18px;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper-soft) 80%, var(--paper));
}

#riddhiApp .cart-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.modal-screen {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 34px 16px;
    overflow-y: auto;
    background: rgba(7, 16, 15, 0.66);
    backdrop-filter: blur(8px);
}

.modal-screen.open {
    display: flex;
}

.checkout-modal {
    width: min(900px, 100%);
    background: var(--paper);
    color: var(--ink);
    overflow: hidden;
    animation: modalUp 0.28s ease both;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.checkout-section {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--paper-soft) 70%, var(--paper));
}

.checkout-section h3 {
    margin: 0 0 16px;
    color: var(--emerald);
}

.checkout-section label {
    display: grid;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--ink-soft);
    font-weight: 800;
}

.checkout-section input,
.checkout-section textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    padding: 12px;
    resize: vertical;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-item-title {
    font-weight: 900;
}

.checkout-item-qty {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.9rem;
}

.summary-box {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.summary-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.summary-total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--emerald);
    font-size: 1.12rem;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.payment-card {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
}

.confirmation-screen {
    align-items: center;
}

.confirmation-modal {
    width: min(430px, 100%);
    padding: 30px;
    color: var(--ink);
    text-align: center;
    background: var(--paper);
    animation: modalUp 0.28s ease both;
}

.confirmation-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    position: relative;
}

.confirmation-mark::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 18px;
    width: 16px;
    height: 30px;
    border: solid #fffdf8;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.confirmation-modal h2 {
    margin: 0 0 10px;
}

.confirmation-modal p {
    color: var(--ink-soft);
    line-height: 1.5;
}

.confirmation-details {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
    text-align: left;
}

.confirmation-detail-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.confirmation-detail-item:last-child {
    border-bottom: 0;
}

.confirmation-detail-label {
    color: var(--muted);
}

.confirmation-detail-value {
    color: var(--ink);
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 1300;
    transform: translate(-50%, 16px);
    opacity: 0;
    pointer-events: none;
    padding: 12px 16px;
    border-radius: 999px;
    color: #fffdf8;
    background: rgba(7, 16, 15, 0.92);
    box-shadow: var(--shadow);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroDrift {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.09) translate3d(-1.5%, -1.5%, 0);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalUp {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1020px) {
    .main-nav {
        display: none;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .hero-copy {
        font-size: 1.12rem;
    }

    .section-heading h2,
    .catalog-top h2,
    .about-copy h2,
    .contact-copy h2 {
        font-size: 3rem;
    }

    .hero-layout,
    .about-grid,
    .contact-grid,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

@media (max-width: 760px) {
    .riddhi-container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 68px;
        gap: 10px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 0.94rem;
    }

    .brand-meta,
    .contact-chip {
        display: none;
    }

    .premium-hero {
        min-height: auto;
    }

    .hero-layout {
        gap: 20px;
        padding: 48px 16px 36px;
    }

    .hero-content h1 {
        font-size: 3.35rem;
    }

    .section-heading h2,
    .catalog-top h2,
    .about-copy h2,
    .contact-copy h2 {
        font-size: 2.35rem;
    }

    .hero-showcase {
        display: none;
    }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .hero-search input {
        min-height: 46px;
        padding: 0 12px;
    }

    .hero-showcase,
    .trust-grid,
    .category-grid,
    .products-grid,
    .footer-grid,
    .mini-contact-grid,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .trust-grid > div,
    .trust-grid > div:last-child {
        min-height: auto;
        border: 0;
        border-bottom: 1px solid var(--line);
        padding: 20px 0;
    }

    .categories-section,
    .catalog-section,
    .about-section,
    .contact-section {
        padding: 58px 0;
    }

    .catalog-top,
    .catalog-tools,
    .active-filter-row,
    .footer-bottom,
    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: 0;
        width: 100%;
    }

    #sortSelect {
        width: 100%;
    }

    .product-title {
        min-height: 0;
    }

    #riddhiApp .cart-drawer {
        top: auto;
        height: min(86svh, 760px);
        width: 100%;
        border-radius: 18px 18px 0 0;
        transform: translateY(105%);
    }

    #riddhiApp .cart-drawer.open {
        transform: translateY(0);
    }

    .checkout-modal {
        border-radius: 8px;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-heading h2,
    .catalog-top h2,
    .about-copy h2,
    .contact-copy h2 {
        font-size: 2.05rem;
    }

    .header-actions {
        gap: 6px;
    }

    .icon-btn,
    .cart-button {
        width: 40px;
        height: 40px;
    }

    .hero-actions,
    .contact-actions {
        display: grid;
    }

    #riddhiApp .cart-item {
        grid-template-columns: 64px 1fr;
    }

    #riddhiApp .cart-item-image {
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #riddhiApp *,
    #riddhiApp *::before,
    #riddhiApp *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
