/* ============================================================
   HOME PAGE
   ============================================================ */

/* Layout */
.home-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .home-layout {
        flex-direction: row;
    }
}

.home-main {
    flex: 1;
    min-width: 0;
}

/* ── Search Section ───────────────────────────────────────── */
.search-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--u-border);
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .search-section {
        padding: 24px;
    }
}

.search-label {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 21px;
    color: #494645;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form {
    position: relative;
}

/* Flex container — border/radius live here, not on the input */
.search-input-inner {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}

.search-input-inner:focus-within {
    border-color: var(--u-primary);
    box-shadow: 0 0 0 3px rgba(31,94,255,.15);
}

/* Wrapper for icon + input, takes all remaining space */
.search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.search-inner-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--u-text-sub);
    pointer-events: none;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .search-inner-icon { left: 16px; width: 20px; height: 20px; }
}

/* Input is borderless — the wrapper provides the border */
.search-input-inner input {
    width: 100%;
    background: transparent;
    color: #111827;
    border: none;
    outline: none;
    padding: 10px 12px 10px 40px;
    font-size: 14px;
}

.search-input-inner input::placeholder {
    color: #9ca3af;
}

@media (min-width: 768px) {
    .search-input-inner input {
        padding: 12px 12px 12px 44px;
        font-size: 16px;
    }
}

/* 検索 button — flex sibling, not absolute */
.btn-search {
    display: none;
    flex-shrink: 0;
    background: #3e3a39;
    color: #fff;
    border: none;
    border-radius: 6px;
    margin: 4px;
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 1em;
    text-indent: 1em;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: background .15s, box-shadow .15s, transform .1s;
}

.btn-search:hover {
    background: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.btn-search:active {
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .btn-search {
        display: block;
        padding: 8px 20px;
        font-size: 15px;
        margin: 4px;
    }
}

.search-advanced-toggle {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 21px;
    color: #494645;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 0;
    background: none;
    border: none;
    padding: 0;
    transition: color .15s;
}



/* ── Advanced Search Panel ────────────────────────────────── */
.search-advanced-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    margin-bottom: 0;
}

.advanced-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.advanced-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.advanced-select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--u-text);
    background: #fff;
    outline: none;
    appearance: auto;
    transition: border-color .15s, box-shadow .15s;
}

.advanced-select:focus {
    border-color: var(--u-primary);
    box-shadow: 0 0 0 2px rgba(31,94,255,.15);
}

.btn-advanced-search {
    width: 100%;
    background: #fff;
    color: #5f5b5a;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background .15s;
}

.btn-advanced-search:hover {
    background: #f5f5f5;
}

.search-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.filter-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #5f5b5a;
    background: #fff;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}

.filter-tab:hover {
    background: #f5f5f5;
    color: #5f5b5a;
}

@media (min-width: 768px) {
    .filter-tab {
        flex: none;
        width: 162px;
    }
}

/* ── Section Header ───────────────────────────────────────── */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-title {
    font-size: 19px;
    font-weight: 500;
    line-height: 26px;
    color: #494645;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #494645;
}

.btn-see-all {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #494645;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-see-all:hover {
    opacity: 0.7;
}

/* ── Home Section Block ───────────────────────────────────── */
.home-section {
    margin-bottom: 28px;
}

/* ── Featured Carousel (mobile) + Grid (desktop) ─────────── */
.featured-carousel { display: block; }
@media (min-width: 768px) { .featured-carousel { display: none; } }

.featured-carousel-wrap { overflow: hidden; border-radius: 12px; }

.featured-carousel-track {
    display: flex;
    transition: transform 0.3s ease-out;
}

.featured-carousel-slide { width: 100%; flex-shrink: 0; }

.featured-slide-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--u-border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.featured-slide-img {
    position: relative;
    height: 192px;
    background: #f3f4f6;
    overflow: hidden;
}
.featured-slide-img img { width: 100%; height: 100%; object-fit: cover; }

.featured-slide-body { padding: 16px; }

.featured-slide-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--u-text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.375;
}

.featured-slide-price { font-size: 20px; font-weight: 700; color: #494645; }

.featured-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.featured-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    flex-shrink: 0;
}
.featured-dot.active { background: var(--u-primary); width: 24px; }

/* ── Product Card (Featured) ──────────────────────────────── */
.featured-grid { display: none; }
@media (min-width: 768px) {
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--u-border);
    overflow: hidden;
    transition: box-shadow .15s, transform .15s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.09);
    transform: translateY(-2px);
    color: inherit;
}

.product-card-img {
    position: relative;
    height: 128px;
    overflow: hidden;
    background: #f3f4f6;
}

.product-card-img--large {
    height: 160px;
}

@media (min-width: 768px) {
    .product-card-img { height: 144px; }
    .product-card-img--large { height: 192px; }
}

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

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 40px;
}

.sale-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    padding: 4px 10px;
    border-radius: 0;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.sale-badge.badge-lottery    { background: #ad971f; letter-spacing: 0.25em; text-indent: 0.25em; }
.sale-badge.badge-reservation { background: #16a34a; }
.sale-badge.badge-store-only  { background: #b7183f; }
.sale-badge.badge-sold-out    { background: #64748b; letter-spacing: 0.25em; text-indent: 0.25em; }
.sale-badge.badge-low-stock   { background: #004d99; letter-spacing: 0.25em; text-indent: 0.25em; }
.sale-badge.badge-coming-soon { background: #b45309; }

.product-card-body {
    padding: 12px;
}

@media (min-width: 768px) {
    .product-card-body { padding: 16px; }
}

.product-maker {
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    min-height: 14px;
    color: #b8b8b8;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    color: #494645;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: #494645;
}

.product-price.price--badge-lottery    { color: #ad971f; }
.product-price.price--badge-store-only { color: #b7183f; }
.featured-slide-price.price--badge-lottery    { color: #ad971f; }
.featured-slide-price.price--badge-store-only { color: #b7183f; }

@media (min-width: 768px) {
    .product-price { font-size: 18px; }
}

.product-price .price-yen,
.featured-slide-price .price-yen {
    font-size: 12px;
    font-weight: 700;
    margin-left: 2px;
}

.product-price .price-tax,
.featured-slide-price .price-tax {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    margin-left: 2px;
}

/* Large card body (注目の商品) — matches design h-10/h-12, p-4/p-5 */
.product-card-body--large {
    padding: 16px;
}

.product-card-body--large .product-maker {
    font-size: 12px;
}

.product-card-body--large .product-name {
    font-size: 14px;
    font-weight: 500;
    height: 40px;
}

.product-card-body--large .product-price {
    font-size: 18px;
}

.product-card-body--large .product-price .price-unit {
    font-size: 13px;
}

@media (min-width: 768px) {
    .product-card-body--large { padding: 15px; }
    .product-card-body--large .product-maker { font-size: 14px; }
    .product-card-body--large .product-name { font-size: 16px; height: 48px; }
    .product-card-body--large .product-price { font-size: 20px; }
    .product-card-body--large .product-price .price-unit { font-size: 14px; }
}

/* ── Ranking Section ──────────────────────────────────────── */
/* Mobile: horizontal scroll */
.ranking-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}
.ranking-grid::-webkit-scrollbar { display: none; }

/* Desktop: 5-column grid */
@media (min-width: 1024px) {
    .ranking-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        overflow-x: visible;
        padding-bottom: 0;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Mobile: w-40=160px, Desktop lg: auto (grid determines width) */
.rank-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow .15s;
    flex-shrink: 0;
    width: 160px;
}

@media (min-width: 1024px) {
    .rank-card { width: auto; }
}

.rank-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    color: inherit;
}

/* h-28 = 112px */
.rank-card-img {
    position: relative;
    height: 112px;
    overflow: hidden;
    background: #f3f4f6;
}

.rank-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 56px;
    height: 56px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 0 0 9px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
}

.rank-badge.rank-1 { background: #ad971e; }
.rank-badge.rank-2 { background: #b8bec8; }
.rank-badge.rank-3 { background: #b77128; }
.rank-badge.rank-4,
.rank-badge.rank-5 { background: #878787; }

.rank-card-body {
    padding: 10px;
}

.rank-product-name {
    font-size: 11px;
    font-weight: 500;
    color: #494645;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    margin-bottom: 8px;
}

/* Full-width rose pill — matches design's block-level flex div */
.rank-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #b7183f;
}

.rank-count-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ── Category Section ─────────────────────────────────────── */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
}
.category-tabs::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
    .category-tabs {
        margin-right: 0;
        padding-right: 0;
    }
}

.cat-tab {
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
    padding: 8px 16px 11px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #494645;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: opacity .15s;
    flex-shrink: 0;
    position: relative;
}

.cat-tab:hover { opacity: 0.7; }

.cat-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #494645;
    border-radius: 20px;
}

.category-products {
    display: none;
}

.category-products.active {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.category-products.active::-webkit-scrollbar { display: none; }

.category-products.active .product-card {
    flex-shrink: 0;
    width: 160px;
}

@media (min-width: 1024px) {
    .category-products.active {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        overflow-x: visible;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .category-products.active .product-card {
        width: auto;
    }
}

.category-products .product-name {
    font-size: 11px;
}

/* Smaller badge in category grid — matches design text-[9px] px-1.5 py-0.5 */
.category-products .sale-badge {
    font-size: 9px;
    padding: 2px 6px;
}

@media (min-width: 768px) {
    .category-products .sale-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
}

.btn-category-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #494645;
    text-decoration: none;
    transition: opacity .15s;
}

.btn-category-more svg { stroke-width: 1.5; }

.btn-category-more:hover {
    opacity: 0.7;
    color: #494645;
}

/* ── Announcement Sidebar ─────────────────────────────────── */
.announcement-sidebar {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .announcement-sidebar {
        position: sticky;
        top: 80px;
    }
}

.announcement-sidebar-head {
    background: #fff;
    color: #494645;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.announcement-list {
    border-top: none;
}

.announcement-item {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: background .1s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: left;
}

.announcement-item:last-of-type {
    border-bottom: none;
}

.announcement-item:hover {
    background: #f9fafb;
}

.announcement-date {
    font-size: 12px;
    color: #b8b8b8;
    margin-bottom: 4px;
}

.announcement-title {
    font-size: 14px;
    font-weight: 500;
    color: #494645;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.announcement-footer {
    background: #fff;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.announcement-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    font-size: 16px;
    color: #494645;
    text-decoration: none;
    font-weight: 400;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.announcement-see-all:hover {
    opacity: 0.7;
}

/* ── Notice Modal ─────────────────────────────────────────── */
.notice-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1010;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.notice-modal-overlay.open {
    display: flex;
}

.notice-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.notice-modal-head {
    background: #fff;
    color: #494645;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.notice-modal-head h3 {
    font-size: 16px;
    font-weight: 500;
    color: #494645;
    margin: 0;
}

.notice-modal-close {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #494645;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    line-height: 1;
    font-size: 20px;
    transition: background .1s;
}

.notice-modal-close:hover {
    background: #f3f4f6;
}

.notice-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 60vh;
    overflow-y: auto;
}

.notice-modal-date {
    font-size: 12px;
    color: #b8b8b8;
}

.notice-modal-title {
    font-size: 18px;
    font-weight: 500;
    color: #494645;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
}

.notice-modal-content {
    font-size: 14px;
    color: #494645;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}

.notice-modal-footer {
    padding: 0 24px 24px;
}

.notice-modal-footer button {
    width: 100%;
    background: #fff;
    color: #5f5b5a;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    padding: 18px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background .15s;
}

.notice-modal-footer button:hover {
    background: #f5f5f5;
}

/* ── All Notices Modal ────────────────────────────────────── */
.all-notices-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.all-notices-overlay.open {
    display: flex;
}

.all-notices-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.all-notices-modal .notice-modal-head {
    background: #fff;
    color: #494645;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 500;
    position: relative;
}

.all-notices-modal .notice-modal-head h3 {
    color: #494645;
    font-weight: 500;
}

.all-notices-modal .notice-modal-close {
    position: absolute;
    right: 16px;
    color: #494645;
}

.all-notices-modal .notice-modal-close:hover {
    background: #f3f4f6;
}

.all-notices-body {
    overflow-y: auto;
    flex: 1;
}

.all-notices-body .announcement-item:last-of-type,
.all-notices-body .announcement-item.last {
    border-bottom: none;
}

.all-notices-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.all-notices-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--u-primary);
    border-radius: 50%;
    animation: ann-spin .7s linear infinite;
}

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

.all-notices-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--u-text-sub);
    font-size: 14px;
}

.all-notices-paginator {
    border-top: 1px solid #f3f4f6;
    padding: 12px 16px;
    flex-shrink: 0;
}

.all-notices-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ann-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: var(--u-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .1s, border-color .1s;
}

.ann-page-btn:hover:not([disabled]) {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.ann-page-btn.active {
    background: var(--u-primary);
    border-color: var(--u-primary);
    color: #fff;
    font-weight: 700;
}

.ann-page-btn[disabled] {
    opacity: .4;
    cursor: default;
}

.ann-page-dots {
    font-size: 13px;
    color: var(--u-text-sub);
    padding: 0 4px;
}

/* ── Aside ────────────────────────────────────────────────── */
.home-aside { display: none; }

@media (min-width: 1024px) {
    .home-aside { display: block; width: 320px; flex-shrink: 0; }
}

/* Mobile-only announcements section */
.home-announcements-mobile { display: block; background: #fff; padding: 10px; }
.home-announcements-mobile .announcement-sidebar { background: transparent; border: none; border-radius: 0; box-shadow: none; }
.home-announcements-mobile .announcement-footer { background: transparent; }

@media (min-width: 1024px) {
    .home-announcements-mobile { display: none; }
}


/* ── Empty state ──────────────────────────────────────────── */
.empty-products {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: var(--u-text-sub);
    font-size: 14px;
}
