/* ==========================================================
   VELVET CAKE
   Main stylesheet
   The file is intentionally formatted for easy editing.
   ========================================================== */

@font-face {
    font-family: "VelvetArabic";
    src: url("../fonts/NotoSansArabic-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "VelvetArabic";
    src: url("../fonts/NotoSansArabic-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "VelvetArabic";
    src: url("../fonts/NotoSansArabic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --espresso: #160b07;
    --brown: #29140c;
    --brown-2: #452417;
    --gold: #cda66c;
    --gold-light: #efd39c;
    --cream: #f8f0e7;
    --paper: #fffaf5;
    --white: #ffffff;
    --ink: #281913;
    --muted: #796961;
    --line: #eadfd5;
    --success-bg: #edf7e9;
    --success-border: #cfe4c8;
    --success-text: #376631;
    --danger-bg: #fae4e1;
    --danger-text: #913a32;
    --shadow: 0 22px 70px rgba(42, 21, 12, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "VelvetArabic", "Noto Sans Arabic", Tahoma, sans-serif;
    line-height: 1.9;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

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

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ==========================================================
   TOP BAR
   ========================================================== */

.topbar {
    height: 36px;
    background: var(--espresso);
    color: #cdb8a8;
    font-size: 12px;
}

.topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar strong {
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ==========================================================
   MAIN HEADER
   ========================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 245, 0.94);
    border-bottom: 1px solid rgba(71, 40, 25, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-logo {
    width: 176px;
    height: 76px;
    flex: 0 0 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(167, 124, 75, 0.35);
    border-radius: 22px;
    background: linear-gradient(145deg, #2b130b, #140805);
    box-shadow: 0 10px 30px rgba(50, 23, 12, 0.13);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 17px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-right: auto;
    margin-left: auto;
    color: #594940;
    font-size: 13px;
}

.nav-links a {
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 11px 19px;
    border: 0;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #6f3d25, #32180e);
    box-shadow: 0 12px 25px rgba(76, 38, 21, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 30px rgba(76, 38, 21, 0.25);
}

.btn-soft {
    color: #68442f;
    background: #f0e2d5;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #5d3b2a;
    background: var(--white);
}

.mobile-menu {
    display: none;
    padding: 0 0 15px;
}

.mobile-menu.open {
    display: grid;
    gap: 7px;
}

.mobile-menu a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #5f4b40;
    background: var(--white);
    font-size: 12px;
}

/* ==========================================================
   HERO
   ========================================================== */

.hero {
    padding: 70px 0 84px;
    background:
        radial-gradient(circle at 12% 22%, rgba(205, 166, 108, 0.16), transparent 27%),
        linear-gradient(180deg, #fffaf5 0, #f8eee5 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    min-width: 0;
}

.eyebrow,
.section-kicker {
    color: #a77a45;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.6px;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid #e7d6c5;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.hero h1 {
    margin: 16px 0 17px;
    font-size: clamp(40px, 5.2vw, 69px);
    line-height: 1.28;
    letter-spacing: -1.2px;
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(100deg, #6b3922, #c3955b);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-note {
    margin-top: 17px;
    color: #917d70;
    font-size: 10px;
}

.stats {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.stat {
    min-width: 126px;
    padding: 13px 14px;
    border: 1px solid rgba(222, 207, 194, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.stat b {
    display: block;
    font-size: 17px;
}

.stat span {
    display: block;
    margin-top: 2px;
    color: #8b796e;
    font-size: 9px;
}

.hero-visual {
    position: relative;
    min-height: 530px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 28px;
    border-radius: 42px;
    background: linear-gradient(145deg, #32170e, #130805);
    box-shadow: 0 35px 90px rgba(48, 21, 11, 0.22);
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(223, 182, 117, 0.26);
    border-radius: 50%;
    box-shadow:
        0 0 0 14px rgba(218, 176, 108, 0.04),
        0 0 0 28px rgba(218, 176, 108, 0.025);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(231, 195, 132, 0.24);
    border-radius: 32px;
    pointer-events: none;
}

.hero-logo {
    position: relative;
    z-index: 2;
    width: min(78%, 390px);
    aspect-ratio: 1 / 1;
    padding: 12px;
    border: 1px solid rgba(225, 185, 117, 0.65);
    border-radius: 50%;
    background: #1c0b06;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.hero-badge {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 28px;
    left: 28px;
    padding: 18px 20px;
    border: 1px solid rgba(226, 188, 124, 0.24);
    border-radius: 18px;
    color: #ffffff;
    background: rgba(26, 11, 6, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge small {
    color: #d3ad76;
    font-size: 8px;
    letter-spacing: 2px;
}

.hero-badge strong {
    display: block;
    margin-top: 2px;
    font-size: 15px;
}

/* ==========================================================
   SECTIONS
   ========================================================== */

.section {
    padding: 92px 0;
}

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

.section-head h2 {
    margin: 5px 0;
    font-size: 34px;
    line-height: 1.4;
}

.section-head p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.filter-btn {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #725f55;
    background: #ffffff;
    font-size: 14px;
    transition: 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #351a10;
    color: #ffffff;
    background: #351a10;
}

/* ==========================================================
   PRODUCT CARDS
   ========================================================== */

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

.product {
    position: relative;
    overflow: hidden;
    border: 1px solid #eadfd5;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(61, 31, 17, 0.045);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(61, 31, 17, 0.12);
}

.product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eee3d9;
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(20, 8, 4, 0.12));
    pointer-events: none;
}

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

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

.product-body {
    padding: 19px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tag {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    color: #8a5c3d;
    background: #f3e5d8;
    font-size: 9px;
}

.product h3 {
    margin: 10px 0 6px;
    font-size: 17px;
}

.product p {
    min-height: 45px;
    margin: 0 0 16px;
    color: #84736a;
    font-size: 11px;
}

.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 13px;
    border-top: 1px solid #f0e7e0;
}

.price {
    color: #5e3825;
    font-size: 12px;
    font-weight: 700;
}

.tiny-btn {
    padding: 8px 11px;
    border-radius: 11px;
    color: #ffffff;
    background: #2d160d;
    font-size: 10px;
    font-weight: 700;
}

.empty-products {
    grid-column: 1 / -1;
    padding: 50px;
    border: 1px dashed #ddcec1;
    border-radius: 20px;
    color: #8c786b;
    text-align: center;
}

/* ==========================================================
   ABOUT
   ========================================================== */

.about {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #1b0c07;
}

.about::before {
    content: "";
    position: absolute;
    top: -250px;
    left: -260px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(217, 174, 107, 0.12);
    border-radius: 50%;
}

.about-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.about h2 {
    margin: 8px 0 15px;
    font-size: 39px;
    line-height: 1.45;
}

.about-copy {
    margin: 0;
    color: #cdbbb0;
    font-size: 13px;
}

.about-card {
    padding: 30px;
    border: 1px solid rgba(215, 174, 111, 0.2);
    border-radius: 27px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
}

.checks {
    display: grid;
    gap: 22px;
}

.check {
    display: flex;
    gap: 13px;
}

.check i {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(213, 170, 104, 0.35);
    border-radius: 50%;
    color: #e0bb7d;
    background: rgba(213, 170, 104, 0.14);
    font-style: normal;
}

.check b {
    font-size: 14px;
}

.check span {
    color: #aa9689;
    font-size: 12px;
}

/* ==========================================================
   CONTACT
   ========================================================== */

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

.contact-card {
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(60, 30, 16, 0.04);
}

.contact-card h3 {
    margin-top: 0;
    font-size: 21px;
}

.contact-card p {
    color: var(--muted);
    font-size: 14px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0e8e1;
}

.contact-row:last-child {
    border-bottom: 0;
}

.icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #70472f;
    background: #f3e5d9;
}

.contact-row b {
    font-size: 16px;
}

.contact-row span,
.contact-row a {
    color: #75645a;
    font-size: 14px;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    padding: 28px 0;
    color: #9d887b;
    background: #120704;
    font-size: 10px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer strong {
    color: #d2a86b;
}

/* ==========================================================
   ADMIN SHARED
   ========================================================== */

.admin-page {
    min-height: 100vh;
    background: #f5eee7;
}

.admin-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #ffffff;
    background: #170a06;
    border-bottom: 1px solid rgba(213, 169, 102, 0.18);
}

.admin-head-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.admin-brand-logo {
    width: 58px;
    height: 58px;
    padding: 4px;
    border: 1px solid rgba(214, 170, 103, 0.35);
    border-radius: 18px;
    background: #2a1209;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.admin-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 13px;
}

.admin-brand b {
    display: block;
    font-size: 14px;
    letter-spacing: 1.7px;
}

.admin-brand small {
    display: block;
    color: #ad927f;
    font-size: 8px;
    letter-spacing: 2px;
}

.admin-head-actions {
    display: flex;
    gap: 8px;
}

.admin-head-actions a {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    color: #c9b6a9;
    font-size: 10px;
}

.admin-head-actions .logout {
    color: #dfb77a;
}

.admin-main {
    padding: 42px 0 70px;
}

.admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-eyebrow {
    color: #a77847;
    font-size: 9px;
    letter-spacing: 2.5px;
}

.admin-welcome h1 {
    margin: 2px 0;
    font-size: 31px;
}

.admin-welcome p {
    margin: 0;
    color: #8b786e;
    font-size: 11px;
}

.admin-stat {
    min-width: 105px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 17px;
    text-align: center;
    background: #ffffff;
}

.admin-stat strong {
    display: block;
    color: #59311f;
    font-size: 23px;
}

.admin-stat span {
    color: #8a776c;
    font-size: 9px;
}

.admin-flash {
    margin-bottom: 16px;
    padding: 11px 14px;
    border: 1px solid var(--success-border);
    border-radius: 13px;
    color: var(--success-text);
    background: var(--success-bg);
    font-size: 10px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.86fr) minmax(470px, 1.14fr);
    gap: 18px;
}

.admin-card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 15px 50px rgba(62, 31, 16, 0.055);
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.card-heading span {
    color: #ae7f4c;
    font-size: 8px;
    letter-spacing: 2px;
}

.card-heading h2 {
    margin: 1px 0;
    font-size: 20px;
}

.heading-mark,
.count-pill {
    display: grid;
    place-items: center;
    color: #70462f;
    background: #f3e5d9;
}

.heading-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
}

.count-pill {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
}

.admin-card label {
    display: block;
    margin: 13px 0;
    color: #674d40;
    font-size: 10px;
    font-weight: 700;
}

.admin-card input,
.admin-card textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 13px;
    border: 1px solid #e4d8cf;
    border-radius: 12px;
    outline: 0;
    color: #2c1b14;
    background: #ffffff;
    font-size: 11px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-card input:focus,
.admin-card textarea:focus {
    border-color: #bc8c58;
    box-shadow: 0 0 0 3px rgba(188, 140, 88, 0.12);
}

.admin-card textarea {
    min-height: 104px;
    resize: vertical;
}

.admin-card label small {
    display: block;
    margin-top: 5px;
    color: #958279;
    font-size: 8px;
    font-weight: 400;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.admin-primary {
    padding: 11px 16px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #5c2e1d, #32170d);
    font-size: 11px;
    font-weight: 700;
}

.admin-secondary {
    padding: 10px 14px;
    border-radius: 12px;
    color: #68432f;
    background: #f1e3d8;
    font-size: 10px;
}

.current-image {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid #eee1d8;
    border-radius: 13px;
    color: #8b796e;
    background: #fff9f4;
    font-size: 9px;
}

.current-image img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.product-admin-list {
    display: grid;
}

.product-admin-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #f0e8e1;
}

.product-admin-item:last-child {
    border-bottom: 0;
}

.product-admin-item > img {
    width: 68px;
    height: 68px;
    border-radius: 15px;
    object-fit: cover;
    background: #eeeeee;
}

.product-admin-info h3 {
    margin: 0 0 2px;
    font-size: 13px;
}

.product-admin-info p {
    margin: 0;
    color: #8b786e;
    font-size: 9px;
}

.product-admin-actions {
    display: flex;
    gap: 6px;
}

.edit-btn,
.delete-btn {
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    font-size: 9px;
}

.edit-btn {
    color: #67402d;
    background: #f1e3d8;
}

.delete-btn {
    color: var(--danger-text);
    background: var(--danger-bg);
}

.security-note {
    display: flex;
    gap: 13px;
    margin-top: 18px;
    padding: 17px;
    border: 1px solid rgba(215, 174, 111, 0.15);
    border-radius: 18px;
    color: #ffffff;
    background: #24110a;
}

.security-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #dfb777;
    background: rgba(214, 171, 104, 0.12);
}

.security-note b {
    font-size: 11px;
}

.security-note p {
    margin: 3px 0 0;
    color: #b8a397;
    font-size: 9px;
}

.security-note code {
    color: #e1b674;
}

.admin-footer {
    padding: 0 0 30px;
    color: #9a8679;
    text-align: center;
    font-size: 9px;
}

/* ==========================================================
   ADMIN LOGIN
   ========================================================== */

.admin-login-page {
    min-height: 100vh;
    color: #ffffff;
    background: #120704;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 50% 30%, rgba(199, 153, 89, 0.13), transparent 35%);
}

.login-card {
    width: min(430px, 92vw);
    padding: 34px 34px 28px;
    border: 1px solid rgba(215, 174, 111, 0.28);
    border-radius: 31px;
    text-align: center;
    background: linear-gradient(145deg, #2a130b, #160905);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48);
}

.login-logo {
    width: 142px;
    height: 142px;
    margin: 0 auto 18px;
    padding: 6px;
    border: 1px solid rgba(218, 177, 111, 0.55);
    border-radius: 32px;
    background: #1c0b06;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.login-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;
}

.login-kicker {
    color: #d3a96c;
    font-size: 8px;
    letter-spacing: 2.5px;
}

.login-card h1 {
    margin: 5px 0;
    font-size: 26px;
}

.login-card > p {
    margin: 0 0 21px;
    color: #bda99d;
    font-size: 10px;
}

.login-card label {
    display: block;
    margin-bottom: 5px;
    color: #dcc9bc;
    font-size: 10px;
    text-align: right;
}

.login-card input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #553323;
    border-radius: 12px;
    outline: 0;
    color: #ffffff;
    background: #1b0c07;
    font-size: 12px;
}

.login-card input[type="password"]:focus {
    border-color: #c99a61;
    box-shadow: 0 0 0 3px rgba(201, 154, 97, 0.12);
}

.login-card .admin-primary {
    width: 100%;
    margin-top: 11px;
    padding: 13px;
}

.login-error {
    margin-bottom: 12px;
    padding: 9px;
    border: 1px solid #793b34;
    border-radius: 11px;
    color: #ffd7d1;
    background: #54231f;
    font-size: 9px;
}

.back-site {
    display: inline-block;
    margin-top: 16px;
    color: #a9907f;
    font-size: 9px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {
    .hero-grid {
        gap: 45px;
    }

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

@media (max-width: 980px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero {
        padding-top: 50px;
    }

    .hero-visual {
        min-height: 460px;
    }

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

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-actions .btn {
        display: none;
    }

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

@media (max-width: 700px) {
    .container,
    .admin-container {
        width: min(100% - 28px, 560px);
    }

    .topbar {
        height: 34px;
    }

    .topbar .container {
        justify-content: center;
    }

    .topbar .container span:last-child {
        display: none;
    }

    .nav-inner {
        min-height: 72px;
        gap: 12px;
    }

    .brand-logo {
        width: 154px;
        height: 66px;
        flex-basis: 154px;
        border-radius: 18px;
    }

    .brand-logo img {
        border-radius: 14px;
    }

    /* Hero is intentionally centered on mobile. */
    .hero {
        padding: 42px 0 58px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        margin-top: 15px;
        font-size: clamp(36px, 11vw, 48px);
        letter-spacing: -0.5px;
    }

    .hero-copy {
        margin-right: auto;
        margin-left: auto;
        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        font-size: 12px;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        text-align: center;
    }

    .stat {
        min-width: 0;
        padding: 11px 7px;
    }

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

    .stat span {
        font-size: 12px;
    }

    .hero-visual {
        min-height: 365px;
        padding: 22px;
        border-radius: 29px;
    }

    .hero-visual::before {
        width: 290px;
        height: 290px;
    }

    .hero-visual::after {
        inset: 11px;
        border-radius: 23px;
    }

    .hero-logo {
        width: 68%;
        padding: 8px;
    }

    .hero-badge {
        right: 18px;
        bottom: 18px;
        left: 18px;
        padding: 14px 15px;
        text-align: center;
    }

    .hero-badge strong {
        font-size: 12px;
    }

    /* Product area is also centered on mobile. */
    .section {
        padding: 62px 0;
    }

    #products .section-head {
        display: block;
        text-align: center;
    }

    #products .section-head p {
        margin-right: auto;
        margin-left: auto;
    }

    #products .filters {
        justify-content: center;
    }

    .section-head h2 {
        font-size: 19.5px;
        text-align: center;
    }

    #contact-order-card {
        text-align: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #products .product-body {
        text-align: center;
    }

    #products .product-meta {
        justify-content: center;
    }

    #products .product p {
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
        font-size: 14px;
    }

    #products .product-foot {
        text-align: right;
    }

    /* About and contact intentionally remain RTL/right aligned. */
    .about-grid {
        gap: 32px;
    }

    .about h2 {
        font-size: 30px;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        display: block;
        text-align: center;
        font-size: 12px;
    }

    .footer .container span {
        display: block;
        margin: 3px;
    }

    /* Admin mobile */
    .admin-head-inner {
        min-height: 72px;
    }

    .admin-brand-logo {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .admin-brand b {
        font-size: 11px;
    }

    .admin-head-actions a:first-child {
        display: none;
    }

    .admin-main {
        padding: 28px 0 50px;
    }

    .admin-welcome {
        align-items: center;
    }

    .admin-welcome h1 {
        font-size: 25px;
    }

    .admin-stat {
        min-width: 76px;
    }

    .admin-card {
        padding: 19px;
        border-radius: 22px;
    }

    .product-admin-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .product-admin-item > img {
        width: 58px;
        height: 58px;
    }

    .product-admin-actions {
        grid-column: 2;
    }

    .login-card {
        padding: 28px 21px;
    }

    .login-logo {
        width: 120px;
        height: 120px;
    }

    .price {
        font-size: 14px;
    }

    .tiny-btn {
        font-size: 12px;
    }

    .product h3 {
        font-size: 20px;
    }

    .tag {
        font-size: 16px;
    }

    .eyebrow,
    .section-kicker {
        font-size: 14px;
        text-align: center;
    }

    #about-kicker {
        margin-bottom: 26px;
        margin-top: -32px;
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .brand-logo {
        width: 140px;
        height: 62px;
        flex-basis: 140px;
    }

    .mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 9px 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* ==========================================================
   SECURITY-SAFE ADMIN LOGOUT FORM
   ========================================================== */

#admin-logout-form {
    margin: 0;
    padding: 0;
}

#admin-logout-form #admin-logout {
    margin: 0;
    font-family: inherit;
    cursor: pointer;
}
