/* Additions on top of the Revel template for dynamic features. */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
@media (max-width: 991px) { .whatsapp-float { bottom: 88px; right: 16px; width: 52px; height: 52px; font-size: 26px; } }

.app-toast-stack { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.app-toast { display: flex; gap: 10px; align-items: center; background: #fff; border-left: 4px solid #22a55a; padding: 12px 16px; border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); font-size: 14px; color: #222; }
.app-toast-error { border-left-color: #dc3545; }
.app-toast-success i { color: #22a55a; }
.app-toast-error i { color: #dc3545; }

.category-image-icon { width: 48px; height: 48px; object-fit: contain; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 56px; color: var(--brand-secondary); margin-bottom: 18px; display: block; }
.empty-state h4 { margin-bottom: 8px; }
.empty-state p { color: #777; margin-bottom: 20px; }

.bottom-pagination { margin-top: 40px; }
.bottom-pagination button:disabled { opacity: .45; cursor: not-allowed; }

.tab-section .tab-nav a.single-nav, .tab-section .tab-nav span.single-nav { text-decoration: none; }

.star-picker button { background: none; border: 0; font-size: 22px; padding: 0 2px; color: #ccc; }
.star-picker button .rated { color: #ffb400; }

.account-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--brand-secondary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 600; }
.account-sidebar form .nav-link { background: none; border: 0; }
.account-stat { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.account-stat .icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 0, 0, 0.04); color: var(--brand-secondary); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.account-stat h4 { margin: 0; font-size: 20px; }
.account-stat p { margin: 0; color: #777; font-size: 13px; }
.account-subtitle { font-size: 20px; margin-bottom: 16px; }
.order-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: #666; }
.info-box { border: 1px solid #eee; border-radius: 8px; padding: 18px; height: 100%; }
.info-box h4 { font-size: 16px; margin-bottom: 10px; }
.table-bottom .pagination { display: flex; gap: 6px; }
.table-bottom .pagination a { text-decoration: none; }

.checkout-summary { border: 1px solid #eee; border-radius: 8px; padding: 18px; }
.checkout-summary .title { font-size: 18px; margin-bottom: 10px; }
.footer-social a { color: inherit; }

.banner-inner .breadcrumb-icon { text-align: right; font-size: 110px; color: var(--brand-secondary); opacity: .18; }
@media (max-width: 767px) { .banner-inner .breadcrumb-icon { font-size: 56px; } }

.slide-kicker { color: #fff; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; opacity: .9; }
.sidebar-advert img { border-radius: 8px; }
.cms-content { font-size: 16px; line-height: 1.8; color: #444; }
.cms-content h2, .cms-content h3, .cms-content h4 { margin: 1.6em 0 .6em; color: #222; }
.cms-content img { max-width: 100%; height: auto; border-radius: 8px; }
.cms-content ul, .cms-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.cms-content ul { list-style: disc; }
.cms-content ol { list-style: decimal; }
.cms-content blockquote { border-left: 4px solid var(--brand-secondary); padding: 6px 18px; margin: 1.2em 0; color: #555; }
.cms-content table { width: 100%; margin-bottom: 1em; }
.cms-content td, .cms-content th { border: 1px solid #eee; padding: 8px 12px; }

.shop-details .part-img .btn-box { flex-wrap: wrap; }
.shop-details .small-thumb img { aspect-ratio: 1 / 1; object-fit: cover; }
.shop-details #bigPreview img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.product-view-area .part-img .img-box { position: relative; }
.product-view-area .gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: #222; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); display: flex; align-items: center; justify-content: center; font-size: 16px; z-index: 2; transition: background .2s, color .2s; }
.product-view-area .gallery-nav:hover { background: var(--brand-secondary); color: #fff; }
.product-view-area .gallery-prev { left: 15px; }
.product-view-area .gallery-next { right: 15px; }
.product-view-area .gallery-counter { position: absolute; top: 15px; right: 15px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 20px; z-index: 2; }
@media (max-width: 575px) { .product-view-area .gallery-nav { width: 38px; height: 38px; } }

.shop-details .part-txt .quantity-wrap { margin-bottom: 30px; }

/* Product quick view modal (partials/quick-view-modal.blade.php) */
.quick-view-modal { position: relative; border: 0; border-radius: 10px; overflow: hidden; }
.quick-view-close { position: absolute; top: 14px; right: 14px; z-index: 2; background-color: #fff; border-radius: 50%; padding: 8px; opacity: .9; }
.quick-view-img { height: 100%; min-height: 320px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; padding: 24px; }
.quick-view-img img { max-width: 100%; max-height: 420px; object-fit: contain; }
.quick-view-body { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 36px 30px 30px; }
.quick-view-title { margin: 0; padding-right: 28px; font-size: 22px; line-height: 1.35; }
.quick-view-price { display: flex; align-items: baseline; gap: 10px; }
.quick-view-price .single-product-price { font-size: 20px; }
.quick-view-summary { margin: 0; color: #6c6c6c; line-height: 1.7; }
.quick-view-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
@media (max-width: 767px) {
    .quick-view-img { min-height: 220px; }
    .quick-view-img img { max-height: 260px; }
    .quick-view-body { padding: 22px 20px 24px; }
}
.quick-view-actions .def-btn { padding: 0 24px; border: 1px solid var(--brand-secondary); line-height: 48px; }
.quick-view-actions .def-btn.btn-border { background: #fff; color: var(--brand-secondary); }
.quick-view-actions .def-btn.btn-border:hover { background: var(--brand-secondary); color: #fff; }

/* Homepage slider: rounded product cards, three across on desktop.
   The coloured card starts --pop below the top of each slide, so a picture on
   top (every second card) can burst out above the card's edge. */
.hero-cards { --pop: 130px; padding: 10px 0 20px; }
.hero-cards .owl-stage { display: flex; }
.hero-cards .owl-item { display: flex; }
.hero-card { position: relative; z-index: 0; display: flex; flex-direction: column; width: 100%; height: calc(620px + var(--pop)); padding: calc(var(--pop) + 60px) 56px 0; color: #fff; }
.hero-card::before { content: ""; position: absolute; z-index: -1; inset: var(--pop) 0 0 0; border-radius: 32px; background: linear-gradient(45deg, var(--card-bg), color-mix(in srgb, var(--card-bg) 82%, #fff)); }
.hero-card:not(.is-flipped) { overflow: hidden; }
.hero-card.is-light { color: #111; }
.hero-card-kicker { margin: 0 0 14px; font-size: 20px; font-weight: 300; color: inherit; opacity: .9; }
.hero-card-title { margin: 0; font-size: 40px; line-height: 1.2; font-weight: 700; color: inherit; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 36px; padding: 0 46px; height: 62px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--brand-primary, #f79300), var(--brand-secondary, #fe5502)); transition: transform .2s ease, box-shadow .2s ease; }
.hero-card-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
/* On bright or light cards a dark button stands out better than the brand gradient. */
.hero-card.is-flipped .hero-card-btn, .hero-card.is-light .hero-card-btn { background: #111; }
.hero-card-img { flex: 1; min-height: 0; display: flex; align-items: flex-end; justify-content: center; margin-top: 28px; }
.hero-card-img img { width: auto !important; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .4s ease; }
.hero-card:hover .hero-card-img img { transform: scale(1.04); }
/* Every second card puts the picture on top, rising out of the card, and the text at the bottom. */
.hero-card.is-flipped { flex-direction: column-reverse; padding: 0 56px 60px; }
.hero-card.is-flipped .hero-card-img { align-items: flex-start; margin: 0 -44px 16px; padding-top: 6px; }
.hero-card.is-flipped .hero-card-img img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .28)); }
.hero-card.is-flipped:hover .hero-card-img img { transform: rotate(-3deg) scale(1.02); }
.hero-cards .owl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.hero-cards .owl-dots .owl-dot span { display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .2); transition: width .2s ease; }
.hero-cards .owl-dots .owl-dot.active span { width: 28px; background: var(--brand-secondary, #fe5502); }
@media (max-width: 1399px) { .hero-cards { --pop: 110px; } .hero-card { height: calc(560px + var(--pop)); padding: calc(var(--pop) + 48px) 40px 0; } .hero-card.is-flipped { padding: 0 40px 48px; } .hero-card-title { font-size: 34px; } }
@media (max-width: 991px) { .hero-card { height: calc(520px + var(--pop)); } .hero-card-title { font-size: 30px; } .hero-card-btn { height: 54px; padding: 0 36px; margin-top: 28px; } }
@media (max-width: 575px) { .hero-cards { --pop: 70px; } .hero-card.is-flipped .hero-card-img { margin: 0 -20px 12px; } .hero-card { height: calc(480px + var(--pop)); padding: calc(var(--pop) + 36px) 28px 0; } .hero-card::before { border-radius: 24px; } .hero-card.is-flipped { padding: 0 28px 36px; } .hero-card-kicker { font-size: 16px; } .hero-card-title { font-size: 26px; } }

/* Header dropdowns (Categories, My Account): the template caps them at 360px, so scroll past that instead of spilling out. */
.header .menu-bar .navbar .nav-item.dropdown .dropdown-menu { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .25) transparent; }

/* Homepage categories: centre the row when there are fewer categories than columns.
   Card widths match the template's grid (9 / 7 / 5 / 4 / 2 per row). */
.rev-17-categories .rev-11-categories-container { --cat-cols: 9; --cat-gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--cat-gap); }
.rev-17-categories .rev-11-categories-container .rev-11-single-category { flex: 0 0 calc((100% - (var(--cat-cols) - 1) * var(--cat-gap)) / var(--cat-cols)); min-width: 0; }
@media (max-width: 1199px) { .rev-17-categories .rev-11-categories-container { --cat-cols: 7; } }
@media (max-width: 991px) { .rev-17-categories .rev-11-categories-container { --cat-cols: 5; } }
@media (max-width: 767px) { .rev-17-categories .rev-11-categories-container { --cat-cols: 4; } }
@media (max-width: 575px) { .rev-17-categories .rev-11-categories-container { --cat-gap: 10px; } }
@media (max-width: 479px) { .rev-17-categories .rev-11-categories-container { --cat-cols: 2; } }

/* Homepage categories: modern cards on the same background as the slider, with no hover effects. */
.rev-17-categories { background: transparent; }
.rev-17-categories .rev-11-categories-container .rev-11-single-category:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05); }
.rev-17-categories .rev-11-categories-container .rev-11-single-category:hover .single-category__title { color: #1f2937; }
.rev-17-categories .rev-11-categories-container .rev-11-single-category:hover .single-category__icon i { color: var(--brand-secondary, #fe5502); }
.rev-17-categories .rev-11-categories-container .rev-11-single-category { position: relative; align-items: center; justify-content: flex-start; gap: 14px; padding: 22px 10px 18px; background: #fff; border: 1px solid transparent; border-radius: 20px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05); color: #1f2937; text-align: center; }
.rev-17-categories .rev-11-single-category .single-category__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--brand-secondary, #fe5502) 10%, #fff); }
.rev-17-categories .rev-11-categories-container .rev-11-single-category .single-category__icon i { font-size: 28px; color: var(--brand-secondary, #fe5502); transition: none; }
.rev-17-categories .rev-11-single-category .category-image-icon { width: 44px; height: 44px; }
.rev-17-categories .rev-11-categories-container .rev-11-single-category .single-category__title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: #1f2937; overflow-wrap: anywhere; }
@media (max-width: 575px) {
    .rev-17-categories .rev-11-categories-container .rev-11-single-category { gap: 10px; padding: 16px 6px 14px; border-radius: 16px; }
    .rev-17-categories .rev-11-single-category .single-category__icon { width: 56px; height: 56px; }
    .rev-17-categories .rev-11-categories-container .rev-11-single-category .single-category__icon i { font-size: 22px; }
    .rev-17-categories .rev-11-categories-container .rev-11-single-category .single-category__title { font-size: 12px; }
}

/* Product page: smaller main image and thumbnails (the template made the image fill half the page). */
.product-view-area .part-img { max-width: 460px; }
.product-view-area .part-img .img-box img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f5f5f5; }
.product-view-area .part-img .img-box .quick-view { width: 42px; height: 42px; line-height: 42px; font-size: 22px; }
.product-view-area .part-img .btn-box { gap: 10px; }
.product-view-area .part-img .btn-box .small-thumb { width: calc(20% - 8px); padding: 0; }
@media (max-width: 767px) { .product-view-area .part-img { max-width: 420px; margin: 0 auto 30px; } }

/* Shop sidebar: "Load more" under the Categories / By Brands filters (5 shown at a time). */
.shop-wrap .shop-sidebar .sidebar-load-more { margin-top: 18px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--brand-primary); }
.shop-wrap .shop-sidebar .sidebar-load-more:hover { text-decoration: underline; }

/* Header menu bar: nav items centred across the full width. */
@media (min-width: 992px) { .header .menu-bar #revel-mobile-menu { width: 100%; } .header .menu-bar #revel-mobile-menu > .navbar-nav { width: 100%; justify-content: center; } }

/* Shop toolbar: product count, search, sort, per-page and grid/list toggle in one white bar. */
.shop-wrap .shop-top-bar { padding: 0; border: 0; margin-bottom: 24px; }
/* Shop page on white; cards and sidebar boxes get a visible outline instead of relying on the grey page. */
.shop-wrap { background: #fff; }
.shop-wrap .single-product-card.rev-17-single-product { border-color: #e5e7eb; }
.shop-wrap .shop-sidebar .sidebar-box { border: 1px solid #e5e7eb; border-radius: 14px; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: #fff; border: 1px solid #e6e8eb; border-radius: 10px; padding: 12px 16px; }
.shop-toolbar .toolbar-count { margin: 0; font-size: 14px; color: #666; }
.shop-toolbar .toolbar-count strong { color: #222; font-size: 16px; }
.shop-toolbar .toolbar-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.shop-toolbar .toolbar-search { position: relative; }
.shop-toolbar .toolbar-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #999; pointer-events: none; }
.shop-toolbar .toolbar-search .form-control { width: 210px; height: 38px; padding-left: 34px; font-size: 14px; border: 1px solid #e0e3e7; border-radius: 8px; box-shadow: none; }
.shop-toolbar .toolbar-field { display: flex; align-items: center; height: 38px; margin: 0; border: 1px solid #e0e3e7; border-radius: 8px; background: #fff; overflow: hidden; }
.shop-toolbar .toolbar-field span { padding: 0 4px 0 12px; font-size: 13px; color: #888; white-space: nowrap; }
.shop-toolbar .toolbar-field .form-select { width: auto; height: 36px; padding: 0 30px 0 6px; border: 0; background-color: transparent; background-position: right 10px center; font-size: 14px; font-weight: 500; color: #222; box-shadow: none; cursor: pointer; }
.shop-toolbar .toolbar-search .form-control:focus, .shop-toolbar .toolbar-field:focus-within { border-color: var(--brand-primary); }
.shop-toolbar .view-toggle { display: flex; padding: 3px; gap: 2px; background: #f2f4f6; border-radius: 8px; }
.shop-toolbar .view-toggle button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #888; font-size: 15px; line-height: 32px; transition: .2s; }
.shop-toolbar .view-toggle button:hover { color: #222; }
.shop-toolbar .view-toggle button.active { background: #fff; color: var(--brand-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
@media (max-width: 767px) {
    .shop-toolbar .toolbar-controls { width: 100%; }
    .shop-toolbar .toolbar-search { flex: 1 1 100%; }
    .shop-toolbar .toolbar-search .form-control { width: 100%; }
    .shop-toolbar .view-toggle { margin-left: auto; }
}

/* Contact page */
.contact-page .contact-intro { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.contact-page .contact-intro h1 { font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.contact-page .contact-intro p { color: #666; margin: 0; }
.contact-page .contact-card { display: block; height: 100%; padding: 30px 20px; text-align: center; background: #fff; border: 1px solid #e6e8eb; border-radius: 12px; color: inherit; transition: .2s; }
.contact-page a.contact-card:hover { border-color: var(--brand-primary); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.contact-page .contact-card .icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: 22px; }
.contact-page .contact-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.contact-page .contact-card p { margin: 0; color: #666; font-size: 14px; word-break: break-word; }
.contact-form-card { padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid #e6e8eb; border-radius: 16px; }
.contact-form-card h2 { margin-bottom: 6px; font-size: 26px; font-weight: 700; }
.contact-form-card .contact-form-lead { margin-bottom: 26px; color: #666; }
.contact-form-card .form-label { font-size: 14px; font-weight: 600; }
.contact-form-card .form-control,
.contact-form-card .form-select { min-height: 48px; border-color: #e5e7eb; border-radius: 10px; }
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 15%, transparent); }
.contact-form-card .contact-form-submit { min-width: 200px; }
.contact-form-card .contact-form-submit i { margin-right: 8px; }
.contact-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form-sent { padding: 20px 0; text-align: center; }
.contact-form-sent .icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #ecfdf5; color: #047857; font-size: 28px; }
.contact-form-sent p { max-width: 440px; margin: 0 auto 22px; color: #666; }

/* Product card: rounded white card, soft image well, hover lift, price row with a cart button. */
.single-product-card.rev-17-single-product { display: flex; flex-direction: column; height: 100%; padding: 0 !important; background: #fff; border: 1px solid #eceef1; border-radius: 14px; overflow: hidden; animation: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.single-product-card.rev-17-single-product:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 14px 34px rgba(17, 24, 39, .1); }
.rev-17-single-product .single-product-img { position: relative; margin: 8px 8px 0; background: #f5f6f8; border-radius: 10px; overflow: hidden; }
.rev-17-single-product .single-product-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.rev-17-single-product:hover .single-product-img img { transform: scale(1.06); }
.rev-17-single-product.is-sold-out .single-product-img img { opacity: .6; }

.rev-17-single-product .product-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.product-badge-sale, .product-badge-soldout { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; color: #fff; }
.product-badge-sale { background: var(--brand-secondary); }
.product-badge-soldout { background: rgba(17, 24, 39, .75); }

.rev-17-single-product .single-product-actions { top: 10px; right: 10px; translate: 8px 0; gap: 8px; padding: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
.rev-17-single-product:hover .single-product-actions, .rev-17-single-product:focus-within .single-product-actions { opacity: 1; translate: 0 0; }
.rev-17-single-product .single-product-actions button { width: 36px; height: 36px; line-height: 36px; border: 0; border-radius: 50%; background: #fff; color: #333; font-size: 14px; translate: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.rev-17-single-product .single-product-actions button:hover { background: var(--brand-primary); color: #fff; }
@media (hover: none) { .rev-17-single-product .single-product-actions { opacity: 1; translate: 0 0; } }

.rev-17-single-product .single-product-txt { flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px 16px; }
.rev-17-single-product .single-product-brand { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9aa0a8; }
.rev-17-single-product .single-product-txt .single-product-title { margin-bottom: 6px; font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rev-17-single-product .single-product-txt .single-product-title a { color: #1f2328; }
.rev-17-single-product .single-product-txt .single-product-title a:hover { color: var(--brand-primary); }
.rev-17-single-product .single-product-txt .rating { display: flex; gap: 2px; }
.rev-17-single-product .single-product-txt .rating i { font-size: 12px; color: #fbbf24; }
.rev-17-single-product .single-product-txt .rating i.fa-regular { color: #d6d9de; }

.rev-17-single-product .single-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-17-single-product .single-product-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.rev-17-single-product .single-product-price { font-size: 17px; font-weight: 700; color: #1f2328; }
.single-product-old-price { font-size: 13px; color: #9aa0a8; }
.rev-17-single-product .single-product-footer .add-to-cart-btn { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: 15px; transition: transform .2s ease, filter .2s ease; }
.rev-17-single-product .single-product-footer .add-to-cart-btn:hover { transform: scale(1.08); filter: brightness(.92); }

@media (max-width: 575px) {
    .rev-17-single-product .single-product-txt { padding: 10px 12px 12px; }
    .rev-17-single-product .single-product-txt .single-product-title { font-size: 14px; }
    .rev-17-single-product .single-product-price { font-size: 15px; }
    .rev-17-single-product .single-product-footer .add-to-cart-btn { flex-basis: 34px; width: 34px; height: 34px; font-size: 13px; }
}

/* Shop list view: image on the left, details and summary on the right. */
.shop-list-view .single-product-card.rev-17-single-product.is-list { flex-direction: row; height: auto; }
.shop-list-view .is-list .single-product-img { flex: 0 0 240px; margin: 8px 0 8px 8px; }
.shop-list-view .is-list .single-product-img img { height: 100%; min-height: 220px; }
.shop-list-view .is-list .single-product-txt { justify-content: center; gap: 16px; padding: 20px 24px; }
.shop-list-view .is-list .single-product-txt .single-product-title { font-size: 18px; }
.shop-list-view .is-list .single-product-summary { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: #666; }
.shop-list-view .is-list .single-product-price { font-size: 20px; }
@media (max-width: 575px) {
    .shop-list-view .is-list .single-product-img { flex-basis: 130px; }
    .shop-list-view .is-list .single-product-img img { min-height: 150px; }
    .shop-list-view .is-list .single-product-txt { padding: 12px 14px; }
    .shop-list-view .is-list .single-product-txt .single-product-title { font-size: 15px; }
    .shop-list-view .is-list .single-product-summary { display: none; }
}

/* Login "Remember me": the template sizes every login input full width, so match the register form's round checkbox. */
.register .login-area .login-form .form-check { position: relative; padding: 0; display: flex; align-items: center; gap: 10px; }
.register .login-area .login-form .form-check .form-check-input { opacity: 0; position: absolute; top: 0; left: 0; width: 25px; height: 25px; margin: 0; padding: 0; border: 0; cursor: pointer; z-index: 1; }
.register .login-area .login-form .form-check .sub-input { flex-shrink: 0; width: 25px; height: 25px; line-height: 25px; text-align: center; font-size: 14px; color: #f1f1f1; border: 1px solid #ddd; border-radius: 50%; transition: 0.3s; }
.register .login-area .login-form .form-check .form-check-input:checked + .sub-input { background: var(--brand-secondary, #fe5502); border-color: var(--brand-secondary, #fe5502); color: #fff; }
.register .login-area .login-form .form-check .form-check-label { font-size: 14px; line-height: 24px; font-weight: 500; color: #808080; cursor: pointer; user-select: none; }

/* Link between the separate login and sign-up pages. */
.register .login-area .auth-switch { margin: 20px 0 0; font-size: 15px; text-align: center; }
.register .login-area .auth-switch a { color: var(--brand-secondary, #fe5502); font-weight: 600; }

/* Top bar message: the template makes it white, which is invisible on the light top bar. */
.rev-15-header .top-header .top-header-link > * span { color: #222222; font-weight: 500; }

/* Homepage: New Arrivals and advert banners sit on the same background as the slider and categories. */
.rev-17-new-arrival { background: transparent; }
.rev-17-ad-section { padding: 40px 0; background: transparent; }
/* Advert banners: same shape and rounded corners as the slider cards; any image size is cropped to fit. */
.home-advert { aspect-ratio: 13 / 6; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05); }
.home-advert.is-wide { aspect-ratio: 13 / 4; }
.home-advert .advert-link { display: block; height: 100%; }
.home-advert img { display: block; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
@media (max-width: 767px) { .home-advert.is-wide { aspect-ratio: 13 / 6; } .home-advert { border-radius: 18px; } .rev-17-ad-section { padding: 24px 0; } }

/* Header user icon dropdown (same links as the My Account menu). */
.header-account .dropdown-menu { min-width: 190px; margin-top: 12px !important; padding: 8px; border: 0; border-radius: 14px; box-shadow: 0 14px 34px rgba(16, 24, 40, .14); z-index: 1050; }
.header-account .dropdown-menu .dropdown-item { padding: 9px 14px; border-radius: 8px; font-size: 14px; color: #1f2937; }
.header-account .dropdown-menu .dropdown-item:hover, .header-account .dropdown-menu .dropdown-item:focus { background: color-mix(in srgb, var(--brand-secondary, #fe5502) 10%, #fff); color: var(--brand-secondary, #fe5502); }
.header-account .dropdown-menu .dropdown-item-text { display: block; padding: 6px 14px 10px; margin-bottom: 4px; border-bottom: 1px solid #eef0f3; font-size: 13px; font-weight: 600; color: #6b7280; }
/* The template's header-icon styles (dividers, spacing, large orange text) would otherwise apply to the dropdown's items. */
.rev-15-header .bottom-header-actions .header-account .dropdown-menu > li { padding: 0; }
.rev-15-header .bottom-header-actions .header-account .dropdown-menu > li::before { display: none; }
.rev-15-header .bottom-header-actions .header-account .dropdown-menu .dropdown-item { font-size: 14px; color: #1f2937; }
.rev-15-header .bottom-header-actions .header-account .dropdown-menu .dropdown-item:hover,
.rev-15-header .bottom-header-actions .header-account .dropdown-menu .dropdown-item:focus { color: var(--brand-secondary, #fe5502); }

/* ===== About Us page ===== */
.about-page { padding: 40px 0 80px; }
.about-section { margin-top: 32px; }
.about-kicker { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-secondary, #fe5502); }
.about-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 34px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--brand-primary, #f79300), var(--brand-secondary, #fe5502)); border: 1px solid transparent; }
.about-btn:hover { color: #fff; }
.about-btn.is-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); }
.about-btn.is-dark { background: #111; }
.about-btn.is-light { background: #fff; color: #111; }
.about-btn.is-light:hover { color: #111; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 64px; border-radius: 32px; background: linear-gradient(45deg, #0f1115, #23262d); color: #fff; overflow: hidden; }
.about-hero h1 { margin: 0; font-size: 46px; line-height: 1.15; font-weight: 700; color: #fff; }
.about-lead { margin: 20px 0 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.about-hero-imgs { position: relative; height: 380px; }
.about-hero-imgs img { position: absolute; max-width: 62%; max-height: 70%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.about-hero-imgs img:nth-child(1) { left: 0; bottom: 0; }
.about-hero-imgs img:nth-child(2) { right: 0; top: 0; }
.about-hero-imgs img:nth-child(3) { right: 4%; bottom: 0; max-width: 50%; max-height: 52%; }
.about-hero-imgs.count-1 img { inset: 0; margin: auto; max-width: 100%; max-height: 100%; }

.about-card { height: 100%; padding: 32px; background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05); }
.about-story { padding: 48px 56px; }
.about-story .cms-content { font-size: 17px; line-height: 1.8; color: #374151; }
.about-story .cms-content h2 { font-size: 32px; font-weight: 700; color: #111; margin-bottom: 16px; }
.about-story .cms-content h3 { font-size: 22px; font-weight: 700; color: #111; margin: 28px 0 12px; }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-stats.count-3 { grid-template-columns: repeat(3, 1fr); }
.about-stats.count-2 { grid-template-columns: repeat(2, 1fr); }
.about-stats.count-1 { grid-template-columns: 1fr; }
.about-stat { padding: 28px 20px; text-align: center; background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05); }
.about-stat strong { display: block; font-size: 40px; line-height: 1.1; font-weight: 700; color: var(--brand-secondary, #fe5502); }
.about-stat span { display: block; margin-top: 6px; font-size: 15px; color: #6b7280; }

.about-heading { margin-bottom: 24px; text-align: center; }
.about-value-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 50%; font-size: 24px; color: var(--brand-secondary, #fe5502); background: color-mix(in srgb, var(--brand-secondary, #fe5502) 10%, #fff); }
.about-value h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: #111; }
.about-value p { margin: 0; font-size: 15px; line-height: 1.65; color: #6b7280; }

.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px 56px; border-radius: 32px; color: #fff; background: linear-gradient(45deg, var(--brand-secondary, #fe5502), var(--brand-primary, #f79300)); }
.about-cta h2 { margin: 0 0 8px; font-size: 32px; font-weight: 700; color: #fff; }
.about-cta p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .88); }
.about-cta .about-actions { margin-top: 0; }

@media (max-width: 991px) {
    .about-hero { grid-template-columns: 1fr; padding: 44px 36px; }
    .about-hero h1 { font-size: 36px; }
    .about-hero-imgs { height: 300px; }
    .about-stats, .about-stats.count-3 { grid-template-columns: repeat(2, 1fr); }
    .about-story, .about-cta { padding: 36px; }
}
@media (max-width: 575px) {
    .about-page { padding: 20px 0 50px; }
    .about-hero { padding: 32px 24px; border-radius: 24px; }
    .about-hero h1 { font-size: 28px; }
    .about-hero-imgs { height: 220px; }
    .about-story, .about-cta { padding: 28px 22px; border-radius: 24px; }
    .about-story .cms-content h2, .about-cta h2 { font-size: 24px; }
    .about-stat strong { font-size: 30px; }
    .about-btn { height: 48px; padding: 0 26px; }
}

/* Homepage advert "Colour card": text on a coloured card, product picture on the right.
   The card sits --pop inside the box top and bottom, so the picture can burst out above or below it. */
.rev-17-ad-section:has(.ad-card) { padding: 0; }
.rev-17-ad-section .ad-card { --pop: 70px; position: relative; isolation: isolate; display: flex; align-items: center; height: calc(290px + 2 * var(--pop)); padding: var(--pop) 0; color: #fff; }
.rev-17-ad-section .ad-card::before { content: ""; position: absolute; z-index: -1; inset: var(--pop) 0; border-radius: 28px; background: var(--card-bg); }
.rev-17-ad-section .ad-card.is-light { color: #111; }
.rev-17-ad-section .ad-card:hover { color: #fff; }
.rev-17-ad-section .ad-card.is-light:hover { color: #111; }
.ad-card-txt { position: relative; z-index: 1; width: 50%; padding-left: 56px; }
.ad-card-kicker { margin: 0 0 12px; font-size: 19px; font-weight: 300; color: inherit; opacity: .92; }
.ad-card-title { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 700; color: inherit; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 30px; height: 58px; padding: 0 44px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--brand-primary, #f79300), var(--brand-secondary, #fe5502)); transition: transform .2s ease, box-shadow .2s ease; }
.ad-card.has-btn-color .ad-card-btn { color: var(--btn-ink); background: linear-gradient(90deg, var(--btn-bg), color-mix(in srgb, var(--btn-bg) 72%, #000)); }
.ad-card:hover .ad-card-btn { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.rev-17-ad-section .ad-card .ad-card-img { position: absolute; z-index: 0; right: 0; width: 62%; max-width: none; object-fit: contain; object-position: right bottom; border-radius: 0; }
.rev-17-ad-section .ad-card.pop-top .ad-card-img { top: 0; height: calc(100% - var(--pop)); border-bottom-right-radius: 28px; }
.rev-17-ad-section .ad-card.pop-bottom .ad-card-img { bottom: 0; height: calc(100% - var(--pop) - 60px); }
.rev-17-ad-section .ad-card.pop-inside .ad-card-img { top: var(--pop); height: calc(100% - 2 * var(--pop)); padding: 24px 24px 24px 0; object-position: right center; }
@media (max-width: 1399px) { .ad-card-title { font-size: 28px; } .ad-card-txt { padding-left: 44px; } }
@media (max-width: 1199px) { .rev-17-ad-section .ad-card { --pop: 56px; height: calc(280px + 2 * var(--pop)); } .ad-card-title { font-size: 28px; } .ad-card-btn { height: 52px; padding: 0 32px; } }
@media (max-width: 575px) {
    .rev-17-ad-section .ad-card { --pop: 40px; height: calc(220px + 2 * var(--pop)); }
    .rev-17-ad-section .ad-card::before { border-radius: 22px; }
    .ad-card-txt { width: 58%; padding-left: 24px; }
    .ad-card-kicker { font-size: 14px; margin-bottom: 8px; }
    .ad-card-title { font-size: 21px; }
    .ad-card-btn { height: 42px; padding: 0 20px; margin-top: 18px; font-size: 13px; }
    .rev-17-ad-section .ad-card .ad-card-img { width: 55%; }
    .rev-17-ad-section .ad-card.pop-bottom .ad-card-img { height: calc(100% - var(--pop) - 30px); }
}

/* Section headings (homepage sections and the About page): large bold centred title, soft grey sub-heading. */
.rev-17-section-heading { width: auto; max-width: 760px; margin: 0 auto 36px; text-align: center; }
.rev-17-section-heading .rev-17-section-title,
.about-heading h2 { margin: 0; font-size: 38px; line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; color: #000; }
.rev-17-section-heading h6 { margin: 10px 0 0; font-size: 17px; line-height: 1.5; font-weight: 400; color: #6b7280; }
.about-heading { margin-bottom: 36px; }
@media (max-width: 1199px) { .rev-17-section-heading .rev-17-section-title, .about-heading h2 { font-size: 34px; } .rev-17-section-heading h6 { font-size: 16px; } }
@media (max-width: 767px) { .rev-17-section-heading { margin-bottom: 30px; } .rev-17-section-heading .rev-17-section-title, .about-heading h2 { font-size: 28px; } .rev-17-section-heading h6 { margin-top: 8px; font-size: 15px; } }
@media (max-width: 479px) { .rev-17-section-heading .rev-17-section-title, .about-heading h2 { font-size: 24px; } }

/* Mobile header menu button, and the Logout button inside the slide-in menu. */
.rev-15-header .bottom-header-actions ul li button.m-nav-link { padding: 0; background: transparent; border: 0; }
.mobile-menu .m-main-menu .menu-bar .nav-item .m-menu-logout { padding: 0; background: transparent; border: 0; text-align: left; }

/* Page loader: triple-ring spinner. */
.preloader { z-index: 99999; background: #eaf1f5; transition: opacity .35s ease, visibility .35s ease; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader .spinner { width: 56px; height: 56px; display: grid; border: 4px solid #0000; border-radius: 50%; border-right-color: var(--brand-primary, #f79300); animation: preloader-spin 1s infinite linear; }
.preloader .spinner::before,
.preloader .spinner::after { content: ""; grid-area: 1/1; margin: 2px; border: inherit; border-radius: 50%; animation: preloader-spin 2s infinite; }
.preloader .spinner::after { margin: 8px; animation-duration: 3s; }
@keyframes preloader-spin { 100% { transform: rotate(1turn); } }

/* ===== Product details page (pd-*) ===== */
.pd-page { padding: 28px 0 90px; --pd-ink: #111827; --pd-muted: #6b7280; --pd-line: #e5e7eb; --pd-soft: #f6f7f9; --pd-radius: 18px; }
.pd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 13px; color: var(--pd-muted); }
.pd-breadcrumb a { color: var(--pd-muted); transition: color .15s; }
.pd-breadcrumb a:hover { color: var(--brand-primary); }
.pd-breadcrumb i { font-size: 10px; opacity: .6; }
.pd-breadcrumb span { color: var(--pd-ink); font-weight: 500; }

/* Gallery */
.product-view-area.pd-main .part-img.pd-gallery { max-width: none; margin: 0; }
.product-view-area .part-img .img-box.pd-stage { position: relative; padding: 0; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); background: #fff; overflow: hidden; }
.product-view-area .part-img .img-box.pd-stage > img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 28px; background: #fff; transition: transform .4s ease; }
.product-view-area .part-img .img-box.pd-stage:hover > img { transform: scale(1.03); }
.pd-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.product-view-area .part-img .img-box.pd-stage .quick-view { position: absolute; right: 16px; bottom: 16px; top: auto; left: auto; width: 44px; height: 44px; line-height: 44px; border-radius: 50%; background: #fff; color: var(--pd-ink); font-size: 18px; box-shadow: 0 6px 18px rgba(17, 24, 39, .12); border: 0; z-index: 2; }
.product-view-area .part-img .img-box.pd-stage .quick-view:hover { background: var(--brand-primary); color: #fff; }
.product-view-area.pd-main .gallery-nav { width: 42px; height: 42px; background: rgba(255, 255, 255, .95); box-shadow: 0 6px 18px rgba(17, 24, 39, .12); opacity: 0; transition: opacity .2s, background .2s, color .2s; }
.product-view-area.pd-main .pd-stage:hover .gallery-nav,
.product-view-area.pd-main .gallery-nav:focus-visible { opacity: 1; }
.product-view-area.pd-main .gallery-nav:hover { background: var(--brand-primary); color: #fff; }
.product-view-area.pd-main .gallery-counter { top: 16px; right: 16px; background: rgba(17, 24, 39, .7); font-weight: 500; }
@media (hover: none) { .product-view-area.pd-main .gallery-nav { opacity: 1; } }
.product-view-area .part-img .btn-box.pd-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.product-view-area .part-img .btn-box.pd-thumbs .small-thumb { width: auto; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--pd-line); transition: border-color .15s, box-shadow .15s; }
.product-view-area .part-img .btn-box.pd-thumbs .small-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 6px; background: #fff; }
.product-view-area .part-img .btn-box.pd-thumbs .small-thumb.active,
.product-view-area .part-img .btn-box.pd-thumbs .small-thumb:hover { border-color: var(--brand-primary); box-shadow: none; }

/* Buy box */
@media (min-width: 992px) { .pd-sticky { position: sticky; top: 24px; } }
.pd-info { color: var(--pd-ink); }
.pd-category { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand-primary) 10%, #fff); color: var(--brand-primary); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pd-category:hover { background: var(--brand-primary); color: #fff; }
.pd-title { margin: 0 0 12px; color: var(--pd-ink); font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.pd-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 14px; color: var(--pd-muted); }
.pd-stars { display: inline-flex; gap: 2px; font-size: 14px; color: #d1d5db; }
.pd-stars .rated { color: #f59e0b; }
.pd-rating-link { color: var(--pd-muted); text-decoration: underline; text-underline-offset: 3px; }
.pd-rating-link:hover { color: var(--brand-primary); }
.pd-dot { width: 4px; height: 4px; border-radius: 50%; background: #d1d5db; }
.pd-brand { font-weight: 600; color: var(--pd-ink); }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.pd-price-now { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; color: var(--pd-ink); letter-spacing: -.02em; }
.pd-price-was { font-size: 18px; color: var(--pd-muted); text-decoration: line-through; }
.pd-save { padding: 4px 10px; border-radius: 999px; background: #fee2e2; color: #b91c1c; font-size: 13px; font-weight: 700; }
.pd-stock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pd-stock span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.pd-stock.is-in { background: #ecfdf5; color: #047857; }
.pd-stock.is-out { background: #fef2f2; color: #b91c1c; }
.pd-summary { margin: 18px 0 0; color: #4b5563; font-size: 15px; line-height: 1.7; }
.pd-buy { display: flex; gap: 12px; margin: 26px 0 12px; }
.pd-qty { display: inline-flex; flex-shrink: 0; align-items: center; width: auto; height: 54px; border: 1px solid var(--pd-line); border-radius: 0; background: #fff; padding: 0; overflow: hidden; }
.pd-qty button { min-width: 44px; height: 100%; padding: 0 14px; border: 0; border-radius: 0; background: transparent; color: var(--pd-ink); font-size: 13px; transition: background .15s; }
.pd-qty button:hover:not(:disabled) { background: var(--pd-soft); }
.pd-qty button:disabled { opacity: .35; cursor: not-allowed; }
.pd-qty input { width: 48px; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 700; color: var(--pd-ink); -moz-appearance: textfield; }
.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 600; line-height: 1; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.pd-btn:active { transform: translateY(1px); }
.pd-btn:disabled { opacity: .6; }
.pd-btn-primary { flex: 1; background: var(--brand-primary); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand-primary) 70%, transparent); }
.pd-btn-primary:hover { background: color-mix(in srgb, var(--brand-primary) 85%, #000); color: #fff; }
.pd-btn-dark { background: var(--pd-ink); color: #fff; }
.pd-btn-dark:hover { background: #000; color: #fff; }
.pd-btn-icon { flex-shrink: 0; width: 54px; padding: 0; border-color: var(--pd-line); background: #fff; color: var(--pd-ink); font-size: 18px; }
.pd-btn-icon:hover,
.pd-btn-icon.is-active { border-color: #fecaca; background: #fef2f2; color: #ef4444; }
.pd-perks { display: grid; gap: 12px; margin: 24px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--pd-soft); list-style: none; }
.pd-perks li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #4b5563; }
.pd-perks i { width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; color: var(--brand-primary); font-size: 16px; }
.pd-perks strong { color: var(--pd-ink); font-weight: 600; }
.pd-meta { display: grid; gap: 8px; margin: 22px 0 0; font-size: 14px; }
.pd-meta div { display: flex; gap: 12px; }
.pd-meta dt { width: 80px; flex-shrink: 0; color: var(--pd-muted); font-weight: 400; }
.pd-meta dd { margin: 0; color: var(--pd-ink); font-weight: 500; }
.pd-meta a { color: var(--pd-ink); }
.pd-meta a:hover { color: var(--brand-primary); }
.pd-share { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--pd-line); font-size: 14px; color: var(--pd-muted); }
.pd-share span { margin-right: 6px; }
.pd-share a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pd-line); border-radius: 50%; color: var(--pd-ink); font-size: 14px; transition: all .15s; }
.pd-share a:hover { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; }

/* Tabs */
.pd-details { margin-top: 64px; }
.pd-tabs.nav { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; padding: 5px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--pd-line); }
.pd-tabs .nav-link { padding: 10px 22px; border: 0; border-radius: 10px; background: transparent; color: var(--pd-muted); font-size: 15px; font-weight: 600; transition: background .15s, color .15s; }
.pd-tabs .nav-link::after { display: none; }
.pd-tabs .nav-link:hover { color: var(--pd-ink); }
.pd-tabs .nav-link.active { background: var(--pd-ink); color: #fff; }
.pd-panel { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--pd-line); border-radius: var(--pd-radius); background: #fff; }
.pd-description { max-width: 820px; color: #374151; font-size: 16px; line-height: 1.8; }
.pd-specs { width: 100%; max-width: 820px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: 12px; font-size: 15px; }
.pd-specs th,
.pd-specs td { padding: 14px 18px; border-bottom: 1px solid var(--pd-line); }
.pd-specs tr:last-child th,
.pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th { width: 36%; background: var(--pd-soft); color: var(--pd-muted); font-weight: 500; }
.pd-specs td { color: var(--pd-ink); font-weight: 500; }

/* Reviews */
.pd-reviews .review-overview { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 30px; padding: 24px; border: 0; border-radius: 14px; background: var(--pd-soft); }
.pd-reviews .review-overview .left { min-width: 140px; padding: 0; border: 0; text-align: center; }
.pd-reviews .review-overview .left h2 { font-size: 48px; font-weight: 800; color: var(--pd-ink); }
.pd-reviews .review-overview .left h2 span { font-size: 18px; color: var(--pd-muted); }
.pd-reviews .review-overview .left p { color: var(--pd-muted); }
.pd-reviews .review-overview .right { flex: 1; min-width: 240px; }
.pd-reviews .review-overview .progress { height: 8px; border-radius: 999px; background: #e5e7eb; }
.pd-reviews .review-overview .progress-bar { border-radius: 999px; background: #f59e0b; }
.pd-reviews .stars i,
.pd-reviews .star i,
.pd-reviews .star-picker i { color: #d1d5db; }
.pd-reviews .stars i.rated,
.pd-reviews .star i.rated,
.pd-reviews .star-picker i.rated { color: #f59e0b; }
.pd-reviews .review-title h3,
.pd-reviews .review-form-box h3 { font-size: 20px; font-weight: 700; color: var(--pd-ink); }
.pd-reviews .single-review { margin-bottom: 14px; padding: 20px; border: 1px solid var(--pd-line); border-radius: 14px; background: #fff; }
.pd-reviews .single-review .user { align-items: center; gap: 14px; }
.pd-avatar { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--brand-primary) 12%, #fff); color: var(--brand-primary); font-weight: 700; font-size: 17px; }
.pd-reviews .single-review .comment-area { margin-top: 12px; padding: 0; border: 0; }
.pd-reviews .single-review .comment-area p { color: #374151; line-height: 1.7; }
.pd-reviews .review-form-box { padding: 24px; border-radius: 14px; background: var(--pd-soft); }
.pd-reviews .review-form-box textarea { border-radius: 12px; border-color: var(--pd-line); background: #fff; }
.pd-reviews .review-form-box .pd-btn-primary { flex: none; }

/* Related */
.pd-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pd-section-head h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: #111827; text-transform: none; }
.pd-section-head a { color: var(--brand-primary); font-weight: 600; font-size: 14px; }
.pd-section-head a i { margin-left: 4px; transition: transform .15s; }
.pd-section-head a:hover i { transform: translateX(3px); }

@media (max-width: 575px) {
    .pd-page { padding-top: 18px; }
    .pd-buy { flex-wrap: wrap; }
    .pd-buy .pd-btn-primary { order: 3; flex-basis: 100%; }
    .pd-details { margin-top: 44px; }
    .pd-tabs.nav { display: flex; }
    .pd-tabs .nav-link { flex: 1; padding: 10px 12px; font-size: 14px; }
}
