@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");
:root {
    --green: #234b3b;
    --green2: #315d4a;
    --cream: #fffaf6;
    --pink: #f5d9d7;
    --ink: #242b26;
    --muted: #747b74;
    --line: #e8e4de;
    --white: #fff;
    --shadow: 0 14px 40px rgba(35, 75, 59, 0.08);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--cream);
    /* background-color: #FFF1E6; */
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
 
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea,
select {
    font: inherit;
}
button {
    cursor: pointer;
}
.site-header {
    background: rgba(255, 250, 246, 0.96);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.nav-wrap {
    max-width: 1180px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.brand-mark {
    font-size: 30px;
    color: #c7787a;
}
.nav-wrap nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 14px;
}
.nav-wrap nav a:hover,
.back-link:hover {
    color: #b45f68;
}
.cart-count {
    display: inline-grid;
    place-items: center;
    background: var(--pink);
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    font-size: 12px;
    margin-left: 3px;
}
.page-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 70px;
}
.hero {
    position: relative;
    min-height: 430px;
    background: var(--green);
    border-radius: 5px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    color: white;
    margin: 10px 0 58px;
}
.hero-copy {
    padding: 62px 40px 54px 58px;
    align-self: center;
    position: relative;
    z-index: 2;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 2.2px;
    font-weight: 700;
    color: #b46d70;
    margin: 0 0 13px;
}
.hero .eyebrow {
    color: #f0b9b6;
}
.hero h1,
.detail-copy h1,
.page-heading h1,
.success-page h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 5vw, 59px);
    line-height: 1.08;
    font-weight: 500;
    margin: 0 0 20px;
    letter-spacing: -1px;
}
.hero h1 em {
    color: #f4c6c2;
    font-weight: 500;
}
.hero-text {
    color: #e1e9e2;
    max-width: 410px;
    margin: 0 0 29px;
    font-size: 16px;
}
.hero-photo {
    background:
        linear-gradient(90deg, rgba(35, 75, 59, 0.12), transparent),
        url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=1300&q=85")
            center/cover;
    min-height: 430px;
}
.hero-stamp {
    position: absolute;
    right: 39%;
    bottom: 32px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #f7e9d8;
    color: var(--green);
    display: grid;
    place-content: center;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    transform: rotate(-10deg);
    box-shadow: var(--shadow);
}
.hero-stamp strong {
    font-family: "Playfair Display", serif;
    font-size: 16px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--green);
    color: white;
    padding: 13px 21px;
    border: 1px solid var(--green);
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.button:hover {
    background: var(--green2);
    transform: translateY(-1px);
}
.button-light {
    background: #fffaf6;
    color: var(--green);
    border-color: #fffaf6;
}
.button-light:hover {
    background: #f5d9d7;
    color: var(--green);
}
.button-outline {
    background: transparent;
    color: var(--green);
}
.button-full {
    width: 100%;
    margin-top: 20px;
}
.intro-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}
.intro-row h2,
.related h2,
.section-heading {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
}
.search-form {
    display: flex;
    border: 1px solid var(--line);
    background: white;
    max-width: 280px;
    width: 100%;
    padding: 4px;
}
.search-form input {
    border: 0;
    outline: 0;
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
}
.search-form button {
    border: 0;
    background: var(--green);
    color: white;
    width: 42px;
    font-size: 24px;
}
.category-row {
    display: flex;
    gap: 9px;
    overflow: auto;
    padding: 24px 0 27px;
    scrollbar-width: thin;
}
.category-row a {
    white-space: nowrap;
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: #666;
    background: white;
    font-size: 13px;
}
.category-row a.active,
.category-row a:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}
.product-card {
    min-width: 0;
}
.product-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3e9e3;
    aspect-ratio: 4/4.5;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s;
}
.product-card:hover .product-image img {
    transform: scale(1.04);
}
.product-tag {
    position: absolute;
    left: 13px;
    top: 13px;
    background: #fffaf6;
    padding: 5px 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: var(--green);
    border-radius: 2px;
}
.product-info {
    padding: 13px 2px 0;
}
.product-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #b46d70;
    margin: 0 0 3px;
}
.product-info h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: 20px;
    margin: 0 0 8px;
    line-height: 1.35;
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-bottom strong,
.product-info > strong {
    color: var(--green);
    font-size: 15px;
}
.add-button {
    border: 1px solid #c9d3c8;
    background: transparent;
    color: var(--green);
    width: 34px;
    height: 34px;
    font-size: 22px;
    line-height: 1;
    border-radius: 50%;
}
.add-button:hover {
    background: var(--green);
    color: white;
}
.out-stock {
    color: #9b5d5d;
    font-size: 12px;
}
.pagination {
    padding: 28px 0;
    text-align: center;
}
.pagination nav {
    display: inline-flex;
    gap: 7px;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 7px 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 3px;
}
.promise-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 52px;
    padding: 28px 0;
}
.promise-row > div {
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 10px;
}
.promise-row span {
    grid-row: span 2;
    font-size: 26px;
    color: #b46d70;
}
.promise-row strong {
    font-size: 13px;
}
.promise-row p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px max(24px, calc((100% - 1132px) / 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
}
.site-footer p {
    margin: 4px 0;
}
.footer-brand {
    font-size: 20px;
}
.notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin: 10px 0 22px;
    font-size: 14px;
}
.success {
    background: #e9f4e9;
    color: #285c3c;
}
.error {
    background: #fff0ef;
    color: #8c3d3d;
}
.notice ul {
    margin: 6px 0;
}
.breadcrumbs {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 28px;
}
.breadcrumbs a {
    text-decoration: underline;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 55px;
    align-items: center;
}
.detail-image {
    background: #f3e9e3;
    aspect-ratio: 4/4.5;
}
.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.detail-copy {
    padding: 20px 0;
}
.detail-copy h1 {
    font-size: clamp(38px, 4vw, 53px);
}
.detail-price {
    font-size: 24px;
    color: var(--green);
    font-weight: 700;
    margin: 0 0 22px;
}
.detail-description {
    color: #626b63;
    line-height: 1.9;
}
.stock-note {
    font-size: 13px;
    color: var(--green);
    margin: 22px 0;
}
.add-detail-form {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}
.add-detail-form label {
    display: block;
    font-size: 12px;
    width: 100%;
    margin-bottom: -8px;
}
.add-detail-form input {
    height: 46px;
    width: 80px;
    border: 1px solid var(--line);
    padding: 10px;
}
.fine-print {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 18px;
}
.related {
    margin-top: 65px;
}
.related h2 {
    margin-bottom: 25px;
}
.page-heading {
    text-align: center;
    margin: 18px auto 38px;
    max-width: 700px;
}
.page-heading h1 {
    font-size: 46px;
    margin-bottom: 10px;
}
.page-heading > p:not(.eyebrow) {
    color: var(--muted);
}
.empty-state {
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border: 1px solid var(--line);
}
.empty-state h2,
.empty-state h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 28px;
    margin: 10px 0;
}
.empty-state p {
    color: var(--muted);
    margin-bottom: 24px;
}
.empty-flower {
    font-size: 44px;
    color: #c7787a;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 35px;
    align-items: start;
}
.cart-items {
    background: white;
    border: 1px solid var(--line);
    padding: 10px 22px;
}
.cart-item {
    display: grid;
    grid-template-columns: 95px 1fr auto auto;
    align-items: center;
    gap: 17px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item > img {
    width: 95px;
    height: 100px;
    object-fit: cover;
}
.cart-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.cart-item p {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0;
}
.cart-item > strong {
    white-space: nowrap;
    color: var(--green);
}
.quantity-form {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}
.quantity-form input {
    width: 55px;
    padding: 5px;
    border: 1px solid var(--line);
}
.text-button,
.back-link {
    background: none;
    border: 0;
    color: var(--green);
    font-weight: 600;
    font-size: 12px;
    text-decoration: underline;
    padding: 0;
}
.remove-button {
    border: 0;
    background: transparent;
    font-size: 24px;
    color: #9a7777;
}
.back-link {
    display: inline-block;
    margin: 22px 0;
}
.order-summary {
    background: white;
    border: 1px solid var(--line);
    padding: 25px;
    position: sticky;
    top: 95px;
}
.order-summary h2,
.form-section h2,
.admin-form h2 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    font-weight: 500;
    margin: 0 0 20px;
}
.summary-line,
.summary-total {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.summary-line span {
    color: var(--muted);
}
.summary-total {
    font-size: 16px;
    color: var(--green);
    font-weight: 700;
    border: 0;
    padding-top: 18px;
}
.summary-product {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.summary-product strong {
    white-space: nowrap;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr;
    gap: 35px;
    align-items: start;
}
.checkout-form {
    display: grid;
    gap: 20px;
}
.form-section {
    background: white;
    border: 1px solid var(--line);
    padding: 25px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}
.field:last-child {
    margin-bottom: 0;
}
.field label,
.add-detail-form label {
    font-size: 12px;
    font-weight: 700;
    color: #4e5b50;
}
.field input,
.field textarea,
.field select,
.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid #dedfd8;
    background: #fffdfb;
    border-radius: 2px;
    padding: 12px;
    outline-color: #6e9a7a;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.payment-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    cursor: pointer;
}
.payment-option input {
    margin-top: 5px;
    accent-color: var(--green);
}
.payment-option span {
    display: flex;
    flex-direction: column;
}
.payment-option small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}
.success-page {
    max-width: 620px;
    margin: 20px auto;
    text-align: center;
    background: white;
    border: 1px solid var(--line);
    padding: 45px 35px;
}
.success-icon {
    margin: 0 auto 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e9f4e9;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 28px;
}
.success-page h1 {
    font-size: 43px;
}
.success-page > p:not(.eyebrow) {
    color: var(--muted);
}
.order-number {
    background: var(--cream);
    padding: 16px;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.order-number small {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--muted);
}
.order-number strong {
    font-size: 23px;
    color: var(--green);
    letter-spacing: 1px;
}
.success-summary {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 20px 0;
    text-align: left;
}
.success-summary div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.success-summary span {
    font-size: 12px;
    color: var(--muted);
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.admin-stats > div {
    background: white;
    border: 1px solid var(--line);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.admin-stats span {
    color: var(--muted);
    font-size: 12px;
}
.admin-stats strong {
    font-size: 24px;
    color: var(--green);
}
.admin-links {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.admin-form-wrap {
    max-width: 650px;
    background: white;
    border: 1px solid var(--line);
    padding: 25px;
    margin: 0 auto 40px;
}
.admin-form {
    display: grid;
    gap: 10px;
}
.admin-form .field {
    margin-bottom: 6px;
}
.section-heading {
    font-size: 28px;
    margin-bottom: 18px;
}
.table-wrap {
    overflow: auto;
    background: white;
    border: 1px solid var(--line);
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 700px;
}
th,
td {
    text-align: left;
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
th {
    background: #f6f3ed;
    color: #566256;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}
td small {
    color: var(--muted);
}
td select {
    max-width: 150px;
    padding: 6px;
    border: 1px solid var(--line);
    margin-bottom: 7px;
}
.empty-state .button {
    margin-top: 4px;
}
@media (max-width: 800px) {
    .page-wrap {
        padding: 18px 17px 45px;
    }
    .nav-wrap {
        padding: 12px 17px;
    }
    .brand {
        font-size: 21px;
    }
    .nav-wrap nav {
        gap: 15px;
    }
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-bottom: 40px;
    }
    .hero-copy {
        padding: 42px 28px 34px;
    }
    .hero h1 {
        font-size: 45px;
        max-width: 500px;
    }
    .hero-photo {
        min-height: 230px;
        max-height: 280px;
    }
    .hero-stamp {
        right: 20px;
        bottom: 195px;
        width: 85px;
        height: 85px;
        font-size: 10px;
    }
    .hero-stamp strong {
        font-size: 13px;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }
    .intro-row {
        align-items: start;
        flex-direction: column;
    }
    .intro-row h2 {
        font-size: 29px;
    }
    .search-form {
        max-width: none;
    }
    .promise-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .detail-image {
        max-height: 500px;
    }
    .detail-copy {
        padding: 0;
    }
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .order-summary {
        position: static;
        order: 0;
    }
    .cart-item {
        grid-template-columns: 70px 1fr auto;
        gap: 11px;
    }
    .cart-item > img {
        width: 70px;
        height: 80px;
    }
    .cart-item > strong {
        grid-column: 2;
        grid-row: 2;
    }
    .cart-item > form:last-child {
        grid-column: 3;
        grid-row: 1;
    }
    .cart-items {
        padding: 8px 12px;
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-footer {
        padding: 25px 17px;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 430px) {
    .nav-wrap nav {
        gap: 10px;
        font-size: 12px;
    }
    .brand {
        font-size: 18px;
        gap: 4px;
    }
    .brand-mark {
        font-size: 24px;
    }
    .hero h1 {
        font-size: 39px;
    }
    .product-info h3 {
        font-size: 17px;
    }
    .product-image {
        aspect-ratio: 4/4.8;
    }
    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-section {
        padding: 18px;
    }
    .success-page {
        padding: 32px 18px;
    }
    .success-page h1 {
        font-size: 35px;
    }
    .cart-item h3 {
        font-size: 16px;
    }
}

/* Admin product management improvements */
.admin-form-wrap {
    margin: 24px 0 40px;
}

.admin-form {
    background: #fff;
    border: 1px solid #eadfd5;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(35, 75, 59, 0.06);
}

.admin-form h2 {
    color: #234b3b;
    margin: 0 0 22px;
}

.admin-form .field {
    margin-bottom: 18px;
}

.admin-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #234b3b;
}

.admin-form input,
.admin-form textarea,
.table-wrap input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d9d3ca;
    border-radius: 8px;
    background: #fff;
    font: inherit;
}

.admin-form input:focus,
.admin-form textarea:focus,
.table-wrap input[type="number"]:focus {
    outline: 2px solid #9db9a8;
    border-color: #234b3b;
}

.admin-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.section-heading {
    color: #234b3b;
    margin: 32px 0 16px;
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #eadfd5;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(35, 75, 59, 0.05);
}

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

.table-wrap th {
    background: #f4eee7;
    color: #234b3b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.table-wrap th,
.table-wrap td {
    padding: 15px 16px;
    border-bottom: 1px solid #eee6de;
    vertical-align: middle;
}

.table-wrap tbody tr:hover {
    background: #fffaf6;
}

.table-wrap td form {
    min-width: 170px;
}

.table-wrap td form .button {
    padding: 9px 14px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .admin-form {
        padding: 18px;
    }

    .admin-form .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .table-wrap th,
    .table-wrap td {
        padding: 10px;
    }
}

/* Flower Basket responsive navigation */
.site-header {
    position: relative;
    z-index: 1000;
}

.nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
    min-width: 0;
}

.main-navigation a {
    text-decoration: none;
}

.main-navigation form {
    display: inline-flex;
    margin: 0;
}

.main-navigation .nav-logout {
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    margin: 4px 0;
    background: #374151;
}

@media (max-width: 768px) {
    .nav-wrap {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

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

    .main-navigation {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid #e5e7eb;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation > a,
    .main-navigation .nav-logout {
        display: block;
        width: 100%;
        padding: 12px;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .main-navigation .welcome-message {
        display: block;
        padding: 12px;
        overflow-wrap: anywhere;
    }

    .main-navigation form {
        display: block;
        width: 100%;
    }
}

@media (min-width: 769px) {
    .main-navigation {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }
}

/* FIX: Hide navigation links until the mobile menu is opened */
@media screen and (max-width: 768px) {
    .site-header .nav-wrap {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .site-header .mobile-menu-toggle {
        display: block !important;
    }

    .site-header nav#mainNavigation {
        display: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .site-header nav#mainNavigation.is-open {
        display: flex !important;
    }

    .site-header nav#mainNavigation > a,
    .site-header nav#mainNavigation .welcome-message,
    .site-header nav#mainNavigation form,
    .site-header nav#mainNavigation .nav-logout {
        display: block !important;
        width: 100% !important;
        padding: 12px !important;
        text-align: left !important;
    }
}

@media screen and (min-width: 769px) {
    .site-header nav#mainNavigation {
        display: flex !important;
    }

    .site-header .mobile-menu-toggle {
        display: none !important;
    }
}
/* notifications */
/* Notification bell */
.notification-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    color: #db2777;
    text-decoration: none;
    border-radius: 8px;
}

.notification-nav:hover {
    background: #fdf2f8;
}

.notification-nav svg {
    width: 22px;
    height: 22px;
}

.notification-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e11d48;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.stock-available {
    color: #47865b;
    font-size: 13px;
    margin-top: 5px;
}

.stock-low {
    color: #c47b27;
    font-size: 13px;
    font-weight: 600;
}

.out-stock {
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 8px;
}

.alert-warning {
    background: #fff4dc;
    color: #8a5a12;
}

.alert-success {
    background: #e8f5eb;
    color: #28633a;
}

.alert-error {
    background: #fdeaea;
    color: #a52a2a;
}

.order-progress {
    margin: 25px 0;
}

.order-progress h3 {
    margin-bottom: 20px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 12px;
    color: #999;
}

.progress-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eee;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
}

.progress-step.completed .progress-circle {
    background: #6d9876;
    color: white;
}

.progress-step.completed {
    color: #477451;
    font-weight: 600;
}

.order-cancelled {
    background: #fdeaea;
    color: #a52a2a;
    padding: 18px;
    border-radius: 10px;
    margin: 20px 0;
}

@media (max-width: 600px) {
    .progress-steps {
        gap: 4px;
    }

    .progress-step {
        font-size: 10px;
    }

    .progress-circle {
        width: 28px;
        height: 28px;
    }
}

/* =====================================
   BLOOM BASKET - ORDER DETAILS
===================================== */

.bb-order-page {
    max-width: 1180px;
    margin: 40px auto 70px;
    padding: 0 20px;
    color: #34483b;
}

.bb-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.bb-order-eyebrow,
.bb-section-eyebrow {
    color: #78947c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.bb-order-header h1 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
    margin: 8px 0;
    color: #294535;
}

.bb-order-subtitle {
    color: #849187;
    font-size: 14px;
}

.bb-back-link,
.bb-order-footer a {
    color: #52775d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.bb-back-link:hover,
.bb-order-footer a:hover {
    color: #294535;
}

/* ORDER INFORMATION */

.bb-order-info-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f4f7f1;
    border: 1px solid #e6ede4;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
}

.bb-info-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #8b9a8e;
    margin-bottom: 9px;
}

.bb-order-info-card h2 {
    font-size: 18px;
    color: #294535;
    margin: 0;
}

.bb-order-info-card strong {
    font-size: 14px;
    color: #405b49;
}

.bb-status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    background: #e4f1e5;
    color: #47744e;
}

.bb-status-badge.cancelled {
    background: #fce8e7;
    color: #b44d46;
}

.bb-status-badge.delivered {
    background: #e1f1e6;
    color: #347448;
}

.bb-status-badge.out_for_delivery {
    background: #e6effb;
    color: #426d9e;
}

.bb-status-badge.preparing {
    background: #fff1dc;
    color: #a46e2d;
}

/* CARDS */

.bb-order-card {
    background: #ffffff;
    border: 1px solid #e9eee8;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 22px;
    box-shadow: 0 5px 20px rgba(40, 65, 46, 0.045);
}

.bb-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.bb-section-heading h2,
.bb-order-sidebar h2 {
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 500;
    color: #294535;
    margin: 5px 0 0;
}

.bb-progress-note,
.bb-item-count {
    color: #849187;
    font-size: 12px;
}

/* PROGRESS TRACKER */

.bb-progress-track {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    padding: 8px 0;
}

.bb-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    color: #a2ada4;
    font-size: 12px;
    font-weight: 500;
}

.bb-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2ef;
    border: 2px solid #e6ebe5;
    color: #9ba69d;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.bb-progress-step.completed {
    color: #55775c;
    font-weight: 700;
}

.bb-progress-step.completed .bb-step-circle {
    background: #668a6d;
    border-color: #668a6d;
    color: white;
}

.bb-progress-step.current .bb-step-circle {
    box-shadow: 0 0 0 5px #e9f1e8;
}

.bb-cancelled-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff3f1;
    border: 1px solid #f5d9d6;
    border-radius: 12px;
}

.bb-cancelled-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3d8d5;
    color: #a8433c;
    font-weight: 700;
}

.bb-cancelled-notice h3 {
    color: #a8433c;
    margin: 0 0 5px;
    font-size: 15px;
}

.bb-cancelled-notice p {
    color: #9c6b67;
    font-size: 13px;
    margin: 0;
}

/* MAIN LAYOUT */

.bb-order-content {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.bb-order-sidebar {
    min-width: 0;
}

/* ORDER TABLE */

.bb-order-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.bb-order-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.bb-order-table th {
    padding: 14px 12px;
    text-align: left;
    background: #f5f8f3;
    color: #849187;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.bb-order-table td {
    padding: 17px 12px;
    border-bottom: 1px solid #edf0ec;
    color: #617166;
    font-size: 13px;
}

.bb-order-table td strong {
    color: #354e3c;
}

.bb-order-table .bb-price-cell {
    color: #426c4b;
    font-weight: 700;
}

.bb-order-table .text-right {
    text-align: right;
}

/* TOTAL */

.bb-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 22px;
    margin-top: 10px;
    color: #526b58;
    font-size: 14px;
}

.bb-order-total strong {
    color: #31583b;
    font-size: 24px;
}

/* SUMMARY */

.bb-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0ec;
    color: #849187;
    font-size: 13px;
}

.bb-summary-row strong {
    color: #425a48;
    text-align: right;
}

.bb-summary-total {
    border-bottom: 0;
    padding-top: 20px;
    font-size: 15px;
    color: #344e3b;
}

.bb-summary-total strong {
    color: #31583b;
    font-size: 20px;
}

/* CANCELLATION */

.bb-cancellation-card {
    border-color: #f0e7df;
}

.bb-cancellation-status {
    display: inline-block;
    padding: 7px 12px;
    margin-top: 15px;
    border-radius: 30px;
    background: #fff3df;
    color: #986b2e;
    font-size: 12px;
    font-weight: 700;
}

.bb-cancellation-reason {
    color: #7b887e;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
    overflow-wrap: anywhere;
}

.bb-cancel-form-card p {
    color: #829087;
    font-size: 13px;
    line-height: 1.7;
    margin: 12px 0 20px;
}

.bb-cancel-form-card label {
    display: block;
    color: #526b58;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bb-cancel-form-card textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe7df;
    border-radius: 10px;
    padding: 12px;
    resize: vertical;
    font: inherit;
    font-size: 13px;
    outline: none;
}

.bb-cancel-form-card textarea:focus {
    border-color: #78947c;
    box-shadow: 0 0 0 3px rgba(120, 148, 124, 0.12);
}

.bb-cancel-button {
    width: 100%;
    margin-top: 15px;
    padding: 13px;
    background: #fff4f1;
    border: 1px solid #f0d9d4;
    border-radius: 9px;
    color: #a65349;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.bb-cancel-button:hover {
    background: #fbe7e3;
}

.bb-form-error {
    color: #bd4a43 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
}

/* FOOTER */

.bb-order-footer {
    padding-top: 10px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .bb-order-content {
        grid-template-columns: 1fr;
    }

    .bb-order-info-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bb-order-page {
        margin-top: 25px;
        padding: 0 14px;
    }

    .bb-order-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bb-order-info-card {
        padding: 18px;
        gap: 20px 12px;
    }

    .bb-order-card {
        padding: 18px;
    }

    .bb-section-heading h2 {
        font-size: 20px;
    }

    .bb-progress-track {
        gap: 3px;
    }

    .bb-progress-step {
        font-size: 9px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .bb-step-circle {
        width: 30px;
        height: 30px;
        font-size: 11px;
        margin-bottom: 8px;
    }

    .bb-order-total strong {
        font-size: 20px;
    }
}

/* =====================================
   BLOOM BASKET - MY ORDERS
===================================== */

.bb-my-orders {
    max-width: 1100px;
    margin: 35px auto 65px;
    padding: 0 20px;
    color: #34443a;
}

.bb-orders-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.bb-orders-eyebrow {
    display: inline-block;
    color: #879b79;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.bb-orders-heading h1 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    color: #344d3b;
    margin: 0 0 8px;
}

.bb-orders-heading p {
    color: #849087;
    margin: 0;
    font-size: 14px;
}

.bb-shop-more {
    text-decoration: none;
    color: #506b52;
    border: 1px solid #dce6d9;
    background: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
    white-space: nowrap;
}

.bb-shop-more:hover {
    background: #edf3e9;
    border-color: #b7cbb0;
}

.bb-shop-more span {
    font-size: 17px;
    margin-right: 5px;
}

.bb-orders-summary {
    background: linear-gradient(120deg, #edf3e9, #f8f7ef);
    border: 1px solid #e1e9dc;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bb-summary-label,
.bb-summary-caption {
    display: block;
    color: #788778;
    font-size: 12px;
}

.bb-summary-label {
    font-weight: 700;
    margin-bottom: 5px;
}

.bb-orders-summary strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 32px;
    color: #405a43;
    margin-bottom: 3px;
}

.bb-summary-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #829a77;
    font-size: 28px;
}

.bb-orders-list {
    display: grid;
    gap: 18px;
}

.bb-my-order-card {
    background: #fff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(44, 64, 45, 0.045);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bb-my-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 25px rgba(44, 64, 45, 0.08);
}

.bb-my-order-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.bb-order-label {
    display: block;
    color: #9aa39a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    margin-bottom: 7px;
}

.bb-my-order-top h3 {
    color: #405b43;
    font-size: 17px;
    margin: 0 0 5px;
    overflow-wrap: anywhere;
}

.bb-order-date {
    color: #89938b;
    font-size: 12px;
}

.bb-my-order-status {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 30px;
    background: #f0f2ed;
    color: #61705f;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.bb-status-confirmed {
    background: #eaf2ff;
    color: #416caa;
}

.bb-status-preparing {
    background: #fff3df;
    color: #a8752d;
}

.bb-status-out_for_delivery {
    background: #e9f3ff;
    color: #3676ad;
}

.bb-status-delivered {
    background: #e5f3e8;
    color: #3d8050;
}

.bb-status-cancelled {
    background: #fbeaea;
    color: #b64f4f;
}

.bb-my-order-divider {
    height: 1px;
    background: #edf0eb;
    margin: 20px 0;
}

.bb-my-order-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bb-order-total {
    color: #405b43;
    font-size: 20px;
}

.bb-order-value {
    display: block;
    color: #56645a;
    font-size: 13px;
    font-weight: 700;
}

.bb-cancellation-notice {
    background: #fff8eb;
    color: #916c32;
    border: 1px solid #f3e5c8;
    border-radius: 9px;
    padding: 11px 14px;
    font-size: 12px;
    margin-top: 20px;
}

.bb-cancellation-notice span {
    margin-right: 5px;
}

.bb-my-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #edf0eb;
    margin-top: 22px;
    padding-top: 18px;
}

.bb-my-order-footer > span {
    color: #929b91;
    font-size: 12px;
}

.bb-view-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 17px;
    border-radius: 9px;
    background: #526f54;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.bb-view-order-btn:hover {
    background: #3f5942;
    transform: translateY(-1px);
}

.bb-view-order-btn span {
    font-size: 16px;
}

.bb-orders-empty {
    background: #fff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    padding: 55px 20px;
    text-align: center;
}

.bb-empty-flower {
    font-size: 48px;
    color: #9bb28f;
    margin-bottom: 15px;
}

.bb-orders-empty h2 {
    font-family: Georgia, serif;
    color: #405b43;
    margin: 0 0 10px;
}

.bb-orders-empty p {
    color: #89938b;
    font-size: 14px;
    margin-bottom: 22px;
}

.bb-orders-pagination {
    margin-top: 25px;
}

/* Mobile */
@media (max-width: 650px) {
    .bb-my-orders {
        margin-top: 22px;
        padding: 0 14px;
    }

    .bb-orders-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .bb-my-order-card {
        padding: 18px;
    }

    .bb-my-order-top {
        flex-direction: column;
    }

    .bb-my-order-info {
        grid-template-columns: 1fr 1fr;
        gap: 20px 12px;
    }

    .bb-my-order-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bb-my-order-footer .bb-view-order-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 380px) {
    .bb-my-order-info {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   BLOOM BASKET - ORDER TRACKING
===================================== */

.bb-track-page {
    max-width: 850px;
    margin: 45px auto 70px;
    padding: 0 20px;
    text-align: center;
}

.bb-track-heading {
    margin-bottom: 30px;
}

.bb-track-eyebrow {
    color: #899e7c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bb-track-heading h1 {
    font-family: Georgia, serif;
    color: #405b43;
    font-size: clamp(30px, 4vw, 42px);
    margin: 12px 0;
}

.bb-track-heading p {
    color: #879188;
    font-size: 14px;
}

.bb-track-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 38px;
    background: #fff;
    border: 1px solid #e7ece4;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(44, 64, 45, 0.06);
}

.bb-track-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    background: #edf3e9;
    color: #668064;
    border-radius: 50%;
}

.bb-track-card h2 {
    font-family: Georgia, serif;
    font-size: 25px;
    color: #405b43;
    margin: 0 0 10px;
}

.bb-track-description {
    max-width: 390px;
    margin: 0 auto 28px;
    color: #89938b;
    font-size: 13px;
    line-height: 1.7;
}

.bb-track-card form {
    text-align: left;
}

.bb-track-card label {
    display: block;
    color: #526653;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.bb-track-input-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    border: 1px solid #dfe7dc;
    border-radius: 10px;
    background: #fbfcfa;
    color: #405b43;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.bb-track-input-wrap input:focus {
    border-color: #829b7b;
    box-shadow: 0 0 0 3px rgba(130, 155, 123, 0.13);
}

.bb-track-button {
    width: 100%;
    margin-top: 18px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #526f54;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.bb-track-button:hover {
    background: #3f5942;
}

.bb-track-button span {
    margin-left: 8px;
    font-size: 17px;
}

.bb-track-error {
    color: #b64f4f;
    font-size: 12px;
    margin-top: 8px;
}

.bb-track-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf0eb;
}

.bb-track-help span {
    color: #91a582;
    font-size: 19px;
}

.bb-track-help p {
    color: #89938b;
    font-size: 11px;
    margin: 0;
}

.bb-track-back {
    display: inline-block;
    margin-top: 25px;
    color: #637c61;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bb-track-back:hover {
    color: #405b43;
}

@media (max-width: 550px) {
    .bb-track-page {
        margin-top: 25px;
        padding: 0 14px;
    }

    .bb-track-card {
        padding: 28px 20px;
    }

    .bb-track-card h2 {
        font-size: 22px;
    }
}

/* =====================================
   BLOOM BASKET - TRACKING RESULTS
===================================== */

.bb-track-result {
    max-width: 1050px;
    margin: 40px auto 70px;
    padding: 0 20px;
    color: #405347;
}

.bb-result-heading {
    text-align: center;
    margin-bottom: 30px;
}

.bb-result-heading h1 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    color: #405b43;
    margin: 10px 0;
}

.bb-result-heading p {
    color: #89938b;
    font-size: 14px;
}

.bb-result-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 28px;
    background: linear-gradient(120deg, #edf3e9, #f8f7ef);
    border: 1px solid #e1e9dc;
    border-radius: 16px;
    margin-bottom: 22px;
}

.bb-result-label {
    display: block;
    color: #899889;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.bb-result-overview h2 {
    color: #405b43;
    font-size: 20px;
    margin: 0 0 5px;
    overflow-wrap: anywhere;
}

.bb-result-overview p {
    color: #879188;
    font-size: 12px;
    margin: 0;
}

.bb-result-status {
    padding: 10px 17px;
    border-radius: 30px;
    background: #fff;
    color: #61705f;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.bb-result-status.is-cancelled {
    background: #fbeaea;
    color: #b64f4f;
}

.bb-progress-card,
.bb-result-section {
    background: #fff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(44, 64, 45, 0.04);
}

.bb-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.bb-section-heading h2,
.bb-result-section-title h2 {
    font-family: Georgia, serif;
    color: #405b43;
    font-size: 21px;
    margin: 0;
}

.bb-progress-count {
    color: #748773;
    font-size: 11px;
    font-weight: 700;
    background: #edf3e9;
    padding: 8px 12px;
    border-radius: 20px;
}

.bb-progress-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    margin: 38px 0 30px;
}

.bb-progress-track::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e7ece4;
    z-index: 0;
}

.bb-progress-step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 11px;
}

.bb-progress-circle {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 2px solid #e1e8df;
    border-radius: 50%;
    background: #fff;
    color: #a0aaa0;
    font-size: 12px;
    font-weight: 800;
}

.bb-progress-step span {
    max-width: 115px;
    color: #929b92;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.bb-progress-step.is-complete .bb-progress-circle {
    background: #6d8968;
    border-color: #6d8968;
    color: #fff;
}

.bb-progress-step.is-complete span {
    color: #607c5e;
}

.bb-progress-step.is-current .bb-progress-circle {
    background: #526f54;
    border-color: #526f54;
    color: #fff;
    box-shadow: 0 0 0 5px #e9f0e6;
}

.bb-progress-step.is-current span {
    color: #405b43;
    font-weight: 800;
}

.bb-current-status {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f5f8f2;
    border: 1px solid #e7eee2;
    border-radius: 12px;
    padding: 17px;
}

.bb-current-status-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e5eee0;
    color: #698365;
    font-size: 19px;
}

.bb-current-status strong {
    display: block;
    color: #405b43;
    font-size: 13px;
    margin-bottom: 5px;
}

.bb-current-status p {
    color: #849087;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

.bb-cancelled-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 25px;
    margin-bottom: 22px;
    background: #fff5f3;
    border: 1px solid #f1dcd8;
    border-radius: 16px;
}

.bb-cancelled-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #f8e3df;
    color: #b64f4f;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.bb-cancelled-panel h3 {
    color: #a34e48;
    margin: 0 0 6px;
    font-size: 16px;
}

.bb-cancelled-panel p {
    color: #9b7772;
    font-size: 12px;
    margin: 0;
}

.bb-result-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.bb-result-section-title > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf3e9;
    color: #6e8868;
    font-size: 11px;
    font-weight: 800;
}

.bb-result-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.bb-result-info-item span,
.bb-delivery-address span {
    display: block;
    color: #9aa39a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.bb-result-info-item strong {
    color: #526653;
    font-size: 13px;
}

.bb-delivery-address {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8faf6;
    border-radius: 12px;
    padding: 18px;
}

.bb-address-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #eaf1e6;
    color: #698365;
    border-radius: 50%;
    font-size: 23px;
}

.bb-delivery-address p {
    color: #526653;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.bb-result-items {
    border-top: 1px solid #edf0eb;
}

.bb-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0eb;
}

.bb-result-item > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bb-result-item > div strong {
    color: #526653;
    font-size: 13px;
}

.bb-result-item > div span {
    color: #929b91;
    font-size: 11px;
}

.bb-item-total {
    color: #405b43;
    font-size: 13px;
    white-space: nowrap;
}

.bb-result-totals {
    max-width: 350px;
    margin: 20px 0 0 auto;
}

.bb-result-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    color: #89938b;
    font-size: 12px;
}

.bb-result-totals strong {
    color: #526653;
}

.bb-result-totals .bb-grand-total {
    border-top: 1px solid #e8ece6;
    margin-top: 10px;
    padding-top: 16px;
    color: #405b43;
    font-size: 14px;
    font-weight: 800;
}

.bb-result-totals .bb-grand-total strong {
    color: #405b43;
    font-size: 20px;
}

.bb-cancellation-result {
    padding: 20px;
    margin-bottom: 20px;
    background: #fff8eb;
    border: 1px solid #f3e5c8;
    border-radius: 13px;
}

.bb-cancellation-result > strong {
    display: block;
    color: #765d35;
    font-size: 14px;
    margin-bottom: 10px;
}

.bb-cancellation-status {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 20px;
    background: #f3ead7;
    color: #916c32;
    font-size: 11px;
    font-weight: 800;
}

.bb-cancellation-result p {
    color: #8b754f;
    font-size: 12px;
    line-height: 1.6;
    margin: 12px 0 0;
}

.bb-cancel-request {
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #f0e6d9;
    border-radius: 14px;
    background: #fffdf9;
}

.bb-cancel-request h3 {
    color: #765d43;
    font-family: Georgia, serif;
    font-size: 19px;
    margin: 0 0 8px;
}

.bb-cancel-request > p {
    color: #968b7d;
    font-size: 12px;
    margin-bottom: 18px;
}

.bb-cancel-request label {
    display: block;
    color: #665d50;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bb-cancel-request textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    border: 1px solid #e8e0d6;
    border-radius: 9px;
    background: #fff;
    color: #526653;
    font: inherit;
    font-size: 13px;
    resize: vertical;
}

.bb-cancel-request textarea:focus {
    outline: none;
    border-color: #b6a58e;
    box-shadow: 0 0 0 3px rgba(182, 165, 142, 0.12);
}

.bb-cancel-request button {
    margin-top: 13px;
    padding: 12px 18px;
    border: none;
    border-radius: 9px;
    background: #8a6b55;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.bb-cancel-request button:hover {
    background: #71543f;
}

.bb-result-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.bb-track-again {
    color: #637c61;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.bb-result-shop {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 9px;
    background: #526f54;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.bb-result-shop:hover {
    background: #3f5942;
}

@media (max-width: 650px) {
    .bb-track-result {
        margin-top: 22px;
        padding: 0 14px;
    }

    .bb-result-overview {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .bb-progress-card,
    .bb-result-section {
        padding: 19px;
    }

    .bb-progress-track {
        margin: 30px 0 25px;
    }

    .bb-progress-step {
        gap: 9px;
    }

    .bb-progress-circle {
        width: 29px;
        height: 29px;
        font-size: 10px;
    }

    .bb-progress-track::before {
        top: 14px;
    }

    .bb-progress-step span {
        font-size: 9px;
        overflow-wrap: anywhere;
    }

    .bb-section-heading h2,
    .bb-result-section-title h2 {
        font-size: 18px;
    }

    .bb-result-info-grid {
        gap: 20px 12px;
    }

    .bb-result-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bb-result-shop {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .bb-progress-step span {
        font-size: 8px;
    }

    .bb-progress-circle {
        width: 25px;
        height: 25px;
    }

    .bb-progress-track::before {
        top: 12px;
    }
}
/* Shop page notification dropdown */
.store-notification-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.store-notification-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #637b68;
    cursor: pointer;
}

.store-notification-button:hover {
    background: #f0f4ed;
}

.store-notification-button .notification-count {
    position: absolute;
    top: -3px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e11d48;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.store-notification-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 30px);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 2000;
}

.store-notification-dropdown[hidden] {
    display: none !important;
}

.store-notification-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f3f4f6;
}

.store-notification-header strong {
    color: #465d4b;
}

.store-notification-header span {
    color: #6b7280;
    font-size: 12px;
}

.store-notification-item {
    display: block;
    padding: 13px 15px;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
}

.store-notification-item:hover {
    background: #f0f4ed;
}

.store-notification-item.unread {
    background: #f7faf5;
}

.store-notification-item strong {
    display: block;
    color: #374151;
    font-size: 13px;
}

.store-notification-item p {
    margin: 4px 0;
    color: #6b7280;
    font-size: 12px;
}

.store-notification-item small {
    color: #9ca3af;
    font-size: 10px;
}

.store-notification-footer {
    display: block;
    padding: 13px;
    color: #637b68;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.store-notification-footer:hover {
    background: #f0f4ed;
}
/* badge styling */
.cart-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 50px;
    background: #637b68;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Last Order Update */
.bb-last-updated {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 20px;
    margin-bottom: 22px;
    background: #f5f7f1;
    border: 1px solid #e5eadf;
    border-radius: 14px;
}

.bb-last-updated-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e5ecdf;
    color: #637b68;
    font-size: 23px;
}

.bb-last-updated div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bb-last-updated div span {
    color: #899187;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.bb-last-updated strong {
    color: #34483a;
    font-size: 13px;
}

/* Status History */
/* Order Status History */
.bb-status-history {
    padding: 10px 5px;
}

.bb-history-item {
    position: relative;
    display: flex;
    gap: 16px;
    padding-bottom: 25px;
}

.bb-history-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 17px;
    bottom: 0;
    width: 2px;
    background: #dce5d9;
}

.bb-history-marker {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #637b68;
    border: 3px solid #e5ecdf;
}

.bb-history-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bb-history-content strong {
    color: #34483a;
    font-size: 14px;
}

.bb-history-content p {
    margin: 0;
    color: #737d72;
    font-size: 13px;
}

.bb-history-content span {
    color: #929a90;
    font-size: 11px;
}
/* Admin Order Status History */
.bb-admin-status-history {
    padding: 15px 5px 5px;
}

.bb-admin-history-item {
    position: relative;
    display: flex;
    gap: 15px;
    padding-bottom: 25px;
}

.bb-admin-history-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 17px;
    bottom: 0;
    width: 2px;
    background: #dce5d9;
}

.bb-admin-history-marker {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #637b68;
    border: 3px solid #e5ecdf;
}

.bb-admin-history-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bb-admin-history-content strong {
    color: #34483a;
    font-size: 14px;
}

.bb-admin-history-content p {
    margin: 0;
    color: #737d72;
    font-size: 13px;
}

.bb-admin-history-content span {
    color: #929a90;
    font-size: 11px;
}

.bb-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.bb-logo-image {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 480px) {
    .bb-logo-image {
        width: 175px;
    }
}
/* Petalvanta More Dropdown */
.store-more-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.store-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.store-more-toggle:hover {
    background: rgba(165, 0, 69, 0.08);
}

.store-more-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 2000;
    width: 210px;
    padding: 8px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.store-more-dropdown[hidden] {
    display: none !important;
}

.store-more-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.store-more-dropdown a:hover {
    background: #fff0f5;
    color: #a50045;
}

.store-more-user {
    padding: 10px 12px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 12px;
}

.store-more-dropdown form {
    display: block;
    padding: 4px;
}

.store-more-dropdown .nav-logout {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 7px;
    background: #fff0f5;
    color: #a50045;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
}

.store-more-dropdown .nav-logout:hover {
    background: #a50045;
    color: #fff;
}

/* =====================================
   AJAX SHOPPING CART DRAWER
===================================== */

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 40, 32, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.12);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.cart-drawer-header h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 23px;
    color: #35443b;
}

.cart-drawer-header p {
    margin: 5px 0 0;
    color: #879087;
    font-size: 13px;
}

.cart-drawer-header button {
    border: none;
    background: #f4f6f1;
    color: #35443b;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-drawer-empty {
    text-align: center;
    padding: 70px 15px;
    color: #879087;
}

.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-drawer-item img {
    width: 85px;
    height: 95px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-info h4 {
    margin: 0 0 7px;
    color: #35443b;
    font-size: 14px;
}

.cart-drawer-item-info p {
    margin: 0 0 10px;
    color: #637b68;
    font-weight: 600;
    font-size: 14px;
}

.cart-drawer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-actions button {
    border: 1px solid #e5eae2;
    background: #f8faf6;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
}

.cart-drawer-actions .remove-cart-item {
    margin-left: auto;
    color: #c45d6b;
    border: none;
    background: transparent;
    width: auto;
}

.cart-drawer-footer {
    padding: 22px;
    border-top: 1px solid #eee;
    background: #fff;
}

.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #35443b;
    font-size: 16px;
}

.cart-drawer-subtotal strong {
    color: #637b68;
}

.drawer-view-cart,
.drawer-checkout {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.drawer-view-cart {
    border: 1px solid #637b68;
    color: #637b68;
}

.drawer-checkout {
    background: #637b68;
    color: white;
}

.drawer-checkout:hover {
    background: #465d4b;
    color: white;
}

body.cart-drawer-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }
}

/* CART DRAWER LOADING STATE */
.cart-drawer-items.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cart-drawer-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-item-line-total {
    color: #35443b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
}
.cart-stock-warning {
    color: #c45d4d;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 10px;
}

/* =====================================
   BLOOM BASKET - PRODUCT CARD DESIGN
   ===================================== */

/* =====================================
   BLOOM BASKET - REFINED PRODUCT CARDS
===================================== */

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

.product-grid .product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0e9;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(53, 68, 59, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(53, 68, 59, 0.11);
}

.product-grid .product-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f5f6f1;
}

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

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

.product-grid .product-tag {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 12px;
    border-radius: 30px;
    background: #637b68;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-grid .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.product-grid .bb-product-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.product-grid .bb-product-heading .product-category {
    margin: 0;
    color: #899488;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.product-grid .bb-wishlist-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 1px solid #e8eee6;
    border-radius: 50%;
    background: #fff;
    color: #879087;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.product-grid .bb-wishlist-toggle:hover {
    color: #b45d75;
    border-color: #e9cbd4;
    background: #fbf0f3;
    transform: scale(1.08);
}

.product-grid .bb-wishlist-toggle.saved {
    color: #b45d75;
    background: #fbf0f3;
    border-color: #e9cbd4;
}

.product-grid .bb-wishlist-toggle:disabled {
    opacity: 0.5;
    cursor: wait;
}

.product-grid .product-info h3 {
    min-height: 50px;
    margin: 0 0 14px;
    color: #34483a;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

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

.product-grid .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #f0f1ed;
}

.product-grid .product-price-stock {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.product-grid .product-price-stock strong {
    color: #526b57;
    font-size: 17px;
    font-weight: 800;
}

.product-grid .stock-available,
.product-grid .stock-low,
.product-grid .out-stock {
    font-size: 11px;
    font-weight: 600;
}

.product-grid .stock-available {
    color: #64816a;
}

.product-grid .stock-low {
    color: #b77935;
}

.product-grid .out-stock {
    color: #b45d75;
}

.product-grid .ajax-add-to-cart {
    flex-shrink: 0;
    margin: 0;
}

.product-grid .add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 105px;
    height: 39px;
    padding: 0 14px;
    border: none;
    border-radius: 25px;
    background: #637b68;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.product-grid .add-button:hover {
    background: #465d4b;
    color: #fff;
    transform: translateY(-2px);
}

.product-grid .add-button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.product-grid .empty-state {
    grid-column: 1 / -1;
    border-radius: 16px;
    padding: 55px 20px;
}

/* Loading animation */
.bb-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bb-spin 0.7s linear infinite;
    vertical-align: middle;
}

.is-loading {
    opacity: 0.75;
    cursor: wait !important;
}

@keyframes bb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Keyboard accessibility */
.product-grid .add-button:focus-visible,
.product-grid .bb-wishlist-toggle:focus-visible,
.product-grid .product-info h3 a:focus-visible {
    outline: 3px solid #b8cbb5;
    outline-offset: 3px;
}

/* Responsive product cards */
@media (max-width: 950px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }
}

@media (max-width: 650px) {
    .product-grid .product-info {
        padding: 12px;
    }

    .product-grid .product-info h3 {
        min-height: 42px;
        font-size: 15px;
    }

    .product-grid .product-price-stock strong {
        font-size: 15px;
    }

    .product-grid .add-button {
        min-width: 38px;
        width: 38px;
        height: 38px;
        padding: 0;
        font-size: 0;
    }

    .product-grid .add-button::after {
        content: "+";
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-grid .product-card,
    .product-grid .product-image img,
    .product-grid .add-button,
    .product-grid .bb-wishlist-toggle {
        transition: none;
    }
}
