.stores-page { padding: 20px 0 60px; }
.stores-title {
    font-size: 38px;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin: 20px 0 35px;
    text-align: center;
}

.stores-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    background: #ffffff;
}

@media (max-width: 991px) {
    .stores-layout { grid-template-columns: 1fr; }
}

.stores-sidebar { display: flex; flex-direction: column; }
.district-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.district-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    color: #333;
    background: #fff;
    margin-bottom: 20px;
    outline: none;
}

.store-list-scroll {
    max-height: 520px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
}

.store-item-btn {
    display: block;
    padding: 18px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    background: #ffffff;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
    text-align: left;
    width: 100%;
    border-left: 3px solid transparent;
    border-right: none;
    border-top: none;
}

.store-item-btn:hover,
.store-item-btn.active {
    background: #f7f7f7;
    border-left-color: var(--primary-red);
}

.store-item-btn h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.store-item-btn p {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
}

.store-item-btn .store-phone {
    color: #333;
    margin-top: 4px;
    display: block;
}

.stores-map-wrapper {
    height: 580px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.stores-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.search-page { padding: 20px 0 60px; }
.search-header-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.search-title-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.search-sort-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.search-sort-box span {
    font-size: 13.5px;
    font-weight: 500;
    color: #555555;
    white-space: nowrap;
}

.search-input-box {
    display: flex;
    max-width: 480px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.search-input-box input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-input-box button {
    background: var(--primary-btn);
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-input-box button:hover {
    background: var(--primary-red);
}

.collection-page {
    padding: 20px 0 60px;
}
.collection-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

@media (max-width: 991px) {
    .collection-layout { grid-template-columns: 1fr; }
    .sidebar-filter {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding-right: 0 !important;
        margin-bottom: 24px !important;
        background: #fcfcfc;
        border: 1px solid #ededed;
        padding: 14px 16px;
        border-radius: 6px;
    }
}

.sidebar-filter {
    padding-right: 15px;
    position: -webkit-sticky;
    position: sticky;
    top: 125px;
    align-self: start;
    max-height: calc(100vh - 135px);
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 20;
}

.sidebar-filter::-webkit-scrollbar {
    display: none;
}

.sidebar-filter h3,
.sidebar-filter .sidebar-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111111;
    padding-bottom: 10px;
    border-bottom: 2px solid #111111;
    text-transform: none;
    letter-spacing: -0.2px;
}

.cat-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-item {
    margin-bottom: 2px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-item:last-child {
    border-bottom: none;
}

.cat-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.25s ease;
}

.cat-item-header:hover .cat-name {
    color: var(--primary-red);
}

.cat-item-header .cat-name {
    font-size: 14.5px;
    font-weight: 500;
    color: #222222;
    transition: color 0.25s ease, font-weight 0.25s ease;
    flex: 1;
    text-align: left;
}

.cat-item-header.is-active .cat-name {
    color: var(--primary-red);
    font-weight: 700;
}

.cat-arrow {
    width: 14px;
    height: 14px;
    stroke: #777777;
    stroke-width: 2.2;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
    transform: rotate(0deg);
}

.cat-item.is-open > .cat-item-header .cat-arrow {
    transform: rotate(90deg);
    stroke: var(--primary-red);
}

.cat-sub-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.42s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: grid-template-rows;
}

.cat-item.is-open > .cat-sub-wrapper {
    grid-template-rows: 1fr;
}

.cat-sub-list {
    overflow: hidden;
    list-style: none;
    padding: 0 0 0 16px;
    margin: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.42s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-item.is-open > .cat-sub-wrapper > .cat-sub-list {
    opacity: 1;
    transform: translateY(0);
    padding: 4px 0 12px 16px;
}

.cat-sub-item {
    margin: 3px 0;
}

.cat-sub-link {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 6px 0;
    font-size: 13.5px;
    color: #555555;
    cursor: pointer;
    transition: color 0.25s ease, padding-left 0.25s ease;
    font-family: inherit;
}

.cat-sub-link:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.cat-sub-link.is-active {
    color: var(--primary-red);
    font-weight: 600;
    padding-left: 5px;
}

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.collection-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.sort-box,
.search-sort-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.sort-box label,
.search-sort-box span {
    font-size: 13.5px;
    font-weight: 500;
    color: #555555;
    margin: 0;
    white-space: nowrap;
}

.sort-select,
.search-sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333333' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 6px;
    padding: 8px 36px 8px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 0 !important;
    font-size: 13.5px;
    font-weight: 500;
    font-family: inherit;
    color: #222222;
    cursor: pointer;
    outline: none;
    line-height: 1.4;
    min-width: 150px;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sort-select:hover,
.search-sort-select:hover {
    border-color: #222222;
    background-color: #fafafa;
}

.sort-select:focus,
.search-sort-select:focus {
    border-color: #111111;
    box-shadow: 0 0 0 1px #111111;
    background-color: #ffffff;
}

.sort-select option,
.search-sort-select option {
    padding: 8px 12px;
    background: #ffffff;
    color: #222222;
    font-size: 13.5px;
}

#productGrid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 16px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}

#productGrid::before,
#productGrid::after,
.product-grid::before,
.product-grid::after {
    display: none !important;
}

#productGrid > .pd-col-item,
.product-grid > .pd-col-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.pd-item__wrapper {
    padding-bottom: 6px;
    border-radius: 0 !important;
}

.pd-item__img {
    border-radius: 0 !important;
    margin-bottom: 8px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-item:hover .pd-item__img {
    border-color: #dcdcdc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.pd-item__img img {
    border-radius: 0 !important;
}

.pd-item h3 {
    font-size: 13.5px;
    font-weight: 500;
    margin: 6px 0 4px 0;
    line-height: 1.35;
}

.pd-item .price ins {
    font-size: 13.5px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    #productGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 12px;
    }
}

@media (max-width: 650px) {
    #productGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
    }
    .collection-header, .search-header-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .pd-item__img {
        border-radius: 6px !important;
        border: 1px solid #ededed;
    }
    .pd-item h3 {
        font-size: 12px;
        margin: 6px 0 3px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 32px;
    }
    .pd-item .price ins {
        font-size: 12.5px;
    }
    .pd-item:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    .pd-action-row {
        gap: 10px;
    }
    .quantity-box button {
        width: 38px;
        height: 44px;
    }
    .quantity-box input {
        width: 46px;
        height: 44px;
        font-size: 15px;
    }
    .btn-add-cart {
        height: 44px;
        font-size: 12px;
        padding: 0 10px;
    }
    .btn-buy-now {
        height: 46px;
        font-size: 13.5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.product-detail-page { padding: 30px 0 70px; }
.pd-detail-layout {
    display: grid;
    grid-template-columns: 78px minmax(360px, 480px) 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1100px) {
    .pd-detail-layout {
        grid-template-columns: 72px 380px 1fr;
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .pd-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pd-main-img {
        order: 1;
        max-width: 440px;
        margin: 0 auto;
        min-height: auto;
    }
    .pd-thumbs {
        order: 2;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
    }
    .pd-info-col {
        order: 3;
        margin-top: 20px;
    }
}

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-thumb-item {
    width: 76px;
    height: 76px;
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e2e2;
    border-radius: 0 !important;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    padding: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.pd-thumb-item:hover {
    border-color: #888888;
}

.pd-thumb-item.active {
    border: 1.5px solid #111111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pd-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0 !important;
}

.pd-main-img {
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-main-img:hover {
    border-color: #dcdcdc;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.pd-main-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0 !important;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-main-img:hover img {
    transform: scale(1.04);
}

.pd-info-col h1 { font-size: 26px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.pd-meta { font-size: 13px; color: var(--text-gray); margin-bottom: 14px; }
.pd-price-big { font-size: 28px; font-weight: 700; color: var(--primary-red); margin-bottom: 20px; }

.pd-option-group { margin-bottom: 20px; }
.pd-option-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: block; }
.pd-size-btn {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid #d9d9d9;
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pd-size-btn.active, .pd-size-btn:hover {
    border-color: var(--text-dark);
    background: var(--text-dark);
    color: #ffffff;
}

.pd-action-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-box {
    display: flex;
    border: 1px solid #ccc;
    overflow: hidden;
}

.quantity-box button {
    width: 36px;
    height: 42px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
}

.quantity-box input {
    width: 45px;
    height: 42px;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-weight: 600;
}

.btn-add-cart {
    flex: 1;
    border: 1px solid var(--text-dark);
    background: #fff;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 20px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-add-cart:hover {
    background: #f7f7f7;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-buy-now {
    width: 100%;
    padding: 13px;
    background: var(--primary-btn);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-buy-now:hover { background: var(--primary-red); }

.about-page { padding: 40px 0 80px; max-width: 820px; margin: 0 auto; }
.about-title-main { font-size: 32px; font-weight: 800; letter-spacing: 1px; text-align: center; margin-bottom: 12px; color: var(--text-dark); }
.about-story-kicker { font-size: 16px; font-weight: 700; letter-spacing: 1.5px; color: var(--primary-red); margin-bottom: 24px; }
.about-story-hero { text-align: center; margin: 25px 0 30px; }
.about-story-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: inline-block;
    border: 1px solid #e0e0e0;
}
.about-page h3 { font-size: 20px; font-weight: 700; margin: 26px 0 14px; color: var(--text-dark); }
.about-story-sub {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 48px 0 18px;
    padding-top: 28px;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
}
.about-page p { font-size: 15px; line-height: 1.85; color: #3a3a3a; margin-bottom: 18px; text-align: justify; }
.about-quote {
    background: #faf8f5;
    border-left: 3px solid var(--primary-red);
    padding: 18px 24px;
    margin: 26px 0;
    font-style: italic;
    color: #444;
    line-height: 1.8;
}
.about-thank-you {
    text-align: center;
    font-size: 17px;
    color: var(--primary-red);
    margin-top: 36px;
    letter-spacing: 0.5px;
}

.checkout-page {
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
}

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

.checkout-main h2 { font-size: 28px; margin-bottom: 10px; font-weight: 700; }
.checkout-breadcrumb { font-size: 13px; color: #288ad6; margin-bottom: 25px; }
.checkout-form .form-group { margin-bottom: 14px; }
.checkout-form input,
.checkout-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d9d9d9;
    font-size: 13.5px;
    outline: none;
    background: #ffffff;
    border-radius: 0 !important;
}

.checkout-form select {
    cursor: pointer;
}

.form-req-wrap {
    position: relative;
}

.form-req-wrap .req-star {
    display: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #e74c3c;
    font-weight: 700;
    font-size: 18px;
    pointer-events: none;
    user-select: none;
}

.form-req-wrap.has-error .req-star {
    display: block;
}

.form-req-wrap.has-error input,
.form-req-wrap.has-error select {
    border-color: #e74c3c !important;
    background-color: #fff9f9 !important;
}

.form-req-wrap.has-error select {
    color: #e74c3c !important;
}

.form-req-wrap.has-error input::placeholder,
.form-req-wrap.has-error input::-webkit-input-placeholder,
.form-req-wrap.has-error input::-moz-placeholder,
.form-req-wrap.has-error input:-ms-input-placeholder {
    color: #e74c3c !important;
    font-weight: 600;
}

.checkout-form-error {
    display: none;
    align-items: center;
    gap: 8px;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
    padding: 10px 14px;
    border-radius: 0 !important;
    font-size: 13.5px;
    margin-bottom: 16px;
    line-height: 1.4;
    animation: fadeInError 0.25s ease forwards;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hanoi-delivery-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff8e6;
    border: 1.5px solid #f6c343;
    color: #925c00;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 0 !important;
    margin-bottom: 12px;
}

.hanoi-delivery-note i {
    color: #e67e22;
    font-size: 15px;
}

.order-success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
    animation: fadeInDown 0.3s ease-out;
}

.order-succ-icon {
    width: 64px;
    height: 64px;
    border-radius: 50% !important;
    background: #27ae60;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px auto;
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.28);
    flex-shrink: 0;
}

.order-succ-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.order-succ-call-notice {
    font-size: 14.5px;
    color: #555555;
    margin: 0 0 16px 0;
    line-height: 1.5;
    max-width: 480px;
}

.order-succ-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f6f8;
    border: 1px solid #e1e6eb;
    padding: 6px 18px;
    border-radius: 0 !important;
    font-size: 13.5px;
    color: #555555;
    margin-bottom: 24px;
}

.order-succ-code-pill strong {
    color: var(--primary-red);
    font-size: 15px;
}

.order-succ-info-box {
    width: 100%;
    max-width: 520px;
    background: #fbfbfb;
    border: 1px solid #eeeeee;
    padding: 18px 24px;
    text-align: left;
    margin-bottom: 26px;
    border-radius: 0 !important;
}

.order-succ-row {
    font-size: 14px;
    line-height: 1.6;
}

.order-succ-label {
    font-weight: 700;
    color: #333333;
    margin-right: 6px;
}

.order-succ-val {
    color: #222222;
}

.order-succ-divider {
    height: 1px;
    background: #eeeeee;
    margin: 12px 0;
}

.order-succ-address {
    margin-top: 4px;
}

.order-succ-addr-main {
    font-weight: 600;
    color: #111111;
    font-size: 14px;
}

.order-succ-addr-sub {
    font-size: 13px;
    color: #666666;
    margin-top: 2px;
}

.order-succ-action {
    width: 100%;
    max-width: 520px;
}

.order-succ-btn-continue {
    display: inline-block;
    width: 100%;
    padding: 14px 28px;
    background: #0E1C22;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.order-succ-btn-continue:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .checkout-form .form-row-2,
    .checkout-form .form-row-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
}

.checkout-sidebar {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 24px;
}

.cart-item-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 18px;
}

.cart-thumb {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #ddd;
    position: relative;
}

.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--text-dark);
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-finish-order {
    width: 100%;
    padding: 14px;
    background: var(--primary-btn);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-finish-order:hover { background: var(--primary-red); }

.cart-page { padding: 30px 0 70px; background: #ffffff; min-height: 80vh; }
.cart-title { font-size: 26px; font-weight: 700; margin-bottom: 28px; color: var(--text-dark); }
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}
@media (max-width: 991px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-item-card { flex-wrap: wrap; }
    .cart-item-actions { width: 100%; justify-content: space-between; margin-top: 12px; }
}

.cart-table-wrapper { width: 100%; }
.cart-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-card:first-child { border-top: 1px solid var(--border-color); }

.cart-item-img {
    width: 90px;
    height: 90px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-img img { width: 85%; height: 85%; object-fit: contain; }

.cart-item-info { flex: 1; }
.cart-item-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.cart-item-variant { font-size: 12.5px; color: #777; margin-bottom: 8px; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--text-dark); }

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}
.cart-item-actions .quantity-box { height: 36px; }
.cart-item-actions .quantity-box button { width: 32px; height: 36px; }
.cart-item-actions .quantity-box input { width: 44px; height: 36px; }

.cart-item-subtotal {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-red);
    min-width: 95px;
    text-align: right;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-remove-item:hover { color: var(--primary-red); }

.cart-note-box {
    margin-top: 25px;
}
.cart-note-box label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.cart-note-box textarea {
    width: 100%;
    height: 85px;
    border: 1px solid #d9d9d9;
    padding: 10px 14px;
    font-size: 13.5px;
    outline: none;
    font-family: inherit;
    resize: vertical;
}

.cart-summary-box {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 24px;
}
.cart-summary-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    color: #555;
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
}
.cart-summary-total strong { color: var(--primary-red); }

.btn-checkout-now {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--primary-btn);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    margin-top: 20px;
    border: 1px solid var(--primary-btn);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-checkout-now:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-continue-shopping {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--text-dark);
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    margin-top: 10px;
    border: 1px solid var(--text-dark);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-continue-shopping:hover {
    background: #eee;
}

.cart-perks {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed #d9d9d9;
    font-size: 12.5px;
    color: #666;
    line-height: 1.8;
}

.empty-cart-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-cart-state i {
    font-size: 56px;
    color: #ccc;
    margin-bottom: 18px;
}
.empty-cart-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.empty-cart-state p {
    font-size: 14px;
    color: #777;
    margin-bottom: 24px;
}

.related-products-section {
    margin-top: 55px;
    padding-top: 36px;
    border-top: 1px solid #ebebeb;
    position: relative;
    width: 100%;
}

.related-header {
    text-align: center;
    margin-bottom: 24px;
}

.related-slider-title {
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #111111;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.related-slider-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 2.5px;
    background: var(--primary-red);
    border-radius: 0 !important;
}

.related-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.related-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    outline: none;
    font-size: 14px;
}

.related-nav-btn.prev {
    left: -16px;
}

.related-nav-btn.next {
    right: -16px;
}

.related-nav-btn:hover {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
    box-shadow: 0 6px 18px rgba(194, 30, 30, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.related-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.related-slider-track::-webkit-scrollbar {
    display: none;
}

.related-card-item {
    flex: 0 0 calc((100% - 48px) / 4);
    max-width: 260px;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 0 !important;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    box-sizing: border-box;
}

.related-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    border-color: #dcdcdc;
}

.related-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 0 !important;
}

.related-card-img {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    border-radius: 0 !important;
    border-bottom: 1px solid #f2f2f2;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    transition: transform 0.4s ease;
}

.related-card-item:hover .related-card-img img {
    transform: scale(1.06);
}

.related-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.related-card-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    transition: color 0.2s ease;
}

.related-card-item:hover .related-card-title {
    color: var(--primary-red);
}

.related-card-price {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-red);
}

@media (max-width: 991px) {
    .related-card-item {
        flex: 0 0 calc((100% - 32px) / 3);
        min-width: 180px;
    }
    .related-nav-btn.prev { left: -10px; }
    .related-nav-btn.next { right: -10px; }
}

@media (max-width: 600px) {
    .related-card-item {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 145px;
    }
    .related-slider-track {
        gap: 12px;
    }
    .related-card-title {
        font-size: 12.5px;
        min-height: 34px;
    }
    .related-card-price {
        font-size: 13.5px;
    }
}

.notfound-page {
    padding: 70px 20px 90px;
    text-align: center;
    background: #ffffff;
}

.notfound-code {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-red);
    font-family: var(--font-brand), cursive;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.notfound-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.notfound-desc {
    font-size: 15px;
    color: #666666;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.notfound-actions {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.notfound-btn-primary {
    display: inline-block;
    padding: 13px 32px;
    background: var(--primary-btn);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--primary-btn);
    border-radius: 0 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.notfound-btn-primary:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.notfound-btn-secondary {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--text-dark);
    border-radius: 0 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.notfound-btn-secondary:hover {
    background: #f5f5f5;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.floating-cat-btn {
    position: fixed;
    bottom: 24px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 18px rgba(194, 30, 30, 0.32);
    z-index: 980;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7);
    transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.floating-cat-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.floating-cat-btn:hover {
    transform: scale(1.08);
    background: var(--primary-red);
    color: #ffffff;
}

.cat-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(2px);
    transition: opacity 0.28s ease, visibility 0.28s;
}

.cat-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.cat-modal-dialog {
    position: fixed;
    bottom: 84px;
    left: 20px;
    width: 310px;
    max-width: calc(100vw - 40px);
    max-height: calc(85vh - 100px);
    background: #ffffff;
    border-radius: 0 !important;
    border: 1px solid #ebebeb;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.28s;
    overflow: hidden;
}

.cat-modal-dialog.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cat-modal-header {
    padding: 18px 22px 10px;
    border-bottom: none;
}

.cat-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #222222;
    letter-spacing: 0;
    text-transform: none;
}

.cat-modal-body {
    padding: 4px 22px;
    overflow-y: auto;
    max-height: 52vh;
}

.cat-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: color 0.18s, padding-left 0.18s;
}

.cat-modal-item:last-child {
    border-bottom: none;
}

.cat-modal-item:hover {
    color: var(--primary-red);
    padding-left: 4px;
}

.cat-modal-item--all {
    color: var(--primary-red);
    font-weight: 700;
}

.cat-modal-item.is-active {
    color: var(--primary-red);
    font-weight: 700;
}

.cat-modal-arrow {
    font-size: 11px;
    color: #888888;
    transition: transform 0.2s ease, color 0.2s ease;
}

.cat-modal-item:hover .cat-modal-arrow {
    color: var(--primary-red);
    transform: translateX(3px);
}

.cat-modal-footer {
    padding: 10px 22px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    border-top: none;
}

.cat-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(194, 30, 30, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cat-modal-close:hover {
    transform: scale(1.1);
    background: #a51818;
}

.pd-variants-section {
    margin: 16px 0 14px;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 0 !important;
}

.pd-variants-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-variant-btn {
    appearance: none;
    background: #ffffff;
    border: 1.5px solid #dcdcdc;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-family: inherit;
    color: #333333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.pd-variant-btn .v-name {
    font-weight: 600;
}

.pd-variant-btn .v-price {
    font-size: 11.5px;
    color: #777777;
}

.pd-variant-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.pd-variant-btn.active {
    background: #fff5f5;
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: 0 2px 8px rgba(194, 30, 30, 0.15);
}

.pd-variant-btn.active .v-price {
    color: var(--primary-red);
    font-weight: 600;
}

.pd-inscription-section {
    margin: 0 0 18px;
}

.pd-inscription-section label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.pd-inscription-section input {
    width: 100%;
    height: 42px;
    padding: 8px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 0 !important;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.pd-inscription-section input:focus {
    border-color: var(--primary-red);
}

.cart-variant-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    color: #555555;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 3px;
    margin-top: 2px;
}

.cart-item-inscription {
    margin-top: 6px;
    padding: 4px 10px;
    background: #fdf6f0;
    border-left: 2px solid #b7532a;
    border-radius: 0 !important;
    font-size: 12px;
    color: #6a3410;
    display: inline-block;
}

.cart-accessories-wrap {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px dashed #dcdcdc;
}

.cart-accessories-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-accessories-title i {
    color: var(--primary-red);
}

.cart-accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .cart-accessories-grid {
        grid-template-columns: 1fr;
    }
}

.cart-acc-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 0 !important;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-acc-card:hover {
    border-color: #cccccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-acc-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
    border-radius: 0 !important;
    overflow: hidden;
    background: #fafafa;
}

.cart-acc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

.cart-acc-details {
    flex: 1;
    min-width: 0;
}

.cart-acc-title {
    font-size: 12.5px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-acc-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-red);
}

.btn-acc-quick-add {
    appearance: none;
    border: 1px solid var(--primary-red);
    background: #ffffff;
    color: var(--primary-red);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-acc-quick-add:hover {
    background: var(--primary-red);
    color: #ffffff;
}

.fulfillment-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

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

.fulfillment-option {
    position: relative;
    border: 1.5px solid #dcdcdc;
    border-radius: 0 !important;
    padding: 14px;
    cursor: pointer;
    background: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    display: block;
}

.fulfillment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fulfillment-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fulfillment-card-inner i {
    font-size: 18px;
    color: #666666;
    margin-top: 2px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.fulfillment-card-inner strong {
    display: block;
    font-size: 13.5px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.fulfillment-sub {
    display: block;
    font-size: 11.5px;
    color: #777777;
    line-height: 1.35;
}

.fulfillment-option:hover {
    border-color: #999999;
}

.fulfillment-option.active {
    border-color: var(--primary-btn);
    background: #f7fbff;
}

.fulfillment-option.active .fulfillment-card-inner i {
    color: var(--primary-btn);
}

.fulfillment-option.active strong {
    color: var(--primary-btn);
}

.checkout-datetime-box {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 0 !important;
    padding: 14px 16px 8px;
    margin-bottom: 16px;
}

.checkout-sec-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkout-sec-title i {
    color: var(--primary-btn);
}

.input-mini-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 4px;
}

.selected-store-card {
    background: #f9f9f9;
    border: 1px dashed #cccccc;
    border-radius: 0 !important;
    padding: 12px 14px;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.selected-store-card i.fa-location-dot {
    color: var(--primary-red);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.selected-store-text strong {
    display: block;
    font-size: 13.5px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.selected-store-text p {
    font-size: 12.5px;
    color: #555555;
    margin: 0 0 4px;
}

.selected-store-text span {
    font-size: 12px;
    color: #666666;
    display: block;
}

.order-succ-btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #5865F2;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.order-succ-btn-discord:hover {
    background: #4752C4;
    transform: translateY(-1px);
}
