@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Great+Vibes&display=swap');
:root {
    --rose:#d59aa3;
    --rose-dark:#b3717c;
    --gold:#c8a15c;
    --olive:#333a22;
    --olive-dark:#262c18;
    --cream:#faf3e8;
    --paper:#ffffff;
    --ink:#2c2e1f;
    --muted:#87806f;
    --line:#e6dfce;
    --soft:#f3ead9;
    --green:#5b6b45;
    --shadow:0 18px 50px rgba(40,35,15,.12);
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:"DM Sans",sans-serif
}
button,a {
    font:inherit
}
a {
    text-decoration:none;
    color:inherit
}
button {
    cursor:pointer
}
.announcement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-height: 32px;
    padding: 0 5vw;
    background: #242b17;
    color: #d8c9a5;
    border-bottom: 1px solid rgba(216, 201, 165, 0.25);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.announcement-location {
    white-space: nowrap;
}
.site-header {
    height:76px;
    background:var(--olive);
    color:var(--cream);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--olive-dark);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 5vw;
    position:sticky;
    top:0;
    z-index:20
}
.brand {
    display:flex;
    align-items:center;
    gap:10px;
    font-family:"Playfair Display",serif;
    font-size:25px
}
.brand strong {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.brand small {
    font-family:"Great Vibes",cursive;
    font-weight:400;
    font-size:22px;
    letter-spacing:0;
    text-transform:none;
    margin-left:4px;
    color:var(--gold)
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color:var(--gold);
    font-size:30px;
}
.brand-mark img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.desktop-nav {
    display: flex;
    gap: 65px;
    font-size: 15px;
}
.desktop-nav a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: var(--cream);
    transition: color 0.25s ease;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.desktop-nav a:hover {
    color: var(--gold);
}
.desktop-nav a.active {
    color: var(--gold);
}
.desktop-nav a.active::after {
    transform: scaleX(1);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Header action order */ #cartBtn {
    order: 1;
    font-size: 18px;
}
#accountBtn {
    order: 2;
}
#menuBtn {
    display: none;
}
.icon-btn,.menu-btn {
    border:0;
    background:transparent;
    color:var(--cream);
    font-size:21px
}
.cart-btn {
    border:1px solid var(--gold);
    color:var(--cream);
    background:transparent;
    border-radius:99px;
    padding:9px 16px;
    font-size:13px
}
.cart-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transform: translateY(-2px);
    background: var(--rose);
    color: #fff;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    margin-left: 6px;
    font-size: 11px;
    line-height: 1;
}
.menu-btn {
    display:none
}
.hero {
    min-height: 700px;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 56px;
    align-items: center;
    padding: 65px 8.3vw;
    background: linear-gradient(120deg, var(--olive), var(--olive-dark));
    color: var(--cream);
}
.hero-copy {
    max-width: 680px;
}
.hero h1 {
    max-width: 680px;
    font-size: clamp(46px, 5.2vw, 72px);
    line-height: 1.04;
    letter-spacing: -1.5px;
}
.hero p {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.85;
}
.hero-art {
    width: 100%;
    height: 700px;
    border-radius: 220px 220px 14px 14px;
    overflow: hidden;
    position: relative;
    background: none;
    box-shadow: var(--shadow);
}
.hero-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.hero-art::before, .hero-art::after {
    content: none !important;
    display: none !important;
}
/* Restore shared typography and button styling */ .eyebrow {
    letter-spacing:5px;
    font-size: 15px;
    color: #C8798A;
    font-weight: 550;
}
h1, h2, h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 16px;
}
h1 {
    font-size: 55px;
    line-height: .98;
    font-weight: 600;
}
h2 {
    font-size: 42px;
    color: #242b17;
}
.hero p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(250, 243, 232, .75);
    max-width: 560px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}
.btn {
    border: 0;
    border-radius: 5px;
    padding: 13px 15px;
    min-width: 190px;
    background: #333a22;
    color: #fff;
    font-weight: 600;
}
.btn.secondary {
    background: #4d523f;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(250, 243, 232, .4);
}
.btn.rose {
    background: #d59aa3;
    color: #262c18;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section {
    padding:78px 7vw
}
.section-head {
    display:flex;
    justify-content:space-between;
    align-items:end;
    margin-bottom:30px
}
.section-head p {
    color:var(--muted);
    max-width:520px
}
.categories {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px
}
.category {
    padding: 25px;
    border: 1px solid #E8C0C5;
    background: #FBEAEC;
    border-radius: 12px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.category strong {
    font-family: "Playfair Display",serif;
    font-size: 30px;
    font-weight: 650;
    color: #754751;
}
.category span {
    font-family: "Playfair Display",serif;
    font-size: 12px;
    font-weight: 650;
    color: #A36F78;
}
.category span {
    font-size:12px;
    color:var(--muted)
}
.products {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px
}
/* Product card */ .product-card {
    background: #FBEAEC;
    border: 1px solid #E8C0C5;
    border-radius: 12px;
    overflow: hidden;
    transition: .2s;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Customize Product Card */
.customize-product-image {
    background: linear-gradient(
        135deg,
        #e9c9cd,
        #f9e9e9 50%,
        #dce5d5
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.customize-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 20px;
    color: #405b3b;
}
.customize-image-content .customize-tulip-logo {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    display: block;
    position: static !important;
}

.customize-image-content strong {
    font-family: inherit;
    font-size: 20px;
}

.customize-image-content span:last-child {
    font-size: 13px;
}

.product-image {
    height:240px;
    background-size:cover;
    background-position:center;
    position:relative
}
.badge {
    position:absolute;
    top:12px;
    left:12px;
    background:#fff;
    padding:6px 9px;
    border-radius:20px;
    font-size:10px;
    font-weight:700
}
/* Product details - dark pink */ .product-info {
    padding: 17px;
    background: #FBEAEC;
    color: #FFFFFF;
}
/* Category label - white */ .product-info .category-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #B3717C;
    font-weight: 700;
}
/* Product name - white */ .product-info h3 {
    font-size: 21px;
    margin: 5px 0;
    color: #101010;
}
/* Description - soft white */ .product-info p {
    font-size: 13px;
    color: #101010;
    min-height: 38px;
}
/* Permanently hide product sold count */
.product-sold-count {
    display: none !important;
}
/* Price */ .product-info .price {
    color: #101010;
}
.product-row {
    display:flex;
    align-items:center;
    justify-content:space-between
}
.price {
    font-weight:700
}
.add-btn {
    border: 1px solid #4d523f;
    background: #4d523f;
    color: #fff;
    border-radius: 99px;
    padding: 8px 12px;
    font-size: 12px;
}
.add-btn:hover {
    background: #303820;
    border-color: #303820;
    color: #fff;
}
.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #C8BBA5;
    border: 1px solid #C8BBA5;
}
.feature {
    background: #fff;
    padding: 28px;
}
.feature b {
    display:block;
    margin-bottom:7px
}
.feature p {
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.6
}
.page {
    min-height:650px;
    padding:65px 7vw
}
/* About page - floral pink theme */ .about-page {
    background: #faf3e8;
}
.about-page .about-card {
    background: #FFF9FA;
    border-color: #E8C0C5;
    box-shadow: 0 10px 30px rgba(179, 113, 124, 0.10);
}
.about-page .eyebrow {
    color: #C8798A;
    letter-spacing:5px
}
.about-page h1 {
    color: #303820;
    font-size: 55px
}
.about-page .feature-strip {
    background: #E8C0C5;
    border-color: #E8C0C5;
}
.about-page .feature {
    background: #FFF1F3;
    font-size: 21px
}
.about-page .feature-desc {
    font-size: 16px
}
.page-title {
    margin-bottom:35px
}
.form-card,.panel {
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:30px;
    box-shadow:0 10px 30px rgba(50,30,20,.04)
}
.form-card {
    max-width:520px;
    margin:auto
}
.field {
    margin-bottom:16px
}
.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #d15a6c;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    outline: none;
}
.field select {
    padding: 12px 42px 12px 13px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23101010' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
}
.field input:focus,.field select:focus,.field textarea:focus {
    border-color:var(--rose)
}
.form-actions {
    display:flex;
    gap:10px;
    flex-wrap:wrap
}
.muted {
    color:var(--muted)
}
.cart-layout {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 24px;
}
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cart-item > div:last-child .add-btn {
    align-self: center;
    margin-top: 0;
}
.cart-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}
.qty {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.qty button {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 50%;
}
.summary-line {
    display:flex;
    justify-content:space-between;
    margin:13px 0;
    color:var(--muted)
}
.summary-total {
    display:flex;
    justify-content:space-between;
    font-size:18px;
    font-weight:700;
    padding-top:14px;
    border-top:1px solid var(--line)
}
.auth-links {
    text-align:center;
    margin-top:15px;
    font-size:13px;
    color:var(--muted)
}
.auth-links a {
    color:#262c18;
    font-weight:700
}
.account-grid {
    display:grid;
    grid-template-columns:260px 1fr;
    gap:22px
}
.side-nav {
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:10px;
    height:max-content
}
.side-nav button {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 12px;
    border-radius: 7px;
    margin-bottom: 4px;
}
.side-nav button.active,.side-nav button:hover {
    background:var(--soft)
}
.order {
    padding:18px 0;
    border-bottom:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    gap:15px
}
.status {
    font-size:11px;
    padding:6px 9px;
    border-radius:20px;
    background:#e9f3ec;
    color:var(--green);
    font-weight:700
}
.admin-shell {
    display:grid;
    grid-template-columns:230px 1fr;
    min-height:650px
}
.admin-nav {
    background:#d3848f;
    color:#fff;
    padding:25px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 15px;
    box-sizing: border-box;
}
.admin-nav h3 {
    padding:0 12px
}
.admin-nav button {
    display:block;
    width:100%;
    text-align:left;
    background:transparent;
    border:0;
    color:#fff;
    padding:12px;
    border-radius:7px
}
.admin-nav button:hover,.admin-nav button.active {
    background:#d59aa3;
    color:#fff;
}
.admin-main {
    padding:40px 5vw
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    margin-bottom: 25px;
}
.stat {
    background:#fff;
    border:1px solid var(--line);
    padding:20px;
    border-radius:10px
}
.stat small {
    color:var(--muted)
}
.stat strong {
    display:block;
    font-size:28px;
    margin-top:7px
}
.table-wrap {
    overflow:auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px
}
table {
    border-collapse:collapse;
    width:100%;
    min-width:650px
}
th,td {
    text-align:left;
    padding:14px;
    border-bottom:1px solid var(--line);
    font-size:13px
}
th {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.1em;
    color:var(--muted)
}
.empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    width: 100%;
}
.site-footer {
    background: var(--olive-dark);
    color: #eee;
    padding: 55px 7vw;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 35px;
    align-items: start;
}
.site-footer a, .site-footer p {
    display:block;
    color:#cfc7b8;
    font-size:13px;
    line-height:1.8
}
.footer-brand {
    font-family:"Playfair Display";
    font-size:28px;
    margin-bottom:10px;
    color:var(--gold)
}
.site-footer > * {
    margin-top: 0;
}
.site-footer > div:not(:first-child) {
    padding-top: 5px;
}
.site-footer > * h3, .site-footer > * h4 {
    margin-top: 0;
}
.whatsapp-link {
    color:#a7d8b6!important
}
.toast {
    position: fixed;
    bottom: 5px;
    right: 25px;
    background: var(--olive-dark);
    color: #fff;
    padding: 10px 17px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s;
    z-index: 99999;
    text-align: center;
    line-height: 1.3;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30,32,16,.55);
    display: grid;
    place-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    z-index: 60;
}
.modal-backdrop.hidden {
    display:none
}
.modal {
    background: #fff;
    width: min(900px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    padding: 28px;
    color: #101010;
    scrollbar-width: thin;
    scrollbar-color: #A5A59B transparent;
}
.modal:has(.new-arrivals-popup) {
    width: min(900px, 100%);
}
.modal:has(button[onclick="downloadPaymentReceipt()"]) {
    width: min(600px, 100%);
}
.modal::-webkit-scrollbar {
    width: 7px;
}
.modal::-webkit-scrollbar-track {
    background: transparent;
}
.modal::-webkit-scrollbar-thumb {
    background: #A5A59B;
    border-radius: 10px;
}
.modal::-webkit-scrollbar-thumb:hover {
    background: #77786F;
}
.modal:has(.checkout-form) .modal-head {
    flex-shrink: 0;
}
.modal:has(.checkout-form) .checkout-form {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    padding-right: 8px;
    scrollbar-gutter: stable;
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    flex-shrink: 0;
}
.modal-head .close {
    margin-left: auto;
    flex-shrink: 0;
    align-self: flex-start;
}
.close {
    border:0;
    background:var(--soft);
    border-radius:50%;
    width:32px;
    height:32px
}
.admin-menu-toggle {
    display: none;
}
/* Homepage hero image fix */ .hero-art {
    position: relative;
    height: 520px;
    min-width: 0;
    overflow: hidden;
    border-radius: 240px 240px 14px 14px;
    background: none;
    box-shadow: var(--shadow);
}
.hero-art::before, .hero-art::after {
    content: none !important;
    display: none !important;
}
.hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}
/* Responsive image sizing */ /* ===== Flora by Tina: Responsive Hero ===== */ .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 750px;
    padding: 70px 8.5%;
    overflow: hidden;
    isolation: isolate;
    background-color: #303820;
    color: #FAF3E8;
}
/* Soft floral background only */ #app > .hero::before {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    background-image: url("images/homepage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);
    transform: scale(1.01);
}
#app > .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 90deg, rgba(35, 42, 26, 0.90) 0%, rgba(35, 42, 26, 0.82) 25%, rgba(35, 42, 26, 0.68) 45%, rgba(35, 42, 26, 0.45) 65%, rgba(35, 42, 26, 0.22) 100% );
    pointer-events: none;
}
.hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    margin: 0;
    transform: none;
}
.hero-copy .eyebrow {
    margin: 0 0 12px;
    color: #E8B5B1;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 7px;
    line-height: 1.5;
}
.hero h1 {
    margin: 0;
    max-width: 650px;
    color: #FAF3E8;
    font-family: "TheSeasons", serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 1px;
}
.hero-copy .hero-divider {
    width: 100px;
    height: 1px;
    margin: 24px 0 24px;
    background: #FAF3E8;
}
.hero-copy .hero-subtitle {
    max-width: none;
    margin: 0 0 24px;
    color: rgba(250, 243, 232, 0.95);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.8;
    text-transform: uppercase;
    white-space: nowrap;
}
.hero .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 42px;
    border: none;
    border-radius: 0;
    background: #E7AAA9;
    color: #303820;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: none;
    transition: background 0.2s ease;
}
.hero .btn-primary:hover {
    background: #F0C1BE;
}
.hero p {
    max-width: 560px;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.8;
    color: rgba(250, 243, 232, 0.94);
}
.hero-art {
    display: block !important;
    position: relative;
    flex: 0 0 43%;
    width: 43%;
    height: 560px;
    min-width: 0;
    margin-left: auto;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
/* ===== Tablet ===== */ /* ===== Mobile ===== */ /* ===== Scroll Reveal Animation ===== */ .scroll-reveal {
    opacity: 0;
    transform: translateY(70px) scale(0.96);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* Accessibility: respect reduced-motion preference */ /* Product image gallery */ .product-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.view-gallery-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 12px;
    border-radius: 20px;
    background: rgb(219, 109, 164);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.product-image:hover .view-gallery-hint, .product-image:focus .view-gallery-hint {
    opacity: 1;
}
.product-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 20, 0.78);
}
.product-gallery-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.product-gallery-dialog h2 {
    margin: 0 42px 18px 0;
    color: #28583b;
    font-size: 22px;
}
.gallery-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 32px;
    cursor: pointer;
}
.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: #f8f8f6;
    border-radius: 12px;
    overflow: hidden;
}
#galleryMainImage {
    display: block;
    width: 100%;
    height: min(55vh, 480px);
    object-fit: contain;
}
.gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #28583b;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.gallery-prev {
    left: 12px;
}
.gallery-next {
    right: 12px;
}
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}
.gallery-thumbnail {
    width: 68px;
    height: 68px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}
.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbnail.active {
    border-color: #2e7047;
}
/* ===== Homepage Second Background: Botanical ===== */ body:has(#app > .hero) {
    background-color: #faf7f0;
    background-image: linear-gradient( rgba(250, 247, 240, 0.78), rgba(250, 247, 240, 0.78) ), url("images/homepage_secondbg.jpg");
    background-size: 110% 100%;
    background-position: top center;
    background-repeat: repeat-y;
}
#app > .section:nth-of-type(2), #app > .section:nth-of-type(3) {
    background-image: none;
}
#app > .section:nth-of-type(2) {
    padding-bottom: 40px;
}
#app > section.section[style*="padding-top:10px"] {
    padding: 10px 0 40px;
}
/* ===== Homepage Hero: Circle Photo Only ===== */ #app > .hero .hero-art {
    position: absolute;
    right: -4%;
    bottom: -25%;
    width: 43%;
    height: 750px;
    margin: 0;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #FAF3E8;
    background: transparent;
    box-shadow: none;
    z-index: 2;
    pointer-events: none;
}
/* Hide decorative overlays */ #app > .hero .hero-art-shape, #app > .hero .hero-art-botanical, #app > .hero .hero-art-stroke {
    display: none !important;
}
/* Circular flower photograph */ #app > .hero .hero-art > img {
    position: absolute;
    left: -75px;
    top: -140px;
    width: calc(100% + 60px);
    height: calc(100% + 20px);
    display: block;
    object-fit: cover;
    object-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
}
/* Hide the circular flower image on tablet and mobile */ /* ===== Shop Search Bar ===== */ .shop-heading-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin-bottom: 30px;
}
.shop-heading-row .page-title {
    flex: none;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
}
.shop-heading-row .page-title h1 {
    max-width: 700px;
    font-size: 55px
}
.shop-search-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}
#shopCategoryFilter {
    flex: 0 0 200px;
    width: 200px;
    min-width: 0;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #D8C49A;
    border-radius: 999px;
    background: #FFFCF6;
    color: #303322;
    font: inherit;
    cursor: pointer;
}
.shop-search {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 54px;
    padding: 0 18px;
    box-sizing: border-box;
    background: #FFFCF6;
    border: 1px solid #D8C49A;
    border-radius: 999px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.shop-search:focus-within {
    border-color: #A88A4A;
    box-shadow: 0 0 0 3px rgba(168, 138, 74, 0.12);
}
.shop-search-icon {
    display: flex;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #89977D;
}
.shop-search-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
.shop-search input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 14px 0;
    color: #303322;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font: inherit;
    font-size: 16px;
}
.shop-search input::placeholder {
    color: #898777;
    opacity: 1;
}
.shop-search-empty {
    padding: 35px 15px;
    color: #777766;
    text-align: center;
}
/* Responsive shop layout */ /* The Seasons Regular */ @font-face {
    font-family: 'TheSeasons';
    src: url('fonts/Fontspring-DEMO-theseasons-reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* The Seasons Bold */ @font-face {
    font-family: 'TheSeasons';
    src: url('fonts/Fontspring-DEMO-theseasons-bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* Malibu Ring Regular */ @font-face {
    font-family: 'Malibu Ring';
    src: url('fonts/malibu-ring-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Moon Time Regular */ @font-face {
    font-family: 'Moon Time';
    src: url('fonts/FontsFree-Net-MoonTime-Regular-1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.brand small {
    font-family: 'Moon Time', cursive;
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 0;
    text-transform: none;
    margin-left: 10px;
    color: var(--gold);
}
/* Force The Seasons on BRIGHTER TOMORROW */ #app > .hero .hero-copy h1 {
    font-family: 'TheSeasons', serif !important;
    font-size: 90px;
    font-weight: 400;
    font-style: normal;
    transform: translateX(-25px);
    line-height: 1.1;
}
/* Responsive font size for mobile */ /* ===== Hero Content Alignment ===== */ /* Move the entire hero content slightly left */ #app > .hero .hero-copy {
    transform: translateX(-65px);
}
/* FLOWERS FOR A */ #app > .hero .hero-copy .eyebrow {
    font-size: 17px;
    letter-spacing: 10px;
}
/* BRIGHTER TOMORROW */ #app > .hero .hero-copy h1 {
    font-family: 'TheSeasons', serif !important;
    font-size: 75px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.1;
    transform: none;
}
#app > .hero .hero-copy .hero-subtitle {
    font-size: 14px;
    letter-spacing: 1.5px;
    white-space: nowrap;
}
/* SHOP NOW button */ #app > .hero .hero-copy .hero-actions {
    margin-top: 15px;
}
/* Mobile adjustments */ #bestSellersSection .products {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
#bestSellersSection .product-card {
    flex: 0 1 390px;
    max-width: 400px;
}
/* Mobile and tablet header */ .shop-search-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
#shopCategoryFilter {
    flex: 0 0 200px;
    min-width: 0;
    height: 54px;
    padding: 0 28px 0 16px;
    border: 1px solid #D8C49A;
    border-radius: 999px;
    background-color: #FFFCF6;
    color: #303322;
    font: inherit;
    cursor: pointer;
    order: 1;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23303322' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
}
.shop-search-controls .shop-search {
    flex: 1;
    min-width: 0;
    order: 2;
}
.shop-search-controls > .btn.rose {
    order: 3;
}
/* ========================================
   CUSTOMER REVIEWS
======================================== */ .reviews-toolbar {
    display: grid;
    grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(130px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.reviews-toolbar input, .reviews-toolbar select, .write-review-panel select, .write-review-panel textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #D8C49A;
    border-radius: 12px;
    background: #FFFCF6;
    color: #303322;
    font: inherit;
}
.reviews-toolbar select, .write-review-panel select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23303322' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
}
.reviews-summary {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 30px;
    margin-top: 24px;
    border: 1px solid #E7E0D3;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(48, 51, 34, 0.04);
}
.reviews-summary-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}
.reviews-summary-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.reviews-summary-rating strong {
    font-weight: 700;
}
.review-stars {
    color: #B08D3E;
    letter-spacing: 2px;
    font-size: 1.1rem;
}
.review-stars-empty {
    color: #D8D2C5;
}
.reviews-summary #reviewsSummaryMessage {
    margin: 0;
    color: #858075;
    line-height: 1.6;
}
.write-review-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    flex-shrink: 0;
    width: auto;
    min-width: 170px;
    padding: 13px 22px;
    border: 1px solid #303A21;
    border-radius: 8px;
    background: #303A21;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.write-review-toggle:hover {
    background: #414D2D;
    transform: translateY(-1px);
}
/* Review cards */ .reviews-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.review-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #E7E0D3;
    border-radius: 16px;
    background: #FFFCF6;
}
.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.review-card h3 {
    margin: 0 0 5px;
}
.review-card p {
    overflow-wrap: anywhere;
}
.review-text {
    line-height: 1.7;
    white-space: pre-wrap;
}
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #E7E0D3;
    color: #77786F;
    font-size: 0.9rem;
}
#reviewsEmpty[hidden] {
    display: none !important;
}
/* Centered Write a Review popup */ .review-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(30, 32, 16, 0.58);
    overflow-y: auto;
}
.review-modal-overlay[hidden] {
    display: none !important;
}
.review-modal-content {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 32px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #A5A59B transparent;
    border: 1px solid #E7E0D3;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    color: #22251B;
}
.review-modal-content::-webkit-scrollbar {
    width: 7px;
}
.review-modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.review-modal-content::-webkit-scrollbar-thumb {
    background: #A5A59B;
    border-radius: 10px;
}
.review-modal-content::-webkit-scrollbar-thumb:hover {
    background: #77786F;
}
.write-review-panel {
    scroll-margin-top: 24px;
}
.write-review-panel .review-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #E7E0D3;
    border-radius: 50%;
    background: #F3EAD9;
    color: #303A21;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.write-review-panel .review-modal-close:hover {
    background: #E8DDC9;
}
.write-review-panel > .eyebrow {
    padding-right: 42px;
    color: #D66F83;
    letter-spacing: 4px;
    font-size: 0.82rem;
    font-weight: 700;
}
.write-review-panel h2 {
    margin: 10px 42px 16px 0;
    color: #17190F;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.15;
}
.write-review-panel > .muted {
    margin-bottom: 22px;
    color: #858075;
    line-height: 1.7;
}
.write-review-panel label {
    display: block;
    margin: 18px 0 8px;
    color: #22251B;
    font-weight: 600;
}
.write-review-panel select {
    min-height: 50px;
}
.write-review-panel textarea {
    min-height: 130px;
    resize: vertical;
}
.write-review-panel select:focus, .write-review-panel textarea:focus {
    outline: 2px solid rgba(176, 141, 62, 0.2);
    border-color: #B08D3E;
}
.write-review-panel .review-attachments-field {
    margin-top: 22px;
}
.write-review-panel .review-attachments-field input[type="file"] {
    display: block;
    max-width: 100%;
    margin: 10px 0;
    color: #303322;
    font: inherit;
}
.write-review-panel .review-attachments-field small {
    display: block;
    margin-top: 8px;
    color: #858075;
    line-height: 1.6;
}
#reviewFormMessage {
    margin: 12px 0;
    overflow-wrap: anywhere;
    color: rgb(228, 66, 66);
    font-style: italic;
}
#customerReviewForm[hidden], #reviewLoginNotice[hidden], #writeReviewPanel[hidden] {
    display: none !important;
}
.write-review-panel #submitReviewButton {
    width: auto;
    min-width: 190px;
    margin-top: 24px;
    padding: 15px 24px;
    border: 0;
    border-radius: 5px;
    background: #303A21;
    color: #FFFFFF;
    font-weight: 700;
    cursor: pointer;
}
.write-review-panel #submitReviewButton:hover {
    background: #414D2D;
}
/* Review photos and videos */ .review-media {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0;
}
.review-media-image {
    display: block;
    width: 120px;
    height: 120px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #F7F7F2;
}
.review-media-video {
    display: block;
    width: 100%;
    max-width: 360px;
    max-height: 260px;
    border-radius: 10px;
    background: #111;
}
.admin-review-media {
    padding-top: 4px;
}
#reviewPhotoPreview {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}
#reviewPhotoPreview .review-preview-item {
    width: 120px;
    max-width: 100%;
    overflow: hidden;
}
#reviewPhotoPreview .review-preview-item img {
    display: block;
    width: 120px;
    height: 120px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
#reviewPhotoPreview .review-preview-item small {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
    font-size: 12px;
}
/* Admin review moderation */ .admin-review-card {
    margin-bottom: 18px;
}
.review-status-label {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #D8C49A;
    border-radius: 999px;
    color: #303322;
    background: #FFFCF6;
    font-size: 12px;
    white-space: nowrap;
}
.admin-review-card .review-meta {
    align-items: center;
}
.admin-review-card .review-meta button {
    width: auto;
    min-width: 0;
}
/* Responsive reviews */ .contact-detail {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    font-size: 15px;
}
.contact-detail svg {
    display: block;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    max-width: 16px;
    flex: 0 0 16px;
    margin-top: 4px;
    overflow: hidden;
    fill: none;
    stroke: var(--olive, #333A22);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-detail > div, .contact-detail > p, .contact-detail > span {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}
.contact-detail a, .contact-detail p {
    overflow-wrap: anywhere;
}
/* Center and balance customer login buttons */ .form-card .form-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.form-card .form-actions button {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
/* Admin product gallery: trash icon on each image */ .admin-gallery-images {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    gap: 29px;
    align-items: start;
    justify-content: start;
}
.admin-gallery-item {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0;
}
.admin-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.admin-gallery-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d59aa3;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}
.admin-gallery-delete:hover {
    background: #b3717c;
    transform: scale(1.08);
}
/* Make category action buttons smaller */ .category-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 90px));
    justify-content: center;
    gap: 8px;
}
.category-actions button {
    width: 100%;
    min-width: 0;
    padding: 10px 4px;
}
/* ===== Consolidated responsive media queries ===== */ @media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 50px 6vw;
    }
    .hero h1 {
        font-size: clamp(42px, 8vw, 64px);
    }
    .hero-art {
        height: 390px;
    }
    .site-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 0 12px;
        background: var(--olive);
        position: sticky;
        top: 0;
        z-index: 20;
    }
    .brand, .header-actions {
        min-height: 76px;
        display: flex;
        align-items: center;
    }
    .desktop-nav {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        gap: 60px;
        padding: 10px 12px 12px;
        margin: 0;
        background: var(--olive);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 12px;
    }
    .desktop-nav a {
        display: inline-block;
        width: auto;
        white-space: nowrap;
        padding: 8px 0;
    }
    .menu-btn {
        display: block;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-art {
        display: none !important;
    }
    .categories, .products {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-strip, .site-footer {
        grid-template-columns: 1fr;
        gap: 10px
    }
    .cart-layout, .account-grid {
        grid-template-columns: 1fr;
    }
    .admin-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
    .admin-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 4%;
        box-sizing: border-box;
    }
    .admin-main .orders-page-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
    }
    .admin-nav {
        display: none;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px 16px;
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--olive);
        color: var(--cream);
        font-size: 14px;
        cursor: pointer;
    }
    .admin-main .orders-page-header > div {
        flex: 1 1 auto;
        min-width: 0;
    }
    .admin-main .orders-page-header > button {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        margin: 0 !important;
        padding: 12px 18px !important;
    }
    .admin-main .panel {
        min-width: 0;
        box-sizing: border-box;
    }
    .admin-main .panel > div[style*="grid-template-columns"]:not(.customer-details-grid) {
        grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr) !important;
    }
    .admin-main .customer-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
    }
    .admin-main .customer-details-grid > div {
        min-width: 0;
    }
    .admin-main .customer-details-grid > div > div {
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .admin-main .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-main .table-wrap table {
        min-width: 700px;
    }
    .admin-nav {
        display: none;
    }
    .admin-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .admin-nav button {
        width: 100%;
        box-sizing: border-box;
    }
    .hero-art {
        display: none;
    }
    .hero {
        min-height: 650px;
        padding: 60px 6%;
        background-position: center;
    }
    .hero h1 {
        font-size: clamp(46px, 7vw, 64px);
    }
    #app > .hero .hero-art, #app > .hero .hero-art img {
        display: none !important;
    }
    .header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    #cartBtn {
        order: 1;
    }
    #accountBtn {
        order: 2;
    }
    #menuBtn {
        display: block;
    }
}
@media (max-width: 560px) {
    /* Mobile footer font sizes only */ .footer h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .footer a, .footer p {
        font-size: 16px;
        line-height: 0.8;
    }
    .admin-main h1 {
        font-size: 40px !important;
    }
    .admin-main h2 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    /* Discount code actions: full-width buttons on mobile */ #discountCodeSaveButton, #discountCodeForm button[onclick="resetDiscountCodeForm()"], .admin-main .panel button[onclick="loadAdminDiscountCodes()"] {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #discountCodeForm > div:last-of-type {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .admin-main > button.btn[onclick="adminCustomers()"] {
        margin-top: 10px !important;
    }
    .order-actions .add-btn {
        min-height: 38px !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
    }
    .order-actions button[onclick^="continueOrderPayment"] {
        width: 82px !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 37px !important;
    }
    #app > .page:not(.shop-page) > .page-title {
        margin-left: 7px;
    }
    /* Mobile navigation: a dedicated row directly below the header */ .site-header {
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        padding: 0 12px;
    }
    .desktop-nav {
        order: 3;
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        gap: 50px;
        padding: 10px 0 12px;
        margin: 0;
        background: var(--olive);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 13px;
    }
    .desktop-nav a {
        display: inline-block;
        width: auto;
        white-space: nowrap;
        padding: 8px 0;
    }
    /* The separate mobile navigation row replaces the hamburger menu */ #menuBtn {
        display: none;
    }
    .hero {
        padding: 38px 5vw;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero-art {
        height: 300px;
        border-radius: 150px 150px 12px 12px;
    }
    .hero-actions {
        flex-wrap: wrap;
    }
    /* Mobile header */ .site-header {
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        padding: 0 12px;
    }
    .section, .page, .hero {
        padding-left: 20px;
        padding-right: 20px;
    }
    .brand-mark img {
        width: 32px;
        height: 32px;
    }
    .brand-name {
        font-size: 22px;
    }
    .brand-tagline {
        font-size: 12px;
    }
    .header-actions {
        gap: 6px;
    }
    .cart-btn {
        padding: 7px 10px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero-art {
        display: none !important;
    }
    .hero-actions {
        flex-wrap: wrap;
    }
    /* Single-column content */ .categories, .products, .stats {
        grid-template-columns: minmax(0, 1fr);
    }
    .products {
        width: 100%;
        justify-self: center;
    }
    /* Cart layout */ .cart-item {
        grid-template-columns: 80px minmax(0, 1fr);
        align-items: start;
        column-gap: 12px;
        row-gap: 10px;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .cart-item > div:nth-child(2) {
        min-width: 0;
        align-self: start;
        margin: 0;
    }
    .cart-item > :last-child {
        grid-column: 2;
        justify-self: start;
        align-self: start;
        min-width: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        align-items: center;
    }
    .cart-layout > .panel {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        justify-self: center;
    }
    .cart-item > :last-child .add-btn {
        align-self: center;
    }
    .cart-item .qty {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 0;
    }
    .cart-item .quantity-controls {
        margin-top: 0;
    }
    button[onclick="applyDiscountCode()"] {
        width: 90px;
        min-width: 90px;
        padding-left: 8px;
        padding-right: 8px;
        flex-shrink: 0;
    }
    /* Center Best Sellers */ #app > .section:nth-of-type(3) {
        padding-left: 20px;
        padding-right: 20px;
    }
    #app > .section:nth-of-type(3) .section-head {
        width: 100%;
    }
    #app > .section:nth-of-type(3) .products {
        justify-content: center;
    }
    /* Admin layout */ .admin-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
    .admin-shell > * {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    .admin-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px 16px;
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #d3848f;
        color: var(--cream);
        font-size: 14px;
        cursor: pointer;
        box-sizing: border-box;
    }
    /* Admin navigation stays hidden until opened */ .admin-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 4px;
    }
    .admin-nav.is-open {
        display: flex;
    }
    .admin-nav a, .admin-nav button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    /* Prevent admin content overflow */ .admin-main, .admin-content, .admin-dashboard {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .admin-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 4%;
        box-sizing: border-box;
    }
    .admin-main table, .admin-content table, .admin-dashboard table {
        width: 100%;
        max-width: 100%;
    }
    /* Admin page heading and action buttons */ .admin-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .admin-header > button, .admin-header .btn {
        flex-shrink: 0;
        margin-left: auto;
    }
    .admin-main .orders-page-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .admin-main .orders-page-header > div {
        flex: 1 1 auto;
        min-width: 0;
    }
    .admin-main .orders-page-header h1 {
        margin-bottom: 8px;
    }
    .admin-main .orders-page-header p {
        margin-bottom: 0;
    }
    .admin-main .orders-page-header > button {
        margin: 0 !important;
        padding: 8px !important;
        flex-shrink: 0;
        margin-top: 0 !important;
        align-self: flex-start !important;
        transform: translateY(-18px);
    }
    /* Products page header */ .admin-main > div[style*="justify-content:space-between"]:not(.orders-page-header) {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .admin-main > div[style*="justify-content:space-between"] > div {
        min-width: 0;
        max-width: 100%;
    }
    .admin-main .page-title {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        min-width: 0;
        max-width: 100%;
    }
    .admin-header button, .admin-header .btn, .admin-main .page-title button, .admin-main .page-title .btn, .admin-main > div[style*="justify-content:space-between"] > button.btn {
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding: 9px 12px;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }
    /* Prevent horizontal page scrolling */ body {
        overflow-x: hidden;
    }
    /* Keep mobile announcement on one line */ .announcement {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 12px;
        font-size: 9px;
        letter-spacing: 0.8px;
        white-space: nowrap;
    }
    .announcement > * {
        min-width: 0;
    }
    .announcement-location {
        flex-shrink: 0;
    }
    .announcement > :first-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-art {
        height: 300px;
        border-radius: 150px 150px 14px 14px;
    }
    /* Keep your existing mobile hero rules here */ .hero-copy {
        margin-top: -10px;
    }
    .hero h1 {
        font-size: clamp(36px, 9vw, 46px);
        line-height: 1.05;
    }
    .hero p {
        font-size: 15px;
        line-height: 1.7;
    }
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .hero-actions .btn {
        max-width: 100%;
    }
    #app > section.section[style*="padding-top:10px"] .products {
        justify-content: flex-start;
    }
    .modal-head .close {
        position: absolute;
        top: 40px;
        right: 40px;
        width: 28px;
        height: 28px;
        min-width: 28px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .order-actions {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        width: 100%;
        max-width: 100%;
    }
    .order-actions button.add-btn, .order button.add-btn {
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 4px 5px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .order-actions button.add-btn {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }
    /* Fix mobile account page width */ #app {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: clip;
    }
    .page:has(.account-grid) {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
        overflow-x: clip;
    }
    .account-grid, .account-grid > *, .order {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .order {
        gap: 8px;
    }
    /* Mobile: show two gallery images per row */ .admin-gallery-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }
    .admin-gallery-item {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    .admin-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .account-details {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 12px;
    }
    .account-details > div {
        min-width: 0;
    }
    .account-details a, .account-details p, .account-details span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    /* Discount code actions on mobile */ .discount-code-actions {
        margin-left: auto;
        justify-content: flex-end;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px !important;
    }
    .discount-code-actions .btn {
        width: 120px;
        min-width: 0;
        padding: 8px 12px;
        font-size: 13px;
    }
    .order-progress {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        width: 100%;
    }
    .order-progress > * {
        flex-shrink: 0;
    }
    #app > .page > .page-title h1 {
        font-size: 40px;
        line-height: 1.08;
    }
    /* Shop heading */ .shop-heading-row .page-title h1 {
        font-size: 40px;
        line-height: 1.08;
    }
    /* About page heading */ .about-page h1 {
        font-size: 40px;
        line-height: 1.08;
    }
    /* Account navigation */ .side-nav button {
        font-size: 14px;
        line-height: 1.35;
    }
    /* Long order numbers */ .order strong {
        font-size: 14px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
    .about-page .feature-desc {
        font-size: 12px;
        line-height: 1.6;
    }
    .about-page .about-description {
        font-size: 19px !important;
        line-height: 1.6 !important;
    }
    /* Account details and Change password headings */ .account-grid h2, .account-grid h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    .account-grid > div:last-child .panel > .page-title h1 {
        font-size: 35px !important;
        line-height: 1.2 !important;
    }
    .modal-head h2 {
        font-size: 35px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .order-progress > div > div {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}
@media (max-width: 600px) {
    .product-gallery-dialog {
        padding: 16px;
    }
    .gallery-thumbnail {
        width: 56px;
        height: 56px;
    }
    .reviews-summary {
        padding: 22px;
    }
    .reviews-summary .write-review-toggle {
        width: 100%;
    }
    .write-review-panel {
        padding: 24px 20px;
    }
    .write-review-panel > .eyebrow {
        letter-spacing: 3px;
    }
    .review-modal-overlay {
        align-items: flex-start;
        padding: 12px;
    }
    .review-modal-content {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 24px 20px;
    }
    .write-review-panel .review-modal-close {
        top: 14px;
        right: 14px;
    }
    .review-media {
        gap: 8px;
    }
    .review-media-image {
        width: 96px;
        height: 96px;
    }
    .review-media-video {
        max-width: 100%;
    }
    .admin-review-card .review-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 760px) {
    .shop-heading-row {
        gap: 20px;
    }
    .shop-search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    #shopCategoryFilter {
        flex: none;
        width: 100%;
    }
    .shop-search {
        width: 100%;
    }
    #app > .hero .hero-copy h1 {
        font-size: clamp(42px, 10vw, 64px);
    }
    #app > .hero .hero-copy {
        transform: translateX(-5px);
    }
    #app > .section h2 {
        font-size: 34px;
        line-height: 1.2;
    }
    .section-head a {
        white-space: nowrap;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 80px;
    }
    .section-head {
        gap: 8px;
        align-items: flex-start;
    }
    #app > .hero .hero-copy h1 {
        font-size: clamp(26px, 10vw, 34px);
        line-height: 1.15;
        white-space: pre-line;
    }
    #app > .hero .hero-copy {
        width: 100%;
        max-width: 100%;
        transform: none;
    }
    #app > .hero .hero-copy h1 {
        max-width: none;
    }
    #app > .hero .hero-copy .eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }
    #app > .hero .hero-copy .hero-subtitle {
        font-size: clamp(8px, 2.4vw, 12px);
        letter-spacing: 0.5px;
        white-space: normal;
        line-height: 1.7;
    }
    .shop-search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    #shopCategoryFilter {
        width: 100%;
        flex: auto;
    }
    .reviews-toolbar {
        grid-template-columns: 1fr;
    }
    .reviews-list {
        grid-template-columns: 1fr;
    }
    .review-card-top {
        flex-direction: column;
    }
    .reviews-summary {
        align-items: flex-start;
    }
}
@media (min-width: 761px) and (max-width: 900px) {
    #app > .hero {
        padding-left: 6%;
        padding-right: 6%;
    }
    #app > .hero .hero-copy {
        width: 100%;
        max-width: 100%;
        transform: none;
    }
    #app > .hero .hero-copy h1 {
        font-size: clamp(42px, 7vw, 58px);
        overflow-wrap: break-word;
    }
    #app > .hero .hero-copy .eyebrow {
        font-size: 12px;
        letter-spacing: 3px;
    }
    #app > .hero .hero-copy .hero-subtitle {
        font-size: 11px;
        white-space: normal;
    }
}
@media (max-width: 1500px) {
    #app > .hero .hero-art, #app > .hero .hero-art img {
        display: none !important;
    }
    /* Customers table responsiveness */ .admin-shell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .admin-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .admin-main .panel {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    .admin-main .customers-table-wrap {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        box-sizing: border-box;
    }
    .admin-main .customers-table-wrap table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }
    .admin-main .customers-table-wrap th, .admin-main .customers-table-wrap td {
        overflow-wrap: anywhere;
    }
}
/* Tablet header fix: 561px–900px */ @media (min-width: 561px) and (max-width: 900px) {
    .site-header {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        min-height: 76px;
        height: 76px;
        padding: 0 20px;
        gap: 12px;
    }
    .site-header .brand {
        flex: 1 1 auto;
        min-width: 0;
    }
    .site-header .header-actions {
        flex: 0 0 auto;
        min-height: 76px;
        gap: 10px;
    }
    /* Keep the cart and account controls in one row */ .site-header #cartBtn, .site-header #accountBtn {
        flex-shrink: 0;
    }
    /* Hide the duplicate menu button inside the action group,
       if a separate menu button already exists outside it. */ .site-header .header-actions #menuBtn {
        display: none !important;
    }
    .site-header .desktop-nav {
        display: none;
    }
}
/* =========================================
   NEW ARRIVALS - ADD TO CART POPUP
========================================= */ .new-arrivals-popup {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 20px;
    color: #254b38;
    background: #fffdf9;
    border-radius: 18px;
    box-sizing: border-box;
}
.new-arrivals-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #254b38;
    font-size: 30px;
    cursor: pointer;
}
.new-arrivals-popup h2 {
    margin: 2px 0 10px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
}
.new-arrivals-subtitle {
    margin: 0 0 24px;
    color: #68766b;
    line-height: 1.6;
}
.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.new-arrival-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e8df;
    border-radius: 12px;
}
.new-arrival-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #f4f1e9;
}
.new-arrival-info {
    padding: 12px;
}
.new-arrival-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #38734e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.new-arrival-info h4 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.new-arrival-info p {
    margin: 0 0 12px;
    font-weight: 700;
}
.new-arrival-add {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px 4px;
    font-size: 12px;
    white-space: normal;
    box-sizing: border-box;
}
.new-arrivals-continue {
    display: block;
    margin: 24px auto 0;
}
@media (max-width: 600px) {
    .new-arrivals-popup {
        padding: 26px 16px 20px;
    }
    .new-arrivals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .new-arrival-card img {
        height: 120px;
    }
    .new-arrival-info {
        padding: 10px;
    }
    .new-arrival-info h4 {
        font-size: 13px;
    }
}
/* New Arrivals popup action buttons */ .new-arrivals-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.new-arrivals-actions .btn {
    min-width: 190px;
}
/* Stack buttons on mobile */ @media (max-width: 600px) {
    .new-arrivals-actions {
        flex-direction: column;
    }
    .new-arrivals-actions .btn {
        width: 100%;
        min-width: 0;
    }
}
/* Physical store heading */ .store-gallery-title {
    text-align: left;
    font-size: 24px;
    font-weight: 500;
    margin: 24px 0 16px;
    color: #173d2b;
}
.store-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 0;
}
.store-gallery img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 2px solid #e8a1ad;
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
}
/* Mobile layout */ @media (max-width: 600px) {
    .store-gallery-title {
        font-size: 19px;
        line-height: 1.5;
    }
    .store-gallery {
        grid-template-columns: 1fr;
    }
    .store-gallery img {
        height: 240px;
    }
}
.popup-store-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid #eee5da;
    max-width: 620px;
    text-align: center;
}
.popup-store-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 180px;
    object-fit: cover;
    border: 2px solid #e8a1ad;
    border-radius: 10px;
    padding: 3px;
    box-sizing: border-box;
}
.popup-store-info p {
    margin: 0;
    color: #5d655b;
    font-size: 14px;
    line-height: 1.3;
}
@media (max-width: 600px) {
    .popup-store-info {
        margin-top: 20px;
        padding-top: 16px;
    }
    .popup-store-image {
        max-width: 100%;
        height: 170px;
    }
}
/* Small mobile screens: 400px and below */ @media (max-width: 400px) {
    .header-actions {
        gap: 5px;
    }
    /* Smaller oblong cart button */ .header-actions .cart-btn {
        width: auto;
        min-width: 62px;
        height: 34px;
        padding: 0 7px;
        border-radius: 999px;
        gap: 4px;
    }
    .header-actions .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        line-height: 16px;
    }
}
.hero-location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease;
}
.hero-location-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
/* Location popup overlay */ .location-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.location-popup.active {
    display: flex;
}
.location-popup-content {
    position: relative;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 16px;
    background: #fffdf8;
    color: #343b2c;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}
.location-popup-content h2 {
    margin: 0 35px 12px 0;
    font-size: 24px;
}
.location-popup-content p {
    margin: 0 0 20px;
    line-height: 1.6;
    font-size: 14px;
}
.location-popup-content iframe {
    display: block;
    border-radius: 10px;
}
.location-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    color: #343b2c;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 560px) {
    .location-popup-content {
        padding: 22px 16px;
    }
    .location-popup-content h2 {
        font-size: 21px;
    }
    .location-popup-content iframe {
        height: 300px;
    }
}
/* =========================================
   LOCATION BUTTON — MATCH EXISTING BREAKPOINTS
========================================= */ #app > .hero {
    position: relative;
}
#app > .hero > .hero-location-btn {
    position: absolute;
    top: 155px;
    left: 5%;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease;
}
#app > .hero > .hero-location-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
/* Tablet — follow the existing 900px breakpoint */ @media (max-width: 900px) {
    #app > .hero > .hero-location-btn {
        top: 135px;
        left: 5%;
    }
}
@media (max-width: 760px) {
    #app > .hero > .hero-location-btn {
        top: 155px;
        left: 5%;
    }
}
/* Mobile — follow the existing 560px breakpoint */ @media (max-width: 560px) {
    #app > .hero > .hero-location-btn {
        top: 155px;
        left: 20px;
        padding: 7px 12px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}
/* Small mobile — follow the existing 400px breakpoint */ @media (max-width: 400px) {
    #app > .hero > .hero-location-btn {
        top: 155px;
        left: 16px;
        padding: 6px 10px;
        font-size: 10px;
    }
}
#writeReviewPanel .review-input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid #dfc49a;
    border-radius: 12px;
    background: #fffcf7;
    color: #29291f;
    font: inherit;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#writeReviewPanel .review-input:focus {
    border-color: #b99a65;
    box-shadow: 0 0 0 3px rgba(185, 154, 101, 0.14);
}
#writeReviewPanel .review-input::placeholder {
    color: #88857d;
    opacity: 1;
}
/* Order confirmation: order number label only */ .order-number-label {
    font-size: 20px;
    font-weight: 600;
}
/* One-time Order ID warning */ .muted-warning {
    color: #dc2626;
    font-weight: 700;
}

/* Slightly larger, easier-to-read typography on mobile only */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    p,
    li,
    label,
    .form-group,
    .form-label,
    .field-label,
    .section-description,
    .product-description,
    .category-description,
    .review-text,
    .empty-state,
    .modal-description {
        font-size: 15px;
    }

    input,
    select,
    textarea,
    button,
    .btn,
    .button,
    .nav-link,
    .tab-button {
        font-size: 15px;
    }

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

    small,
    .helper-text,
    .form-hint,
    .muted,
    .meta-text,
    .product-meta,
    .review-meta {
        font-size: 13px;
    }
}


/* Fix mobile modal close button positioning */
@media (max-width: 560px) {
    .modal {
        position: relative;
    }

    .modal-head {
        padding-right: 38px;
    }

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

/* Edit Product - Current Thumbnail Preview */
.admin-thumbnail-preview {
    width: 180px;
    height: 180px;
    margin: 10px 0 15px;
    border: 1px solid #e8dfd0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.admin-thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Admin product category multi-select dropdown */

.product-category-dropdown {
    position: relative;
    width: 100%;
}

.product-category-dropdown > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid #e8dfd0;
    border-radius: 8px;
    background: #fff;
    color: #303322;
    cursor: pointer;
    list-style: none;
}

.product-category-dropdown > summary::-webkit-details-marker {
    display: none;
}

.product-category-dropdown > summary::after {
    content: "▾";
    flex: 0 0 auto;
    color: #6b704f;
    transition: transform 0.2s ease;
}

.product-category-dropdown[open] > summary {
    border-color: #c8a15c;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.product-category-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.product-category-dropdown .product-category-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 190px;
    overflow-y: auto;
    padding: 5px 12px;
    border: 1px solid #e8dfd0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fff;
}

.product-category-dropdown .product-category-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 2px;
    margin: 0;
    cursor: pointer;
}

.product-category-dropdown .product-category-option + .product-category-option {
    border-top: 1px solid #f1ece3;
}

.product-category-dropdown .product-category-option input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #596443;
}

.product-category-dropdown .product-category-option span {
    flex: 1;
    min-width: 0;
}

.stripe-payment-notice {
    color: #ffffff !important;
}