/*
 * Storefront additions on top of the Pebona template (style.css).
 * Template palette: primary #cc2121, dark #242424, offset #f6f6f6, border #ebebeb.
 */
:root {
    --shop-primary: #cc2121;
    --shop-primary-dark: #a81a1a;
    --shop-dark: #242424;
    --shop-muted: #777;
    --shop-offset: #f6f6f6;
    --shop-border: #ebebeb;
    --shop-success: #1f9254;
    --shop-warning: #b7791f;
    --shop-info: #2b6cb0;
    --shop-radius: 6px;
}

body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--shop-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--shop-primary);
}

.form-control,
.form-select {
    border-radius: 0;
    border-color: #ddd;
    min-height: 42px;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--shop-dark);
    box-shadow: none;
}

.form-control.is-invalid {
    border-color: var(--shop-primary);
}

.form-label {
    font-weight: 500;
    margin-bottom: 6px;
}

.default-btn {
    border: 0;
    white-space: nowrap;
}

.default-btn.small-btn {
    height: 36px;
    line-height: 36px;
    min-width: 0;
    padding: 0 18px;
    font-size: 13px;
}

.btn {
    border-radius: 0;
}

/* ---------- header ---------- */
header .top-bar p {
    margin: 0;
}

.top-bar-links {
    margin: 0;
    text-align: right;
}

.top-bar-links li a {
    font-size: 12px;
}

.top-bar-links li a i {
    margin-right: 3px;
}

.top-bar-links li:not(:last-child) {
    margin-right: 16px;
}

header.white-scheme .top-bar-links a,
header.white-scheme .logo-text,
header.white-scheme .header-wishlist a i {
    color: #fff;
}

.logo-text {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--shop-dark);
    line-height: 1.2;
}

.logo-text::first-letter {
    color: var(--shop-primary);
}

header .logo .site-logo {
    max-height: 60px;
    width: auto;
}

/* light logo over the hero on the home page (until the menu turns sticky) */
/*header.floating-header .logo .site-logo {*/
/*    background: rgba(255, 255, 255, 0.9);*/
/*    border-radius: 6px;*/
/*    padding: 3px 6px;*/
/*}*/

header.floating-header .logo .site-logo {
    mix-blend-mode: multiply;
}

header .header-search-area input[type="text"] {
    background: transparent;
}

.header-wishlist a {
    position: relative;
    display: inline-block;
    padding: 0 6px;
}

.header-wishlist a i {
    font-size: 30px;
    color: var(--shop-dark);
}

.header-wishlist .count-style,
.header-cart .count-style {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 11px;
    text-align: center;
}

header .list-inline .dropdown-menu ul li.account-hello {
    padding: 4px 15px 8px;
    font-weight: 500;
    color: var(--shop-muted);
    border-bottom: 1px solid var(--shop-border);
    margin-bottom: 4px;
}

.logout-link {
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    color: var(--shop-primary);
    cursor: pointer;
}

header .list-inline .dropdown-menu ul li .logout-link {
    padding: 5px 15px;
    font-size: 13px;
}

.shopping-cart-delete form button {
    background: none;
    border: 0;
    padding: 0;
    color: #999;
    cursor: pointer;
}

.shopping-cart-delete form button:hover {
    color: var(--shop-primary);
}

.mini-cart-empty {
    padding: 10px 0 5px;
}

.mini-cart-empty i {
    font-size: 46px;
    color: #c9c9c9;
}

.mini-cart-empty p {
    margin: 8px 0 16px;
}

.mini-cart-more {
    font-size: 12px;
    color: var(--shop-muted);
    margin: 0 0 10px;
}

#main_nav .mega-view-all {
    color: var(--shop-primary) !important;
    font-weight: 500;
}

/* make the floating header readable over any slide image */
.page-home #primary_slider .slide-inner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 260px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.page-home #primary_slider .slide-inner > .container {
    position: relative;
    z-index: 2;
}

/* ---------- breadcrumb ---------- */
.breadcrumb-section {
    padding: 28px 0;
}

.breadcrumb-title {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.breadcrumb {
    margin: 0;
}

/* ---------- flash messages ---------- */
.flash-stack {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 32px));
}

.flash-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-left: 4px solid var(--shop-success);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .25);
    animation: flash-in .35s ease;
    transition: opacity .4s ease, transform .4s ease;
}

.flash-toast.is-hiding {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
}

.flash-toast > i {
    font-size: 22px;
    line-height: 1;
    color: var(--shop-success);
}

.flash-toast.flash-error {
    border-left-color: var(--shop-primary);
}

.flash-toast.flash-error > i {
    color: var(--shop-primary);
}

.flash-body {
    flex: 1;
    font-size: 14px;
}

.flash-body ul {
    margin: 0;
    padding-left: 18px;
}

.flash-close {
    background: none;
    border: 0;
    font-size: 20px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

@keyframes flash-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}

/* ---------- badges ---------- */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    background: #eee;
    color: #555;
}

.status-warning { background: #fdf3dc; color: #8a5a00; }
.status-info { background: #e3effb; color: #1f5f99; }
.status-primary { background: #ece9fb; color: #4b3cc1; }
.status-success { background: #e1f5ea; color: #17784a; }
.status-danger { background: #fde6e6; color: #b01c1c; }
.status-gray { background: #eee; color: #555; }

/* ---------- empty states ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed #ddd;
    background: #fcfcfc;
}

.empty-state.compact {
    padding: 40px 20px;
}

.empty-state > i {
    font-size: 64px;
    color: #c9c9c9;
}

.empty-state h3 {
    font-size: 20px;
    margin: 12px 0 6px;
}

.empty-state p {
    color: var(--shop-muted);
    margin-bottom: 20px;
}

/* ---------- product cards ---------- */
.product-grid {
    row-gap: 10px;
}

.product-layout {
    background: #fff;
    transition: box-shadow .3s ease;
}

.product-image {
    overflow: hidden;
    background: var(--shop-offset);
}

.product-image > a {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
}

.product-image > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .45s ease, transform .6s ease;
}

.product-image .hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-layout:hover .product-image.has-hover-image .hover-image {
    opacity: 1;
}

.product-layout:hover .product-image:not(.has-hover-image) .primary-image {
    transform: scale(1.05);
}

.product-image .action-links {
    position: absolute;
    background: #fff;
}

.product-image .action-links form {
    margin: 0;
    width: 50px;
    border-right: 1px solid #ebebeb;
}

.product-image .action-links form .action-btn,
.product-image .action-links a {
    display: block;
    width: 50px;
    line-height: 0;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--shop-dark);
}

.product-image .action-links form .action-btn i {
    font-size: 18px;
    font-weight: bold;
}

.product-image .action-links form .action-btn:hover,
.product-image .action-links a:hover {
    color: var(--shop-primary);
}

.product-image .action-links > a:last-child {
    border-right: 0;
}

.product-image .label-product {
    position: absolute;
    z-index: 2;
}

.product-image .label-product.label-soldout {
    width: auto;
    padding: 0 8px;
    background: var(--shop-dark);
    color: #fff;
}

.product-caption .product-manufacturer a {
    color: var(--shop-muted);
}

.product-caption .product-price {
    margin: 0;
}

.product-ratings .rating li i {
    color: #f5a623;
}

.product-ratings .rating li i.disabled {
    color: #dedede;
}

/* ---------- home ---------- */
.page-home #primary_slider .slide-content .main-title span {
    display: block;
}

.category-tile {
    margin-bottom: 30px;
}

.category-tile a {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--shop-offset);
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.category-tile a:hover img {
    transform: scale(1.06);
}

.category-tile .tile-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 50px 24px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.category-tile .tile-count {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .85;
}

.category-tile .tile-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 4px 0 8px;
}

.category-tile .tile-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.category-tile .tile-link i {
    margin-left: 4px;
    transition: margin .3s ease;
}

.category-tile a:hover .tile-link i {
    margin-left: 10px;
}

.section-title .subtitle .section-link {
    margin-left: 6px;
    color: var(--shop-primary);
    white-space: nowrap;
}

.product-carousel-section {
    padding-top: 70px;
}

.product-carousel-section .product-layout {
    margin: 0;
}

.service-section {
    padding: 70px 0 10px;
}

.service-row {
    border: 1px solid var(--shop-border);
}

.service-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 24px;
    height: 100%;
}

.service-row > div:not(:last-child) .service-box {
    border-right: 1px solid var(--shop-border);
}

.service-box > i {
    font-size: 42px;
    color: var(--shop-primary);
}

.service-box h4 {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 2px;
}

.service-box p {
    margin: 0;
    font-size: 13px;
    color: var(--shop-muted);
}

.brand-section {
    padding-bottom: 70px;
}

.item-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 10px;
    border: 1px solid transparent;
    transition: border-color .3s ease;
}

.item-brand a:hover {
    border-color: var(--shop-border);
}

.item-brand img {
    max-height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: .75;
    transition: all .3s ease;
}

.item-brand a:hover img {
    filter: none;
    opacity: 1;
}

.item-brand .brand-name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #999;
    text-align: center;
}

.item-brand a:hover .brand-name {
    color: var(--shop-dark);
}

/* ---------- shop / listing ---------- */
.shop-heading {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.shop-toolbar .product-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.shop-toolbar .product-sort label {
    margin: 0;
    white-space: nowrap;
}

.shop-toolbar .nice-select {
    min-width: 190px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: -6px 0 20px;
    font-size: 13px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--shop-offset);
    border: 1px solid var(--shop-border);
    border-radius: 999px;
}

.filter-chip:hover {
    border-color: var(--shop-primary);
}

.filter-clear {
    color: var(--shop-primary);
    text-decoration: underline;
}

.shop-products-wrapper .product-layout {
    margin-bottom: 10px;
}

.widget-area .cat-accordion .card-header a {
    display: block;
}

.widget-area .is-current {
    color: var(--shop-primary) !important;
    font-weight: 500;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-inputs .form-control {
    min-height: 38px;
}

.filter-checks {
    margin: 14px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.filter-check input {
    accent-color: var(--shop-primary);
    width: 16px;
    height: 16px;
}

.filter-apply {
    width: 100%;
}

.help-widget p {
    color: var(--shop-muted);
    margin-bottom: 8px;
}

.text-btn-link {
    color: var(--shop-primary);
    font-weight: 500;
}

/* pagination (Laravel's Bootstrap 5 view) */
.pagination-area {
    margin-top: 30px;
}

.pagination-area nav > .d-sm-flex {
    align-items: center;
}

.pagination-area .small {
    margin: 0;
    color: var(--shop-muted);
}

.pagination-area .pagination {
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-area .page-link {
    border-radius: 0 !important;
    color: var(--shop-dark);
    border-color: var(--shop-border);
    min-width: 40px;
    text-align: center;
}

.pagination-area .page-item.active .page-link {
    background: var(--shop-dark);
    border-color: var(--shop-dark);
    color: #fff;
}

.pagination-area .page-link:hover {
    color: var(--shop-primary);
}

/* ---------- product page ---------- */
.single-product-wrapper .product-details .product-name {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.gallery-with-thumbs.single-image .product-image-container {
    width: 100%;
}

.gallery-with-thumbs .main-slider img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--shop-offset);
}

.gallery-with-thumbs .nav-slider .swiper-slide {
    cursor: pointer;
    opacity: .6;
    transition: opacity .3s ease;
    border: 1px solid transparent;
}

.gallery-with-thumbs .nav-slider .swiper-slide.is-active,
.gallery-with-thumbs .nav-slider .swiper-slide:hover {
    opacity: 1;
    border-color: var(--shop-dark);
}

.gallery-with-thumbs .nav-slider img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-image-container {
    position: relative;
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    padding: 2px 10px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 13px;
}

.price-save {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--shop-success);
}

.stock-line {
    margin: 14px 0 6px;
    font-weight: 500;
}

.stock-line i {
    margin-right: 4px;
}

.stock-line.in-stock { color: var(--shop-success); }
.stock-line.out-of-stock { color: var(--shop-primary); }

.stock-line span {
    color: var(--shop-warning);
    font-weight: 400;
}

.product-actions h3 {
    font-size: 15px;
    margin: 18px 0 10px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.variant-option {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.variant-option input {
    position: absolute;
    opacity: 0;
}

.variant-option span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    transition: all .2s ease;
}

.variant-option small {
    color: var(--shop-warning);
    margin-left: 4px;
}

.variant-option:hover span {
    border-color: var(--shop-dark);
}

.variant-option input:checked + span {
    border-color: var(--shop-dark);
    background: var(--shop-dark);
    color: #fff;
}

.variant-option input:checked + span small {
    color: #ffd2a8;
}

.variant-option input:focus-visible + span {
    outline: 2px solid var(--shop-primary);
    outline-offset: 2px;
}

.variant-option.is-disabled span {
    opacity: .4;
    text-decoration: line-through;
    cursor: not-allowed;
}

.product-stock > label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-stock ul {
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cart-input {
    position: relative;
    width: 90px;
}

.cart-input .cart-input-box {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    text-align: center;
    padding-right: 24px;
    -moz-appearance: textfield;
}

.cart-input .cart-input-box::-webkit-outer-spin-button,
.cart-input .cart-input-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-input .qtybutton {
    position: absolute;
    right: 0;
    width: 24px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    border-left: 1px solid #ddd;
    user-select: none;
}

.cart-input .qtybutton.inc { top: 0; border-bottom: 1px solid #ddd; }
.cart-input .qtybutton.dec { bottom: 0; }

.buy-now-btn {
    background: var(--shop-dark) !important;
}

.buy-now-btn:hover {
    background: var(--shop-primary) !important;
}

.wishlist-compare form {
    margin-top: 16px;
}

.wishlist-compare .btn-wishlist {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.wishlist-compare .btn-wishlist::before {
    content: "\f08a";
    font-family: FontAwesome;
    margin-right: 6px;
}

.wishlist-compare .btn-wishlist.is-saved {
    color: var(--shop-primary);
}

.wishlist-compare .btn-wishlist.is-saved::before {
    content: "\f004";
}

.product-perks {
    list-style: none;
    padding: 18px 0;
    margin: 20px 0 0;
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
}

.product-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    color: #555;
}

.product-perks i {
    font-size: 22px;
    color: var(--shop-primary);
}

.product-perks a {
    color: var(--shop-primary);
}

.product-meta-list {
    margin: 16px 0;
}

.product-meta-list p {
    margin: 2px 0;
}

.product-meta-list span {
    display: inline-block;
    min-width: 80px;
    color: var(--shop-muted);
}

.social-sharing .bg-whatsapp {
    background: #25d366;
}

.product-description-html {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.8;
}

.product-description-html img {
    max-width: 100%;
    height: auto;
}

.review-summary {
    text-align: center;
    margin-bottom: 30px;
}

.review-summary .review-score {
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

.review-summary .rating {
    padding: 0;
    margin: 8px 0;
    list-style: none;
    gap: 2px;
    font-size: 18px;
}

.review-summary .rating i {
    color: #f5a623;
}

.review-summary .rating i.disabled {
    color: #dedede;
}

.no-reviews,
.review-login {
    text-align: center;
    color: var(--shop-muted);
}

.review-login a {
    color: var(--shop-primary);
}

.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-input label {
    font-size: 26px;
    color: #dedede;
    cursor: pointer;
    transition: color .15s ease;
}

.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
    color: #f5a623;
}

.related-products {
    padding: 70px 0 40px;
}

/* ---------- cart ---------- */
.cart-table thead td {
    font-weight: 500;
    background: var(--shop-offset);
}

.cart-table td {
    vertical-align: middle;
}

.cart-table .cart-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.cart-table .cart-name a {
    display: block;
    font-weight: 500;
}

.cart-table .cart-name span {
    display: block;
    font-size: 12px;
    color: var(--shop-muted);
}

.cart-table .cart-name .cart-warning {
    color: var(--shop-primary);
    margin-top: 4px;
}

.cart-table tr.is-unavailable td {
    background: #fff7f7;
}

.cart-qty-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-actions form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin: 0;
}

.cart-qty-actions .btn {
    height: 40px;
    width: 40px;
    padding: 0;
}

.cart-line-total {
    font-weight: 500;
}

.clear-cart-btn {
    color: var(--shop-primary);
    text-decoration: underline;
}

.order-summary-box {
    padding: 24px;
    background: var(--shop-offset);
}

.order-summary-box h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.coupon-form .input-group .form-control {
    background: #fff;
}

.coupon-form .btn {
    min-width: 90px;
}

.coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border: 1px dashed var(--shop-success);
    background: #f1faf5;
}

.coupon-applied strong {
    display: block;
    color: var(--shop-success);
}

.coupon-applied span {
    font-size: 12px;
    color: var(--shop-success);
}

.coupon-applied button {
    background: none;
    border: 0;
    color: var(--shop-primary);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.form-error {
    color: var(--shop-primary);
    font-size: 13px;
    margin: 6px 0 0;
}

.form-error-list {
    color: var(--shop-primary);
    padding-left: 18px;
}

.summary-table {
    margin: 18px 0 0;
    background: transparent;
}

.summary-table td {
    padding: 8px 0;
    border-color: #e3e3e3;
    background: transparent;
}

.summary-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.summary-table td small {
    display: block;
    color: var(--shop-muted);
    font-size: 12px;
}

.summary-table .summary-discount td {
    color: var(--shop-success);
}

.summary-table .summary-total td {
    font-size: 18px;
    font-weight: 500;
    border-bottom: 0;
}

.color-primary {
    color: var(--shop-primary);
}

.summary-note {
    font-size: 12px;
    color: var(--shop-muted);
    margin: 8px 0 0;
}

.summary-btn,
.place-order-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
}

/* ---------- checkout ---------- */
.checkout-wrapper .section-title {
    margin-bottom: 20px;
}

.checkout-wrapper .section-title h2 {
    font-size: 22px;
}

.checkout-wrapper .section-title small {
    font-size: 14px;
    color: var(--shop-muted);
}

.add-link {
    color: var(--shop-primary);
    font-weight: 500;
    padding-bottom: 20px;
}

.checkout-card {
    padding: 24px;
    border: 1px dashed #ddd;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.choice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice-card {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #ddd;
    cursor: pointer;
    margin: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.choice-card.compact {
    padding: 12px 14px;
}

.choice-card:hover {
    border-color: #aaa;
}

.choice-card input {
    accent-color: var(--shop-primary);
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}

.choice-card:has(input:checked) {
    border-color: var(--shop-primary);
    box-shadow: inset 0 0 0 1px var(--shop-primary);
    background: #fffafa;
}

.choice-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.choice-body strong {
    font-weight: 500;
}

.choice-body strong i {
    margin-right: 4px;
    color: var(--shop-primary);
}

.choice-body span {
    font-size: 13px;
    color: var(--shop-muted);
}

.order-review-box {
    padding: 28px;
    border: 1px solid var(--shop-border);
}

.order-review-box .order-summary-box {
    padding: 0;
    background: transparent;
}

.order-review-box .order-summary-box h3 {
    display: none;
}

.review-items {
    margin-bottom: 18px;
}

.review-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--shop-border);
}

.review-img {
    position: relative;
    flex-shrink: 0;
}

.review-img img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    background: var(--shop-offset);
}

.review-img .qty {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 999px;
    background: var(--shop-dark);
    color: #fff;
    font-size: 11px;
    text-align: center;
}

.review-name {
    flex: 1;
}

.review-name small {
    display: block;
    color: var(--shop-muted);
}

.review-price {
    font-weight: 500;
    white-space: nowrap;
}

.checkout-terms {
    font-size: 12px;
    color: var(--shop-muted);
    text-align: center;
    margin: 12px 0 0;
}

.checkout-terms a {
    text-decoration: underline;
}

/* ---------- customer account ---------- */
.my-account-wrapper {
    padding-bottom: 70px;
}

.user-info .single-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-info .user-name small {
    color: var(--shop-muted);
}

.account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--shop-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.account-avatar.large {
    width: 72px;
    height: 72px;
    font-size: 28px;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-list li > a i,
.dashboard-list li .logout-link i {
    font-size: 18px;
    margin-right: 8px;
    vertical-align: -3px;
}

.dashboard-list li form {
    margin: 0;
}

.dashboard-list .logout-link {
    display: block;
    padding: 10px 15px;
    color: var(--shop-primary);
}

.dashboard-content > h3,
.dashboard-head h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.02em;
}

.dashboard-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.dashboard-intro {
    color: var(--shop-muted);
    margin-bottom: 20px;
}

.dashboard-card {
    padding: 24px;
    border: 1px solid var(--shop-border);
    margin-bottom: 24px;
    background: #fff;
}

.dashboard-card > h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 18px;
}

.dashboard-card > h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 14px;
}

.dashboard-card > h4 small {
    font-size: 13px;
    color: var(--shop-muted);
}

.avatar-field {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.status-filter .form-select {
    min-width: 170px;
}

.account-table th {
    font-weight: 500;
    background: var(--shop-offset);
    border-bottom: 0;
}

.account-table td {
    vertical-align: middle;
}

.account-table small {
    color: var(--shop-muted);
}

.order-link {
    font-weight: 500;
    color: var(--shop-primary);
}

.address-card {
    position: relative;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--shop-border);
}

.address-card.is-default {
    border-color: var(--shop-dark);
}

.address-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.address-card p {
    margin: 4px 0;
    color: #555;
}

.address-card p i {
    width: 18px;
    color: var(--shop-muted);
}

.address-actions {
    display: flex;
    gap: 16px;
    margin-top: 14px;
}

.address-actions a,
.address-actions button {
    background: none;
    border: 0;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
}

.address-actions button {
    color: var(--shop-primary);
}

.address-actions form {
    margin: 0;
}

.notice-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.notice-box p {
    margin: 0;
}

.notice-box form {
    margin: 0;
}

.notice-warning {
    background: #fdf6e3;
    border-left: 4px solid #e2a32b;
}

.notice-info {
    background: #eef5fc;
    border-left: 4px solid var(--shop-info);
}

.notice-inline {
    margin: 14px 0 0;
    padding: 10px 14px;
    background: #eef5fc;
}

.order-head-badges {
    display: flex;
    gap: 6px;
}

.order-progress-card {
    padding: 24px;
    margin-bottom: 24px;
    background: var(--shop-offset);
}

.order-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}

.order-progress li {
    position: relative;
    text-align: center;
    color: #999;
}

.order-progress li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(-50% + 26px);
    right: calc(50% + 26px);
    height: 2px;
    background: #ddd;
}

.order-progress li:first-child::before {
    content: none;
}

.order-progress li.is-done::before {
    background: var(--shop-primary);
}

.order-progress .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    font-size: 22px;
}

.order-progress li.is-done .step-icon {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

.order-progress li.is-current .step-icon {
    box-shadow: 0 0 0 6px rgba(204, 33, 33, .15);
}

.order-progress .step-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

.order-progress li.is-done .step-label {
    color: var(--shop-dark);
}

.order-progress .step-date {
    display: block;
    font-size: 12px;
}

.order-cancelled {
    margin: 0;
    color: var(--shop-primary);
    font-weight: 500;
}

.shipment-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e3e3e3;
    font-size: 13px;
}

.shipment-info i {
    color: var(--shop-primary);
    margin-right: 4px;
}

.order-items {
    display: flex;
    flex-direction: column;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--shop-border);
}

.order-item:last-child {
    border-bottom: 0;
}

.order-item.is-muted {
    opacity: .5;
}

.order-item-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    background: var(--shop-offset);
}

.order-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.order-item-info a,
.order-item-info > span {
    font-weight: 500;
}

.order-item-info small {
    color: var(--shop-muted);
}

.order-item-total {
    font-weight: 500;
    white-space: nowrap;
}

.order-returns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--shop-border);
}

.return-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.order-note {
    margin: 10px 0 0;
    color: var(--shop-muted);
    font-style: italic;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-actions form {
    margin: 0;
}

.order-timeline {
    list-style: none;
    padding: 0 0 0 22px;
    margin: 0;
    border-left: 2px solid var(--shop-border);
}

.order-timeline li {
    position: relative;
    padding-bottom: 18px;
}

.order-timeline li:last-child {
    padding-bottom: 0;
}

.order-timeline li::before {
    content: "";
    position: absolute;
    left: -29px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid #fff;
}

.order-timeline li.is-latest::before {
    background: var(--shop-primary);
}

.timeline-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.timeline-head time {
    font-size: 12px;
    color: var(--shop-muted);
}

.order-timeline p {
    margin: 4px 0 0;
}

.return-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.return-qty .form-select {
    width: 80px;
    min-height: 38px;
}

.return-total {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--shop-border);
    font-size: 16px;
}

.return-photos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.return-photos img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.wishlist-grid .product-layout {
    margin-bottom: 0;
}

.wishlist-remove {
    text-align: center;
    margin: 6px 0 20px;
}

.wishlist-remove button {
    background: none;
    border: 0;
    color: var(--shop-primary);
    font-size: 13px;
    cursor: pointer;
}

/* ---------- auth ---------- */
.login-wrapper {
    padding-bottom: 80px;
}

.auth-card {
    padding: 40px;
    border: 1px solid var(--shop-border);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .25);
}

.auth-card .pass-show-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--shop-muted);
    cursor: pointer;
}

.auth-card a {
    color: var(--shop-primary);
}

.top-bordered {
    border-top: 1px solid var(--shop-border);
}

/* ---------- contact ---------- */
.contact-section {
    padding-bottom: 70px;
}

.contact-intro > p {
    color: #555;
    margin-bottom: 24px;
}

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

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--shop-border);
}

.contact-list .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--shop-offset);
    color: var(--shop-primary);
    font-size: 22px;
}

.contact-list h4 {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 2px;
}

.contact-list p {
    margin: 0;
    color: #555;
}

.contact-track {
    margin-top: 20px;
}

.contact-track a,
.info-box a {
    color: var(--shop-primary);
}

.contact-form-wrapper {
    padding: 36px;
    background: var(--shop-offset);
}

.contact-form-wrapper .form-control {
    background: #fff;
}

/* ---------- policy pages ---------- */
.policy-wrapper,
.track-wrapper {
    padding-bottom: 70px;
}

.policy-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--shop-border);
}

.policy-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
}

.policy-card h3 i {
    font-size: 30px;
    color: var(--shop-primary);
}

.policy-text {
    line-height: 1.8;
    color: #444;
}

.policy-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fdecec;
    color: var(--shop-primary);
    font-weight: 500;
}

.policy-table th {
    font-weight: 500;
    background: var(--shop-offset);
}

.policy-table td small {
    display: block;
    color: var(--shop-muted);
}

.policy-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.policy-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--shop-offset);
}

.policy-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--shop-primary);
    color: #fff;
    font-size: 12px;
}

.track-form {
    padding: 28px;
    background: var(--shop-offset);
    margin-bottom: 30px;
}

.track-form .form-control {
    background: #fff;
}

/* ---------- footer ---------- */
#colophon .logo-text {
    color: #fff;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

.footer-cta {
    margin: 6px 8px 0 0;
    min-width: 0;
}

.footer-cta.whatsapp {
    background: #25d366;
}

.footer-cta.whatsapp i {
    margin-right: 4px;
}

.footer-payment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.footer-payment .pay-label {
    font-size: 12px;
    color: #999;
}

.footer-payment .pay-chip {
    padding: 4px 10px;
    border: 1px solid #444;
    color: #ccc;
    font-size: 12px;
}

.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7);
    transition: transform .2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .top-bar-links {
        text-align: center;
        margin-bottom: 6px;
    }

    .service-row > div:nth-child(2) .service-box {
        border-right: 0;
    }

    .service-row > div:nth-child(-n+2) .service-box {
        border-bottom: 1px solid var(--shop-border);
    }

    .widget-area {
        margin-top: 40px;
    }

    .order-summary-box,
    .order-review-box {
        margin-top: 30px;
    }

    .dashboard-list {
        margin-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .footer-payment {
        justify-content: center;
        margin-top: 10px;
    }

    .copyright-text {
        text-align: center;
    }

    .auth-card,
    .contact-form-wrapper,
    .order-review-box {
        padding: 22px;
    }

    .policy-steps {
        grid-template-columns: 1fr;
    }

    .order-progress .step-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .order-progress li::before {
        top: 18px;
        left: calc(-50% + 22px);
        right: calc(50% + 22px);
    }

    .order-progress .step-label {
        font-size: 11px;
    }

    .service-box {
        flex-direction: column;
        text-align: center;
        padding: 20px 12px;
    }

    .flash-stack {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }

    .cart-table .cart-img img {
        width: 64px;
        height: 64px;
    }
}

/* ---------- fixes on top of template table/wrapper styles ---------- */
.shopping-cart-wrapper,
.checkout-wrapper {
    padding-bottom: 80px;
}

.order-summary-box .summary-table,
.order-summary-box .summary-table tbody,
.order-summary-box .summary-table tr,
.order-summary-box .summary-table td {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0;
    text-align: left;
    vertical-align: middle;
    width: auto;
}

.order-summary-box .summary-table td:last-child {
    text-align: right;
}

.order-summary-box .summary-table tr:not(:last-child) td {
    border-bottom: 1px solid #e3e3e3;
}

.coupon-form .input-group {
    flex-wrap: nowrap;
}

.coupon-form .input-group .form-control {
    min-width: 0;
}

.cart-qty-actions {
    justify-content: center;
    gap: 10px;
}

.cart-qty-actions form.input-group {
    width: auto;
}

.price-widget {
    margin-bottom: 40px;
}

.order-summary-box .summary-table {
    width: 100% !important;
}

.coupon-form .input-group > .form-control {
    flex: 1 1 auto;
    width: 1%;
}

.coupon-form .input-group > .btn {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0 18px;
}

.summary-table .summary-total .color-primary {
    font-size: 20px;
    font-weight: 500;
}
