:root {
    --brand-gradient: linear-gradient(135deg, #5b11a1 0%, #8b35ff 50%, #c084fc 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background: linear-gradient(180deg, #f9f5ff 0%, #f3e9ff 100%);
    color: #24162f;
    min-height: 100vh;
}

.container {
    display: grid;
    grid-template-areas:
        "header"
        "content"
        "footer";
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

.header {
    grid-area: header;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px clamp(16px, 4vw, 32px);
    background: var(--brand-gradient);
    background-attachment: fixed;
    box-shadow: 0 10px 30px rgba(38, 10, 70, 0.16);
}

.header h1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    position: static;
    transform: none;
    margin-right: auto;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.homename h1::before,
.footer-logo::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url('logo.png') center / contain no-repeat;
    flex: 0 0 28px;
}

.footer-logo::before {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    vertical-align: middle;
}

.menulinks {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    margin-left: auto;
}

.menulinks a,
.menulinks i {
    color: white;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.menulinks a:hover,
.menulinks i:hover {
    opacity: 0.8;
}

.nav-links {
    display: none;
    position: absolute;
    top: 46px;
    right: 0;
    background: var(--brand-gradient);
    background-attachment: fixed;
    padding: 14px 16px;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.content-shell {
    grid-area: content;
    width: 70vw;
    min-width: 320px;
    max-width: 1200px;
    margin: 0 auto;
    justify-self: center;
    padding: 28px clamp(16px, 4vw, 32px) 60px;
}

.banner {
    width: 100%;
    height: clamp(320px, 44vw, 500px);
    margin: 10px 0 24px;
    padding: 0;
    background: #000;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(45, 16, 74, 0.16);
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.24) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: clamp(20px, 4vw, 36px);
    max-width: 620px;
    color: white;
}

.banner-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 4px;
}

.banner-content p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 540px;
}

.shop-all-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    margin-top: 6px;
}

.shop-all-btn:hover {
    transform: translateY(-2px);
}

.home-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 0 0 24px;
    padding: 0 4px;
}

.home-intro h2 {
    font-size: 1.45rem;
    margin: 4px 0 6px;
}

.secondary-link {
    color: #7a2de8;
    font-weight: 700;
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    padding: 0;
    align-items: start;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: none;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 14px 35px rgba(43, 19, 67, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(43, 19, 67, 0.16);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    border: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 0;
    flex: 1;
}

.card button {
    margin-top: auto;
    padding: 10px;
    background-color: blueviolet;
    color: white;
    border: none;
    cursor: pointer;
}

.card-info h3 {
    text-align: left;
    text-decoration: none;
    width: 100%;
    margin: 0;
    flex-shrink: 0;
    font-size: 1.08rem;
    line-height: 1.35;
}

.card-info ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
    color: #5e4c6b;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    border-radius: 999px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    display: none;
}

.card-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #7a2de8;
    margin: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
    margin: 0;
    padding: 16px;
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    min-height: 42px;
    white-space: nowrap;
    /* stops text from wrapping */
    flex: 1;
    /* each button takes equal share but won't over-stretch */
    max-width: 140px;
    /* caps how wide each button gets on large screens */
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.footer-item a {
    color: white;
    text-decoration: none;
}

.site-search {
    position: relative;
    display: flex;
    align-items: center;
}

.site-search input {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 8px 12px;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.16);
    color: white;
}

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

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    color: #24122d;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 20;
}

.search-suggestions.show {
    display: block;
}

.search-suggestions div {
    padding: 8px 12px;
    cursor: pointer;
}

.footer-item:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    background: var(--brand-gradient);
    background-attachment: fixed;
}

.page-hero {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 20px;
}

.page-hero h2 {
    font-size: 2rem;
    margin: 6px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 6px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
    color: #6c5b7d;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: blueviolet;
    text-decoration: none;
}

.breadcrumb-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
    min-width: 0;
    flex-shrink: 1;
}

@media (max-width: 600px) {
    .breadcrumb-current {
        max-width: 120px;
    }
}

.page-toolbar,
.toolbar-controls,
.filter-bar,
.price-row,
.qty-row,
.summary-row,
.cart-item,
.tabs,
.variant-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.page-toolbar {
    justify-content: space-between;
    margin-bottom: 18px;
}

.filter-bar {
    margin-bottom: 16px;
}

.chip {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #efe3ff;
    color: #4b2e63;
    text-decoration: none;
    font-size: 0.95rem;
}

.toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: white;
    border: 1px solid #e4d7f5;
}

/* product-grid defined above */

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(34, 19, 43, 0.08);
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-body h3 {
    font-size: 1.05rem;
}

.muted {
    color: #6c5b7d;
}

.price-row {
    justify-content: space-between;
    margin-top: auto;
}

.btn-primary,
.btn-secondary,
.remove-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}

.qty-row .btn-primary,
.qty-row .btn-secondary {
    padding: 8px 12px;
    font-size: 0.88rem;
    box-sizing: border-box;
}

.qty-row #detail-wishlist {
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 1.05rem;
    flex-shrink: 0;
    background: none;
    color: #b084e8;
}

.qty-row #detail-wishlist:hover {
    background: none;
    color: #c0392b;
}

.qty-row #detail-qty-row.cart-item-qty {
    background: #f7f2ff;
    border-radius: 999px;
    padding: 4px 10px;
    box-sizing: border-box;
    height: 36px;
}

.btn-primary {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
}

.btn-secondary {
    background: #efe3ff;
    color: #4b2e63;
}

.full {
    width: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.checkout-grid,
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.form-card,
.summary-card,
.article-card,
.gallery-card,
.details-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(34, 19, 43, 0.08);
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #4b2e63;
}

.field input,
.field select,
.field textarea,
.toolbar-controls select {
    border: 1px solid #e2d2f6;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}

.qty-row input {
    border: 1px solid #e2d2f6;
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
    font-weight: 700;
    width: 58px;
    text-align: center;
    font-size: 0.88rem;
    box-sizing: border-box;
}

.summary-row {
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #efebf5;
}

.summary-row.total {
    font-size: 1.05rem;
    border-bottom: none;
}

.cart-item {
    border-bottom: 1px solid #efebf5;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: #f9f5ff;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-item-name {
    font-weight: bold;
    font-size: 0.95rem;
    margin: 0;
}

.cart-item-price {
    color: #7a2de8;
    font-weight: bold;
    margin: 0;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
    border: none;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item-line-total {
    font-weight: bold;
    margin: 0;
}

.remove-item {
    background: none;
    border: none;
    color: #c74b4b;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.timeline {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f7f2ff;
}

.timeline-item.active {
    background: #efe3ff;
}

.map-placeholder {
    background: #f8f4ff;
    border: 1px dashed #d7c1f2;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.success-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.accordion details {
    background: white;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 8px 18px rgba(34, 19, 43, 0.06);
}

.accordion summary {
    cursor: pointer;
    font-weight: 700;
}

.article-card {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: auto;
}

#blog-grid .article-card {
    height: 300px;
    overflow: hidden;
}

#blog-grid .article-card h3 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-date {
    color: #6c5b7d;
    font-size: 0.85rem;
}

.blog-excerpt {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .btn-secondary,
.article-card .btn-primary {
    align-self: flex-start;
    margin-top: auto;
}

.article-card p {
    line-height: 1.6;
}

.policy-popup {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 45px rgba(34, 19, 43, 0.12);
    backdrop-filter: blur(10px);
}

.policy-popup h3 {
    margin-top: 0;
}

.policy-popup p {
    margin-bottom: 0;
}

.policy-popup ul {
    margin: 0;
    padding-left: 20px;
    color: #5e4c6b;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

.guide-card {
    text-decoration: none;
    color: inherit;
    height: 480px;
    overflow: hidden;
}

.guide-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}

.guide-card__meta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3ebff;
    color: #7a2de8;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-card__title {
    font-size: 1.1rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-card__excerpt {
    color: #6c5b7d;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.stock-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.stock-pill.in-stock {
    background: #e5fbe7;
    color: #2f7d3f;
}

.variant-group {
    margin: 14px 0;
}

.variant-group label,
.qty-row label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tabs {
    margin: 16px 0 10px;
}

.tab {
    background: #f3ebff;
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
}

.tab.active {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
}

.related-grid {
    margin-top: 24px;
}

@media (max-width: 900px) {

    .product-detail,
    .checkout-grid,
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-shell {
        padding: 20px 16px 40px;
    }

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

    .site-search input {
        min-width: 110px;
    }

    .success-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

.site-footer {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: #f8f2ff;
    padding: 32px 24px 24px;
    margin-top: 24px;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.site-footer a {
    color: #f8f2ff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
}

.homename {
    text-decoration: none;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

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

/* card grid layout handled by .product-grid above */

.card {
    height: fit-content;
    /* cards only as tall as content needs */
}

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f9f5ff;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
}

.card-specs {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
    color: #5e4c6b;
    font-size: 0.85rem;
}

.card-specs li {
    display: list-item;
    list-style: disc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

/* Out of stock */
.out-of-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c0392b;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.card-out-of-stock {
    opacity: 0.75;
}

.add-cart-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
    color: #888;
    font-weight: bold;
    border-radius: 999px;
    padding: 10px 16px;
    min-height: 42px;
    flex: 1;
    font-size: 0.75rem;
    cursor: not-allowed;
}

/* Wishlist button in footer */
.wish-btn {
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    border-radius: 999px;
    padding: 10px 14px;
    min-height: 42px;
    background: #efe3ff;
    color: #4b2e63;
    transition: background 0.2s, color 0.2s;
    flex: 0 0 auto;
}

.wish-btn:hover {
    background: #ffecec;
    color: #c0392b;
}

/* ── FILTER CHIPS ──────────────────────────────────────── */
.filter-bar button.chip {
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.chip-active {
    background: var(--brand-gradient) !important;
    background-attachment: fixed !important;
    color: white !important;
    font-weight: 700;
}

/* ── SORT DROPDOWN ─────────────────────────────────────── */
.select-wrap {
    position: relative;
    display: inline-block;
}

.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #4b2e63;
    pointer-events: none;
    font-size: 0.9rem;
}

.toolbar-controls select {
    border: 1px solid #e2d2f6;
    border-radius: 999px;
    padding: 8px 36px 8px 16px;
    font: inherit;
    background: #efe3ff;
    color: #4b2e63;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* ── PROMO CODE ────────────────────────────────────────── */
.promo-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.promo-input {
    flex: 1;
    border: 1px solid #e2d2f6;
    border-radius: 999px;
    padding: 10px 14px;
    font: inherit;
}

.promo-msg {
    font-size: 0.85rem;
    margin-top: 6px;
    min-height: 1.2em;
}

/* ── CONTACT PAGE ──────────────────────────────────────── */
.contact-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 8px 20px rgba(34, 19, 43, 0.07);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.contact-info-card i {
    font-size: 1.5rem;
    color: #7a2de8;
}

.contact-info-card h4 {
    font-size: 0.9rem;
    margin: 0;
    color: #3a1f52;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.85rem;
    color: #6c5b7d;
    text-decoration: none;
    margin: 0;
}

.contact-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4edff;
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #4b2e63;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.quick-link-item:hover {
    background: #e8d8ff;
}

.quick-link-item i {
    color: #7a2de8;
    width: 18px;
    text-align: center;
}

.contact-hours {
    border-top: 1px solid #efebf5;
    padding-top: 16px;
}

.contact-hours h4 {
    margin-bottom: 10px;
    color: #3a1f52;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #6c5b7d;
    border-bottom: 1px solid #f5f0ff;
}

.hours-row:last-child {
    border-bottom: none;
}

/* ── STOCK PILL OUT-OF-STOCK ───────────────────────────── */
.stock-pill.out-of-stock {
    background: #fde8e8;
    color: #c0392b;
}
/* ── INLINE WISHLIST (price row) ─────────────────────── */
.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wish-btn-inline {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 4px;
    color: #b084e8;
    transition: color 0.2s;
    flex-shrink: 0;
}

.wish-btn-inline:hover {
    color: #c0392b;
}

/* ── SPEC LIST DOTS ──────────────────────────────────── */


.shop-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-nav-top > a {
    flex: 1;
}

.shop-dropdown-arrow {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 999px;
    transition: background 0.18s, transform 0.2s;
    line-height: 1;
}

.shop-dropdown-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
}

.shop-dropdown-arrow.open {
    transform: rotate(180deg);
}

.shop-dropdown {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-top: 6px;
    padding: 6px 0;
    gap: 0;
}

.shop-dropdown.open {
    display: flex;
}

.shop-dropdown a {
    color: white !important;
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.15s;
    text-decoration: none;
    font-weight: 500;
}

.shop-dropdown a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* ══════════════════════════════════════════════════
   CART BADGE — more visible
══════════════════════════════════════════════════ */
.cart-count {
    position: absolute;
    top: -9px;
    right: -9px;
    background: #ff3c6e !important;
    color: white !important;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 2px 6px;
    min-width: 20px;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 60, 110, 0.55);
    line-height: 1.4;
    display: none;
}

/* ══════════════════════════════════════════════════
   SPEC DOTS — force them back
══════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════
   WISHLIST HEART — no background
══════════════════════════════════════════════════ */
.wish-btn-inline {
    background: none !important;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 4px;
    color: #b084e8;
    transition: color 0.2s;
    flex-shrink: 0;
}

.wish-btn-inline:hover { color: #c0392b; }

/* ══════════════════════════════════════════════════
   ADD TO CART — full width, breathing room
══════════════════════════════════════════════════ */
.card-footer {
    padding: 12px 16px 16px !important;
    gap: 0 !important;
}

.card-footer .add-cart,
.card-footer .add-cart-disabled {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 13px 20px !important;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════
   SORT SELECT — pill, custom arrow
══════════════════════════════════════════════════ */
.select-wrap {
    position: relative;
    display: inline-block;
}

.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #4b2e63;
    pointer-events: none;
    font-size: 0.85rem;
}

.toolbar-controls select {
    border: 1.5px solid #d4b8f5;
    border-radius: 999px !important;
    padding: 8px 36px 8px 16px;
    font: inherit;
    background: #efe3ff;
    color: #4b2e63;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* ══════════════════════════════════════════════════
   IN-STOCK CHECKBOX — circular
══════════════════════════════════════════════════ */
.toggle-pill input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 2px solid #c0a0e8;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
    vertical-align: middle;
}

.toggle-pill input[type="checkbox"]:checked {
    background: #8b35ff;
    border-color: #8b35ff;
}

.toggle-pill input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* ══════════════════════════════════════════════════
   PROFILE PAGE
══════════════════════════════════════════════════ */
.profile-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    align-items: start;
}

.profile-sidebar { display: flex; flex-direction: column; gap: 14px; }

.profile-avatar {
    background: var(--brand-gradient);
    background-attachment: fixed;
    border-radius: 20px;
    padding: 26px 20px;
    text-align: center;
    color: white;
}

.profile-avatar i { font-size: 3.2rem; display: block; margin-bottom: 10px; opacity: 0.9; }
.profile-avatar h3 { font-size: 1.1rem; margin-bottom: 3px; }
.profile-avatar p  { font-size: 0.82rem; opacity: 0.75; margin: 0; }

.profile-nav {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(34, 19, 43, 0.07);
}

.profile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    color: #3a1f52;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f0ff;
    transition: background 0.15s;
}

.profile-nav a:last-child { border-bottom: none; }
.profile-nav a:hover, .profile-nav a.active { background: #f4edff; }
.profile-nav a i { color: #7a2de8; width: 18px; text-align: center; }

.profile-main { display: flex; flex-direction: column; gap: 18px; }

.profile-section {
    background: white;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(34, 19, 43, 0.07);
}

.profile-section h3 {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #3a1f52;
    border-bottom: 1px solid #f0eaff;
    padding-bottom: 10px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f0ff;
    font-size: 0.9rem;
}

.order-row:last-of-type { border-bottom: none; }

.order-status {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-delivered  { background: #e5fbe7; color: #2f7d3f; }
.status-processing { background: #fff4e0; color: #b06000; }
.status-cancelled  { background: #fde8e8; color: #c0392b; }

@media (max-width: 820px) { .profile-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════════════════ */
.login-wrap { max-width: 460px; margin: 0 auto; }

.login-tabs {
    display: flex;
    background: #efe3ff;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 22px;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: #4b2e63;
    border: none;
    background: none;
    transition: background 0.2s, color 0.2s;
}

.login-tab.active {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
}

.login-panel { display: none; }
.login-panel.active { display: block; }

.toolbar-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.toolbar-controls .select-wrap,
.toggle-pill {
    height: 40px;
    display: flex;
    align-items: center;
}

.toolbar-controls select {
    height: 40px;
    border-radius: 999px !important;
}

select {
    border-radius: 999px;
    overflow: hidden;
}

.custom-dropdown {
    position: relative;
    width: 180px;
    cursor: pointer;
}

.dropdown-selected {
    background: #efe3ff;
    border-radius: 999px;
    padding: 10px 16px;
}

.dropdown-options {
    position: absolute;
    top: 110%;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    overflow: hidden;
}

.dropdown-options div {
    padding: 10px;
}

.dropdown-options div:hover {
    background: #efe3ff;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

.pill {
    background: #efe3ff;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pill:hover {
    background: #e2d2f6;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    border-radius: 16px;
    padding: 8px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    min-width: 180px;
}

.dropdown-menu div {
    padding: 10px 16px;
    cursor: pointer;
}

.dropdown-menu div:hover {
    background: #efe3ff;
}

.dropdown.open .dropdown-menu {
    display: block;
}
/* ══════════════════════════════════════════════════
   FOOTER — full layout
══════════════════════════════════════════════════ */
.site-footer {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: #c8b8e0;
    margin-top: 60px;
    padding: 48px 0 0;
    font-size: 0.9rem;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: 0.04em;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #c8b8e0;
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #c8b8e0;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover {
    background: #7a2de8;
    color: white;
}

.footer-col h4 {
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: #c8b8e0;
    text-decoration: none;
    margin-bottom: 9px;
    font-size: 0.88rem;
    transition: color 0.18s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 32px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-payment {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    color: #c8b8e0;
}

.footer-copy {
    font-size: 0.82rem;
    color: #c8b8e0;
    margin: 0;
}

@media (max-width: 820px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 0 20px 32px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 16px 20px; }
}

@media (max-width: 500px) {
    .site-footer__inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   PILL DROPDOWNS (sort / brand / price)
══════════════════════════════════════════════════ */
.pill-dropdown {
    position: relative;
    display: inline-block;
}

.pill-dropdown .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #efe3ff;
    color: #4b2e63;
    border: 1.5px solid #d4b8f5;
    border-radius: 999px;
    padding: 8px 16px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, border-color 0.18s;
    user-select: none;
}

.pill-dropdown .pill:hover,
.pill-dropdown.open .pill {
    background: #e2d0ff;
    border-color: #b084e8;
}

.pill-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(38,10,70,0.18);
    padding: 8px 0;
    min-width: 180px;
    z-index: 1100;
    flex-direction: column;
}

.pill-dropdown.open .dropdown-menu { display: flex; }

.pill-dropdown .dropdown-menu div {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3a1f52;
    cursor: pointer;
    transition: background 0.15s;
}

.pill-dropdown .dropdown-menu div:hover { background: #f4edff; }

/* In Stock toggle pill */
#stockToggle {
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

#stockToggle.pill-active {
    background: var(--brand-gradient);
    background-attachment: fixed;
    color: white;
    border-color: transparent;
}
/* ══════════════════════════════════════════════════
   PRODUCT DETAIL — GALLERY SLIDER
══════════════════════════════════════════════════ */
.gallery-main-wrap {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #f6f0ff;
}

.gallery-main-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    transition: opacity 0.2s ease;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b2e63;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.18s, transform 0.18s;
}

.gallery-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.08);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.thumb-img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.18s, transform 0.18s;
    background: #f0e8ff;
}

.thumb-img:hover {
    transform: scale(1.05);
}

.thumb-img.thumb-active {
    border-color: #8b35ff;
    box-shadow: 0 0 0 2px #d4a8ff;
}

/* ══════════════════════════════════════════════════
   PRODUCT DETAIL — TABS
══════════════════════════════════════════════════ */
.tab-panel {
    padding: 14px 0 4px;
    color: #3a1f52;
    font-size: 0.92rem;
    line-height: 1.65;
    animation: fadeIn 0.18s ease;
}

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

.detail-specs-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #3a1f52;
    font-size: 0.92rem;
}

.detail-specs-list li {
    display: list-item;
    list-style: disc;
}

/* ── CLEAR LIST BUTTON ───────────────────────────── */
.clear-list-btn {
    background: none;
    border: 1px solid #e2d2f6;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.82rem;
    color: #9a6db0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s, color 0.18s;
}

.clear-list-btn:hover {
    background: #ffecec;
    color: #c0392b;
    border-color: #f5c6c6;
}

/* ── WISHLIST HEART TOGGLE ───────────────────────── */
.wish-heart {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #c0392b;
    padding: 4px 8px;
    border-radius: 999px;
    transition: transform 0.18s, background 0.18s;
    line-height: 1;
}

.wishlist-container .wish-heart,
#wishlist-container .wish-heart {
    background: #ffecec;
    box-shadow: 0 6px 14px rgba(192, 57, 43, 0.12);
}

.wish-heart:hover {
    background: #ffecec;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .site-search input {
        min-width: 80px;
        width: 80px;
    }

    .menulinks {
        gap: 8px;
    }

    .header {
        padding: 12px 10px;
    }

    .header h1 {
        font-size: 1.3rem;
    }

    .content-shell {
        width: 100%;
        padding: 16px 12px 40px;
    }

    .banner-content h2 {
        font-size: 1.4rem;
    }

    .banner-content p {
        font-size: 0.85rem;
    }

    .home-intro h2 {
        font-size: 1.1rem;
    }

    .page-hero h2 {
        font-size: 1.4rem;
    }

    .card-info h3,
    .card-title {
        font-size: 0.88rem;
    }

    .card-specs {
        font-size: 0.78rem;
    }

    .card-price {
        font-size: 0.95rem;
    }

    .card img,
    .card-img-wrap {
        height: 160px;
    }

    .chip {
        font-size: 0.82rem;
        padding: 6px 10px;
    }

    .footer-item,
    .card-footer .add-cart,
    .card-footer .add-cart-disabled {
        font-size: 0.8rem !important;
        padding: 10px 12px !important;
    }

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

    .btn-primary,
    .btn-secondary {
        font-size: 0.85rem;
        padding: 9px 12px;
    }

    .profile-avatar i {
        font-size: 2.2rem;
    }

    .profile-avatar h3 {
        font-size: 0.95rem;
    }

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

    .breadcrumb-current {
        max-width: 120px;
    }
}