
   URVA — PREMIUM E-COMMERCE
   theurva.com
   Fresh responsive stylesheet
   ========================================================= */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fbfaf6;
    color: #17231c;
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

input,
textarea,
select,
button {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* ---------- TOP BAR ---------- */
.topbar {
    width: 100%;
    min-height: 34px;
    background: #10271c;
    color: #ead9a5;
    font-size: 12px;
    letter-spacing: .35px;
}

.topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.welcome {
    animation: urvaWelcome 2.5s ease-in-out infinite;
}

@keyframes urvaWelcome {
    0%, 100% { opacity: .65; }
    50% { opacity: 1; }
}

/* ---------- HEADER ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(194,169,108,.16);
    box-shadow: 0 5px 25px rgba(16,37,26,.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

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

/* ---------- BRAND ---------- */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 0;
}

.brand > span {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border: 1px solid #c9a95b;
    border-radius: 50%;
    color: #a98137;
    font: 23px Georgia, serif;
}

.brand strong {
    display: block;
    font: 700 23px/1 "Playfair Display", Georgia, serif;
    letter-spacing: 3px;
}

.brand small {
    display: block;
    margin-top: 4px;
    color: #a17b34;
    font-size: 7px;
    line-height: 1;
    letter-spacing: 2px;
}

/* ---------- HEADER ACTIONS ---------- */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
    white-space: nowrap;
}

.header-actions > a,
.header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 11px;
    border-radius: 13px;
    color: #284234;
    font-size: 12px;
    font-weight: 700;
    transition: .22s ease;
}

.header-actions > a:hover,
.header-action:hover {
    color: #9b742f;
    background: #f6f1e6;
    transform: translateY(-1px);
}

.header-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    background: #f5f0e5;
    border: 1px solid #e3d5b7;
    font-size: 17px;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: -5px;
    margin-top: -20px;
    border: 2px solid #fff;
    border-radius: 20px;
    background: #b18a43;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

/* Optional premium account dropdown */
.account-menu {
    position: relative;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10020;
    width: 210px;
    padding: 8px;
    border: 1px solid #e5dbc7;
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 55px rgba(20,35,25,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s ease;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown,
.account-menu.open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 11px;
    color: #263e31;
    font-size: 12px;
    font-weight: 700;
}

.account-dropdown a:hover {
    background: #f7f2e8;
    color: #9b742f;
}

/* ---------- SEARCH ---------- */
.search-row {
    padding-bottom: 14px;
}

.search {
    width: 100%;
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3dfd5;
    border-radius: 13px;
    background: #fafaf8;
}

.search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 46px;
    padding: 0 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17231c;
    font-size: 14px;
}

.search input::placeholder {
    color: #9b9d98;
}

.search button {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 23px;
    border: 0;
    background: #172a20;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.search button:hover {
    background: #b18a43;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #13251b;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.fallback {
    background: radial-gradient(circle at 80% 30%, #80622b, #13251b 60%);
}

.hero-copy {
    padding-top: 125px;
    color: #fff;
}

.hero-copy span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero-copy h1 {
    max-width: 750px;
    margin: 14px 0;
    font: 700 clamp(44px, 6vw, 78px)/1.05 "Playfair Display", Georgia, serif;
}

.hero-copy p {
    max-width: 560px;
    margin: 0 0 22px;
    color: #e9ede7;
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #183126;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20,40,29,.14);
}

.btn.gold {
    background: #b18a43;
    color: #fff;
}

.btn.gold:hover {
    background: #987431;
}

.btn.outline {
    background: transparent;
    color: #183126;
    border-color: #183126;
}

.btn.outline:hover {
    background: #183126;
    color: #fff;
}

.btn.full {
    width: 100%;
}

/* ---------- SECTIONS ---------- */
.categories,
.products-section {
    padding: 70px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head h1,
.section-head h2 {
    margin: 6px 0 0;
    font: 700 38px/1.15 "Playfair Display", Georgia, serif;
}

.eyebrow {
    color: #ad8a45;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.muted {
    color: #7b837c;
    font-size: 13px;
}

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

.category-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #ebe7dc;
    border-radius: 14px;
    background: #fff;
    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: #d4c49d;
    box-shadow: 0 15px 40px rgba(20,35,25,.07);
}

.category-card b {
    display: block;
    margin-bottom: 6px;
    font: 700 19px/1.25 "Playfair Display", Georgia, serif;
}

.category-card small {
    color: #7b837c;
    font-size: 11px;
}

/* ---------- PRODUCTS ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 24px;
    width: 100%;
    min-width: 0;
}

.product-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #eee9de;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(24,39,28,.035);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(24,39,28,.09);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f4f0e7;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.discount {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    padding: 6px 9px;
    border-radius: 6px;
    background: #172d20;
    color: #e8d6a0;
    font-size: 11px;
    font-weight: 800;
}

.product-info {
    width: 100%;
    min-width: 0;
    padding: 17px;
}

.product-info small {
    display: block;
    color: #a47e38;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-info h3 {
    min-width: 0;
    margin: 8px 0 10px;
    font: 700 19px/1.3 "Playfair Display", Georgia, serif;
}

.product-info h3 a:hover {
    color: #a17b34;
}

.price {
    font-size: 20px;
    font-weight: 900;
}

.product-info del {
    margin-left: 8px;
    color: #999;
    font-size: 12px;
}

/* ---------- PRODUCT CARD ACTIONS ---------- */
.card-buttons {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 9px;
    margin-top: 15px;
}

.card-buttons .btn,
.card-buttons button,
.card-buttons a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    height: 46px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
    border-radius: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 800;
}

.btn-add-cart,
.card-buttons .add-cart {
    background: linear-gradient(135deg,#f5efe3,#e5d5b8);
    color: #5a421f;
    border: 1px solid #d5bd91;
    box-shadow: 0 5px 15px rgba(120,88,35,.12);
}

.btn-add-cart:hover,
.card-buttons .add-cart:hover {
    background: linear-gradient(135deg,#f8f2e9,#e9d9bd);
}

.btn-buy-now {
    background: linear-gradient(135deg,#1d6b4f,#0f4f39);
    color: #fff !important;
    border-color: #0f4f39 !important;
    box-shadow: 0 5px 16px rgba(15,79,57,.22);
}

.btn-buy-now:hover {
    filter: brightness(1.08);
}

.card-buttons .cart-icon,
.btn-buy-now span:first-child {
    flex: 0 0 auto;
    font-size: 15px;
    line-height: 1;
}

/* Works with existing markup where buttons use generic .btn */
.card-buttons .btn:first-child {
    background: linear-gradient(135deg,#f5efe3,#e5d5b8);
    color: #5a421f;
    border-color: #d5bd91;
}

.card-buttons .btn:last-child {
    background: linear-gradient(135deg,#1d6b4f,#0f4f39);
    color: #fff;
    border-color: #0f4f39;
}

/* ---------- EMPTY ---------- */
.empty {
    width: 100%;
    padding: 45px 20px;
    border: 1px dashed #ddd5c5;
    border-radius: 14px;
    background: #fff;
    color: #777;
    text-align: center;
}

.empty a {
    color: #a17b34;
    font-weight: 800;
}

/* ---------- FLOATING CART ---------- */
.floating-cart,
#floating-cart {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10000;
    width: auto;
    min-width: 240px;
    max-width: calc(100vw - 30px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(211,176,98,.48);
    border-radius: 17px;
    background: linear-gradient(135deg,rgba(13,42,31,.98),rgba(8,52,37,.98));
    color: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.float-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214,178,91,.35);
    border-radius: 13px;
    background: rgba(214,178,91,.15);
    color: #fff;
    font-size: 20px;
}

.floating-cart b {
    color: #fff;
    font-size: 13px;
}

.floating-cart small {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
}

.floating-cart > a {
    margin-left: auto;
    padding: 9px 13px;
    border-radius: 11px;
    background: #d8b66a;
    color: #183528;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

/* ---------- CART ANIMATION / NOTIFICATION ---------- */
.urva-cart-bounce {
    animation: urvaCartBounce .55s ease;
}

@keyframes urvaCartBounce {
    0% { transform: scale(1); }
    35% { transform: scale(1.14); }
    65% { transform: scale(.94); }
    100% { transform: scale(1); }
}

.urva-cart-notification {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 10001;
    width: min(380px,calc(100vw - 30px));
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(191,158,85,.30);
    border-radius: 17px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(.96);
    transition: .3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.urva-cart-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.urva-notification-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f4ee;
    color: #17684c;
    font-size: 20px;
    font-weight: 900;
}

.urva-notification-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.urva-notification-content strong {
    color: #183528;
    font-size: 14px;
}

.urva-notification-content span {
    color: #777;
    font-size: 12px;
    line-height: 1.35;
}

.urva-notification-close {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 22px;
}

/* ---------- PRODUCT DETAIL ---------- */
.product-page {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    gap: 60px;
    padding: 70px 0;
}

.gallery {
    min-width: 0;
}

.gallery-main {
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 16px;
    background: #f2eee5;
}

.gallery-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform .6s ease;
}

.gallery-track img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.thumbs::-webkit-scrollbar {
    display: none;
}

.thumbs img {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.thumbs img:hover {
    border-color: #b18a43;
}

.product-detail {
    min-width: 0;
}

.product-detail h1 {
    margin: 10px 0 14px;
    font: 700 50px/1.05 "Playfair Display", Georgia, serif;
}

.rating {
    color: #b18a43;
    font-size: 14px;
}

.rating span {
    margin-left: 10px;
    color: #888;
    font-size: 13px;
}

.detail-price {
    margin: 22px 0;
}

.detail-price strong {
    font-size: 34px;
}

.detail-price del {
    margin-left: 8px;
    color: #999;
}

.detail-price em {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #e5eee5;
    color: #285338;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.lead {
    color: #5e675f;
    font-size: 15px;
    line-height: 1.8;
}

.detail-actions {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 10px;
    margin-top: 20px;
}

.detail-actions .btn {
    width: 100%;
}

.details-box {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e4e0d5;
    color: #59635b;
    line-height: 1.8;
}

.details-box h3 {
    margin-bottom: 10px;
    color: #17231c;
    font: 700 22px/1.2 "Playfair Display", Georgia, serif;
}

/* ---------- REVIEWS ---------- */
.reviews {
    padding-bottom: 80px;
}

.review-form {
    width: 100%;
    max-width: 700px;
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.review-form textarea,
.review-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dedbd1;
    border-radius: 8px;
    background: #fff;
    outline: none;
}

.review-form textarea {
    min-height: 110px;
}

.review {
    padding: 18px 0;
    border-top: 1px solid #e8e4da;
}

.review > span {
    margin-left: 10px;
    color: #b18a43;
}

.review p {
    margin-top: 8px;
    color: #59635b;
    line-height: 1.7;
}

/* ---------- CART / CHECKOUT / ORDERS ---------- */
.cart-layout,
.checkout-grid,
.order-detail {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(280px,.7fr);
    gap: 30px;
}

.cart-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #e8e3d8;
    border-radius: 12px;
    background: #fff;
}

.cart-item img {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item > div {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-item h3 {
    margin-bottom: 8px;
    font: 700 17px/1.3 "Playfair Display", Georgia, serif;
}

.cart-item > strong {
    flex: 0 0 auto;
}

.remove-cart {
    border: 0;
    background: transparent;
    color: #999;
    font-size: 25px;
}

.qty {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.qty button,
.qty input {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
}

.qty input {
    outline: none;
}

.summary {
    height: max-content;
    padding: 24px;
    border: 1px solid #e6e0d3;
    border-radius: 14px;
    background: #fff;
}

.summary h2 {
    margin-bottom: 20px;
    font: 700 25px/1.2 "Playfair Display", Georgia, serif;
}

.summary > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0;
}

.summary .total {
    font-size: 20px;
    font-weight: 900;
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.mini-item img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    object-fit: cover;
    border-radius: 7px;
}

.mini-item span {
    flex: 1;
    min-width: 0;
    font-size: 12px;
}

/* ---------- AUTH ---------- */
.auth {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 60px 20px;
}

.auth-card {
    width: min(470px,100%);
    padding: 35px;
    border: 1px solid #e4dfd2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(20,37,26,.08);
}

.auth-card.wide {
    width: min(720px,100%);
}

.auth-card h1 {
    margin: 10px 0 20px;
    font: 700 36px/1.15 "Playfair Display", Georgia, serif;
}

.auth-card form,
.checkout-form {
    display: grid;
    gap: 15px;
}

.auth-card label,
.checkout-form label,
.admin-card label {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.auth-card input,
.checkout-form input,
.checkout-form select,
.admin-card input,
.admin-card select,
.admin-card textarea {
    width: 100%;
    min-width: 0;
    margin-top: 7px;
    padding: 12px;
    border: 1px solid #dedbd1;
    border-radius: 8px;
    outline: none;
    background: #fff;
    font-size: 14px;
}

.auth-card input:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.admin-card input:focus,
.admin-card select:focus,
.admin-card textarea:focus {
    border-color: #b18a43;
    box-shadow: 0 0 0 3px rgba(177,138,67,.10);
}

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

.full-field {
    grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form select {
    min-height: 44px;
}

.terms {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.terms input {
    width: auto !important;
    margin: 0 !important;
}

/* ---------- ALERTS ---------- */
.alert,
.success {
    width: 100%;
    margin: 15px 0;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.alert {
    background: #f7e6e6;
    color: #8a3333;
}

.success {
    background: #e6f2e8;
    color: #245a32;
}

/* ---------- ACCOUNT / ORDERS ---------- */
.page {
    padding: 60px 0 90px;
}

.account-head {
    margin-bottom: 35px;
}

.account-head h1 {
    margin-top: 8px;
    font: 700 42px/1.15 "Playfair Display", Georgia, serif;
}

.account-head p {
    margin-top: 5px;
    color: #777;
}

.orders {
    width: 100%;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e8e3d8;
    border-radius: 11px;
    background: #fff;
}

.order-row small {
    display: block;
    margin-top: 4px;
    color: #888;
}

.order-row > div:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    background: #eee;
    font-size: 11px;
}

.status.delivered {
    background: #e1f1e5;
    color: #24643a;
}

/* ---------- LEGAL ---------- */
.legal {
    max-width: 900px;
}

.legal h1 {
    margin-top: 8px;
    font: 700 44px/1.15 "Playfair Display", Georgia, serif;
}

.legal h3 {
    margin-top: 30px;
    font: 700 22px/1.2 "Playfair Display", Georgia, serif;
}

.legal p {
    margin-top: 10px;
    color: #59635b;
    line-height: 1.8;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 55px 0 0;
    background: #12251b;
    color: #dfe6df;
}

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

.footer-brand strong {
    color: #fff;
}

.footer p {
    max-width: 450px;
    margin-top: 18px;
    color: #aebbb1;
    font-size: 13px;
    line-height: 1.8;
}

.footer h4 {
    margin-bottom: 15px;
    color: #fff;
}

.footer a {
    display: block;
    margin: 10px 0;
    color: #c7d0c9;
    font-size: 13px;
}

.footer a:hover {
    color: #e8d6a0;
}

.copyright {
    margin-top: 35px;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #8e9a91;
    text-align: center;
    font-size: 12px;
}

/* ---------- SUCCESS ---------- */
.success-mark {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6f1e7;
    color: #2d7141;
    font-size: 35px;
}

/* ---------- ADMIN ---------- */
.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
}

.admin-nav {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 25px 18px;
    background: #12251b;
    color: #dfe8e1;
}

.admin-nav > a:not(.brand) {
    padding: 11px;
    border-radius: 7px;
    font-size: 13px;
}

.admin-nav > a:not(.brand):hover,
.admin-nav .active {
    background: rgba(255,255,255,.08);
}

.admin-main {
    min-width: 0;
    width: 100%;
    max-width: 1400px;
    padding: 45px;
}

.admin-main h1 {
    margin-top: 7px;
    font: 700 42px/1.15 "Playfair Display", Georgia, serif;
}

.admin-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

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

.stats > div {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e5dfd1;
    border-radius: 13px;
    background: #fff;
}

.stats small {
    display: block;
    color: #777;
    font-size: 12px;
}

.stats b {
    display: block;
    margin-top: 10px;
    font: 700 30px/1.1 "Playfair Display", Georgia, serif;
}

.admin-card {
    width: 100%;
    min-width: 0;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5dfd1;
    border-radius: 13px;
    background: #fff;
}

.admin-card h2 {
    margin-bottom: 20px;
    font: 700 24px/1.2 "Playfair Display", Georgia, serif;
}

.admin-card .form-grid {
    width: 100%;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.table-wrap th {
    color: #5b635d;
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.table-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 7px;
}

.preview {
    width: 80px;
    height: 80px;
    margin: 8px 0;
    object-fit: cover;
    border-radius: 8px;
}

.banner-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.banner-row img {
    width: 180px;
    height: 80px;
    flex: 0 0 180px;
    object-fit: cover;
    border-radius: 8px;
}

.small {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
}

/* ---------- GLOBAL SAFETY ---------- */
h1,
h2,
h3,
h4,
p,
span,
strong,
a,
td,
th {
    overflow-wrap: break-word;
}

.product-grid,
.category-grid,
.cart-layout,
.checkout-grid,
.order-detail,
.form-grid,
.stats {
    max-width: 100%;
}

/* =========================================================
   TABLET / MOBILE — 768px
   ========================================================= */
@media (max-width: 768px) {

    .container {
        width: calc(100% - 24px);
    }

    .topbar {
        font-size: 9px;
    }

    .topbar-inner {
        min-height: 29px;
        justify-content: center;
        padding: 5px 0;
    }

    .topbar-inner > div:last-child {
        display: none;
    }

    .header-inner {
        min-height: 60px;
        padding: 7px 0;
        gap: 6px;
    }

    .brand {
        gap: 7px;
        min-width: 0;
    }

    .brand > span {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        font-size: 18px;
    }

    .brand strong {
        font-size: 19px;
        letter-spacing: 2px;
    }

    .brand small {
        font-size: 5px;
        letter-spacing: 1.3px;
    }

    .header-actions {
        gap: 2px;
        margin-left: auto;
    }

    .header-actions > a,
    .header-action {
        min-height: 36px;
        padding: 4px 5px;
        font-size: 0;
        gap: 0;
        border-radius: 10px;
    }

    .header-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .cart-count {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        margin: 0;
        border-width: 1px;
        font-size: 8px;
    }

    .account-dropdown {
        right: -4px;
        width: 190px;
    }

    .search-row {
        padding-bottom: 9px;
    }

    .search {
        border-radius: 10px;
    }

    .search input,
    .search button {
        height: 43px;
    }

    .search input {
        padding: 0 11px;
        font-size: 13px;
    }

    .search button {
        padding: 0 14px;
        font-size: 11px;
    }

    .hero {
        height: 410px;
        min-height: 410px;
    }

    .hero-copy {
        padding: 78px 10px 25px;
        text-align: center;
    }

    .hero-copy span {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero-copy h1 {
        width: 100%;
        margin: 12px auto;
        font-size: 42px;
    }

    .hero-copy p {
        max-width: 340px;
        margin: 0 auto 20px;
        font-size: 13px;
        line-height: 1.6;
    }

    .categories,
    .products-section {
        padding: 42px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }

    .section-head h1,
    .section-head h2 {
        font-size: 29px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

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

    .category-card {
        padding: 16px 12px;
        border-radius: 11px;
    }

    .category-card b {
        font-size: 15px;
    }

    .category-card small {
        font-size: 9px;
    }

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

    .product-card {
        border-radius: 10px;
    }

    .product-image-wrap {
        height: 185px;
    }

    .product-info {
        padding: 11px;
    }

    .product-info h3 {
        margin: 6px 0 8px;
        font-size: 14px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-info small {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .price {
        font-size: 16px;
    }

    .product-info del {
        margin-left: 4px;
        font-size: 9px;
    }

    .discount {
        top: 6px;
        left: 6px;
        padding: 5px 6px;
        font-size: 8px;
    }

    /* IMPORTANT: always two compact buttons on mobile */
    .card-buttons {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        gap: 6px;
        margin-top: 10px;
    }

    .card-buttons .btn,
    .card-buttons button,
    .card-buttons a {
        width: 100%;
        min-width: 0;
        height: 42px;
        min-height: 42px;
        padding: 0 4px;
        border-radius: 11px;
        font-size: 10px;
        gap: 3px;
    }

    .card-buttons .cart-icon,
    .btn-buy-now span:first-child {
        font-size: 13px;
    }

    .floating-cart,
    #floating-cart {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 8px 10px;
        border-radius: 15px;
        gap: 8px;
    }

    .float-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
        font-size: 18px;
    }

    .floating-cart b {
        font-size: 11px;
    }

    .floating-cart small {
        font-size: 9px;
    }

    .floating-cart > a {
        padding: 8px 10px;
        font-size: 10px;
    }

    .urva-cart-notification {
        top: 12px;
        right: 12px;
        width: calc(100vw - 24px);
        padding: 12px;
    }

    .product-page {
        display: block;
        padding: 30px 0 50px;
    }

    .gallery-main {
        height: 360px;
        border-radius: 11px;
    }

    .gallery-track img {
        object-fit: contain;
    }

    .thumbs {
        padding: 7px 2px;
    }

    .thumbs img {
        width: 65px;
        height: 65px;
        flex-basis: 65px;
    }

    .product-detail {
        margin-top: 27px;
    }

    .product-detail h1 {
        font-size: 34px;
    }

    .rating {
        font-size: 12px;
    }

    .detail-price {
        margin: 18px 0;
    }

    .detail-price strong {
        font-size: 28px;
    }

    .detail-price em {
        font-size: 10px;
    }

    .lead {
        font-size: 13px;
        line-height: 1.75;
    }

    .detail-actions {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 7px;
    }

    .detail-actions .btn {
        min-height: 45px;
        font-size: 11px;
    }

    .qty {
        margin: 15px 0;
    }

    .qty button,
    .qty input {
        width: 38px;
        height: 38px;
    }

    .cart-layout,
    .checkout-grid,
    .order-detail {
        display: block;
    }

    .cart-item {
        align-items: flex-start;
        gap: 9px;
        padding: 10px;
        border-radius: 10px;
    }

    .cart-item img {
        width: 65px;
        height: 65px;
        flex-basis: 65px;
    }

    .cart-item h3 {
        padding-right: 20px;
        font-size: 14px;
    }

    .cart-item > strong {
        display: none;
    }

    .remove-cart {
        position: absolute;
        top: 3px;
        right: 5px;
        font-size: 22px;
    }

    .summary {
        width: 100%;
        margin-top: 18px;
        padding: 17px;
        border-radius: 11px;
    }

    .auth {
        min-height: 70vh;
        padding: 35px 10px;
    }

    .auth-card {
        width: 100%;
        padding: 24px 17px;
        border-radius: 13px;
    }

    .auth-card h1 {
        font-size: 29px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .full-field {
        grid-column: auto;
    }

    .auth-card input,
    .checkout-form input,
    .checkout-form select {
        min-height: 44px;
        font-size: 16px;
    }

    .page {
        padding: 40px 0 75px;
    }

    .account-head h1 {
        font-size: 32px;
    }

    .order-row {
        align-items: flex-start;
        padding: 12px;
        gap: 10px;
    }

    .order-row > div:last-child {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    .reviews {
        padding-bottom: 60px;
    }

    .review p {
        font-size: 13px;
    }

    .footer {
        padding: 42px 0 75px;
    }

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

    /* Admin mobile */
    .admin-shell {
        display: block;
        width: 100%;
    }

    .admin-nav {
        position: sticky;
        top: 0;
        z-index: 9999;
        width: 100%;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        white-space: nowrap;
        padding: 9px;
        gap: 5px;
        scrollbar-width: none;
    }

    .admin-nav::-webkit-scrollbar {
        display: none;
    }

    .admin-nav .brand {
        flex: 0 0 auto;
    }

    .admin-nav > a:not(.brand) {
        flex: 0 0 auto;
        padding: 8px 10px;
        font-size: 10px;
    }

    .admin-main {
        width: 100%;
        padding: 25px 11px 45px;
    }

    .admin-main h1 {
        font-size: 30px;
    }

    .admin-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stats {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
        margin: 20px 0;
    }

    .stats > div {
        padding: 13px;
        border-radius: 10px;
    }

    .stats b {
        font-size: 22px;
    }

    .admin-card {
        padding: 13px;
        border-radius: 10px;
    }

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

    .table-wrap table {
        min-width: 720px;
    }

    .banner-row {
        align-items: flex-start;
    }

    .banner-row img {
        width: 120px;
        height: 65px;
        flex-basis: 120px;
    }
}

/* =========================================================
   SMALL PHONES — 480px
   ========================================================= */
@media (max-width: 480px) {

    .container {
        width: calc(100% - 20px);
    }

    .brand > span {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 17px;
    }

    .brand strong {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .brand small {
        display: none;
    }

    .header-inner {
        gap: 4px;
    }

    .header-actions {
        gap: 1px;
    }

    .header-actions > a,
    .header-action {
        padding: 3px;
    }

    .header-icon {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 15px;
    }

    .hero {
        height: 375px;
        min-height: 375px;
    }

    .hero-copy {
        padding-top: 70px;
    }

    .hero-copy h1 {
        font-size: 37px;
    }

    .hero-copy p {
        max-width: 310px;
        font-size: 12px;
    }

    .product-grid {
        gap: 8px;
    }

    .product-image-wrap {
        height: 165px;
    }

    .product-info {
        padding: 9px;
    }

    .product-info h3 {
        font-size: 13px;
    }

    .price {
        font-size: 15px;
    }

    .product-info del {
        display: block;
        margin: 3px 0 0;
        font-size: 9px;
    }

    .discount {
        padding: 4px 5px;
        font-size: 7px;
    }

    .card-buttons {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        gap: 5px;
        margin-top: 9px;
    }

    .card-buttons .btn,
    .card-buttons button,
    .card-buttons a {
        height: 40px;
        min-height: 40px;
        padding: 0 3px;
        border-radius: 10px;
        font-size: 9.5px;
    }

    .card-buttons .cart-icon,
    .btn-buy-now span:first-child {
        font-size: 12px;
    }

    .floating-cart,
    #floating-cart {
        left: 7px;
        right: 7px;
        bottom: calc(7px + env(safe-area-inset-bottom));
        padding: 7px 8px;
    }

    .float-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .floating-cart > a {
        padding: 7px 9px;
        font-size: 9px;
    }

    .gallery-main {
        height: 320px;
    }

    .product-detail h1 {
        font-size: 30px;
    }

    .detail-price strong {
        font-size: 26px;
    }

    .detail-actions {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding-left: 9px;
        padding-right: 9px;
    }

    .stats {
        gap: 7px;
    }

    .stats > div {
        padding: 11px;
    }

    .stats b {
        font-size: 20px;
    }
}

/* =========================================================
   VERY SMALL PHONES — 380px
   ========================================================= */
@media (max-width: 380px) {

    .container {
        width: calc(100% - 16px);
    }

    .brand strong {
        font-size: 17px;
    }

    .header-icon {
        width: 30px;
        height: 30px;
    }

    .hero {
        height: 355px;
        min-height: 355px;
    }

    .hero-copy {
        padding-top: 62px;
    }

    .hero-copy h1 {
        font-size: 33px;
    }

    .product-image-wrap {
        height: 150px;
    }

    .product-info {
        padding: 8px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .price {
        font-size: 14px;
    }

    .card-buttons {
        gap: 4px;
    }

    .card-buttons .btn,
    .card-buttons button,
    .card-buttons a {
        height: 38px;
        min-height: 38px;
        font-size: 8.8px;
        padding-inline: 2px;
    }

    .card-buttons .cart-icon,
    .btn-buy-now span:first-child {
        font-size: 11px;
    }

    .gallery-main {
        height: 290px;
    }

    .auth-card {
        padding: 20px 13px;
    }

    .auth-card h1 {
        font-size: 26px;
    }
}

/* =========================================================
   LANDSCAPE PHONES
   ========================================================= */
@media (max-width: 768px) and (orientation: landscape) {

    .hero {
        height: 330px;
        min-height: 330px;
    }

    .hero-copy {
        padding-top: 45px;
    }

    .hero-copy h1 {
        font-size: 37px;
    }

    .gallery-main {
        height: 300px;
    }
}

/* =========================================================
   TOUCH DEVICES
   ========================================================= */
@media (hover: none) and (pointer: coarse) {

    .product-card:hover {
        transform: none;
        box-shadow: 0 5px 18px rgba(24,39,28,.035);
    }

    .product-card:hover .product-image-wrap img {
        transform: none;
    }

    .btn,
    button,
    a {
        touch-action: manipulation;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }
}

/* ---------- FINAL OVERFLOW PROTECTION ---------- */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    .header,
    .header-inner,
    .search-row,
    .product-grid,
    .product-card,
    .product-info,
    .card-buttons,
    .product-page,
    .cart-layout,
    .checkout-grid,
    .order-detail,
    .footer {
        max-width: 100%;
        min-width: 0;
    }

    .card-buttons > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .card-buttons .btn,
    .card-buttons button,
    .card-buttons a {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}
