@font-face {
    font-family: "readexpro";
    src: url("../font/readexpro-regular.woff2") format("truetype");
}

:root {
    --bg-page: #ffffff;
    --bg-muted: #f8fafc;
    --bg-card: #ffffff;
    --border-subtle: #e5e7eb;
    --border-strong: #d1d5db;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;
    --primary: #1a4cff;
    --primary-soft: #e0ebff;
    --accent: #f4541d;
    --accent-soft: #ffd7ca;
    --radius-sm: 6px;
    --radius-md: 10px;
    --shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.06);
    --container-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "readexpro", regular;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
}

body a {
    color: inherit;
    text-decoration: none;
}

body img {
    max-width: 100%;
    display: block;
}

body .page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body .page-shell .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

body .page-shell .top-bar {
    background: #0f172a;
    color: #e5e7eb;
    font-size: 0.78rem;
}

body .page-shell .top-bar .top-bar-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
}

body .page-shell .top-bar .top-bar-inner strong {
    color: #f9fafb;
    font-weight: 600;
}

body .page-shell .top-bar .top-bar-inner .highlight {
    color: var(--accent);
    font-weight: 600;
}

body .page-shell header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
}

body .page-shell header .header-main {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

body .page-shell header .header-main .logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

body .page-shell header .header-main .logo-area img {
    height: 50px;
}

body .page-shell header .header-main .logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    line-height: 1.1;
}

body .page-shell header .header-main .logo-text span:first-child {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body .page-shell header .header-main .logo-text span:last-child {
    font-size: 0.75rem;
    color: var(--text-soft);
}

body .page-shell header .header-main .header-search {
    flex: 1;
    max-width: 520px;
    margin: 0 0.5rem;
}

body .page-shell header .header-main .header-search .search-wrapper {
    position: relative;
}

body .page-shell header .header-main .header-search .search-wrapper .search-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 0.55rem 2.6rem 0.55rem 0.9rem;
    font-size: 0.9rem;
    background: var(--bg-muted);
    color: var(--text-main);
    outline: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body .page-shell header .header-main .header-search .search-wrapper .search-input::placeholder {
    color: var(--text-soft);
}

body .page-shell header .header-main .header-search .search-wrapper .search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

body .page-shell header .header-main .header-search .search-wrapper .search-icon {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-soft);
    text-decoration: none;
    border: none;
    background: none;
}

body .page-shell header .header-main .header-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

body .page-shell header .header-main .header-actions .header-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

body .page-shell header .header-main .header-actions .header-link:hover {
    color: var(--primary);
}

body .page-shell header .header-main .header-actions .icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 160ms ease, background 160ms ease;
}

body .page-shell header .header-main .header-actions .icon-btn i {
    font-size: 0.95rem;
    color: var(--text-soft);
}

body .page-shell header .header-main .header-actions .icon-btn:hover {
    border-color: var(--primary);
    background: #f9fafb;
}

body .page-shell header .header-main .header-actions .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.65rem;
    padding: 0 4px;
    line-height: 1.3;
    font-weight: 600;
}

body .page-shell header .nav-tabs {
    border-bottom: 1px solid var(--border-subtle);
    background: rgb(15, 23, 42);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body .page-shell header .nav-tabs .nav-tabs-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 52px;
    padding: 0;
    flex-wrap: nowrap;
}

body .page-shell header .nav-tabs .nav-tabs-inner::-webkit-scrollbar {
    display: none;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill {
    border-radius: 999px;
    border: 1px solid rgb(15, 23, 42);
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    color: #ffffff;
    background: rgb(15, 23, 42);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    white-space: nowrap;
    flex-shrink: 0;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill:hover {
    border-color: var(--accent);
    color: #ffffff;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill.active {
    background: var(--accent);
    color: #ffffff;
    border-color: transparent;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill.primary {
    margin-left: auto;
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
    font-weight: 500;
}

body .page-shell main {
    flex: 1;
    padding: 0px 10px;
    position: relative;
}

body .page-shell main .main-layout {
    padding: 2rem 0 3rem;
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    position: relative;
}


body .page-shell main .main-layout .sidebar {
    width: 260px;
    flex-shrink: 0;
}

body .page-shell main .main-layout .sidebar .sidebar-toggle-btn {
    display: none;
}

body .page-shell main .main-layout .sidebar .sidebar-card {
    background: rgb(15, 23, 42);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-soft);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section + .sidebar-section {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border-subtle);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.4rem 0.1rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 140ms ease, color 140ms ease;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item:hover {
    color: var(--text-soft);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item .sidebar-item-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item .sidebar-item-label .sidebar-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--border-strong);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item.active .sidebar-item-label .sidebar-dot {
    background: var(--accent);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item.active {
    color: #ffffff;
    font-weight: 500;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-count {
    font-size: 0.78rem;
    color: var(--text-soft);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-promo {
    margin-top: 0.4rem;
    background: #fefce8;
    border-radius: var(--radius-md);
    border: 1px solid #facc15;
    padding: 0.8rem 0.9rem;
    font-size: 0.8rem;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-promo .sidebar-promo-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-promo .badge {
    position: static;
    background: #111827;
    color: #fefce8;
    padding: 0.1rem 0.5rem;
    margin-left: 0.3rem;
}

/************** CONTENT **************/

body .page-shell main .main-layout .content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Breadcrumb */

body .page-shell main .main-layout .content .breadcrumb {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

body .page-shell main .main-layout .content .breadcrumb a {
    color: var(--text-muted);
}

body .page-shell main .main-layout .content .breadcrumb a:hover {
    color: var(--primary);
}

body .page-shell main .main-layout .content .breadcrumb .breadcrumb-current {
    color: var(--text-main);
    font-weight: 500;
}

/* Main product layout */

body .page-shell main .main-layout .content .product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

/* Gallery column */

body .page-shell main .main-layout .content .product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body .page-shell main .main-layout .content .product-gallery-main {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: white;
    box-shadow: var(--shadow-soft);
}

body .page-shell main .main-layout .content .product-gallery-main .product-main-image {
    margin: 0;
    line-height: 0;
    background: white;
}

body .page-shell main .main-layout .content .product-gallery-main .product-main-image img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    padding: 1.4rem 1.6rem;
}

/* Splide arrows/pagination inside gallery */

body .page-shell main .main-layout .content .product-gallery-main .splide__arrow {
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

body .page-shell main .main-layout .content .product-gallery-main .splide__arrow svg {
    fill: var(--text-soft);
}

body .page-shell main .main-layout .content .product-gallery-main .splide__pagination__page {
    background: #e5e7eb;
    opacity: 1;
}

body .page-shell main .main-layout .content .product-gallery-main .splide__pagination__page.is-active {
    background: var(--primary);
    transform: scale(1.1);
}

/* Thumbnails */

body .page-shell main .main-layout .content .product-gallery-thumbs {
    padding: 0.2rem;
}

body .page-shell main .main-layout .content .product-gallery-thumbs .splide__track {
    padding: 0.1rem 0;
}

body .page-shell main .main-layout .content .product-gallery-thumbs .thumb-item {
    outline: none;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    cursor: pointer;
    width: 100%;
    display: block;
    overflow: hidden;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, transform 120ms ease;
}

body .page-shell main .main-layout .content .product-gallery-thumbs .thumb-item img {
    width: 100%;
    height: 76px;
    object-fit: contain;
}

body .page-shell main .main-layout .content .product-gallery-thumbs .thumb-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft);
    background: var(--bg-muted);
}

body .page-shell main .main-layout .content .splide__track--nav>.splide__list>.splide__slide.is-active {
    border-radius: 12px !important;
    border: 1px solid var(--primary) !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}


/* Side card under gallery */

body .page-shell main .main-layout .content .product-side-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: #f9fafb;
    padding: 0.9rem 1rem;
    font-size: 0.8rem;
    box-shadow: var(--shadow-soft);
}

body .page-shell main .main-layout .content .product-side-card .product-side-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
}

body .page-shell main .main-layout .content .product-side-card .product-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.25rem;
}

body .page-shell main .main-layout .content .product-side-card .product-side-list li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
}

body .page-shell main .main-layout .content .product-side-card .product-side-list li i {
    font-size: 0.85rem;
    color: #16a34a;
}

/* Info column */

body .page-shell main .main-layout .content .product-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: sticky;
    top: 90px; /* عدّلها لو احتجت حسب ارتفاع الهيدر */
}

body .page-shell main .main-layout .content .product-info .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

body .page-shell main .main-layout .content .product-info .product-badges .badge-pill {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 0.15rem 0.65rem;
    font-size: 0.72rem;
    color: var(--text-soft);
    background: #ffffff;
}

body .page-shell main .main-layout .content .product-info .product-badges .badge-pill.accent {
    border-color: #bbf7d0;
    background: #dcfce7;
    color: #15803d;
}

body .page-shell main .main-layout .content .product-info .product-title-main {
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 600;
}

body .page-shell main .main-layout .content .product-info .product-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* Meta row (rating + availability) */

body .page-shell main .main-layout .content .product-info .product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    align-items: center;
    font-size: 0.82rem;
}

body .page-shell main .main-layout .content .product-info .product-meta-row .rating-row {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
}

body .page-shell main .main-layout .content .product-info .product-meta-row .rating-row .rating-stars {
    color: #facc15;
    letter-spacing: 0.03em;
}

body .page-shell main .main-layout .content .product-info .product-meta-row .rating-row .rating-score {
    font-weight: 600;
    color: var(--text-main);
}

body .page-shell main .main-layout .content .product-info .product-meta-row .rating-row .rating-count {
    color: var(--text-soft);
}

body .page-shell main .main-layout .content .product-info .product-meta-row .availability-row {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #16a34a;
}

body .page-shell main .main-layout .content .product-info .product-meta-row .availability-row .availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #16a34a;
}

/* Price block */

body .page-shell main .main-layout .content .product-info .product-price-block {
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
    background-color: #ffffff;
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    z-index: 40;
}

body .page-shell main .main-layout .content .product-info .product-price-block .price-main {
    font-size: 1.5rem;
    font-weight: 600;
}

body .page-shell main .main-layout .content .product-info .product-price-block .price-note {
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* Options (storage / colour) */

body .page-shell main .main-layout .content .product-info .product-options {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.3rem;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .option-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    font-weight: 600;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .option-text {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--text-soft);
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .option-pills .option-pill {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    background: #ffffff;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 120ms ease;
}

/* Disabled look */
body .page-shell main .main-layout .content .product-info
.product-options .option-group .option-pills .option-pill.is-disabled{
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;

    background: rgba(15, 23, 42, .04) !important;
    box-shadow: none !important;
    opacity: .55;
}



body .page-shell main .main-layout .content .product-info .product-options .option-group .option-pills .option-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-muted);
    transform: translateY(-1px);
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .option-pills .option-pill.is-active {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

/* Color swatches */

body .page-shell main .main-layout .content .product-info .product-options .option-group .color-swatches {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .color-swatches .swatch {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.1rem;
    background: transparent;
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 120ms ease;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .color-swatches .swatch.is-disabled {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;

    background: rgba(15, 23, 42, .04) !important;
    box-shadow: none !important;
    opacity: .55;
}
body .page-shell main .main-layout .content .product-info .product-options .option-group .color-swatches .swatch-dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: block;
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .color-swatches .swatch:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

body .page-shell main .main-layout .content .product-info .product-options .option-group .color-swatches .swatch.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

body .page-shell main .main-layout .content .product-info .product-options .grade-desc-box{
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: rgba(0,0,0,.02);
}
body .page-shell main .main-layout .content .product-info .product-options .grade-desc-box .grade-desc-title{
  font-weight: 700;
  margin-bottom: 6px;
}
body .page-shell main .main-layout .content .product-info .product-options .grade-desc-box .grade-desc-text{
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(0,0,0,.78);
}

body .page-shell main .main-layout .content .product-info .product-warranty {
    margin-top: 0.7rem;
    margin-bottom: 0.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: #fefce8;
    padding: 0.7rem 0.8rem;
    font-size: 0.8rem;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-heading {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #854d0e;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-options {
    display: grid;
    gap: 0.4rem;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-options .warranty-option {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-options .warranty-option input {
    margin-top: 0.18rem;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-options .warranty-option .warranty-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-options .warranty-option .warranty-option-main {
    font-weight: 600;
    color: #854d0e;
}

body .page-shell main .main-layout .content .product-info .product-warranty .warranty-options .warranty-option .warranty-option-note {
    color: #92400e;
    font-size: 0.78rem;
}



/* CTAs */

body .page-shell main .main-layout .content .product-info .product-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-primary {
    border-radius: 999px;
    padding: 0.45rem 1rem;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition:
        background 150ms ease,
        transform 120ms ease,
        box-shadow 150ms ease;
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-primary:disabled {
    background: #cbd5f5;
    cursor: default;
    transform: none;
    box-shadow: none;
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-primary i {
    font-size: 0.9rem;
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-secondary {
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-secondary i {
    font-size: 0.9rem;
}

body .page-shell main .main-layout .content .product-info .product-cta .product-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-muted);
}

/* Small highlights list */

body .page-shell main .main-layout .content .product-info .product-highlights {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: grid;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

body .page-shell main .main-layout .content .product-info .product-highlights li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

body .page-shell main .main-layout .content .product-info .product-highlights li i {
    font-size: 0.9rem;
    color: var(--primary);
}

/* Lower details grid */

body .page-shell main .main-layout .content .product-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 1.1rem 1rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.88rem;
    height: fit-content;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel p {
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel .panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
    color: var(--text-main);
    font-size: 0.86rem;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel .panel-list li::before {
    content: "• ";
    color: var(--primary);
}

/* Spec grid */

body .page-shell main .main-layout .content .product-details-grid .product-panel .spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel .spec-grid .spec-item {
    font-size: 0.8rem;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel .spec-grid .spec-item .spec-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

body .page-shell main .main-layout .content .product-details-grid .product-panel .spec-grid .spec-item .spec-value {
    color: var(--text-main);
}

body .page-shell footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    background: var(--bg-muted);
    font-size: 0.85rem;
    padding: 0px 10px;
}

body .page-shell footer .footer-inner {
    padding: 2rem 0 1.8rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

body .page-shell footer .footer-inner .footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

body .page-shell footer .footer-inner .footer-link {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
}

body .page-shell footer .footer-inner .footer-link:hover {
    color: var(--text-main);
}

body .page-shell footer .footer-inner .footer-country-select {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    background: #ffffff;
}

body .page-shell footer .footer-inner .footer-country-select .flag-dot {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    background: linear-gradient(90deg, #009246 0 33%, #ffffff 33% 66%, #ce2b37 66% 100%);
}

body .page-shell footer .footer-inner .footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

body .page-shell footer .footer-inner .footer-social .social-circle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #ffffff;
    transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

body .page-shell footer .footer-inner .footer-social .social-circle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f9fafb;
}

body .page-shell footer .footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 0.9rem 0;
    font-size: 0.78rem;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

body .page-shell footer .footer-bottom a {
    color: var(--text-soft);
}

body .page-shell footer .footer-bottom a:hover {
    color: var(--text-main);
}

body .floating-wa-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    text-decoration: none;
    
    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        background 140ms ease;
}

body .floating-wa-btn i {
    font-size: 1.4rem;
    line-height: 1;
}

body .floating-wa-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

body .page-shell .mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    body .page-shell .container {
        padding: 10px 1.1rem;
    }

    body .page-shell header .header-main {
        height: auto;
        padding: 0.9rem 10px;
        flex-wrap: wrap;
    }

    body .page-shell header .header-main .header-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0.3rem 0 0;
    }

    body .page-shell main .main-layout {
        padding: 10px 0px;
        flex-direction: column;
        gap: 10px;
    }

    body .page-shell main .main-layout .sidebar .sidebar-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        border-radius: 999px;
        border: 1px solid var(--border-subtle);
        padding: 0.35rem 0.8rem;
        background: #ffffff;
        font-size: 0.78rem;
        color: var(--text-muted);
        cursor: pointer;
        transition: background 140ms ease, border-color 140ms ease;
    }

    body .page-shell main .main-layout .sidebar .sidebar-toggle-btn:hover {
        background: var(--bg-muted);
        border-color: var(--primary);
    }

    body .page-shell main .main-layout .sidebar .sidebar-toggle-btn i {
        font-size: 0.85rem;
    }

    /************** CONTENT **************/

    body .page-shell main .main-layout .content .product-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    body .page-shell main .main-layout .content .product-details-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body .page-shell main .main-layout .content .product-gallery-main .product-main-image img {
        height: 320px;
    }

    body .page-shell main .main-layout .content .product-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    body .page-shell main .main-layout .content .product-details-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body .page-shell main .main-layout .content .product-gallery-main .product-main-image img {
        height: 320px;
    }

    body .page-shell main .main-layout .sidebar {
        width: 100%;
    }

    body .page-shell main .main-layout .sidebar .sidebar-card {
        display: none;
    }

    body .page-shell main .main-layout .sidebar .sidebar-card.is-open {
        display: block;
        margin-top: 0.75rem;
    }

    body .page-shell header .header-main .header-actions .header-link {
        display: none;
    }

    body .page-shell header .nav-tabs .nav-tabs-inner {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    body .page-shell .container {
        padding: 10px 1rem;
    }

    body .page-shell .top-bar .top-bar-inner {
        height: auto;
        padding: 0.35rem 0.4rem;
        flex-wrap: wrap;
    }

    body .page-shell header .header-main {
        padding: 0.4rem 10px;
        gap: 0.75rem;
        align-items: center;
    }

    body .page-shell header .header-main .logo-area img {
        height: 32px;
    }

    body .page-shell header .header-main .header-actions {
        gap: 0.55rem;
        margin-left: auto;
    }

    body .page-shell header .header-main .header-actions .icon-btn {
        width: 32px;
        height: 32px;
    }

    body .page-shell .mobile-only {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body .page-shell header .nav-tabs .nav-tabs-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body .page-shell header .nav-tabs .nav-tabs-inner::-webkit-scrollbar {
        display: none;
    }

    /************** CONTENT **************/
    
    body .page-shell main .main-layout .content .breadcrumb {
        margin-bottom: 0.8rem;
    }

    body .page-shell main .main-layout .content .product-layout {
        gap: 1.3rem;
    }

    body .page-shell main .main-layout .content .product-gallery-main .product-main-image img {
        height: 260px;
        padding: 1.1rem 1.2rem;
    }

    body .page-shell main .main-layout .content .product-info .product-title-main {
        font-size: 1.15rem;
    }

    body .page-shell footer .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.3rem;
    }
}

@media (max-width: 640px) {
    body .page-shell .container {
        padding: 10px 0.9rem;
    }

    body .page-shell header .header-main {
        flex-wrap: wrap;
        align-items: center;
    }

    body .page-shell header .header-main .logo-area {
        flex: 1 1 auto;
    }

    body .page-shell header .header-main .header-actions {
        width: auto;
        margin-left: 0;
    }

    body .page-shell header .header-main .header-search {
        order: 3;
        margin-top: 0.4rem;
    }

    /************** CONTENT **************/
    
    body .page-shell main .main-layout .content .product-info .product-cta {
        flex-direction: column;
        align-items: stretch;
    }

    body .page-shell main .main-layout .content .product-info .product-cta .product-btn-primary,
    body .page-shell main .main-layout .content .product-info .product-cta .product-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    body .page-shell main .main-layout .content .product-details-grid {
        margin-bottom: 2rem;
    }

    body .page-shell footer .footer-inner {
        grid-template-columns: 1fr;
    }

    body .page-shell footer .footer-bottom {
        flex-wrap: wrap;
        text-align: center;
    }
    body .page-shell .floating-wa-btn {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
    }

    body .page-shell .floating-wa-btn i {
        font-size: 1.25rem;
    }
}

@media (max-width: 380px) {
    body .page-shell .container {
        padding: 10px 0.75rem;
    }

    body .page-shell .top-bar {
        font-size: 0.72rem;
    }

    body .page-shell header .header-main .header-search .search-wrapper .search-input {
        font-size: 0.82rem;
        padding: 0.5rem 2.3rem 0.5rem 0.8rem;
    }
    
    /************** CONTENT **************/
    body .page-shell main .main-layout .content .products-grid .product-card {
        padding: 0.8rem;
    }

    body .page-shell main .main-layout .content .products-grid .product-card .product-title {
        font-size: 0.9rem;
    }

    body .page-shell main .main-layout .content .products-grid .product-card .product-meta {
        font-size: 0.78rem;
    }

    body .page-shell main .main-layout .content .product-gallery-main .product-main-image img {
        height: 220px;
    }

    body .page-shell main .main-layout .content .products-grid .product-card .product-footer .btn-primary,
    body .page-shell main .main-layout .content .products-grid .product-card .product-footer .btn-ghost {
        font-size: 13px;
        padding: 0.4rem 0.7rem;
    }
}
