/**
 * EcommPaaS Porto Theme — Core Stylesheet
 *
 * Porto-quality responsive Magento 2 theme.
 * CSS custom properties for dynamic theming via admin panel.
 *
 * Class prefix: pt- (porto theme)
 * Breakpoints: 480 / 768 / 992 / 1200
 */

/* ===================================================================
   1. CSS Variables & Design Tokens
   =================================================================== */

:root {
    /* Primary palette */
    --pt-primary: #08c;
    --pt-primary-dark: #0073aa;
    --pt-primary-light: #39f;
    --pt-secondary: #ff5b5b;
    --pt-secondary-dark: #e04848;

    /* Neutrals */
    --pt-text: #777777;
    --pt-text-dark: #333333;
    --pt-text-light: #999999;
    --pt-heading: #313131;
    --pt-bg: #ffffff;
    --pt-bg-light: #f4f4f4;
    --pt-bg-dark: #222529;
    --pt-border: #e7e7e7;
    --pt-border-light: #eeeeee;

    /* Status colors */
    --pt-success: #a8c513;
    --pt-danger: #ff5b5b;
    --pt-warning: #ffc107;
    --pt-info: #08c;
    --pt-hot: #ff6600;

    /* Shadows */
    --pt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --pt-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    --pt-shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.12);

    /* Borders & Radius */
    --pt-radius: 0px;
    --pt-radius-sm: 2px;
    --pt-transition: 0.3s ease;

    /* Typography */
    --pt-font: 'Open Sans', sans-serif;
    --pt-font-heading: 'Poppins', 'Open Sans', sans-serif;
    --pt-font-size: 14px;
    --pt-line-height: 1.8;

    /* Layout */
    --pt-container: 1200px;
    --pt-container-wide: 1600px;
    --pt-gutter: 20px;
    --pt-sidebar-width: 280px;

    /* Header heights */
    --pt-topbar-height: 36px;
    --pt-header-height: 80px;
    --pt-nav-height: 45px;
}

/* ===================================================================
   2. Reset Overrides (Magento/blank defaults)
   =================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--pt-font);
    font-size: var(--pt-font-size);
    color: var(--pt-text);
    line-height: var(--pt-line-height);
    background: var(--pt-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

a {
    color: var(--pt-primary);
    text-decoration: none;
    transition: color var(--pt-transition);
}

a:hover,
a:focus {
    color: var(--pt-primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Restore list styles for CMS/WYSIWYG content areas */
.pt-content ul { list-style: disc; padding-left: 20px; margin-bottom: 15px; }
.pt-content ol { list-style: decimal; padding-left: 20px; margin-bottom: 15px; }

p {
    margin-top: 0;
    margin-bottom: 15px;
}

button,
input,
select,
textarea {
    font-family: var(--pt-font);
    font-size: var(--pt-font-size);
}

/* ===================================================================
   3. Typography Scale
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pt-font-heading);
    color: var(--pt-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 15px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    font-weight: 600;
}

h5 {
    font-size: 16px;
    font-weight: 600;
}

h6 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-text-lg {
    font-size: 18px;
}

.pt-text-sm {
    font-size: 12px;
}

.pt-text-xs {
    font-size: 11px;
}

.pt-text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-text-bold {
    font-weight: 700;
}

.pt-text-semibold {
    font-weight: 600;
}

.pt-text-light {
    font-weight: 300;
}

/* ===================================================================
   4. Grid System — 12 columns
   =================================================================== */

.pt-container {
    width: 100%;
    max-width: var(--pt-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pt-gutter);
    padding-right: var(--pt-gutter);
}

.pt-container--wide {
    max-width: var(--pt-container-wide);
}

.pt-container--fluid {
    max-width: none;
}

.pt-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--pt-gutter) / -2);
    margin-right: calc(var(--pt-gutter) / -2);
}

.pt-row--no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.pt-row--no-gutter > [class*="pt-col"] {
    padding-left: 0;
    padding-right: 0;
}

.pt-row--center {
    justify-content: center;
}

.pt-row--between {
    justify-content: space-between;
}

.pt-row--middle {
    align-items: center;
}

[class*="pt-col"] {
    padding-left: calc(var(--pt-gutter) / 2);
    padding-right: calc(var(--pt-gutter) / 2);
    width: 100%;
    flex-shrink: 0;
    max-width: 100%;
}

.pt-col-1 { width: 8.333333%; }
.pt-col-2 { width: 16.666667%; }
.pt-col-3 { width: 25%; }
.pt-col-4 { width: 33.333333%; }
.pt-col-5 { width: 41.666667%; }
.pt-col-6 { width: 50%; }
.pt-col-7 { width: 58.333333%; }
.pt-col-8 { width: 66.666667%; }
.pt-col-9 { width: 75%; }
.pt-col-10 { width: 83.333333%; }
.pt-col-11 { width: 91.666667%; }
.pt-col-12 { width: 100%; }

/* SM breakpoint (>= 480px) */
@media (min-width: 480px) {
    .pt-col-sm-1 { width: 8.333333%; }
    .pt-col-sm-2 { width: 16.666667%; }
    .pt-col-sm-3 { width: 25%; }
    .pt-col-sm-4 { width: 33.333333%; }
    .pt-col-sm-5 { width: 41.666667%; }
    .pt-col-sm-6 { width: 50%; }
    .pt-col-sm-7 { width: 58.333333%; }
    .pt-col-sm-8 { width: 66.666667%; }
    .pt-col-sm-9 { width: 75%; }
    .pt-col-sm-10 { width: 83.333333%; }
    .pt-col-sm-11 { width: 91.666667%; }
    .pt-col-sm-12 { width: 100%; }
}

/* MD breakpoint (>= 768px) */
@media (min-width: 768px) {
    .pt-col-md-1 { width: 8.333333%; }
    .pt-col-md-2 { width: 16.666667%; }
    .pt-col-md-3 { width: 25%; }
    .pt-col-md-4 { width: 33.333333%; }
    .pt-col-md-5 { width: 41.666667%; }
    .pt-col-md-6 { width: 50%; }
    .pt-col-md-7 { width: 58.333333%; }
    .pt-col-md-8 { width: 66.666667%; }
    .pt-col-md-9 { width: 75%; }
    .pt-col-md-10 { width: 83.333333%; }
    .pt-col-md-11 { width: 91.666667%; }
    .pt-col-md-12 { width: 100%; }
}

/* LG breakpoint (>= 992px) */
@media (min-width: 992px) {
    .pt-col-lg-1 { width: 8.333333%; }
    .pt-col-lg-2 { width: 16.666667%; }
    .pt-col-lg-3 { width: 25%; }
    .pt-col-lg-4 { width: 33.333333%; }
    .pt-col-lg-5 { width: 41.666667%; }
    .pt-col-lg-6 { width: 50%; }
    .pt-col-lg-7 { width: 58.333333%; }
    .pt-col-lg-8 { width: 66.666667%; }
    .pt-col-lg-9 { width: 75%; }
    .pt-col-lg-10 { width: 83.333333%; }
    .pt-col-lg-11 { width: 91.666667%; }
    .pt-col-lg-12 { width: 100%; }
}

/* XL breakpoint (>= 1200px) */
@media (min-width: 1200px) {
    .pt-col-xl-1 { width: 8.333333%; }
    .pt-col-xl-2 { width: 16.666667%; }
    .pt-col-xl-3 { width: 25%; }
    .pt-col-xl-4 { width: 33.333333%; }
    .pt-col-xl-5 { width: 41.666667%; }
    .pt-col-xl-6 { width: 50%; }
    .pt-col-xl-7 { width: 58.333333%; }
    .pt-col-xl-8 { width: 66.666667%; }
    .pt-col-xl-9 { width: 75%; }
    .pt-col-xl-10 { width: 83.333333%; }
    .pt-col-xl-11 { width: 91.666667%; }
    .pt-col-xl-12 { width: 100%; }
}

/* ===================================================================
   5. Buttons
   =================================================================== */

.pt-btn {
    display: inline-block;
    font-family: var(--pt-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--pt-radius);
    padding: 12px 24px;
    transition: color var(--pt-transition),
                background-color var(--pt-transition),
                border-color var(--pt-transition),
                box-shadow var(--pt-transition),
                opacity var(--pt-transition);
    white-space: nowrap;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pt-btn:hover {
    text-decoration: none;
}

.pt-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.25);
}

/* Primary */
.pt-btn--primary {
    background-color: var(--pt-primary);
    color: #ffffff;
    border-color: var(--pt-primary);
}

.pt-btn--primary:hover {
    background-color: var(--pt-primary-dark);
    border-color: var(--pt-primary-dark);
    color: #ffffff;
}

/* Secondary */
.pt-btn--secondary {
    background-color: var(--pt-secondary);
    color: #ffffff;
    border-color: var(--pt-secondary);
}

.pt-btn--secondary:hover {
    background-color: var(--pt-secondary-dark);
    border-color: var(--pt-secondary-dark);
    color: #ffffff;
}

/* Outline */
.pt-btn--outline {
    background-color: transparent;
    color: var(--pt-primary);
    border-color: var(--pt-primary);
}

.pt-btn--outline:hover {
    background-color: var(--pt-primary);
    color: #ffffff;
}

/* Dark */
.pt-btn--dark {
    background-color: var(--pt-bg-dark);
    color: #ffffff;
    border-color: var(--pt-bg-dark);
}

.pt-btn--dark:hover {
    background-color: var(--pt-heading);
    border-color: var(--pt-heading);
    color: #ffffff;
}

/* White */
.pt-btn--white {
    background-color: #ffffff;
    color: var(--pt-text-dark);
    border-color: #ffffff;
}

.pt-btn--white:hover {
    background-color: var(--pt-primary);
    border-color: var(--pt-primary);
    color: #ffffff;
}

/* Sizes */
.pt-btn--sm {
    font-size: 12px;
    padding: 8px 16px;
}

.pt-btn--lg {
    font-size: 16px;
    padding: 16px 32px;
}

.pt-btn--xl {
    font-size: 18px;
    padding: 18px 40px;
}

/* Full width */
.pt-btn--block {
    display: block;
    width: 100%;
}

/* Disabled state */
.pt-btn:disabled,
.pt-btn--disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* Icon inside button */
.pt-btn__icon {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.pt-btn__icon--right {
    margin-right: 0;
    margin-left: 8px;
}

/* ===================================================================
   6. Utility Classes
   =================================================================== */

/* Text alignment */
.pt-text-center { text-align: center; }
.pt-text-left { text-align: left; }
.pt-text-right { text-align: right; }

/* Text colors */
.pt-text-primary { color: var(--pt-primary); }
.pt-text-secondary { color: var(--pt-secondary); }
.pt-text-dark { color: var(--pt-text-dark); }
.pt-text-muted { color: var(--pt-text-light); }
.pt-text-white { color: #ffffff; }
.pt-text-success { color: var(--pt-success); }
.pt-text-danger { color: var(--pt-danger); }

/* Background colors */
.pt-bg-light { background-color: var(--pt-bg-light); }
.pt-bg-dark { background-color: var(--pt-bg-dark); }
.pt-bg-dark h1, .pt-bg-dark h2, .pt-bg-dark h3,
.pt-bg-dark h4, .pt-bg-dark h5, .pt-bg-dark h6 {
    color: #ffffff;
}
.pt-bg-dark a { color: var(--pt-primary-light); }
.pt-bg-dark a:hover { color: #ffffff; }
.pt-bg-primary { background-color: var(--pt-primary); color: #ffffff; }
.pt-bg-white { background-color: #ffffff; }

/* Margin bottom scale */
.pt-mb-0 { margin-bottom: 0; }
.pt-mb-1 { margin-bottom: 10px; }
.pt-mb-2 { margin-bottom: 20px; }
.pt-mb-3 { margin-bottom: 30px; }
.pt-mb-4 { margin-bottom: 40px; }
.pt-mb-5 { margin-bottom: 60px; }

/* Margin top scale */
.pt-mt-0 { margin-top: 0; }
.pt-mt-1 { margin-top: 10px; }
.pt-mt-2 { margin-top: 20px; }
.pt-mt-3 { margin-top: 30px; }
.pt-mt-4 { margin-top: 40px; }
.pt-mt-5 { margin-top: 60px; }

/* Padding scale */
.pt-p-0 { padding: 0; }
.pt-p-1 { padding: 10px; }
.pt-p-2 { padding: 20px; }
.pt-p-3 { padding: 30px; }
.pt-p-4 { padding: 40px; }
.pt-p-5 { padding: 60px; }

.pt-py-1 { padding-top: 10px; padding-bottom: 10px; }
.pt-py-2 { padding-top: 20px; padding-bottom: 20px; }
.pt-py-3 { padding-top: 30px; padding-bottom: 30px; }
.pt-py-4 { padding-top: 40px; padding-bottom: 40px; }
.pt-py-5 { padding-top: 60px; padding-bottom: 60px; }

/* Display */
.pt-d-none { display: none; }
.pt-d-block { display: block; }
.pt-d-flex { display: flex; }
.pt-d-inline { display: inline; }
.pt-d-inline-block { display: inline-block; }

/* Flex utilities */
.pt-flex-center { display: flex; align-items: center; justify-content: center; }
.pt-flex-between { display: flex; align-items: center; justify-content: space-between; }
.pt-flex-wrap { flex-wrap: wrap; }
.pt-flex-1 { flex: 1; }
.pt-align-center { align-items: center; }
.pt-justify-center { justify-content: center; }

/* Width */
.pt-w-100 { width: 100%; }
.pt-w-auto { width: auto; }

/* Overflow */
.pt-overflow-hidden { overflow: hidden; }

/* Position */
.pt-relative { position: relative; }
.pt-absolute { position: absolute; }

/* Border */
.pt-border { border: 1px solid var(--pt-border); }
.pt-border-top { border-top: 1px solid var(--pt-border); }
.pt-border-bottom { border-bottom: 1px solid var(--pt-border); }

/* Shadow */
.pt-shadow { box-shadow: var(--pt-shadow); }
.pt-shadow-sm { box-shadow: var(--pt-shadow-sm); }
.pt-shadow-lg { box-shadow: var(--pt-shadow-lg); }

/* Screen-reader only (visually hidden, accessible to AT) */
.pt-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive visibility — defaults */
.pt-show-mobile { display: none; }
.pt-show-desktop { display: none; }

@media (max-width: 479px) {
    .pt-hidden-xs { display: none; }
}

@media (min-width: 480px) and (max-width: 767px) {
    .pt-hidden-sm { display: none; }
}

@media (max-width: 767px) {
    .pt-hidden-mobile { display: none; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pt-hidden-md { display: none; }
}

@media (max-width: 991px) {
    .pt-hidden-tablet { display: none; }
    .pt-show-mobile { display: block; }
    .pt-hidden-desktop { display: none; }
}

@media (min-width: 992px) {
    .pt-hidden-lg { display: none; }
    .pt-show-desktop { display: block; }
}

/* ===================================================================
   7. Section Spacing & Titles
   =================================================================== */

.pt-section {
    padding: 40px 0;
}

.pt-section--sm {
    padding: 20px 0;
}

.pt-section--lg {
    padding: 60px 0;
}

.pt-section--xl {
    padding: 80px 0;
}

.pt-section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h2.pt-section-title,
.pt-section-title h2 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.16px;
    color: var(--pt-heading);
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 22px;
}

.pt-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--pt-primary);
}

.pt-section-title--left {
    text-align: left;
}

.pt-section-title--left h2::after {
    left: 0;
    transform: none;
}

.pt-section-title--border h2 {
    width: 100%;
    border-bottom: 1px solid var(--pt-border);
}

.pt-section-title--border h2::after {
    width: 60px;
    height: 2px;
}

.pt-section-title p {
    color: var(--pt-text-light);
    font-size: 15px;
    margin-top: 10px;
}

/* ===================================================================
   8. Header — Type 1 (Default Porto Header)
   =================================================================== */

/* --- Row 1: Top Bar --- */
.pt-topbar {
    background-color: #0088cc;
    color: #ffffff;
    font-size: 12px;
    line-height: var(--pt-topbar-height);
    height: var(--pt-topbar-height);
}

.pt-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.pt-topbar__left {
    display: flex;
    align-items: center;
}

.pt-topbar__welcome {
    color: #cccccc;
}

.pt-topbar__right {
    display: flex;
    align-items: center;
}

.pt-topbar__links {
    display: flex;
    align-items: center;
    gap: 0;
}

.pt-topbar__link-item {
    padding: 0 12px;
}

.pt-topbar__link-item--divider {
    border-left: 1px solid #444444;
}

.pt-topbar__link-item a {
    color: #cccccc;
    font-size: 12px;
    transition: color var(--pt-transition);
}

.pt-topbar__link-item a:hover {
    color: #ffffff;
}

.pt-topbar__switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #cccccc;
    font-size: 12px;
    cursor: pointer;
    transition: color var(--pt-transition);
}

.pt-topbar__switcher:hover {
    color: #ffffff;
}

.pt-topbar__switcher-arrow {
    flex-shrink: 0;
    opacity: 0.7;
}

/* --- Row 2: Main Header --- */
.pt-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e1e1e1;
    min-height: var(--pt-header-height);
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pt-header__logo {
    flex-shrink: 0;
}

.pt-header__logo a {
    display: block;
    line-height: 0;
}

.pt-header__logo img {
    height: 44px;
    width: 111px;
    max-width: 111px;
}

.pt-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.pt-header__hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--pt-text-dark);
    border-radius: 1px;
    transition: background-color var(--pt-transition), transform var(--pt-transition), opacity var(--pt-transition);
}

.pt-header__search {
    flex: 1;
    max-width: 572px;
    margin: 0 auto;
}

.pt-header__search-form {
    width: 100%;
}

.pt-header__search-inner {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 25px;
    overflow: hidden;
    background: #f7f7f7;
    height: 40px;
    position: relative;
}

.pt-header__search-cat {
    width: 100px;
    height: 40px;
    border: none;
    border-left: 1px solid #e1e1e1;
    padding: 0 25px 0 15px;
    font-size: 13px;
    color: #8d8d8d;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
}

.pt-header__search-input {
    flex: 1;
    height: 40px;
    border: none;
    padding: 8px 12px 8px 20px;
    font-size: 13.6px;
    font-family: 'Poppins', sans-serif;
    color: #8d8d8d;
    background: transparent;
    outline: none;
    min-width: 200px;
}

.pt-header__search-input:focus-visible {
    box-shadow: none;
}

.pt-header__search-input::placeholder {
    color: #8d8d8d;
}

.pt-header__search-cat:focus-visible {
    box-shadow: none;
}

.pt-header__search-btn {
    width: 46px;
    height: 40px;
    border: none;
    background-color: transparent;
    color: #606669;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.pt-header__search-btn:hover {
    color: var(--pt-primary);
}

.pt-header__tools {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.pt-header__tool-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pt-text-dark);
    text-decoration: none;
    position: relative;
    transition: color var(--pt-transition);
}

.pt-header__tool-item:hover {
    color: var(--pt-primary);
}

.pt-header__tool-icon {
    flex-shrink: 0;
}

.pt-header__tool-text {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pt-header__tool-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    opacity: 0.6;
}

.pt-header__tool-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--pt-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- PX-005: Wishlist heart icon pink/red + icon sizing --- */
.pt-header__tool-item[title="Wishlist"] .pt-header__tool-icon,
a[title="Wishlist"] .pt-header__tool-icon {
    color: #e84c4c;
    stroke: #e84c4c;
}

.pt-header__tool-icon {
    width: 22px;
    height: 22px;
}

/* --- PX-006 / R3-004: Hide nav bar on homepage (sidebar Browse Categories replaces it) --- */
.pt-homepage .pt-megamenu,
.pt-homepage .pt-nav,
body.pt-homepage nav.pt-megamenu,
body.cms-index-index .pt-megamenu,
body.cms-index-index nav[aria-label="Main Navigation"] {
    display: none !important;
}

/* --- PX-002: Topbar social icons --- */
.pt-topbar__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pt-topbar__social-icon {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    transition: color var(--pt-transition);
}

.pt-topbar__social-icon:hover {
    color: #fff;
}

.pt-topbar__switcher strong {
    margin-right: 4px;
}

/* --- Row 3: Navigation Bar --- */
.pt-nav {
    background-color: var(--pt-primary);
    height: var(--pt-nav-height);
}

.pt-nav__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.pt-nav__categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--pt-transition);
}

.pt-nav__categories-btn:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

.pt-nav__menu {
    flex: 1;
}

.pt-nav__list {
    display: flex;
    align-items: center;
    height: var(--pt-nav-height);
}

.pt-nav__item {
    height: 100%;
}

.pt-nav__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color var(--pt-transition);
}

.pt-nav__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

button.pt-nav__link--dropdown {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.pt-nav__item--active .pt-nav__link {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===================================================================
   8b. Mega Menu (Desktop + Mobile)
   =================================================================== */

/* --- Desktop Dropdown Base --- */
.pt-nav__item--has-dropdown {
    position: relative;
}

.pt-megamenu__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color: #ffffff;
    border: 1px solid var(--pt-border);
    border-top: 3px solid var(--pt-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
    pointer-events: none;
}

.pt-megamenu__dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- Full-width type --- */
.pt-megamenu__dropdown--fullwidth {
    border-radius: 0;
}

/* --- Static-width type --- */
.pt-megamenu__dropdown--static {
    border-radius: var(--pt-radius);
}

/* --- Classic type --- */
.pt-megamenu__dropdown--classic {
    min-width: 220px;
    padding: 10px 0;
    border-radius: var(--pt-radius);
}

.pt-megamenu__dropdown--classic ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-megamenu__dropdown--classic li a {
    display: block;
    padding: 8px 20px;
    color: var(--pt-text);
    font-size: 13px;
    transition: color var(--pt-transition), background-color var(--pt-transition);
}

.pt-megamenu__dropdown--classic li a:hover {
    color: var(--pt-primary);
    background-color: var(--pt-bg-light);
}

/* --- Columns layout --- */
.pt-megamenu__columns {
    display: grid;
    grid-template-columns: repeat(var(--pt-cols, 4), 1fr);
    gap: 20px;
}

.pt-megamenu__column-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pt-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pt-border);
}

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

.pt-megamenu__links li {
    margin-bottom: 6px;
}

.pt-megamenu__links a {
    color: var(--pt-text);
    font-size: 13px;
    line-height: 1.6;
    transition: color var(--pt-transition);
}

.pt-megamenu__links a:hover {
    color: var(--pt-primary);
}

/* --- Top / Side blocks --- */
.pt-megamenu__top-block {
    margin-bottom: 15px;
}

.pt-megamenu__top-block:empty {
    display: none;
}

.pt-megamenu__side-block {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--pt-border);
}

.pt-megamenu__side-block:empty {
    display: none;
}

/* --- Category Labels (New, Hot, Sale) --- */
.pt-megamenu__label {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    color: #ffffff;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.2;
}

.pt-megamenu__label--new {
    background-color: var(--pt-success);
}

.pt-megamenu__label--hot {
    background-color: var(--pt-hot);
}

.pt-megamenu__label--sale {
    background-color: var(--pt-secondary);
}

/* --- Mobile Off-Canvas Panel --- */
.pt-megamenu--mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    z-index: 1000;
    background-color: #ffffff;
    transform: translateX(-100%);
    transition: transform 300ms ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pt-megamenu--mobile.is-open {
    transform: translateX(0);
}

.pt-megamenu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms;
}

.pt-megamenu__overlay.is-open {
    opacity: 1;
    visibility: visible;
}

body.pt-no-scroll {
    overflow: hidden;
}

/* --- Mobile Header --- */
.pt-megamenu__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--pt-border);
    flex-shrink: 0;
}

.pt-megamenu__mobile-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pt-text-dark);
    text-transform: uppercase;
}

.pt-megamenu__mobile-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--pt-text);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.pt-megamenu__mobile-close:hover {
    color: var(--pt-secondary);
}

/* --- Mobile Body --- */
.pt-megamenu__mobile-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

/* --- Mobile Menu Items --- */
.pt-megamenu__mobile-item {
    border-bottom: 1px solid var(--pt-border-light, #f0f0f0);
}

.pt-megamenu__mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pt-text-dark);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.pt-megamenu__mobile-link:hover {
    color: var(--pt-primary);
    background-color: var(--pt-bg-light);
}

.pt-megamenu__mobile-arrow {
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.pt-megamenu__mobile-item.is-expanded .pt-megamenu__mobile-arrow {
    transform: rotate(180deg);
}

/* --- Mobile Submenu --- */
.pt-megamenu__mobile-sub {
    display: none;
    padding: 0 0 8px;
    background-color: var(--pt-bg-light);
}

.pt-megamenu__mobile-sub-title {
    padding: 10px 20px 4px 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pt-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pt-megamenu__mobile-sub-link {
    display: block;
    padding: 8px 20px 8px 30px;
    font-size: 13px;
    color: var(--pt-text);
    text-decoration: none;
}

.pt-megamenu__mobile-sub-link:hover {
    color: var(--pt-primary);
}

/* --- Mega Menu Focus Styles --- */
.pt-megamenu__links a:focus-visible,
.pt-megamenu__dropdown--classic li a:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: -2px;
}

.pt-megamenu__mobile-link:focus-visible,
.pt-megamenu__mobile-sub-link:focus-visible,
.pt-megamenu__mobile-close:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: -2px;
}

/* --- Hide desktop dropdown on mobile --- */
@media (max-width: 991px) {
    .pt-megamenu__dropdown {
        display: none;
    }
}

/* --- Hide mobile panel on desktop --- */
@media (min-width: 992px) {
    .pt-megamenu--mobile,
    .pt-megamenu__overlay {
        display: none;
    }
}

/* --- Header Responsive --- */
@media (max-width: 991px) {
    .pt-header__inner {
        justify-content: space-between;
    }

    .pt-header__hamburger {
        display: flex;
    }

    .pt-header__logo img {
        height: 36px;
    }

    .pt-header__tools {
        gap: 12px;
    }

    .pt-header__tool-count {
        top: -6px;
        right: -6px;
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

@media (max-width: 479px) {
    .pt-header {
        padding: 10px 0;
    }

    .pt-header__logo img {
        height: 30px;
    }
}

/* ===================================================================
   8c. Footer (3-section system)
   =================================================================== */

/* --- Footer Top: Newsletter --- */
.pt-footer-top {
    background-color: var(--pt-bg-light);
    padding: 25px 0;
}

.pt-footer-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pt-footer-top__text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pt-text-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.pt-footer-top__icon {
    flex-shrink: 0;
    color: var(--pt-primary);
}

.pt-footer-top__newsletter {
    flex: 1;
    max-width: 500px;
}

.pt-footer-top__newsletter-inner {
    display: flex;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    overflow: hidden;
}

.pt-footer-top__newsletter-input {
    flex: 1;
    height: 44px;
    padding: 0 15px;
    border: none;
    font-size: 14px;
    font-family: var(--pt-font);
    color: var(--pt-text-dark);
    outline: none;
    min-width: 0;
}

.pt-footer-top__newsletter-input::placeholder {
    color: var(--pt-text-light);
}

.pt-footer-top__newsletter-input:focus-visible {
    box-shadow: inset 0 0 0 2px var(--pt-primary);
}

.pt-footer-top__newsletter-btn {
    flex-shrink: 0;
    border-radius: 0;
    height: 44px;
    padding: 0 25px;
}

/* --- Footer Middle: 4-col links --- */
.pt-footer-middle {
    background-color: var(--pt-bg-dark, #222529);
    padding: 50px 0 40px;
}

.pt-footer-middle__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pt-footer-middle__title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-footer-middle__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-footer-middle__links li {
    margin-bottom: 8px;
}

.pt-footer-middle__links a {
    color: #999999;
    font-size: 13px;
    line-height: 1.6;
    transition: color var(--pt-transition);
}

.pt-footer-middle__links a:hover {
    color: var(--pt-primary-light, #39f);
}

.pt-footer-middle__links a:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

.pt-footer-middle__contact p {
    color: #999999;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 6px;
}

.pt-footer-middle__contact a {
    color: var(--pt-primary-light, #39f);
    transition: color var(--pt-transition);
}

.pt-footer-middle__contact a:hover {
    color: #ffffff;
}

.pt-footer-middle__contact a:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

.pt-footer-middle__heading {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-footer-middle__heading-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    background: #e74c3c;
    padding: 8px 18px;
    border-radius: 3px;
}

.pt-footer-middle__logo {
    display: inline-block;
    margin-bottom: 15px;
}

.pt-footer-middle__logo img {
    display: block;
    height: auto;
    filter: brightness(0) invert(1);
}

.pt-footer-middle__about-text {
    color: #999999;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.pt-footer-middle__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.pt-footer-middle__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    transition: background-color var(--pt-transition), color var(--pt-transition);
    text-decoration: none;
}

.pt-footer-middle__social-link:hover {
    background-color: var(--pt-primary);
    color: #ffffff;
}

.pt-footer-middle__social-link--text {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    gap: 5px;
    font-size: 13px;
    color: #999;
}

.pt-footer-middle__social-link--text:hover {
    background: none;
    color: var(--pt-primary-light, #39f);
}

.pt-footer-middle__social-link--text svg {
    flex-shrink: 0;
}

/* --- Footer Bottom: copyright, payments, social --- */
.pt-footer-bottom {
    background-color: var(--pt-bg-dark, #222529);
    border-top: none;
    padding: 15px 0;
}

.pt-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pt-footer-bottom__copyright {
    color: #777777;
    font-size: 12px;
    white-space: nowrap;
}

.pt-footer-bottom__payments {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pt-footer-bottom__payment-icon {
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity var(--pt-transition);
}

.pt-footer-bottom__payment-icon:hover {
    opacity: 1;
}

.pt-footer-bottom__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pt-footer-bottom__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #999999;
    transition: background-color var(--pt-transition), color var(--pt-transition);
}

.pt-footer-bottom__social-link:hover {
    background-color: var(--pt-primary);
    color: #ffffff;
}

.pt-footer-bottom__social-link:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

/* --- Footer Responsive --- */
@media (max-width: 991px) {
    .pt-footer-top__inner {
        flex-direction: column;
        text-align: center;
    }

    .pt-footer-top__newsletter {
        max-width: 100%;
        width: 100%;
    }

    .pt-footer-middle__row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 479px) {
    .pt-footer-middle__row {
        grid-template-columns: 1fr;
    }

    .pt-footer-top__newsletter-inner {
        flex-direction: column;
    }

    .pt-footer-top__newsletter-btn {
        border-radius: 0 0 var(--pt-radius-sm) var(--pt-radius-sm);
    }
}

/* ===================================================================
   9. Badge Styles
   =================================================================== */

.pt-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 5px 10px;
    border-radius: var(--pt-radius-sm);
    color: #ffffff;
    z-index: 2;
}

.pt-badge--new {
    background-color: var(--pt-success);
}

.pt-badge--sale {
    background-color: var(--pt-secondary);
}

.pt-badge--hot {
    background-color: var(--pt-hot);
}

.pt-badge--top {
    position: absolute;
    left: 10px;
    top: 10px;
}

.pt-badge--top-right {
    position: absolute;
    right: 10px;
    top: 10px;
    left: auto;
}

.pt-badge--percent {
    font-size: 13px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    padding: 6px 8px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================================================
   9b. Product Card Component
   =================================================================== */

.pt-product-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
    transition: box-shadow var(--pt-transition);
}

.pt-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* --- Image Container --- */
.pt-product-card__image {
    position: relative;
    overflow: hidden;
}

.pt-product-card__image a {
    display: block;
}

.pt-product-card__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 300ms ease;
}

.pt-product-card:hover .pt-product-card__image img:not(.pt-product-card__img-hover) {
    transform: scale(1.05);
}

/* --- Badges --- */
.pt-product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* --- Hover Action Buttons --- */
.pt-product-card__actions {
    position: absolute;
    top: 10px;
    right: -50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: right 300ms ease;
}

.pt-product-card:hover .pt-product-card__actions,
.pt-product-card:focus-within .pt-product-card__actions {
    right: 10px;
}

.pt-product-card__action {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--pt-text);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background-color var(--pt-transition), color var(--pt-transition);
    padding: 0;
}

.pt-product-card__action:hover {
    background-color: var(--pt-primary);
    color: #ffffff;
}

.pt-product-card__action:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

/* --- Product Info --- */
.pt-product-card__info {
    padding: 15px;
}

.pt-product-card__category {
    font-size: 11px;
    color: var(--pt-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.pt-product-card__name {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0 0 7px;
    letter-spacing: -0.15px;
}

.pt-product-card__name a {
    color: var(--pt-text-dark);
    transition: color var(--pt-transition);
}

.pt-product-card__name a:hover {
    color: var(--pt-primary);
}

/* --- Star Rating --- */
.pt-product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.pt-product-card__stars {
    position: relative;
    width: 80px;
    height: 14px;
    background: linear-gradient(90deg, var(--pt-border) 0%, var(--pt-border) 100%);
    overflow: hidden;
    font-size: 0;
}

.pt-product-card__stars::before {
    content: '\2605\2605\2605\2605\2605';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    line-height: 1;
    color: var(--pt-border);
    letter-spacing: 2px;
}

.pt-product-card__stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
}

.pt-product-card__stars-filled::before {
    content: '\2605\2605\2605\2605\2605';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    line-height: 1;
    color: #ffa500;
    letter-spacing: 2px;
    white-space: nowrap;
}

.pt-product-card__review-count {
    font-size: 12px;
    color: var(--pt-text-light);
}

/* --- Price --- */
.pt-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pt-product-card__price-old {
    font-size: 13px;
    color: var(--pt-text-light);
    text-decoration: line-through;
}

.pt-product-card__price-now {
    font-size: 18px;
    font-weight: 700;
    color: var(--pt-text-dark);
}

/* Special price highlight */
.pt-product-card__price-old + .pt-product-card__price-now {
    color: var(--pt-secondary);
}

/* --- Add to Cart --- */
.pt-product-card__cart {
    width: 100%;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.pt-product-card:hover .pt-product-card__cart,
.pt-product-card:focus-within .pt-product-card__cart {
    opacity: 1;
    transform: translateY(0);
}

/* --- Product Card Responsive --- */
@media (max-width: 991px) {
    .pt-product-card__actions {
        right: 10px;
    }

    .pt-product-card__cart {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 479px) {
    .pt-product-card__info {
        padding: 10px;
    }

    .pt-product-card__name {
        font-size: 13px;
    }

    .pt-product-card__price-now {
        font-size: 16px;
    }

    .pt-product-card__action {
        width: 32px;
        height: 32px;
    }
}

/* ===================================================================
   9c. Swiper Slider Overrides (Porto-styled)
   =================================================================== */

/* --- Navigation Arrows --- */
.swiper-button-prev,
.swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(34, 37, 41, 0.75);
    color: #ffffff;
    transition: background-color var(--pt-transition), opacity var(--pt-transition);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--pt-primary);
}

.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* --- Pagination Dots --- */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--pt-border);
    opacity: 1;
    transition: background-color var(--pt-transition), transform var(--pt-transition);
}

.swiper-pagination-bullet-active {
    background-color: var(--pt-primary);
    transform: scale(1.2);
}

.swiper-pagination-bullet:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

/* --- Hero Slider Variant --- */
.pt-hero-slider .swiper-button-prev,
.pt-hero-slider .swiper-button-next {
    width: 48px;
    height: 48px;
    background-color: rgba(34, 37, 41, 0.6);
}

.pt-hero-slider .swiper-button-prev::after,
.pt-hero-slider .swiper-button-next::after {
    font-size: 18px;
}

.pt-hero-slider .swiper-button-prev:hover,
.pt-hero-slider .swiper-button-next:hover {
    background-color: var(--pt-primary);
}

.pt-hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

.pt-hero-slider .swiper-slide {
    overflow: hidden;
}

/* Hero slide content overlay */
.pt-hero-slide__content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 40px 60px;
    max-width: 600px;
    z-index: 2;
}

.pt-hero-slide__title {
    font-family: var(--pt-font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--pt-heading);
    line-height: 1.2;
    margin: 0 0 16px;
}

.pt-hero-slide__subtitle {
    font-size: 18px;
    color: var(--pt-text);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* --- Brand Logo Carousel --- */
.pt-brand-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.pt-brand-slider .swiper-slide img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--pt-transition), opacity var(--pt-transition);
}

.pt-brand-slider .swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Reduced motion for Swiper --- */
@media (prefers-reduced-motion: reduce) {
    .swiper-wrapper {
        transition-duration: 0ms !important;
    }

    .swiper-button-prev,
    .swiper-button-next,
    .swiper-pagination-bullet {
        transition: none;
    }

    .pt-brand-slider .swiper-slide img {
        transition: none;
    }
}

/* --- Swiper Responsive --- */
@media (max-width: 767px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px;
    }

    .pt-hero-slider .swiper-button-prev,
    .pt-hero-slider .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .pt-hero-slider .swiper-button-prev::after,
    .pt-hero-slider .swiper-button-next::after {
        font-size: 14px;
    }

    .pt-hero-slide__content {
        padding: 20px 30px;
    }

    .pt-hero-slide__title {
        font-size: 24px;
    }

    .pt-hero-slide__subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 479px) {
    .pt-hero-slide__content {
        padding: 15px 20px;
        max-width: 100%;
    }

    .pt-hero-slide__title {
        font-size: 20px;
    }

    .pt-hero-slide__subtitle {
        font-size: 13px;
    }

    .pt-brand-slider .swiper-slide img {
        max-height: 40px;
    }
}

/* ===================================================================
   9d. Homepage Components (Demo 1)
   =================================================================== */

/* --- Hero Slide --- */
.pt-hero-section {
    margin-bottom: 0;
}

.pt-hero-slide {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background-color: var(--pt-bg-light);
}

.pt-hero-slide__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-hero-slide__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pt-primary);
    margin: 0 0 12px;
}

/* --- Service Features Bar --- */
.pt-services {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.pt-services__item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 10px 0;
}

.pt-services__icon {
    flex-shrink: 0;
    color: var(--pt-primary);
}

.pt-services__title {
    font-family: var(--pt-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--pt-text-dark);
    margin: 0 0 2px;
}

.pt-services__desc {
    font-size: 13px;
    color: var(--pt-text-light);
    margin: 0;
}

/* --- Promotional Banner Grid --- */
.pt-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pt-promo-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--pt-radius);
    text-decoration: none;
}

.pt-promo-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.pt-promo-card:hover img {
    transform: scale(1.05);
}

.pt-promo-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: #ffffff;
}

.pt-promo-card__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    opacity: 0.85;
}

.pt-promo-card__title {
    font-family: var(--pt-font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.pt-promo-card:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

/* --- Tab Listing --- */
.pt-tab-listing__tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--pt-border);
    margin-bottom: 30px;
}

.pt-tab-listing__tab {
    padding: 12px 24px;
    font-family: var(--pt-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--pt-text);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color var(--pt-transition), border-color var(--pt-transition);
}

.pt-tab-listing__tab:hover {
    color: var(--pt-primary);
}

.pt-tab-listing__tab--active,
.pt-tab-listing__tab[aria-selected="true"] {
    color: var(--pt-primary);
    border-bottom-color: var(--pt-primary);
}

.pt-tab-listing__tab:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: -2px;
}

.pt-tab-listing__panel[hidden] {
    display: none;
}

/* --- Wide Banner --- */
.pt-wide-banner__bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.pt-wide-banner__content {
    max-width: 500px;
}

.pt-wide-banner__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pt-primary);
    margin: 0 0 12px;
}

.pt-wide-banner__title {
    font-family: var(--pt-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--pt-heading);
    line-height: 1.2;
    margin: 0 0 24px;
}

/* --- Homepage Responsive --- */
@media (max-width: 991px) {
    .pt-services {
        flex-wrap: wrap;
    }

    .pt-services__item {
        flex: 0 0 calc(50% - 10px);
    }

    .pt-promo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pt-hero-slide {
        min-height: 300px;
    }

    .pt-wide-banner__bg {
        padding: 50px 0;
    }

    .pt-wide-banner__title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .pt-tab-listing__tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pt-tab-listing__tab {
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .pt-services__item {
        flex: 0 0 100%;
    }
}

@media (max-width: 479px) {
    .pt-hero-slide {
        min-height: 220px;
    }

    .pt-wide-banner__bg {
        padding: 30px 0;
    }

    .pt-wide-banner__title {
        font-size: 22px;
    }

    .pt-promo-card__title {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-promo-card img {
        transition: none;
    }

    .pt-tab-listing__tab {
        transition: none;
    }
}

/* ===================================================================
   10. Form Elements (Porto-styled)
   =================================================================== */

.pt-input {
    width: 100%;
    height: 40px;
    padding: 8px 15px;
    font-size: var(--pt-font-size);
    font-family: var(--pt-font);
    color: var(--pt-text-dark);
    background-color: #ffffff;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    transition: border-color var(--pt-transition);
    outline: none;
}

.pt-input:focus {
    border-color: var(--pt-primary);
    box-shadow: none;
}

.pt-input--lg {
    height: 48px;
    padding: 10px 20px;
    font-size: 16px;
}

.pt-select {
    width: 100%;
    height: 40px;
    padding: 8px 35px 8px 15px;
    font-size: var(--pt-font-size);
    font-family: var(--pt-font);
    color: var(--pt-text-dark);
    background-color: #ffffff;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    outline: none;
}

.pt-select:focus {
    border-color: var(--pt-primary);
}

.pt-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 15px;
    font-size: var(--pt-font-size);
    font-family: var(--pt-font);
    color: var(--pt-text-dark);
    background-color: #ffffff;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    resize: vertical;
    outline: none;
}

.pt-textarea:focus {
    border-color: var(--pt-primary);
}

.pt-form-group {
    margin-bottom: 20px;
}

.pt-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--pt-text-dark);
    margin-bottom: 8px;
}

/* Placeholder styles */
.pt-input::placeholder,
.pt-textarea::placeholder {
    color: var(--pt-text-light);
    opacity: 1;
}

/* Disabled form states */
.pt-input:disabled,
.pt-textarea:disabled,
.pt-select:disabled {
    background-color: var(--pt-bg-light);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===================================================================
   11. Transition & Animation Helpers
   =================================================================== */

.pt-fade-in {
    animation: ptFadeIn 0.3s ease;
}

@keyframes ptFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pt-slide-down {
    animation: ptSlideDown 0.3s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .pt-fade-in,
    .pt-slide-down {
        animation: none;
    }

    .pt-megamenu__dropdown,
    .pt-megamenu--mobile,
    .pt-megamenu__overlay,
    .pt-megamenu__mobile-arrow {
        transition: none;
    }
}

/* ===================================================================
   12. Responsive Container Adjustments
   =================================================================== */

@media (max-width: 767px) {
    .pt-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .pt-section {
        padding: 30px 0;
    }

    .pt-section--lg {
        padding: 40px 0;
    }

    .pt-section--xl {
        padding: 50px 0;
    }

    .pt-section-title h2 {
        font-size: 18px;
    }

    h1 { font-size: 22px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
}

@media (max-width: 479px) {
    .pt-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
}

/* ===================================================================
   13. Responsive Polish (PORTO-009)
   Touch targets, overflow prevention, cross-component fixes
   =================================================================== */

/* --- Touch targets: enlarge interactive elements on touch devices --- */
@media (pointer: coarse) {
    .pt-tab-listing__tab {
        min-height: 44px;
        padding: 10px 20px;
    }

    .pt-footer-middle__links a {
        display: block;
        min-height: 44px;
        line-height: 44px;
    }

    .pt-product-card__action {
        width: 44px;
        height: 44px;
    }

    /* Enlarge bullet visual + add padding hit area for touch */
    .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
        position: relative;
    }

    .swiper-pagination-bullet::after {
        content: '';
        position: absolute;
        inset: -15px;
    }

    .pt-nav__link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .pt-topbar__link,
    .pt-header__tool-item {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- Tablet + Mobile: search bar below header --- */
@media (max-width: 991px) {
    .pt-header__search {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 15px;
        background: #ffffff;
        border-top: 1px solid var(--pt-border);
        z-index: 100;
    }
}

/* --- Mobile: simplified header, 2-col grids --- */
@media (max-width: 767px) {
    .pt-header__search-cat {
        display: none;
    }

    .pt-header__phone {
        display: none;
    }

    .pt-footer-top__text {
        font-size: 14px;
        white-space: normal;
    }

    .pt-footer-bottom__social-link {
        width: 36px;
        height: 36px;
    }

    /* Product card grid: 2 columns on phone */
    .products-grid .product-items,
    .widget-product-grid .product-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* --- Small mobile: max readability --- */
@media (max-width: 479px) {
    .pt-header__tools {
        gap: 8px;
    }

    .pt-footer-bottom__social-link {
        width: 32px;
        height: 32px;
    }

    .pt-footer-bottom__copyright {
        font-size: 12px;
    }

    /* Product card grid: 2 columns on small phone */
    .products-grid .product-items,
    .widget-product-grid .product-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Truncate long product names — display must be -webkit-box for clamping */
    .pt-product-card__name {
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }

    .pt-section-title p {
        font-size: 13px;
    }
}

/* --- Very small mobile: single column --- */
@media (max-width: 359px) {
    .products-grid .product-items,
    .widget-product-grid .product-items {
        grid-template-columns: 1fr;
    }
}

/* --- Reduced motion for new animations --- */
@media (prefers-reduced-motion: reduce) {
    .pt-product-card__actions {
        transition: none;
    }
}

/* --- Print styles --- */
@media print {
    .pt-topbar,
    .pt-header,
    .pt-nav,
    .pt-footer-top,
    .pt-footer-middle,
    .pt-footer-bottom,
    .pt-megamenu--mobile,
    .pt-megamenu__overlay,
    .swiper-button-prev,
    .swiper-button-next,
    .swiper-pagination {
        display: none;
    }

    .pt-container {
        max-width: 100%;
        padding: 0;
    }

    .pt-product-card__cart {
        display: none;
    }
}

/* ===================================================================
   14. Category Page (PORTO-010)
   =================================================================== */

/* --- Category Banner --- */
.pt-category-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pt-category-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-category-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.pt-category-banner__title {
    color: #fff;
    font-family: var(--pt-font-heading);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Empty category --- */
.pt-category-empty {
    padding: 60px 20px;
    text-align: center;
}

.pt-category-empty__message {
    font-size: 16px;
    color: var(--pt-text-light);
}

/* --- Product Grid --- */
.pt-category-products {
    margin-bottom: 40px;
}

.pt-product-grid {
    display: grid;
    gap: var(--pt-gutter);
}

/* Column variants: 2–6 columns */
.pt-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.pt-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.pt-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.pt-grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.pt-grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Auto-fill fallback */
.pt-product-grid:not([class*="pt-grid--cols-"]) {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* --- Breadcrumbs (Porto Demo 1 styled) --- */
.pt-category-page .breadcrumbs {
    background: var(--pt-bg-light);
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--pt-text-light);
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-category-page .breadcrumbs .items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.pt-category-page .breadcrumbs .item {
    display: inline-flex;
    align-items: center;
}

.pt-category-page .breadcrumbs a {
    color: var(--pt-text);
    text-decoration: none;
    transition: color var(--pt-transition);
}

.pt-category-page .breadcrumbs a:hover {
    color: var(--pt-primary);
}

.pt-category-page .breadcrumbs .item strong {
    font-weight: 400;
    color: var(--pt-text-light);
}

.pt-category-page .breadcrumbs .item:not(:last-child)::after {
    content: '\203A';
    margin: 0 8px;
    color: var(--pt-text-light);
    font-size: 14px;
}

/* --- Magento toolbar override (remap default classes) --- */
.pt-category-page .toolbar-products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pt-border);
    font-size: 13px;
    color: var(--pt-text);
}

.pt-category-page .toolbar-products:last-child {
    border-bottom: none;
    border-top: 1px solid var(--pt-border);
    margin-top: 20px;
}

.pt-category-page .toolbar-products .toolbar-sorter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pt-category-page .toolbar-products .sorter-label {
    font-weight: 600;
    color: var(--pt-text-dark);
    white-space: nowrap;
}

.pt-category-page .toolbar-products .sorter-options {
    border: 1px solid var(--pt-border);
    padding: 6px 30px 6px 10px;
    font-size: 13px;
    color: var(--pt-text);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
    border-radius: var(--pt-radius-sm);
}

.pt-category-page .toolbar-products .sorter-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
    color: var(--pt-text);
    transition: color var(--pt-transition);
}

.pt-category-page .toolbar-products .sorter-action:hover {
    color: var(--pt-primary);
}

/* View mode icons */
.pt-category-page .toolbar-products .modes {
    display: flex;
    gap: 4px;
}

.pt-category-page .toolbar-products .modes-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    background: #fff;
    color: var(--pt-text-light);
    text-decoration: none;
    transition: color var(--pt-transition), background var(--pt-transition), border-color var(--pt-transition);
}

.pt-category-page .toolbar-products .modes-mode:hover,
.pt-category-page .toolbar-products .modes-mode.active {
    color: #fff;
    background: var(--pt-primary);
    border-color: var(--pt-primary);
}

.pt-category-page .toolbar-products .modes-mode > span {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Grid icon (before pseudo) */
.pt-category-page .toolbar-products .mode-grid::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Crect x='0' y='0' width='4' height='4' rx='0.5'/%3E%3Crect x='6' y='0' width='4' height='4' rx='0.5'/%3E%3Crect x='12' y='0' width='4' height='4' rx='0.5'/%3E%3Crect x='0' y='6' width='4' height='4' rx='0.5'/%3E%3Crect x='6' y='6' width='4' height='4' rx='0.5'/%3E%3Crect x='12' y='6' width='4' height='4' rx='0.5'/%3E%3Crect x='0' y='12' width='4' height='4' rx='0.5'/%3E%3Crect x='6' y='12' width='4' height='4' rx='0.5'/%3E%3Crect x='12' y='12' width='4' height='4' rx='0.5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* List icon (before pseudo) */
.pt-category-page .toolbar-products .mode-list::before {
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3E%3Crect x='0' y='1' width='16' height='2' rx='0.5'/%3E%3Crect x='0' y='7' width='16' height='2' rx='0.5'/%3E%3Crect x='0' y='13' width='16' height='2' rx='0.5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.pt-category-page .toolbar-products .modes-mode:hover::before,
.pt-category-page .toolbar-products .modes-mode.active::before {
    filter: brightness(0) invert(1);
}

/* Limiter */
.pt-category-page .toolbar-products .limiter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.pt-category-page .toolbar-products .limiter-options {
    border: 1px solid var(--pt-border);
    padding: 6px 30px 6px 10px;
    font-size: 13px;
    color: var(--pt-text);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
    border-radius: var(--pt-radius-sm);
}

/* Toolbar amount */
.pt-category-page .toolbar-products .toolbar-amount {
    font-size: 12px;
    color: var(--pt-text-light);
}

/* Pages / pagination */
.pt-category-page .toolbar-products .pages {
    margin-top: 0;
}

.pt-category-page .pages-items {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-category-page .pages-item-next,
.pt-category-page .pages-item-previous,
.pt-category-page .pages-items .item {
    margin: 0;
}

.pt-category-page .pages-items .item a,
.pt-category-page .pages-items .item strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    font-size: 14px;
    font-weight: 400;
    color: var(--pt-text);
    text-decoration: none;
    transition: color var(--pt-transition), background var(--pt-transition), border-color var(--pt-transition);
}

.pt-category-page .pages-items .item a:hover {
    color: #fff;
    background: var(--pt-primary);
    border-color: var(--pt-primary);
}

.pt-category-page .pages-items .item.current strong {
    color: #fff;
    background: var(--pt-primary);
    border-color: var(--pt-primary);
}

/* Pagination prev/next arrows — visually hide text but keep accessible */
.pt-category-page .pages-items .action.previous > span,
.pt-category-page .pages-items .action.next > span {
    clip: rect(0, 0, 0, 0);
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.pt-category-page .pages-items .action.previous::before,
.pt-category-page .pages-items .action.next::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.pt-category-page .pages-items .action.previous::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M7 1L3 5l4 4' stroke='%23777' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pt-category-page .pages-items .action.next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1l4 4-4 4' stroke='%23777' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pt-category-page .pages-items .action.previous:hover::before,
.pt-category-page .pages-items .action.next:hover::before {
    filter: brightness(0) invert(1);
}

/* Toolbar focus-visible styles */
.pt-category-page .toolbar-products .sorter-options:focus-visible,
.pt-category-page .toolbar-products .sorter-action:focus-visible,
.pt-category-page .toolbar-products .limiter-options:focus-visible,
.pt-category-page .toolbar-products .modes-mode:focus-visible,
.pt-category-page .pages-items .item a:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

/* ===================================================================
   14c. Product List View Mode (PORTO-012)
   =================================================================== */

/* List mode: single column, horizontal card layout */
.pt-product-grid--list {
    grid-template-columns: 1fr;
}

.pt-product-grid--list .pt-product-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pt-product-grid--list .pt-product-card__image {
    width: clamp(160px, 20%, 240px);
    flex-shrink: 0;
}

.pt-product-grid--list .pt-product-card__info {
    flex: 1;
    padding-top: 5px;
}

.pt-product-grid--list .pt-product-card__name {
    font-size: 1rem;
    margin-bottom: 8px;
}

.pt-product-grid--list .pt-product-card__price {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

/* In list mode, show short description if available (2-line clamp) */
.pt-product-grid--list .pt-product-card__description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8125rem;
    color: var(--pt-text);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* In grid mode, hide short description */
.pt-product-grid:not(.pt-product-grid--list) .pt-product-card__description {
    display: none;
}

/* In list mode, actions are always visible (no hover reveal) */
.pt-product-grid--list .pt-product-card__actions {
    position: static;
    opacity: 1;
    transform: none;
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-top: 10px;
}

.pt-product-grid--list .pt-product-card__action {
    background: var(--pt-bg-light);
}

/* In list mode, Add to Cart always visible */
.pt-product-grid--list .pt-product-card__cart {
    display: inline-flex;
}

/* Responsive: list mode → stack on mobile */
@media (max-width: 767px) {
    .pt-product-grid--list .pt-product-card {
        flex-direction: column;
    }

    .pt-product-grid--list .pt-product-card__image {
        width: 100%;
    }
}

/* --- Sidebar Layout (2-column-left) --- */
.pt-category-page .columns {
    display: flex;
    gap: var(--pt-gutter);
}

.pt-category-page .column.main {
    flex: 1;
    min-width: 0;
}

.pt-category-page .sidebar-main {
    width: 280px;
    flex: 0 0 280px;
    order: -1;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* ===================================================================
   14b. Sidebar — Layered Navigation Filters
   =================================================================== */

/* --- Filter Block --- */
.pt-category-page .block.filter {
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
}
.pt-category-page .block-title.filter-title {
    background: #f4f4f4;
    padding: 12px 20px;
    border-bottom: 1px solid #e1e1e1;
    border-left: 3px solid #0088cc;
}
.pt-category-page .block-title.filter-title strong {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #313131;
}
.pt-category-page .filter-options {
    padding: 0;
    margin: 0;
}
.pt-category-page .filter-options-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #313131;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pt-category-page .filter-options-title::after {
    content: '▾';
    font-size: 10px;
    color: #999;
}
.pt-category-page .filter-options-content {
    padding: 8px 20px 15px;
}
.pt-category-page .filter-options-content .items {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pt-category-page .filter-options-content .item {
    padding: 4px 0;
}
.pt-category-page .filter-options-content .item a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}
.pt-category-page .filter-options-content .item a:hover {
    color: #0088cc;
}
.pt-category-page .filter-options-content .count {
    color: #999;
    font-size: 12px;
}

/* --- Sidebar Featured Products --- */
.pt-category-page .sidebar-main .pt-sidebar-block {
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
}
.pt-category-page .sidebar-main .pt-sidebar-block__title {
    background: #f4f4f4;
    padding: 12px 20px;
    border-bottom: 1px solid #e1e1e1;
    border-left: 3px solid #0088cc;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #313131;
    margin: 0;
}

/* --- Sidebar Toggle Button (visible only on mobile) --- */
.pt-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 15px;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    background: #fff;
    color: var(--pt-text-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--pt-transition), color var(--pt-transition);
}

.pt-sidebar-toggle:hover {
    border-color: var(--pt-primary);
    color: var(--pt-primary);
}

.pt-sidebar-toggle:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

.pt-sidebar-toggle svg {
    flex-shrink: 0;
}

/* --- Filter Block --- */
/* Visually hide "Shop By" heading but keep accessible for screen readers */
.pt-category-page .sidebar-main .block-title {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.pt-category-page .sidebar-main .filter-options-item {
    border-bottom: 1px solid var(--pt-border-light);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.pt-category-page .sidebar-main .filter-options-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Filter section headings */
.pt-category-page .sidebar-main .filter-options-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--pt-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pt-heading);
    cursor: pointer;
    padding: 0;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
    user-select: none;
}

.pt-category-page .sidebar-main .filter-options-title::after {
    content: '';
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform var(--pt-transition);
}

.pt-category-page .sidebar-main .filter-options-title.pt-filter--collapsed::after {
    transform: rotate(-90deg);
}

.pt-category-page .sidebar-main .filter-options-title:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Filter items list */
.pt-category-page .sidebar-main .filter-options-content .items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-category-page .sidebar-main .filter-options-content .item {
    margin-bottom: 6px;
}

.pt-category-page .sidebar-main .filter-options-content .item a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pt-text);
    text-decoration: none;
    padding: 3px 0;
    transition: color var(--pt-transition);
}

.pt-category-page .sidebar-main .filter-options-content .item a:hover {
    color: var(--pt-primary);
}

/* Filter count in parentheses */
.pt-category-page .sidebar-main .filter-options-content .count {
    color: var(--pt-text-light);
    font-size: 12px;
    margin-left: auto;
}

/* Active filter item */
.pt-category-page .sidebar-main .filter-options-content .item a.active,
.pt-category-page .sidebar-main .filter-options-content .item.active a {
    color: var(--pt-primary);
    font-weight: 600;
}

/* --- Swatch filters (color, size) --- */
.pt-category-page .sidebar-main .swatch-option {
    min-width: 28px;
    min-height: 28px;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    cursor: pointer;
    transition: border-color var(--pt-transition), box-shadow var(--pt-transition);
}

.pt-category-page .sidebar-main .swatch-option:hover {
    border-color: var(--pt-primary);
}

.pt-category-page .sidebar-main .swatch-option.selected {
    border-color: var(--pt-primary);
    box-shadow: 0 0 0 2px var(--pt-primary-light);
}

/* --- Price slider (Magento native) --- */
.pt-category-page .sidebar-main .price-slider {
    margin: 10px 0;
}

.pt-category-page .sidebar-main input[type="range"] {
    width: 100%;
    accent-color: var(--pt-primary);
}

/* --- Clear All / Active Filters --- */
.pt-category-page .sidebar-main .filter-current {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-category-page .sidebar-main .filter-current .items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-category-page .sidebar-main .filter-current .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--pt-text);
    padding: 4px 0;
}

.pt-category-page .sidebar-main .filter-current .filter-label {
    font-weight: 600;
    color: var(--pt-text-dark);
    margin-right: 4px;
}

.pt-category-page .sidebar-main .filter-current .action.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--pt-text-light);
    font-size: 16px;
    text-decoration: none;
    border-radius: 50%;
    transition: color var(--pt-transition), background var(--pt-transition);
}

.pt-category-page .sidebar-main .filter-current .action.remove:hover {
    color: #fff;
    background: var(--pt-danger);
}

.pt-category-page .sidebar-main .filter-actions {
    margin-top: 8px;
}

.pt-category-page .sidebar-main .filter-actions a {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-primary);
    text-decoration: none;
    transition: color var(--pt-transition);
}

.pt-category-page .sidebar-main .filter-actions a:hover {
    color: var(--pt-primary-dark);
}

/* --- Category tree in sidebar --- */
.pt-category-page .sidebar-main .block-category-navigation .items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-category-page .sidebar-main .block-category-navigation .item {
    margin-bottom: 4px;
}

.pt-category-page .sidebar-main .block-category-navigation .item a {
    display: block;
    font-size: 13px;
    color: var(--pt-text);
    text-decoration: none;
    padding: 5px 0;
    transition: color var(--pt-transition);
}

.pt-category-page .sidebar-main .block-category-navigation .item a:hover,
.pt-category-page .sidebar-main .block-category-navigation .item.active > a {
    color: var(--pt-primary);
    font-weight: 600;
}

.pt-category-page .sidebar-main .block-category-navigation .items .items {
    padding-left: 15px;
}

/* --- Responsive: Category Page --- */
@media (max-width: 1199px) {
    .pt-grid--cols-5,
    .pt-grid--cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .pt-category-page .columns {
        flex-direction: column;
    }

    /* Sidebar: hidden by default on mobile, revealed by toggle button */
    .pt-sidebar-toggle {
        display: flex;
    }

    .pt-category-page .sidebar-main {
        display: none;
        width: 100%;
        margin-bottom: 20px;
        position: static;
        border: 1px solid var(--pt-border);
        border-radius: var(--pt-radius-sm);
        padding: 15px;
        background: #fff;
    }

    .pt-category-page .sidebar-main.pt-sidebar--open {
        display: block;
    }

    .pt-grid--cols-4,
    .pt-grid--cols-5,
    .pt-grid--cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .pt-category-banner__title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .pt-grid--cols-3,
    .pt-grid--cols-4,
    .pt-grid--cols-5,
    .pt-grid--cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-category-banner {
        height: 200px;
    }

    .pt-category-banner__title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .pt-category-page .toolbar-products {
        flex-direction: column;
        align-items: flex-start;
    }

    .pt-category-page .toolbar-products .modes {
        display: none;
    }
}

@media (max-width: 479px) {
    .pt-grid--cols-2,
    .pt-grid--cols-3,
    .pt-grid--cols-4,
    .pt-grid--cols-5,
    .pt-grid--cols-6 {
        grid-template-columns: 1fr;
    }

    .pt-category-banner__title {
        font-size: 16px;
    }
}

/* ===================================================================
   15. Product Detail Page — Type 1 Default (PORTO-013)
   =================================================================== */

/* --- Main layout: float-based 55% / 42% (avoids Fotorama 9.5M pixel bug with CSS grid) --- */
.pt-product-page .columns .column.main {
    display: block !important;
    padding-bottom: 0;
    overflow: hidden;
}

.pt-product-page .product.media {
    float: left !important;
    width: 55% !important;
    position: relative;
    overflow: hidden;
}
.pt-product-page .product.media .fotorama,
.pt-product-page .product.media .gallery-placeholder,
.pt-product-page .product.media .fotorama__stage {
    max-width: 100% !important;
}

/* PDP badges — overlaid on gallery top-left */
.pt-pdp-badges {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.pt-product-page .product-info-main {
    float: right !important;
    width: 42% !important;
    padding-top: 0;
}

.pt-product-page .product.info.detailed,
.pt-product-page .block.related,
.pt-product-page .block.upsell,
.pt-product-page .block.crosssell {
    clear: both;
    width: 100%;
}

/* --- Gallery (Fotorama overrides) --- */
.pt-product-page .fotorama__stage {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
}

.pt-product-page .fotorama__thumb-border {
    border-color: var(--pt-primary);
}

.pt-product-page .fotorama__nav--thumbs {
    margin-top: 10px;
}

.pt-product-page .fotorama__nav__frame--thumb {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.pt-product-page .fotorama__nav__frame--thumb:hover,
.pt-product-page .fotorama__active .fotorama__nav__frame--thumb {
    opacity: 1;
    border-color: var(--pt-primary);
}

/* --- Product name --- */
.pt-product-page .page-title-wrapper.product {
    margin-bottom: 8px;
}

.pt-product-page .page-title-wrapper.product .page-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* --- Rating + reviews --- */
.pt-product-page .product-reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pt-product-page .product-reviews-summary .rating-summary {
    display: flex;
    align-items: center;
}

.pt-product-page .product-reviews-summary .reviews-actions a {
    color: var(--pt-text-light);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-product-page .product-reviews-summary .reviews-actions a:hover {
    color: var(--pt-primary);
}

/* --- Price block --- */
.pt-product-page .product-info-price {
    margin-bottom: 15px;
}

.pt-product-page .product-info-price .price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.pt-product-page .product-info-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pt-heading);
}

.pt-product-page .product-info-price .special-price .price {
    color: var(--pt-primary);
}

.pt-product-page .product-info-price .old-price .price {
    font-size: 1rem;
    font-weight: 400;
    color: var(--pt-text-light);
    text-decoration: line-through;
}

/* --- Short description --- */
.pt-product-page .product.attribute.overview {
    margin-bottom: 20px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--pt-text);
}

/* --- Configurable options / swatches --- */
.pt-product-page .product-options-wrapper {
    margin-bottom: 20px;
}

.pt-product-page .swatch-attribute {
    margin-bottom: 12px;
}

.pt-product-page .swatch-attribute-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 6px;
}

.pt-product-page .swatch-option {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.pt-product-page .swatch-option:hover {
    border-color: var(--pt-primary);
}

.pt-product-page .swatch-option.selected {
    border-color: var(--pt-primary);
    box-shadow: 0 0 0 1px var(--pt-primary);
}

.pt-product-page .swatch-option.text {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    padding: 0 10px;
}

.pt-product-page .swatch-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Quantity selector (Porto style) --- */
.pt-addtocart {
    margin-bottom: 20px;
}

.pt-addtocart__qty {
    margin-bottom: 15px;
}

.pt-addtocart__qty-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--pt-heading);
}

.pt-addtocart__qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
}

.pt-addtocart__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--pt-bg-light);
    border: 0;
    cursor: pointer;
    color: var(--pt-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pt-addtocart__qty-btn:hover {
    background: var(--pt-border);
    color: var(--pt-heading);
}

.pt-addtocart__qty-btn:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: -2px;
}

.pt-addtocart__qty-input {
    width: 50px;
    height: 40px;
    border: 0;
    border-left: 1px solid var(--pt-border);
    border-right: 1px solid var(--pt-border);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--pt-bg);
    color: var(--pt-heading);
    -moz-appearance: textfield;
}

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

.pt-addtocart__qty-input:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: -2px;
}

/* --- Add to Cart button --- */
.pt-addtocart__submit {
    width: 100%;
    height: 48px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Secondary actions: Wishlist, Compare, Email --- */
.pt-product-page .product-social-links,
.pt-product-page .product-addto-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--pt-border);
}

.pt-product-page .product-addto-links .action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--pt-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.pt-product-page .product-addto-links .action:hover {
    color: var(--pt-primary);
}

.pt-product-page .product-addto-links .action:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: 2px;
}

/* --- SKU & availability --- */
.pt-product-page .product.attribute.sku {
    font-size: 0.8125rem;
    color: var(--pt-text-light);
    margin-top: 15px;
}

.pt-product-page .product.attribute.sku .value {
    font-weight: 600;
}

.pt-product-page .stock {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 5px;
}

.pt-product-page .stock.available {
    color: var(--pt-success);
}

.pt-product-page .stock.unavailable {
    color: var(--pt-danger);
}

/* --- Product tabs (basic structure, full impl in PORTO-017) --- */
.pt-product-page .product.info.detailed {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--pt-border);
}

.pt-product-page .product.data.items > .item.title {
    display: inline-block;
    margin-right: -1px;
}

.pt-product-page .product.data.items > .item.title > .switch {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pt-text-light);
    text-decoration: none;
    border: 1px solid var(--pt-border);
    border-bottom: 0;
    background: var(--pt-bg-light);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.pt-product-page .product.data.items > .item.title > .switch:hover {
    color: var(--pt-heading);
}

.pt-product-page .product.data.items > .item.title > .switch:focus-visible {
    outline: 2px solid var(--pt-primary);
    outline-offset: -2px;
}

.pt-product-page .product.data.items > .item.title.active > .switch {
    color: var(--pt-heading);
    background: var(--pt-bg);
    border-bottom-color: var(--pt-bg);
}

.pt-product-page .product.data.items > .item.content {
    padding: 20px;
    border: 1px solid var(--pt-border);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Additional info table */
.pt-product-page .additional-attributes {
    width: 100%;
    border-collapse: collapse;
}

.pt-product-page .additional-attributes th,
.pt-product-page .additional-attributes td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--pt-border);
    font-size: 0.875rem;
    text-align: left;
}

.pt-product-page .additional-attributes th {
    font-weight: 600;
    color: var(--pt-heading);
    width: 30%;
}

/* --- Related / Upsell products --- */
.pt-product-page .block.related,
.pt-product-page .block.upsell {
    margin-top: 40px;
}

.pt-product-page .block.related .block-title,
.pt-product-page .block.upsell .block-title,
.pt-related-section .block-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pt-primary);
}

.pt-related-section .block-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Crosssell section (cart page) */
.pt-related-section {
    margin-top: 40px;
}

/* Swiper carousel inside related/upsell/crosssell */
.pt-related-carousel {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

.pt-related-carousel .swiper-button-prev,
.pt-related-carousel .swiper-button-next {
    width: 32px;
    height: 32px;
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
    border-radius: 50%;
    color: var(--pt-text);
    transition: background-color var(--pt-transition), border-color var(--pt-transition);
}

.pt-related-carousel .swiper-button-prev::after,
.pt-related-carousel .swiper-button-next::after {
    font-size: 12px;
    font-weight: 700;
}

.pt-related-carousel .swiper-button-prev:hover,
.pt-related-carousel .swiper-button-next:hover {
    background: var(--pt-primary);
    border-color: var(--pt-primary);
    color: #fff;
}

.pt-related-carousel .swiper-button-prev {
    left: 0;
}

.pt-related-carousel .swiper-button-next {
    right: 0;
}

/* Compact card variant for carousels */
.pt-product-card--compact .pt-product-card__info {
    padding: 10px 12px;
}

.pt-product-card--compact .pt-product-card__name {
    font-size: 13px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .pt-related-carousel {
        padding: 0 30px;
    }
}

/* --- Responsive: stack on mobile --- */
@media (max-width: 991px) {
    .pt-product-page .product.media,
    .pt-product-page .product-info-main {
        float: none !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .pt-product-page .page-title-wrapper.product .page-title {
        font-size: 1.25rem;
    }

    .pt-product-page .product-info-price .price {
        font-size: 1.25rem;
    }

    .pt-product-page .product.info.detailed {
        margin-top: 25px;
        padding-top: 20px;
    }

    .pt-product-page .product.data.items > .item.title > .switch {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }

    .pt-product-page .product.data.items > .item.content {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-product-page .fotorama__nav__frame--thumb,
    .pt-product-page .product-reviews-summary .reviews-actions a,
    .pt-product-page .swatch-option,
    .pt-addtocart__qty-btn,
    .pt-product-page .product-addto-links .action,
    .pt-product-page .product.data.items > .item.title > .switch {
        transition: none;
    }
}

/* ================================================================
   16. PRODUCT PAGE TYPE 2 — FULL WIDTH  (PORTO-014)
   ================================================================
   Modifier: .pt-product-page--fullwidth
   Wider container (1600px) and 60 / 40 gallery-info split.
   All base Type 1 styles apply; only overrides listed here.
   ================================================================ */

/* --- Wider container --- */
.pt-product-page--fullwidth .page-main {
    max-width: var(--pt-container-wide);
    margin-inline: auto;
    padding-inline: var(--pt-gutter);
}

/* --- 60 / 40 column ratio (3fr 2fr avoids gap overflow) --- */
.pt-product-page--fullwidth .columns .column.main {
    grid-template-columns: 3fr 2fr;
}

/* --- Tabs + related blocks span full grid width --- */
.pt-product-page--fullwidth .product.info.detailed,
.pt-product-page--fullwidth .block.related,
.pt-product-page--fullwidth .block.upsell,
.pt-product-page--fullwidth .block.crosssell {
    grid-column: 1 / -1;
}

/* prefers-reduced-motion is inherited from base .pt-product-page (Section 15) */

/* --- Mid-range: revert to Type 1 ratio on laptops --- */
@media (max-width: 1400px) {
    .pt-product-page--fullwidth .columns .column.main {
        grid-template-columns: 11fr 9fr;
    }
}

/* --- Mobile: single-column stack --- */
@media (max-width: 991px) {
    .pt-product-page--fullwidth .page-main {
        max-width: 100%;
    }

    .pt-product-page--fullwidth .columns .column.main {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   17. PRODUCT PAGE TYPE 3 — STICKY RIGHT INFO  (PORTO-015)
   ================================================================
   Modifier: .pt-product-page--sticky
   Gallery shows all images stacked; info column is position: sticky.
   When info is taller than viewport the JS widget adds
   .pt-product-info--overflow to disable sticky.
   ================================================================ */

/*
 * Sticky requires no overflow: hidden/auto on ancestors.
 * Magento Luma may set overflow on .column.main; override here.
 */
.pt-product-page--sticky .columns .column.main {
    overflow: visible;
}

/* --- Info column sticks below the header --- */
.pt-product-page--sticky .product-info-main {
    position: sticky;
    top: calc(var(--pt-header-height) + var(--pt-nav-height) + 20px);
    align-self: start;
    max-height: calc(100vh - var(--pt-header-height) - var(--pt-nav-height) - 40px);
    overflow-y: auto;
}

/* --- Disable sticky when info overflows viewport (set by JS) --- */
.pt-product-page--sticky .product-info-main.pt-product-info--overflow {
    position: static;
    max-height: none;
    overflow-y: visible;
}

/* --- Gallery: show all images stacked, hide Fotorama nav ---
 * Fotorama sets inline height via JS, so !important is needed.
 */
.pt-product-page--sticky .fotorama__nav-wrap {
    display: none !important;
}

.pt-product-page--sticky .fotorama__stage {
    max-height: none !important;
    height: auto !important;
}

/* --- Tabs + blocks span full grid width --- */
.pt-product-page--sticky .product.info.detailed,
.pt-product-page--sticky .block.related,
.pt-product-page--sticky .block.upsell,
.pt-product-page--sticky .block.crosssell {
    grid-column: 1 / -1;
}

/* --- Responsive: no sticky on mobile --- */
@media (max-width: 991px) {
    .pt-product-page--sticky .columns .column.main {
        overflow: visible;
        grid-template-columns: 1fr;
    }

    .pt-product-page--sticky .product-info-main {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .pt-product-page--sticky .fotorama__nav-wrap {
        display: block !important;
    }

    .pt-product-page--sticky .fotorama__stage {
        max-height: 600px !important;
        height: auto !important;
    }
}

/* ================================================================
   18. PRODUCT PAGE TYPE 4 — VERTICAL THUMBNAILS  (PORTO-016)
   ================================================================
   Modifier: .pt-product-page--vertical-thumbs
   Repositions Fotorama's thumbnail navigation to a vertical strip
   on the left side of the main image.  80px wide, scrollable if
   more than ~5 thumbnails.

   Fotorama sets inline styles (height, width, transform) via JS.
   !important overrides are required where we fight inline styles.
   Mobile (<992px): falls back to default horizontal thumbnails.

   prefers-reduced-motion inherited from base Section 15.
   ================================================================ */

/* --- Gallery container: relative for absolute nav strip --- */
.pt-product-page--vertical-thumbs .product.media .fotorama-item,
.pt-product-page--vertical-thumbs .product.media .fotorama {
    position: relative;
}

/* --- Thumbnail nav: vertical strip on the left ---
 * Uses max-height instead of bottom: 0 because the Fotorama
 * wrapper may not have an explicit height set by JS.
 */
.pt-product-page--vertical-thumbs .fotorama__nav-wrap {
    position: absolute !important;
    inset-inline-start: 0;
    top: 0;
    width: 80px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--pt-border) transparent;
}

/* --- Thumbnail frames: fixed 80x80, stacked by block flow ---
 * Avoid flexbox on .fotorama__nav to not break Fotorama's
 * translate3d coordinate system for scroll/animation.
 */
.pt-product-page--vertical-thumbs .fotorama__nav {
    width: 80px !important;
}

.pt-product-page--vertical-thumbs .fotorama__nav__frame--thumb {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 6px;
}

/* --- Main image: offset by thumbnail column + 10px gutter ---
 * Both margin and width must be overridden because Fotorama
 * calculates stage width from container width via inline styles.
 */
.pt-product-page--vertical-thumbs .fotorama__stage {
    margin-inline-start: 90px !important;
    width: calc(100% - 90px) !important;
}

/* Shift PDP badges past the thumbnail strip */
.pt-product-page--vertical-thumbs .pt-pdp-badges {
    inset-inline-start: 100px;
}

/* --- Hide Fotorama's horizontal nav arrows --- */
.pt-product-page--vertical-thumbs .fotorama__nav .fotorama__arr {
    display: none;
}

/* --- Scrollbar: Webkit (Chrome/Safari) --- */
.pt-product-page--vertical-thumbs .fotorama__nav-wrap::-webkit-scrollbar {
    width: 3px;
}

.pt-product-page--vertical-thumbs .fotorama__nav-wrap::-webkit-scrollbar-track {
    background-color: transparent;
}

.pt-product-page--vertical-thumbs .fotorama__nav-wrap::-webkit-scrollbar-thumb {
    background-color: var(--pt-border);
    border-radius: 3px;
}

/* --- Tabs + blocks span full grid width --- */
.pt-product-page--vertical-thumbs .product.info.detailed,
.pt-product-page--vertical-thumbs .block.related,
.pt-product-page--vertical-thumbs .block.upsell,
.pt-product-page--vertical-thumbs .block.crosssell {
    grid-column: 1 / -1;
}

/* --- Responsive: revert to horizontal thumbnails on mobile --- */
@media (max-width: 991px) {
    .pt-product-page--vertical-thumbs .fotorama__nav-wrap {
        position: static !important;
        width: auto;
        max-height: none;
        overflow-y: hidden;
        overflow-x: auto;
        scrollbar-width: auto;
        scrollbar-color: auto;
    }

    .pt-product-page--vertical-thumbs .fotorama__nav {
        display: block !important;
        width: auto !important;
    }

    .pt-product-page--vertical-thumbs .fotorama__nav__frame--thumb {
        display: inline-block !important;
        margin-bottom: 0;
    }

    .pt-product-page--vertical-thumbs .fotorama__stage {
        margin-inline-start: 0 !important;
        width: 100% !important;
    }
}

/* ================================================================
   19. PRODUCT TABS — 4 STYLES  (PORTO-017)
   ================================================================
   Modifier classes on .product.info.detailed:
     .pt-tabs--horizontal  — row of tabs (default, extends Section 15)
     .pt-tabs--vertical    — tabs stacked left (200px), content right
     .pt-tabs--accordion   — collapsible panels, one open at a time
     .pt-tabs--sticky      — tab bar sticks below header, scroll spy
   Applied via ptProductTabs JS widget or admin ThemeConfig.
   ================================================================ */

/* ---------------------------------------------------------------
   19a. Horizontal (default) — additional polish over Section 15
   --------------------------------------------------------------- */
.pt-tabs--horizontal .product.data.items {
    border-bottom: 1px solid var(--pt-border);
}

.pt-tabs--horizontal .product.data.items > .item.title.active > .switch {
    border-bottom: 2px solid var(--pt-primary);
    margin-bottom: -1px;
}

/* ---------------------------------------------------------------
   19b. Vertical — tabs on the left, content on the right
   --------------------------------------------------------------- */
.pt-tabs--vertical .product.data.items {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border: 1px solid var(--pt-border);
}

.pt-tabs--vertical .product.data.items > .item.title {
    display: block;
    grid-column: 1;
    margin-right: 0;
    border-bottom: 1px solid var(--pt-border);
}

.pt-tabs--vertical .product.data.items > .item.title > .switch {
    display: block;
    border: 0;
    border-inline-start: 3px solid transparent;
    background: var(--pt-bg-light);
    padding: 12px 16px;
}

.pt-tabs--vertical .product.data.items > .item.title.active > .switch {
    border-inline-start-color: var(--pt-primary);
    background: var(--pt-bg);
    color: var(--pt-heading);
}

.pt-tabs--vertical .product.data.items > .item.content {
    grid-column: 2;
    grid-row: 1 / -1;
    border: 0;
    border-inline-start: 1px solid var(--pt-border);
    padding: 20px;
}

/* ---------------------------------------------------------------
   19c. Accordion — collapsible panels
   --------------------------------------------------------------- */
.pt-tabs--accordion .product.data.items > .item.title {
    display: block;
    margin-right: 0;
}

.pt-tabs--accordion .product.data.items > .item.title > .switch {
    display: block;
    border: 1px solid var(--pt-border);
    border-bottom: 0;
    padding: 12px 16px;
    padding-inline-end: 40px;
    position: relative;
    cursor: pointer;
}

/* Chevron indicator */
.pt-tabs--accordion .product.data.items > .item.title > .switch::after {
    content: '';
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.pt-tabs--accordion .product.data.items > .item.title.active > .switch::after {
    transform: translateY(-30%) rotate(-135deg);
}

.pt-tabs--accordion .product.data.items > .item.title.active > .switch {
    background: var(--pt-bg);
    border-bottom: 0;
}

.pt-tabs--accordion .product.data.items > .item.content {
    border: 1px solid var(--pt-border);
    border-top: 0;
    margin-bottom: 0;
}

/* Last panel: bottom border */
.pt-tabs--accordion .product.data.items > .item.title:last-child > .switch,
.pt-tabs--accordion .product.data.items > .item.content:last-child {
    border-bottom: 1px solid var(--pt-border);
}

/* ---------------------------------------------------------------
   19d. Sticky — JS-generated clone bar (pt-tabs__sticky-bar)
   --------------------------------------------------------------- */
.pt-tabs--sticky .product.data.items {
    border-bottom: 1px solid var(--pt-border);
}

.pt-tabs--sticky .product.data.items > .item.title.active > .switch {
    border-bottom: 2px solid var(--pt-primary);
    margin-bottom: -1px;
}

/* Cloned sticky bar appended to <body> by ptProductTabs widget */
.pt-tabs__sticky-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.pt-tabs__sticky-bar .switch {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--pt-text);
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.pt-tabs__sticky-bar .switch:hover {
    color: var(--pt-primary);
}

.pt-tabs__sticky-bar .switch.active {
    color: var(--pt-primary);
    border-bottom-color: var(--pt-primary);
}

/* ---------------------------------------------------------------
   19e. Responsive — accordion fallback on mobile
   --------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Vertical tabs collapse to single column on mobile */
    .pt-tabs--vertical .product.data.items {
        grid-template-columns: 1fr;
    }

    .pt-tabs--vertical .product.data.items > .item.content {
        grid-column: 1;
        grid-row: auto;
        border-inline-start: 0;
        border-top: 1px solid var(--pt-border);
    }

    /* Sticky bar hidden on small screens */
    .pt-tabs__sticky-bar {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-tabs--accordion .product.data.items > .item.title > .switch::after,
    .pt-tabs__sticky-bar .switch {
        transition: none;
    }
}

/* ===================================================================
   20. FILTER PRODUCTS — WIDGET DISPLAY MODES  (PORTO-030)
   ===================================================================
   Styles for the EcommPaaS_FilterProducts module templates:
   carousel, grid, sidebar list, compact list.
   =================================================================== */

/* ---------------------------------------------------------------
   20a. Shared
   --------------------------------------------------------------- */
.pt-filter-products {
    margin-bottom: 40px;
}

/* ---------------------------------------------------------------
   20b. Grid display — configurable columns via CSS custom property
   --------------------------------------------------------------- */
.pt-filter-grid {
    display: grid;
    grid-template-columns: repeat(var(--pt-grid-cols, 4), 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .pt-filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .pt-filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 479px) {
    .pt-filter-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------
   20c. Carousel — overflow & nav
   --------------------------------------------------------------- */
.pt-product-carousel {
    overflow: hidden;
    position: relative;
    padding-bottom: 10px;
}

.pt-product-carousel .swiper-button-prev,
.pt-product-carousel .swiper-button-next {
    position: absolute;
    top: -45px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: #0088cc;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.2s ease;
}

.pt-product-carousel:hover .swiper-button-prev,
.pt-product-carousel:hover .swiper-button-next,
.pt-product-carousel:focus-within .swiper-button-prev,
.pt-product-carousel:focus-within .swiper-button-next {
    opacity: 1;
}

.pt-product-carousel .swiper-button-prev {
    left: auto;
    right: 46px;
}

.pt-product-carousel .swiper-button-next {
    right: 5px;
}

.pt-product-carousel .swiper-button-prev:hover,
.pt-product-carousel .swiper-button-next:hover {
    background: #006699;
    color: #fff;
}

.pt-product-carousel .swiper-button-prev::after,
.pt-product-carousel .swiper-button-next::after {
    font-size: 14px;
    color: #fff;
}

/* ---------------------------------------------------------------
   20d. Sidebar list
   --------------------------------------------------------------- */
.pt-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-sidebar-list__item {
    border-bottom: 1px solid var(--pt-border, #e0e0e0);
}

.pt-sidebar-list__item:last-child {
    border-bottom: 0;
}

.pt-sidebar-list__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
}

.pt-sidebar-list__link:hover {
    text-decoration: none;
}

.pt-sidebar-list__link:hover .pt-sidebar-list__name {
    color: var(--pt-primary, #2879fe);
}

.pt-sidebar-list__image {
    flex-shrink: 0;
    width: 80px;
}

.pt-sidebar-list__image img {
    width: 100%;
    height: auto;
    display: block;
}

.pt-sidebar-list__info {
    flex: 1;
    min-width: 0;
}

.pt-sidebar-list__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@supports (-webkit-line-clamp: 2) {
    .pt-sidebar-list__name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
    }
}

.pt-sidebar-list__price {
    font-size: 14px;
    margin-top: 4px;
}

.pt-sidebar-list__price .price {
    font-weight: 700;
    color: var(--pt-primary, #2879fe);
}

/* Small stars for sidebar */
.pt-product-card__stars--sm {
    width: 60px;
    height: 10px;
}

/* ---------------------------------------------------------------
   20e. Compact list
   --------------------------------------------------------------- */
.pt-compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-compact-list__item {
    border-bottom: 1px solid var(--pt-border, #e0e0e0);
}

.pt-compact-list__item:last-child {
    border-bottom: 0;
}

.pt-compact-list__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
}

.pt-compact-list__link:hover {
    text-decoration: none;
}

.pt-compact-list__link:hover .pt-compact-list__name {
    color: var(--pt-primary, #2879fe);
}

.pt-compact-list__image {
    flex-shrink: 0;
    width: 50px;
}

.pt-compact-list__image img {
    width: 100%;
    height: auto;
    display: block;
}

.pt-compact-list__info {
    flex: 1;
    min-width: 0;
}

.pt-compact-list__name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-compact-list__price {
    font-size: 13px;
    margin-top: 2px;
}

.pt-compact-list__price .price {
    font-weight: 700;
    color: var(--pt-primary, #2879fe);
}

/* ===================================================================
   21. MEGA MENU — DROPDOWN STYLES  (PORTO-031)
   ===================================================================
   Works alongside mega-menu.js (PORTO-004). The JS adds is-open /
   is-active classes; CSS handles all layout and visual appearance.
   =================================================================== */

/* ---------------------------------------------------------------
   21a. Navigation container
   --------------------------------------------------------------- */
.pt-megamenu {
    position: relative;
}

.pt-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.pt-nav__item {
    position: relative;
}

.pt-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: var(--pt-nav-height, 48px);
    font-size: 14px;
    font-weight: 600;
    color: var(--pt-text, #333);
    text-decoration: none;
    white-space: nowrap;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color 0.15s ease;
}

.pt-nav__link:hover,
.pt-nav__item.is-active > .pt-nav__link {
    color: var(--pt-primary, #2879fe);
}

.pt-nav__link--dropdown::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.15s ease;
}

.pt-nav__item.is-active > .pt-nav__link--dropdown::after {
    transform: rotate(180deg);
}

/* ---------------------------------------------------------------
   21b. Dropdown containers
   --------------------------------------------------------------- */
.pt-megamenu__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: var(--pt-white, #fff);
    border: 1px solid var(--pt-border, #e0e0e0);
    border-top: 3px solid var(--pt-primary, #2879fe);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 200px;
}

.pt-megamenu__dropdown.is-open {
    display: block;
}

/* Full-width dropdown */
.pt-megamenu__dropdown--fullwidth {
    left: 0;
    right: 0;
    width: 100%;
}

/* Static/fixed-width dropdown — width set via data-width or CSS var */
.pt-megamenu__dropdown--static {
    /* width is set inline by JS from data-width attribute */
}

/* Classic dropdown */
.pt-megamenu__dropdown--classic {
    min-width: 220px;
}

/* ---------------------------------------------------------------
   21c. Classic dropdown — simple list
   --------------------------------------------------------------- */
.pt-megamenu__dropdown--classic ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.pt-megamenu__dropdown--classic ul li {
    position: relative;
}

.pt-megamenu__dropdown--classic ul a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--pt-text, #333);
    text-decoration: none;
    transition: background 0.1s ease, color 0.1s ease;
}

.pt-megamenu__dropdown--classic ul a:hover {
    background: var(--pt-bg-light, #f5f5f5);
    color: var(--pt-primary, #2879fe);
}

/* Nested list inside classic */
.pt-megamenu__dropdown--classic ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    min-width: 200px;
    background: var(--pt-white, #fff);
    border: 1px solid var(--pt-border, #e0e0e0);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}

.pt-megamenu__dropdown--classic ul li:hover > ul {
    display: block;
}

/* ---------------------------------------------------------------
   21d. Column layout — fullwidth / static types
   --------------------------------------------------------------- */
.pt-megamenu__top {
    padding: 16px 20px;
    border-bottom: 1px solid var(--pt-border, #e0e0e0);
}

.pt-megamenu__content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.pt-megamenu__aside {
    flex-shrink: 0;
    width: 200px;
}

.pt-megamenu__columns {
    display: flex;
    flex: 1;
    gap: 16px;
    flex-wrap: wrap;
}

.pt-megamenu__column {
    flex: 1;
    min-width: 140px;
}

.pt-megamenu__column-title {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pt-border, #e0e0e0);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pt-megamenu__column-title a {
    color: var(--pt-text, #333);
    text-decoration: none;
}

.pt-megamenu__column-title a:hover {
    color: var(--pt-primary, #2879fe);
}

.pt-megamenu__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pt-megamenu__links a {
    font-size: 13px;
    color: var(--pt-text-muted, #666);
    text-decoration: none;
    transition: color 0.15s ease;
}

.pt-megamenu__links a:hover {
    color: var(--pt-primary, #2879fe);
}

/* ---------------------------------------------------------------
   21e. Category icon
   --------------------------------------------------------------- */
.pt-nav__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   21f. Label badges (new / hot / sale)
   --------------------------------------------------------------- */
.pt-megamenu__label {
    display: inline-block;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 2px;
    line-height: 1.4;
    vertical-align: middle;
    color: #fff;
}

.pt-megamenu__label--new  { background: #4caf50; }
.pt-megamenu__label--hot  { background: #f44336; }
.pt-megamenu__label--sale { background: var(--pt-primary, #2879fe); }

/* ---------------------------------------------------------------
   21g. Mobile — off-canvas panel (managed by mega-menu.js)
   --------------------------------------------------------------- */
.pt-megamenu--mobile {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(320px, 90vw);
    background: var(--pt-white, #fff);
    z-index: 10000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.pt-megamenu--mobile.is-open {
    transform: translateX(0);
}

.pt-megamenu--mobile .pt-nav__list {
    flex-direction: column;
}

.pt-megamenu--mobile .pt-nav__item {
    border-bottom: 1px solid var(--pt-border, #e0e0e0);
}

.pt-megamenu--mobile .pt-nav__link {
    height: auto;
    padding: 14px 20px;
    justify-content: space-between;
    font-size: 15px;
}

.pt-megamenu--mobile .pt-megamenu__dropdown {
    position: static;
    border: 0;
    box-shadow: none;
    background: var(--pt-bg-light, #f5f5f5);
    padding: 0;
    min-width: 0;
    width: 100%;
    border-top: 1px solid var(--pt-border, #e0e0e0);
}

.pt-megamenu--mobile .pt-megamenu__content {
    flex-direction: column;
    padding: 12px 20px;
    gap: 12px;
}

.pt-megamenu--mobile .pt-megamenu__columns {
    flex-direction: column;
}

.pt-megamenu--mobile .pt-megamenu__column-title {
    font-size: 13px;
}

.pt-megamenu--mobile .pt-megamenu__aside {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .pt-megamenu--mobile {
        transition: none;
    }
}


/* ===================================================================
   Section 22 — Header Type 2: Centered Logo, Nav Below
   Applied when body has class .pt-header--type-2
   Layout: Row 1 topbar | Row 2 left-tools + center-logo + right-tools | Row 3 nav centered
=================================================================== */

.pt-header--type-2 .pt-header {
    border-bottom: 1px solid var(--pt-border-color, #eee);
}

.pt-header--type-2 .pt-header__inner {
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Centered logo: position in the middle via flex order */
.pt-header--type-2 .pt-header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
}

/* Left tools group: phone + account */
.pt-header--type-2 .pt-header__tools {
    order: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Move search to a left pseudo-group before logo */
.pt-header--type-2 .pt-header__search {
    order: 1;
    max-width: 280px;
}

/* Centered nav links on the nav row */
.pt-header--type-2 .pt-megamenu .pt-nav__list {
    justify-content: center;
}

/* Mobile: restore normal left layout */
@media (max-width: 991px) {
    .pt-header--type-2 .pt-header__logo {
        position: static;
        transform: none;
        order: 1;
    }
    .pt-header--type-2 .pt-header__search {
        order: 0;
    }
}


/* ===================================================================
   Section 23 — Header Type 3: Compact Single-Row (Logo Left, Nav Center, Tools Right)
   Applied when body has class .pt-header--type-3
   No topbar, single row ~70px, clean minimal look
=================================================================== */

/* Hide topbar for type 3 */
.pt-header--type-3 .pt-topbar {
    display: none;
}

/* Single-row compact header */
.pt-header--type-3 .pt-header {
    height: 70px;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.pt-header--type-3 .pt-header__inner {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Logo: shrink slightly for compact feel */
.pt-header--type-3 .pt-header__logo img {
    height: 38px;
    width: auto;
}

/* Search bar: reduce max-width for compact row */
.pt-header--type-3 .pt-header__search {
    flex: 1;
    max-width: 340px;
    margin: 0 24px;
}

/* Nav: integrated inline, centered via flex-grow */
.pt-header--type-3 .pt-megamenu {
    flex: 1;
}

.pt-header--type-3 .pt-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    gap: 0;
}

/* Remove separate nav row background/border for compact */
.pt-header--type-3 .pt-megamenu {
    background: transparent;
    border-top: none;
    box-shadow: none;
}

/* Tools: compact gap */
.pt-header--type-3 .pt-header__tools {
    gap: 8px;
}

/* Mobile: standard hamburger */
@media (max-width: 991px) {
    .pt-header--type-3 .pt-header {
        height: 60px;
    }
    .pt-header--type-3 .pt-header__inner {
        height: 60px;
    }
}


/* ===================================================================
   Section 24 — Header Type 4: Dark Header + Vertical Category Sidebar
   Applied when body has class .pt-header--type-4
   Dark background, white text/icons; homepage shows 260px left sidebar
=================================================================== */

/* Dark header background */
.pt-header--type-4 .pt-topbar,
.pt-header--type-4 .pt-header,
.pt-header--type-4 .pt-megamenu {
    background: var(--pt-bg-dark, #1a1a2e);
    color: #fff;
    border-color: rgba(255,255,255,.1);
}

/* White text/icons inside dark header */
.pt-header--type-4 .pt-topbar,
.pt-header--type-4 .pt-header a,
.pt-header--type-4 .pt-header .pt-header__tool-icon,
.pt-header--type-4 .pt-header .pt-header__tool-text {
    color: rgba(255,255,255,.85);
}

.pt-header--type-4 .pt-header a:hover,
.pt-header--type-4 .pt-header .pt-header__tool-item:hover .pt-header__tool-icon {
    color: #fff;
}

/* Dark nav links */
.pt-header--type-4 .pt-nav__link {
    color: rgba(255,255,255,.85);
}
.pt-header--type-4 .pt-nav__link:hover,
.pt-header--type-4 .pt-nav__item--active > .pt-nav__link {
    color: #fff;
    background: rgba(255,255,255,.08);
}

/* Dark search bar */
.pt-header--type-4 .pt-header__search-inner {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
}
.pt-header--type-4 .pt-header__search-input,
.pt-header--type-4 .pt-header__search-cat {
    color: #fff;
    background: transparent;
}
.pt-header--type-4 .pt-header__search-input::placeholder {
    color: rgba(255,255,255,.5);
}

/* Hamburger lines — white */
.pt-header--type-4 .pt-header__hamburger-line {
    background: #fff;
}

/* ---- Vertical Category Sidebar (homepage only) ---- */
/* Sidebar is visible on homepage via .cms-index-index body class */
.pt-header--type-4.cms-index-index .pt-page-wrapper {
    display: flex;
    align-items: flex-start;
}

.pt-category-sidebar {
    display: none; /* hidden by default */
    width: 260px;
    flex-shrink: 0;
    background: var(--pt-bg-dark, #1a1a2e);
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

.pt-header--type-4.cms-index-index .pt-category-sidebar {
    display: block;
}

.pt-category-sidebar__title {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 8px;
}

.pt-category-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-category-sidebar__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    transition: background .15s, color .15s;
}

.pt-category-sidebar__item a:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.pt-category-sidebar__item a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pt-primary, #0088cc);
    flex-shrink: 0;
}

/* Sidebar content area next to sidebar */
.pt-header--type-4.cms-index-index .pt-main-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 991px) {
    .pt-header--type-4.cms-index-index .pt-page-wrapper {
        display: block;
    }
    .pt-header--type-4.cms-index-index .pt-category-sidebar {
        display: none; /* hide on mobile */
    }
    .pt-header--type-4 .pt-topbar,
    .pt-header--type-4 .pt-header,
    .pt-header--type-4 .pt-megamenu {
        background: var(--pt-bg-dark, #1a1a2e);
    }
}


/* ===================================================================
   Section 25 — Header Type 5: Full-Width Header + All Categories Dropdown
   Applied when body has class .pt-header--type-5
   Row 3 nav: prominent "ALL CATEGORIES ▼" button (260px left) + nav links right
=================================================================== */

/* Wide search on Row 2 */
.pt-header--type-5 .pt-header__search {
    flex: 1;
    max-width: 560px;
}

/* Nav row layout: categories button + nav links */
.pt-header--type-5 .pt-megamenu .pt-nav__list {
    position: relative;
    padding-left: 0;
}

/* ALL CATEGORIES button */
.pt-cat-dropdown {
    display: none; /* shown only for type-5 */
    position: relative;
}

.pt-header--type-5 .pt-cat-dropdown {
    display: flex;
    align-items: center;
}

.pt-cat-dropdown__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 46px;
    background: var(--pt-primary, #0088cc);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    width: 260px;
    justify-content: space-between;
    transition: background .2s;
}

.pt-cat-dropdown__btn:hover {
    background: var(--pt-primary-dark, #006fa3);
}

.pt-cat-dropdown__btn-arrow {
    font-size: 10px;
    transition: transform .2s;
}

.pt-cat-dropdown[aria-expanded="true"] .pt-cat-dropdown__btn-arrow {
    transform: rotate(180deg);
}

/* Category vertical dropdown panel */
.pt-cat-dropdown__panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #fff;
    border: 1px solid var(--pt-border-color, #e8e8e8);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    display: none;
    padding: 8px 0;
}

.pt-cat-dropdown[aria-expanded="true"] .pt-cat-dropdown__panel {
    display: block;
}

.pt-cat-dropdown__panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-cat-dropdown__panel li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    font-size: 14px;
    color: var(--pt-text, #333);
    transition: background .15s, color .15s;
}

.pt-cat-dropdown__panel li a:hover {
    background: var(--pt-bg-light, #f8f8f8);
    color: var(--pt-primary, #0088cc);
}

/* Nav row flex layout for type 5 */
.pt-header--type-5 .pt-megamenu > .pt-container,
.pt-header--type-5 .pt-megamenu {
    display: flex;
    align-items: center;
}

.pt-header--type-5 .pt-megamenu .pt-nav__list {
    flex: 1;
    justify-content: flex-start;
    padding-left: 16px;
}

@media (max-width: 991px) {
    .pt-header--type-5 .pt-cat-dropdown {
        display: none;
    }
}


/* ===================================================================
   Section 26 — Sticky Header Behavior (PORTO-044)
   Configurable scroll-direction-aware sticky header.
   JS (sticky-header.js) adds/removes .pt-header--sticky-visible on <body>.
   Enabled when body has class .pt-sticky-header.
   Compact sticky: 54px height, logo + nav + cart only.
=================================================================== */

/* Sticky header container: always fixed, hidden by default */
.pt-sticky-header .pt-sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    height: 54px;
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    transition: transform .2s ease;
    will-change: transform;
}

/* Slide in when JS adds this class */
.pt-sticky-header.pt-header--sticky-visible .pt-sticky-bar {
    transform: translateY(0);
}

.pt-sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    max-width: var(--pt-container-max, 1200px);
    margin: 0 auto;
    gap: 16px;
}

/* Show logo in sticky when .pt-sticky-logo is on body */
.pt-sticky-bar__logo {
    display: none;
}
.pt-sticky-logo .pt-sticky-bar__logo {
    display: block;
    flex-shrink: 0;
}
.pt-sticky-bar__logo img {
    height: 32px;
    width: auto;
}

/* Compact nav in sticky bar */
.pt-sticky-bar__nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.pt-sticky-bar__nav-link {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pt-text, #333);
    white-space: nowrap;
    border-radius: 4px;
    transition: background .15s, color .15s;
}
.pt-sticky-bar__nav-link:hover {
    background: var(--pt-bg-light, #f5f5f5);
    color: var(--pt-primary, #0088cc);
}

/* Cart icon in sticky */
.pt-sticky-bar__cart {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--pt-text, #333);
    flex-shrink: 0;
}
.pt-sticky-bar__cart:hover {
    color: var(--pt-primary, #0088cc);
}

/* Dark header type 4 sticky override */
.pt-header--type-4 .pt-sticky-bar {
    background: var(--pt-bg-dark, #1a1a2e);
    color: #fff;
}
.pt-header--type-4 .pt-sticky-bar__nav-link {
    color: rgba(255,255,255,.85);
}
.pt-header--type-4 .pt-sticky-bar__nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}
.pt-header--type-4 .pt-sticky-bar__cart {
    color: rgba(255,255,255,.85);
}

/* Mobile sticky: only when .pt-mobile-sticky on body */
@media (max-width: 991px) {
    .pt-sticky-header .pt-sticky-bar {
        display: none; /* hidden on mobile by default */
    }
    .pt-mobile-sticky .pt-sticky-header .pt-sticky-bar,
    .pt-mobile-sticky.pt-sticky-header .pt-sticky-bar {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-sticky-header .pt-sticky-bar {
        transition: none;
    }
}

/* =================================================================
   Section 27 — Quick View Modal (PORTO-050)
   Data-attribute driven; no AJAX needed.
   JS inserts modal HTML once; product data from data-quick-view attr.
=================================================================== */

/* Backdrop */
.pt-quickview-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1100;
    cursor: pointer;
}
.pt-quickview-backdrop.pt-is-open {
    display: block;
}

/* Modal container */
.pt-quickview-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.95);
    z-index: 1101;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .2);
    width: min(960px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    overflow: hidden;
    transition: transform .22s ease, opacity .22s ease;
    opacity: 0;
}
.pt-quickview-modal.pt-is-open {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.pt-quickview__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--pt-border, #e8e8e8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-text-light, #666);
    transition: background .15s, color .15s;
    z-index: 1;
}
.pt-quickview__close:hover {
    background: var(--pt-bg-light, #f5f5f5);
    color: var(--pt-text, #333);
}

/* Body layout */
.pt-quickview__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow-y: auto;
    flex: 1;
}

/* Left — image */
.pt-quickview__image {
    background: var(--pt-bg-light, #f9f9f9);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 24px;
}
.pt-quickview__image img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
}
.pt-quickview__image-placeholder {
    width: 100%;
    height: 320px;
    background: var(--pt-bg-light, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-text-light, #aaa);
}

/* Right — info */
.pt-quickview__info {
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pt-quickview__name {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}
.pt-quickview__name a {
    color: inherit;
    text-decoration: none;
}
.pt-quickview__name a:hover {
    color: var(--pt-primary, #0088cc);
}

/* Price */
.pt-quickview__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.pt-quickview__price-final {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pt-price, #333);
}
.pt-quickview__price-regular {
    font-size: 1rem;
    color: var(--pt-text-light, #999);
    text-decoration: line-through;
}
.pt-quickview__price-discount {
    font-size: 0.85rem;
    background: var(--pt-sale, #e74c3c);
    color: #fff;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 600;
}

/* Short description */
.pt-quickview__desc {
    font-size: 0.9rem;
    color: var(--pt-text-light, #666);
    line-height: 1.6;
    margin: 0;
    max-height: 96px;
    overflow: hidden;
}

/* ATC area */
.pt-quickview__atc {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
}
.pt-quickview__atc-btn {
    flex: 1;
    min-width: 140px;
}
.pt-quickview__view-link {
    font-size: 0.85rem;
    color: var(--pt-text-light, #888);
    text-decoration: underline;
    white-space: nowrap;
}
.pt-quickview__view-link:hover {
    color: var(--pt-primary, #0088cc);
}

/* Responsive */
@media (max-width: 767px) {
    .pt-quickview__body {
        grid-template-columns: 1fr;
    }
    .pt-quickview__image {
        min-height: 240px;
    }
    .pt-quickview__info {
        padding: 24px 20px 20px;
    }
}

/* =================================================================
   Section 28 — AJAX Add to Cart Toast Notification (PORTO-051)
   Slides in from the top-right on successful cart add.
   Controlled by pt-is-visible class toggled by ajax-cart.js.
=================================================================== */

.pt-atc-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1200;
    background: #fff;
    border: 1px solid var(--pt-border, #e8e8e8);
    border-left: 4px solid var(--pt-success, #27ae60);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 340px;
    width: calc(100vw - 48px);
    transform: translateY(calc(-100% - 32px));
    opacity: 0;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .22s ease;
    pointer-events: none;
}
.pt-atc-toast.pt-is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Check icon */
.pt-atc-toast__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--pt-success, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Message text */
.pt-atc-toast__text {
    flex: 1;
    min-width: 0;
}
.pt-atc-toast__msg {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-text, #333);
}
.pt-atc-toast__name {
    display: block;
    font-size: 12px;
    color: var(--pt-text-light, #666);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* View Cart link */
.pt-atc-toast__link {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--pt-primary, #0088cc);
    white-space: nowrap;
    text-decoration: none;
}
.pt-atc-toast__link:hover {
    text-decoration: underline;
}

/* Close button */
.pt-atc-toast__close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--pt-text-light, #aaa);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pt-atc-toast__close:hover {
    color: var(--pt-text, #333);
}

/* ATC button loading state */
.pt-product-card__cart.pt-loading,
.pt-quickview__atc-btn.pt-loading {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* =============================================================
 * Section 29 — Newsletter Popup Modal (PORTO-054)
 * ============================================================= */

/* Backdrop */
.pt-newsletter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
}
.pt-newsletter-backdrop.pt-is-open {
    display: block;
}

/* Modal */
.pt-newsletter-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: #fff;
    border-radius: 6px;
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
}
.pt-newsletter-modal.pt-is-open {
    display: block;
}

/* Close button */
.pt-newsletter__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    color: var(--pt-text-light, #aaa);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.pt-newsletter__close:hover {
    color: var(--pt-text, #333);
}

/* Body: two-column layout (image + info) */
.pt-newsletter__body {
    display: flex;
    align-items: stretch;
}
.pt-newsletter__image {
    flex: 0 0 200px;
    background: var(--pt-primary, #0088cc) no-repeat center/cover;
    border-radius: 6px 0 0 6px;
    min-height: 260px;
}
.pt-newsletter__image:empty {
    display: none; /* hide when no image configured */
}
.pt-newsletter__info {
    flex: 1;
    padding: 40px 32px 32px;
}

/* Heading */
.pt-newsletter__title {
    font-family: var(--pt-font-heading, 'Poppins', sans-serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--pt-heading-color, #222);
    padding-right: 24px; /* clear X button */
}
.pt-newsletter__subtitle {
    font-size: 0.9rem;
    color: var(--pt-text-light, #777);
    margin: 0 0 20px;
}

/* Form */
.pt-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pt-newsletter__email {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--pt-border, #ddd);
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.pt-newsletter__email:focus {
    border-color: var(--pt-primary, #0088cc);
}
.pt-newsletter__submit {
    width: 100%;
}

/* "Don't show again" row */
.pt-newsletter__dismiss {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--pt-text-light, #888);
}
.pt-newsletter__dismiss-check {
    margin: 0;
    accent-color: var(--pt-primary, #0088cc);
}

/* Responsive: stack image above on mobile */
@media (max-width: 560px) {
    .pt-newsletter__body {
        flex-direction: column;
    }
    .pt-newsletter__image {
        flex: 0 0 140px;
        border-radius: 6px 6px 0 0;
        min-height: 140px;
    }
    .pt-newsletter__info {
        padding: 28px 20px 24px;
    }
}

/* =============================================================
 * Section 30 — Countdown Timer Widget (PORTO-055)
 * ============================================================= */

.pt-countdown {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pt-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    background: var(--pt-primary, #0088cc);
    color: #fff;
    border-radius: 4px;
    padding: 8px 10px 6px;
    text-align: center;
}

.pt-countdown__item span:first-child {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--pt-font-heading, 'Poppins', sans-serif);
    display: block;
}

.pt-countdown__item span:last-child {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin-top: 3px;
    display: block;
}

/* Separator colons between items */
.pt-countdown__sep {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pt-primary, #0088cc);
    padding-top: 6px;
    line-height: 1;
}

@media (max-width: 480px) {
    .pt-countdown__item {
        min-width: 46px;
        padding: 6px 8px 5px;
    }
    .pt-countdown__item span:first-child {
        font-size: 1.3rem;
    }
}

/* =============================================================
 * Section 31 — LAZY IMAGE LOADING (PORTO-056)
 * IntersectionObserver fade-in for product card images,
 * banners, and slide images. JS adds .pt-lazy on DOMReady,
 * then adds .pt-loaded when the image enters the viewport.
 * Image containers show a light placeholder while loading.
 * ============================================================= */

/**
 * Hidden state: images start invisible when JS assigns .pt-lazy.
 * Transition is on the initial state so the animation is present
 * when .pt-loaded is added and .pt-lazy is removed simultaneously.
 * Images without .pt-lazy are unaffected.
 */
.pt-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/**
 * Loaded state: smooth fade-in once image is in viewport and loaded.
 * Removing .pt-lazy in markLoaded() prevents CSS re-hiding the image.
 */
.pt-loaded {
    opacity: 1;
}

/**
 * Placeholder background for image containers while loading.
 */
.pt-banner,
.pt-slide {
    background-color: var(--pt-bg-light, #f5f5f5);
}

/** Disable lazy-fade transition for users who prefer reduced motion.
 *  Also reveal images immediately so they are never invisible. */
@media (prefers-reduced-motion: reduce) {
    .pt-lazy {
        opacity: 1;
        transition: none;
    }
    .pt-loaded {
        transition: none;
    }
}

/* =============================================================
 * Section 32 — HOVER SWAP IMAGE (PORTO-058)
 * Reveals a second product image on card hover.
 * The hover image (.pt-product-card__img-hover) is positioned
 * absolutely over the primary image and transitions in on hover.
 * JS (lazy-images.js) excludes hover images from its selector
 * so .pt-lazy/.pt-loaded never interfere with hover-swap opacity.
 * Only activates on devices with a precise pointer (desktop) to
 * avoid confusing double-tap behaviour on touch screens.
 * ============================================================= */

/** Hover image: stacked over the primary image, hidden by default.
 *  .pt-product-card__image already has position:relative + overflow:hidden
 *  from Section 9a — no need to redeclare here. */
.pt-product-card__img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
    /* pointer-events off so hover-action buttons are always clickable */
    pointer-events: none;
    z-index: 1;
}

/** Hover-swap only on devices with fine pointer (mouse/trackpad, not touch) */
@media (hover: hover) and (pointer: fine) {
    .pt-product-card:hover .pt-product-card__img-hover {
        opacity: 1;
    }
    /** Fade out the primary image slightly to make the swap feel natural */
    .pt-product-card:hover .pt-product-card__image > a > img:not(.pt-product-card__img-hover) {
        opacity: 0.15;
        transition: opacity 0.35s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-product-card__img-hover {
        transition: none;
    }
}

/* =============================================================
 * Section 33 — Product Grid Type Variations (PORTO-059)
 *
 * Ten CSS-only card layout variants applied via .pt-grid-type-{N}
 * on the .pt-product-grid wrapper. Same HTML for all types.
 *
 * Type 1 — Default (Image top, info below, actions on hover)
 *   Already covered by base .pt-product-card styles. No overrides.
 *
 * Type 2 — Info Overlay (info slides up from bottom on card hover)
 * Type 3 — Side Info (horizontal card: image left, info right)
 * Type 4 — Minimal (image + name + price only; actions hidden)
 * Type 5 — Detailed (description, persistent actions, larger card)
 * Type 6 — Centered (text center-aligned, full-width ATC button)
 * Type 7 — Boxed (bordered card, padded image, prominent badges)
 * Type 8 — Wide (50/50 horizontal card, designed for 2-col grid)
 * Type 9 — Compact (small dense card, 5+ per row)
 * Type 10 — Magazine (first item spans 2 cols, rest are normal)
 * ============================================================= */

/* ── Type 2: Info Overlay ─────────────────────────────────── */
.pt-grid-type-2 .pt-product-card__image {
    position: relative;
    overflow: hidden;
}

.pt-grid-type-2 .pt-product-card__info {
    position: absolute;
    inset: auto 0 0 0;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.pt-grid-type-2 .pt-product-card:hover .pt-product-card__info,
.pt-grid-type-2 .pt-product-card:focus-within .pt-product-card__info {
    transform: translateY(0);
}

.pt-grid-type-2 .pt-product-card__name a,
.pt-grid-type-2 .pt-product-card__price {
    color: #fff;
}

/* Keep the card as a positioned container; overflow:hidden clips __info slide-up.
 * translateZ(0) forces GPU layer on iOS Safari where clip can break without it. */
.pt-grid-type-2 .pt-product-card {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

/* ── Type 3: Side Info ────────────────────────────────────── */
.pt-grid-type-3 .pt-product-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.pt-grid-type-3 .pt-product-card__image {
    flex: 0 0 45%;
    min-width: 0;
}

.pt-grid-type-3 .pt-product-card__info {
    flex: 1 1 0;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
}

/* Actions bar always visible in side layout */
.pt-grid-type-3 .pt-product-card__actions {
    position: static;
    opacity: 1;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

/* ── Type 4: Minimal ──────────────────────────────────────── */
.pt-grid-type-4 .pt-product-card__rating,
.pt-grid-type-4 .pt-product-card__actions,
.pt-grid-type-4 form[data-role="tocart-form"] {
    display: none;
}

.pt-grid-type-4 .pt-product-card__info {
    padding: 0.5rem 0;
}

/* ── Type 5: Detailed ─────────────────────────────────────── */
.pt-grid-type-5 .pt-product-card__actions {
    position: static;
    opacity: 1;
    transform: none;
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Reserve space for description excerpt (added via CSS content trick) */
.pt-grid-type-5 .pt-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pt-grid-type-5 .pt-product-card {
    height: 100%;
}

/* Override the default "hide description in grid mode" rule so Type 5 shows it.
 * Base rule specificity: (.pt-product-grid:not(...) .pt-product-card__description) = (0,3,0).
 * This selector (.pt-grid-type-5.pt-product-grid .pt-product-card__description) = (0,3,0)
 * and appears later in the file, so it wins unambiguously regardless of source order changes. */
.pt-grid-type-5.pt-product-grid .pt-product-card__description {
    /* Use -webkit-box model for line-clamp; this value also serves as display:block fallback */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    color: var(--pt-text-light, #888);
    line-height: 1.5;
    margin: 0;
}

/* ── Type 6: Centered ─────────────────────────────────────── */
.pt-grid-type-6 .pt-product-card__info {
    text-align: center;
}

.pt-grid-type-6 .pt-product-card__rating {
    justify-content: center;
}

.pt-grid-type-6 .pt-product-card__cart {
    width: 100%;
}

.pt-grid-type-6 .pt-product-card__actions {
    left: 50%;
    right: auto; /* reset base right:-50px so left:50% + translateX(-50%) centres correctly */
    transform: translateX(-50%) translateY(4px);
    width: auto;
}

.pt-grid-type-6 .pt-product-card:hover .pt-product-card__actions {
    transform: translateX(-50%) translateY(0);
}

/* ── Type 7: Boxed ────────────────────────────────────────── */
.pt-grid-type-7 .pt-product-card {
    border: 1px solid var(--pt-border, #e0e0e0);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease;
}

.pt-grid-type-7 .pt-product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.pt-grid-type-7 .pt-product-card__image {
    padding: 0.75rem;
    background: var(--pt-bg-light, #f8f8f8);
}

.pt-grid-type-7 .pt-product-card__info {
    padding: 0.75rem;
}

.pt-grid-type-7 .pt-badge {
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
}

/* ── Type 8: Wide (50/50 horizontal, for 2-col grid) ─────── */
.pt-grid-type-8 .pt-product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.pt-grid-type-8 .pt-product-card__image {
    flex: 0 0 50%;
}

.pt-grid-type-8 .pt-product-card__info {
    flex: 1 1 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pt-grid-type-8 .pt-product-card__actions {
    position: static;
    opacity: 1;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

/* ── Type 9: Compact ──────────────────────────────────────── */
.pt-grid-type-9 .pt-product-card__image img {
    max-height: 160px;
    object-fit: cover;
    width: 100%;
}

.pt-grid-type-9 .pt-product-card__name {
    font-size: 0.8rem;
    margin: 0.25rem 0;
}

.pt-grid-type-9 .pt-product-card__price {
    font-size: 0.85rem;
}

.pt-grid-type-9 .pt-product-card__rating {
    display: none;
}

.pt-grid-type-9 .pt-product-card__cart {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
}

/* Use more columns for compact type (override grid-cols via auto-fill) */
@media (min-width: 992px) {
    .pt-grid-type-9.pt-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ── Type 10: Magazine (first item spans 2 cols) ──────────── */
@media (min-width: 768px) {
    .pt-grid-type-10 .pt-product-grid__item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .pt-grid-type-10 .pt-product-grid__item:first-child .pt-product-card__image img {
        max-height: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pt-grid-type-10 .pt-product-grid__item:first-child .pt-product-card {
        height: 100%;
    }

    .pt-grid-type-10 .pt-product-grid__item:first-child .pt-product-card__info {
        padding: 1.25rem;
    }

    .pt-grid-type-10 .pt-product-grid__item:first-child .pt-product-card__name {
        font-size: 1.25rem;
    }
}

/* ===================================================================
   PORTO-061. CMS Pages — About, Contact, FAQ, 404
   =================================================================== */

/* ── CMS page base ──────────────────────────────────────────── */
.pt-cms-page .page-main {
    padding-top: 0;
}

.pt-container--narrow {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pt-gutter);
    padding-right: var(--pt-gutter);
}

/* ── About — Values grid ────────────────────────────────────── */
.pt-about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pt-about-values__item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--pt-bg-light);
    border-radius: var(--pt-radius);
}

.pt-about-values__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.pt-about-values__item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--pt-heading);
}

.pt-about-values__item p {
    font-size: 0.9rem;
    color: var(--pt-text);
    margin: 0;
}

/* ── About — Team grid ──────────────────────────────────────── */
.pt-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pt-team-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    transition: box-shadow var(--pt-transition);
}

.pt-team-card:hover {
    box-shadow: var(--pt-shadow);
}

.pt-team-card__avatar {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.pt-team-card__name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--pt-heading);
}

.pt-team-card__role {
    font-size: 0.875rem;
    color: var(--pt-text-light);
    margin: 0;
}

/* ── Contact layout ─────────────────────────────────────────── */
.pt-contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .pt-contact-layout {
        grid-template-columns: 1fr;
    }
}

.pt-contact-form-wrap .fieldset {
    margin-bottom: 1.5rem;
}

.pt-contact-info__card {
    background: var(--pt-bg-light);
    border-radius: var(--pt-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.pt-contact-info__card h3 {
    margin: 0 0 1.25rem;
    color: var(--pt-heading);
}

.pt-contact-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pt-contact-info__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--pt-text);
}

.pt-contact-info__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pt-contact-map-placeholder {
    background: var(--pt-bg-light);
    border: 1px dashed var(--pt-border);
    border-radius: var(--pt-radius);
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--pt-text-light);
    gap: 0.5rem;
}

.pt-contact-map-placeholder p {
    margin: 0;
    font-size: 0.875rem;
}

/* ── FAQ — accordion ────────────────────────────────────────── */
.pt-faq-group {
    margin-bottom: 2.5rem;
}

.pt-faq-group__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pt-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pt-primary);
}

.pt-accordion__item {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.pt-accordion__trigger {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pt-heading);
    background: var(--pt-bg);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--pt-transition);
}

.pt-accordion__trigger:hover {
    background: var(--pt-bg-light);
}

.pt-accordion__trigger::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--pt-primary);
    transition: transform var(--pt-transition);
    flex-shrink: 0;
    font-weight: 300;
}

details[open] > .pt-accordion__trigger::after {
    transform: rotate(45deg);
}

.pt-accordion__trigger::-webkit-details-marker {
    display: none;
}

.pt-accordion__content {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--pt-text);
    line-height: 1.7;
    background: var(--pt-bg);
}

.pt-accordion__content p {
    margin: 0;
}

/* ── 404 page ───────────────────────────────────────────────── */
.pt-404-number {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 800;
    color: var(--pt-border);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--pt-font-heading);
}

.pt-404-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--pt-heading);
    margin: 0 0 1rem;
}

.pt-404-subtitle {
    font-size: 1.05rem;
    color: var(--pt-text-light);
    max-width: 480px;
    margin: 0 auto;
}

.pt-404-search {
    margin-top: 2rem;
}

/* ===================================================================
   Cart Page
   =================================================================== */

/* ── Cart layout ────────────────────────────────────────────── */
.pt-cart-page .cart-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 991px) {
    .pt-cart-page .cart-container {
        grid-template-columns: 1fr;
    }
}

/* ── Cart table ─────────────────────────────────────────────── */
.pt-cart-page .cart.table-wrapper {
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
}

.pt-cart-page .cart thead th {
    background: var(--pt-bg-light);
    padding: 0.875rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pt-text-dark);
    border-bottom: 1px solid var(--pt-border);
}

.pt-cart-page .cart tbody tr {
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-cart-page .cart tbody tr:last-child {
    border-bottom: none;
}

.pt-cart-page .cart td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.pt-cart-page .product-item-photo .product-image-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--pt-radius-sm);
}

.pt-cart-page .product-item-name a {
    font-weight: 600;
    color: var(--pt-heading);
    text-decoration: none;
}

.pt-cart-page .product-item-name a:hover {
    color: var(--pt-primary);
}

.pt-cart-page .input-text.qty {
    width: 60px;
    text-align: center;
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    padding: 0.5rem;
    font-size: 0.9rem;
}

.pt-cart-page .action.action-delete::before {
    content: '×';
    font-size: 1.25rem;
    color: var(--pt-text-light);
    font-weight: 300;
}

.pt-cart-page .action.action-delete:hover::before {
    color: var(--pt-danger);
}

/* ── Cart actions ───────────────────────────────────────────── */
.pt-cart-page .cart.main.actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ── Cart totals sidebar ────────────────────────────────────── */
.pt-cart-page .cart-summary {
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--pt-header-height) + 1rem);
}

.pt-cart-page .cart-summary > .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pt-heading);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--pt-border);
}

.pt-cart-page .cart-totals .totals th,
.pt-cart-page .cart-totals .totals td {
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.pt-cart-page .cart-totals .grand .mark,
.pt-cart-page .cart-totals .grand .amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pt-heading);
    border-top: 1px solid var(--pt-border);
    padding-top: 0.75rem;
}

.pt-cart-page .checkout-methods-items .action.primary.checkout {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* ── Empty cart ─────────────────────────────────────────────── */
.pt-cart-page .cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.pt-cart-page .cart-empty::before {
    content: '🛒';
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .pt-cart-page .cart thead {
        display: none;
    }

    .pt-cart-page .cart td {
        display: block;
        padding: 0.5rem 1rem;
    }

    .pt-cart-page .cart tr {
        display: block;
        padding: 1rem 0;
    }
}

/* ===================================================================
   Checkout Page
   =================================================================== */

/* ── Layout ─────────────────────────────────────────────────── */
.pt-checkout-page .checkout-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 991px) {
    .pt-checkout-page .checkout-container {
        grid-template-columns: 1fr;
    }
    .pt-checkout-page .opc-sidebar {
        order: -1;
    }
}

/* ── Progress steps ─────────────────────────────────────────── */
.pt-checkout-page .opc-progress-bar {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    counter-reset: step;
}

.pt-checkout-page .opc-progress-bar-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.pt-checkout-page .opc-progress-bar-item::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--pt-border);
    color: var(--pt-text-light);
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0 auto 0.5rem;
    position: relative;
    z-index: 1;
}

.pt-checkout-page .opc-progress-bar-item._active::before,
.pt-checkout-page .opc-progress-bar-item._complete::before {
    background: var(--pt-primary);
    color: #fff;
}

.pt-checkout-page .opc-progress-bar-item > span {
    font-size: 0.8rem;
    color: var(--pt-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pt-checkout-page .opc-progress-bar-item._active > span {
    color: var(--pt-primary);
}

.pt-checkout-page .opc-progress-bar-item + .opc-progress-bar-item::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--pt-border);
    z-index: 0;
}

/* ── Form fields ────────────────────────────────────────────── */
.pt-checkout-page .field .control input,
.pt-checkout-page .field .control select,
.pt-checkout-page .field .control textarea {
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: border-color var(--pt-transition);
    width: 100%;
}

.pt-checkout-page .field .control input:focus,
.pt-checkout-page .field .control select:focus {
    border-color: var(--pt-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
}

/* ── Step titles ────────────────────────────────────────────── */
.pt-checkout-page .step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pt-heading);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--pt-border);
}

/* ── Shipping methods ───────────────────────────────────────── */
.pt-checkout-page .table-checkout-shipping-method tbody tr {
    cursor: pointer;
}

.pt-checkout-page .table-checkout-shipping-method tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-checkout-page .table-checkout-shipping-method .radio {
    accent-color: var(--pt-primary);
}

/* ── Order summary sidebar ──────────────────────────────────── */
.pt-checkout-page .opc-sidebar .opc-block-summary {
    background: var(--pt-bg-light);
    border-radius: var(--pt-radius);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--pt-header-height) + 1rem);
}

.pt-checkout-page .opc-block-summary .title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--pt-heading);
}

.pt-checkout-page .minicart-items .product-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-checkout-page .minicart-items .product-item-photo {
    flex-shrink: 0;
}

.pt-checkout-page .minicart-items .product-image-photo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--pt-radius-sm);
}

/* ── Trust badges ───────────────────────────────────────────── */
.pt-checkout-trust {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pt-border-light);
    font-size: 0.8rem;
    color: var(--pt-text-light);
}

.pt-checkout-trust span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ── Navigation buttons ─────────────────────────────────────── */
.pt-checkout-page .button.action.continue.primary {
    background: var(--pt-primary);
    color: #fff;
    padding: 0.875rem 2rem;
    font-weight: 600;
}

.pt-checkout-page .action-show-popup > span::before,
.pt-checkout-page .action.secondary {
    color: var(--pt-primary);
}

/* ===================================================================
   Customer Account Pages
   =================================================================== */

.pt-account-page .account-nav {
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    overflow: hidden;
}

.pt-account-page .account-nav .title {
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pt-text-light);
    background: var(--pt-bg-light);
    border-bottom: 1px solid var(--pt-border);
}

.pt-account-page .account-nav-item a,
.pt-account-page .account-nav-item strong {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--pt-text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--pt-border-light);
    transition: color var(--pt-transition), background var(--pt-transition);
}

.pt-account-page .account-nav-item a:hover {
    color: var(--pt-primary);
    background: var(--pt-bg-light);
}

.pt-account-page .account-nav-item.current a,
.pt-account-page .account-nav-item.current strong {
    color: var(--pt-primary);
    font-weight: 700;
    border-left: 3px solid var(--pt-primary);
    padding-left: calc(1.25rem - 3px);
}

.pt-account-page .block-dashboard-info,
.pt-account-page .block-dashboard-addresses,
.pt-account-page .block-dashboard-orders {
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pt-account-page .block-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-account-page .block-title strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pt-heading);
}

.pt-account-page .orders-history .table-wrapper {
    border-radius: var(--pt-radius);
    overflow: hidden;
    border: 1px solid var(--pt-border);
}

.pt-account-page .orders-history thead th {
    background: var(--pt-bg-light);
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--pt-text-dark);
}

.pt-account-page .orders-history tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--pt-border-light);
    font-size: 0.875rem;
}

.pt-account-page .orders-history .order-status {
    display: inline-block;
    padding: 0.2em 0.6em;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--pt-bg-light);
    color: var(--pt-text);
}

.pt-account-page .block-addresses-list .items.addresses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.pt-account-page .block-addresses-list .item.address {
    background: var(--pt-bg-light);
    border: 1px solid var(--pt-border);
    border-radius: var(--pt-radius);
    padding: 1.25rem;
}

@media (max-width: 767px) {
    .pt-account-page .sidebar.sidebar-main {
        order: -1;
    }
}

/* ===================================================================
   Search Results Page
   =================================================================== */

.pt-search-results-page .page-title-wrapper .page-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--pt-heading);
    margin-bottom: 0.5rem;
}

.pt-search-results-page .search.found {
    color: var(--pt-text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pt-search-results-page .search.found strong {
    color: var(--pt-primary);
}

.pt-search-results-page .search-no-result {
    text-align: center;
    padding: 3rem 1rem;
}

.pt-search-results-page .search-no-result::before {
    content: '🔍';
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
}

.pt-search-results-page .search-no-result .message {
    font-size: 1.1rem;
    color: var(--pt-text);
    margin-bottom: 0.5rem;
}

.pt-search-results-page .search-no-result ul {
    list-style: none;
    padding: 0;
    color: var(--pt-text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.pt-search-results-page .search-no-result ul li::before {
    content: '→ ';
    color: var(--pt-primary);
}

/* ===================================================================
   Cross-Browser Compatibility Fixes
   =================================================================== */

/* IE11 has <1% market share; we intentionally do not support it. */

/* ── Safari: text-size-adjust ───────────────────────────────── */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ── Firefox: input[type=number] spinner removal ────────────── */
input[type='number'] {
    -moz-appearance: textfield;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Safari: sticky position ────────────────────────────────── */
.pt-sticky-header {
    position: -webkit-sticky; /* old Safari */
    position: sticky;
}

/* ── Swiper: touch-action for iOS scroll ────────────────────── */
.swiper {
    touch-action: pan-y;
}

/* ── iOS Safari: avoid 100vh ────────────────────────────────── */
.pt-hero--fullscreen {
    min-height: 90vh;
}

/* ── Print: hide UI chrome ──────────────────────────────────── */
@media print {
    .pt-header,
    .pt-footer,
    .pt-newsletter-popup,
    .pt-sticky-header,
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #555;
    }
}

/* ===================================================================
   Performance — CSS hints & optimizations
   =================================================================== */

/* ── content-visibility for footer (Chrome 85+) ─────────────── */
/* Applied only to the footer: it's always below the fold and has no
   sticky children. Broader application (e.g. .pt-section) breaks
   sticky positioning via the implied CSS containment boundary. */
.pt-footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* ── will-change: applied via JS just before animation starts ── */
/* Permanent will-change promotes every matching element to its own
   compositing layer unconditionally, wasting GPU memory.
   JS adds/removes it around the transform animation instead. */

/* ── Reduce motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .pt-hero-slider,
    .pt-brand-slider {
        animation: none !important;
    }
}

/* ── High-contrast mode support ─────────────────────────────── */
@media (prefers-contrast: more) {
    :root {
        --pt-border: #767676;
        --pt-text-light: #595959;
    }

    .pt-btn {
        border: 2px solid currentColor;
    }
}

/* ===================================================================
   VQA Pixel-Perfect Fixes
   =================================================================== */

/* --- VQA-001: Nav Home link highlight --- */
.pt-nav__item--home .pt-nav__link {
    font-weight: 700;
}

/* --- VQA-002 / VQA-003: Homepage 2-column with sidebar --- */
/* CSS Grid: sidebar left (280px) + main content right — matches Porto Demo 1 */
.pt-homepage-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    max-width: var(--pt-max-width, 1200px);
    margin: 0 auto;
    padding: 20px 15px;
}
.pt-homepage-sidebar {
    grid-column: 1;
    grid-row: 1;
}
.pt-homepage-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

@media (max-width: 767px) {
    .pt-homepage-grid {
        grid-template-columns: 1fr;
    }
    .pt-homepage-sidebar {
        grid-row: auto;
    }
}

/* --- VQA-003: Browse Categories Sidebar Panel --- */
.pt-sidebar-nav {
    background: #fff;
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
}

h3.pt-sidebar-nav__title,
.pt-sidebar-nav .pt-sidebar-nav__title {
    background: #f4f4f4;
    color: #313131;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 20px;
    margin: 0;
    border-left: 3px solid #0088cc;
    border-bottom: 1px solid #e1e1e1;
}

.pt-sidebar-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-sidebar-nav__item {
    border-bottom: 1px solid var(--pt-border-light);
    position: relative;
}

.pt-sidebar-nav__item:last-child {
    border-bottom: 0;
}

.pt-sidebar-nav__link,
.pt-sidebar-nav__link:link,
.pt-sidebar-nav__link:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px 14px 5px;
    font-size: 14px;
    font-weight: 600;
    color: #222529;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.pt-sidebar-nav__link:hover {
    color: var(--pt-primary);
    background: var(--pt-bg-light);
}

/* R3-006: Sidebar submenu — flyout to the right (matching Porto Demo 1) */
.pt-sidebar-nav__item {
    position: relative;
}
.pt-sidebar-nav__item > ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}
.pt-sidebar-nav__item:hover > ul {
    display: block;
}
/* Show chevron arrow for items with children */
.pt-sidebar-nav__item > a .pt-sidebar-nav__arrow {
    margin-left: auto;
    font-size: 10px;
    color: #999;
    transition: transform 0.2s;
}
.pt-sidebar-nav__item:hover > a .pt-sidebar-nav__arrow {
    color: #0088cc;
}

.pt-sidebar-nav__icon {
    flex-shrink: 0;
    color: #999;
}

.pt-sidebar-nav__arrow {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--pt-text-light);
}

.pt-sidebar-nav__sub {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    background: #fff;
}

.pt-sidebar-nav__sub-item {
    border-bottom: none;
}

.pt-sidebar-nav__sub-item:last-child {
    border-bottom: 0;
}

.pt-sidebar-nav__sub-link {
    display: block;
    padding: 6px 20px;
    font-size: 13px;
    color: var(--pt-text);
    text-decoration: none;
    transition: color var(--pt-transition);
}

.pt-sidebar-nav__sub-link:hover {
    color: var(--pt-primary);
}

/* --- VQA-004: Hero inset in 2-column grid --- */
.pt-hero--inset {
    width: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
}

.pt-hero--inset .pt-hero__slide {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 40px 30px;
}

.pt-hero--inset .pt-hero__content {
    max-width: 480px;
}

.pt-hero--inset .pt-hero__subtitle {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.pt-hero--inset .pt-hero__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
}

.pt-hero--inset .pt-hero__title strong {
    color: var(--pt-primary-light);
}

.pt-hero--inset .pt-hero__desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 15px;
}

.pt-hero--inset .pt-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- VQA-010: Logo proportions — matched to original Porto (111x44) --- */
.pt-header__logo img {
    max-height: 44px;
    width: 111px;
    max-width: 111px;
}

/* --- VQA-012: Add to Cart button — dark/black style on PDP --- */
.pt-product-page .pt-addtocart__submit {
    background-color: var(--pt-bg-dark);
    border-color: var(--pt-bg-dark);
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pt-product-page .pt-addtocart__submit::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.pt-product-page .pt-addtocart__submit:hover {
    background-color: var(--pt-primary);
    border-color: var(--pt-primary);
    color: #fff;
}

/* --- VQA-013: Login page centered layout --- */
.pt-login-page .login-container {
    max-width: 900px;
    margin: 40px auto;
}

.pt-login-page .block-customer-login .block-title,
.pt-login-page .block-new-customer .block-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pt-heading);
    border-bottom: 1px solid var(--pt-border);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.pt-login-page .actions-toolbar .action.login,
.pt-login-page .actions-toolbar .action.create {
    display: block;
    width: 100%;
    background: var(--pt-bg-dark);
    color: #fff;
    border: 2px solid var(--pt-bg-dark);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: background var(--pt-transition), border-color var(--pt-transition);
}

.pt-login-page .actions-toolbar .action.login:hover,
.pt-login-page .actions-toolbar .action.create:hover {
    background: var(--pt-primary);
    border-color: var(--pt-primary);
}

/* --- VQA-014: Registration page styling --- */
.pt-register-page .form.create.account {
    max-width: 800px;
    margin: 40px auto;
}

.pt-register-page .actions-toolbar .action.submit {
    display: block;
    width: 100%;
    background: var(--pt-bg-dark);
    color: #fff;
    border: 2px solid var(--pt-bg-dark);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--pt-transition), border-color var(--pt-transition);
}

.pt-register-page .actions-toolbar .action.submit:hover {
    background: var(--pt-primary);
    border-color: var(--pt-primary);
}

/* --- VQA-015: Cart empty state — full-width black button --- */
.pt-cart-page .cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.pt-cart-page .cart-empty p {
    font-size: 16px;
    color: var(--pt-text);
    margin-bottom: 25px;
}

.pt-cart-page .cart-empty .action.continue {
    display: inline-block;
    background: var(--pt-bg-dark);
    color: #fff;
    border: 2px solid var(--pt-bg-dark);
    padding: 14px 48px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background var(--pt-transition), border-color var(--pt-transition);
}

.pt-cart-page .cart-empty .action.continue:hover {
    background: var(--pt-primary);
    border-color: var(--pt-primary);
    color: #fff;
}

.pt-cart-page .page-title-wrapper .page-title {
    color: var(--pt-primary);
}

/* --- VQA-016: Blog heading Porto blue --- */
.blog-index-index .page-title-wrapper .page-title,
.blog-post-view .page-title-wrapper .page-title,
.amasty-blog-index-index .page-title-wrapper .page-title,
[class*="blog"] .page-title-wrapper .page-title {
    color: var(--pt-primary);
}

/* --- VQA-017: Hide star ratings on product listing grid cards --- */
.pt-product-grid .pt-product-card__rating,
.pt-product-grid .rating-summary,
.pt-product-grid .reviews-actions {
    display: none;
}

/* --- VQA-019: Pre-header promotional bar --- */
.pt-promo-bar {
    background: #2d2d2d;
    color: #fff;
    text-align: center;
    padding: 8px 40px;
    font-size: 13px;
    position: relative;
    z-index: 101;
}

.pt-promo-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: var(--pt-container);
    margin: 0 auto;
}

.pt-promo-bar__text {
    margin: 0;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pt-promo-bar__cta {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
}

.pt-promo-bar__cta:hover {
    color: #ccc;
}

.pt-promo-bar__note {
    font-size: 12px;
    color: #aaa;
    font-style: normal;
}

.pt-promo-bar__close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    opacity: 0.8;
    transition: opacity var(--pt-transition);
    line-height: 1;
}

.pt-promo-bar__close:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .pt-promo-bar {
        padding: 8px 35px;
        font-size: 12px;
    }
}

/* --- VQA-020: Disable sticky nav on scroll (Porto Demo 1 reference has no sticky) --- */
/* The sticky bar is controlled by pt-sticky-header body class.
 * Demo 1 does not use sticky — hide the sticky bar by default for demo1.
 * This is controlled via ThemeConfig admin config; CSS below ensures
 * the bar is invisible even if the class is accidentally applied. */
body:not(.pt-sticky-header) .pt-sticky-bar {
    display: none !important;
}

/* --- VQA-021: Phone header "CALL US NOW" style --- */
.pt-header__phone-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pt-header__phone-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pt-text-light);
}

.pt-header__phone-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--pt-heading);
    white-space: nowrap;
}

/* --- VQA-022: Footer payment icons — standardize sizing --- */
.pt-footer-bottom__payment-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity var(--pt-transition);
}

.pt-footer-bottom__payment-icon:hover {
    opacity: 1;
}

.pt-footer-bottom__payment-icon svg {
    display: block;
    border-radius: 3px;
}

/* --- VQA-011: Social share block on PDP --- */
.pt-product-social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px solid var(--pt-border);
    margin-top: 15px;
}

.pt-product-social-share__label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pt-text-dark);
    white-space: nowrap;
}

.pt-product-social-share__links {
    display: flex;
    gap: 8px;
}

.pt-product-social-share__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pt-bg-light);
    color: var(--pt-text-dark);
    text-decoration: none;
    transition: background var(--pt-transition), color var(--pt-transition);
    border: 1px solid var(--pt-border);
}

.pt-product-social-share__link:hover {
    background: var(--pt-primary);
    color: #fff;
    border-color: var(--pt-primary);
}

.pt-product-social-share__link--facebook:hover  { background: #1877f2; border-color: #1877f2; }
.pt-product-social-share__link--twitter:hover   { background: #1da1f2; border-color: #1da1f2; }
.pt-product-social-share__link--pinterest:hover  { background: #e60023; border-color: #e60023; }
.pt-product-social-share__link--linkedin:hover   { background: #0a66c2; border-color: #0a66c2; }
.pt-product-social-share__link--whatsapp:hover   { background: #25d366; border-color: #25d366; }

/* --- VQA-011: Prev/Next product navigation --- */
.pt-product-prev-next {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--pt-border);
    margin-top: 10px;
}

.pt-product-prev-next__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-text);
    text-decoration: none;
    transition: color var(--pt-transition);
    padding: 5px 0;
}

.pt-product-prev-next__link:hover {
    color: var(--pt-primary);
}

/* --- VQA-025: Product custom tab content --- */
.pt-product-custom-tab {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--pt-text);
}

.pt-product-custom-tab p {
    margin-bottom: 15px;
}

.pt-product-custom-tab h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--pt-heading);
}

.pt-product-custom-tab__checklist {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.pt-product-custom-tab__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--pt-text);
    margin-bottom: 8px;
    line-height: 1.6;
}

.pt-product-custom-tab__checklist .pt-check-icon {
    flex-shrink: 0;
    color: var(--pt-primary);
    margin-top: 3px;
}

/* --- VQA-028: Homepage section spacing reduction --- */
.pt-homepage .pt-homepage-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.pt-homepage .pt-section-header {
    margin-bottom: 20px;
    text-align: left;
}

.pt-homepage h2.pt-section-title {
    font-size: 16px;
    margin-bottom: 24px;
    display: block;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.pt-homepage h2.pt-section-title::after {
    display: none;
}

/* --- VQA-007: Contact page styling --- */
.pt-contact-page .fieldset.contact {
    background: var(--pt-bg-light);
    padding: 25px;
    border: 1px solid var(--pt-border);
}

.pt-contact-page .actions-toolbar .action.submit {
    background: var(--pt-bg-dark);
    color: #fff;
    border: 2px solid var(--pt-bg-dark);
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--pt-transition);
}

.pt-contact-page .actions-toolbar .action.submit:hover {
    background: var(--pt-primary);
    border-color: var(--pt-primary);
}

/* --- VQA-005: About Us page --- */
.pt-about-page .pt-about-hero {
    margin-left: calc(-1 * var(--pt-gutter));
    margin-right: calc(-1 * var(--pt-gutter));
}

/* --- General: Hide Magento default compare/wishlist sidebar widgets --- */
.block.block-compare,
.block.block-wishlist.widget,
.catalog-compare-sidebar {
    display: none !important;
}

/* ===================================================================
 * PORTO DEMO 1 — HOMEPAGE SECTIONS
 * =================================================================== */

/* --- Trust Bar (FREE SHIPPING, MONEY BACK, ONLINE SUPPORT) --- */
.pt-trustbar {
    background: #f4f4f4;
    padding: 12px 0;
    margin-bottom: 0;
}
.pt-trustbar__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: var(--pt-max-width, 1200px);
    margin: 0 auto;
    padding: 0 15px;
}
.pt-trustbar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.pt-trustbar__item + .pt-trustbar__item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #ddd;
}
.pt-trustbar__icon {
    flex-shrink: 0;
    width: 35px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222529;
}
.pt-trustbar__icon svg {
    stroke: #222529;
    width: 29px;
    height: 29px;
}
.pt-trustbar__text h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px;
    color: #222529;
    text-transform: uppercase;
}
.pt-trustbar__text p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* --- Hero Slider --- */
.pt-hero-slider {
    margin-bottom: 20px;
    border-radius: 0;
}
.pt-hero-slide {
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 40px 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.pt-hero-slide--dark {
    color: #fff;
}
.pt-hero-slide--dark .pt-hero-slide__content {
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.pt-hero-slide--dark .pt-hero-slide__title,
.pt-hero-slide--dark .pt-hero-slide__subtitle,
.pt-hero-slide--dark .pt-hero-slide__price-label,
.pt-hero-slide--dark .pt-hero-slide__price-value,
.pt-hero-slide--dark .pt-hero-slide__deal span,
.pt-hero-slide--dark .pt-hero-slide__deal strong,
.pt-hero-slide--dark .pt-hero-slide__deal em,
.pt-hero-slide--dark .pt-hero-slide__deal p {
    color: #fff;
}
.pt-hero-slide--light {
    color: #333;
}
.pt-hero-slide--light .pt-hero-slide__content {
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}
.pt-hero-slide--light .pt-hero-slide__title {
    color: #333;
}
.pt-hero-slide--light .pt-hero-slide__subtitle {
    color: #777;
}
.pt-hero-slide--light .pt-hero-slide__price-label {
    color: #999;
}
.pt-hero-slide--light .pt-hero-slide__price-value {
    color: #333;
}
.pt-hero-slide--light .pt-btn--primary {
    border-color: #333;
    color: #333;
}
.pt-hero-slide--light .pt-btn--primary:hover {
    background: #333;
    color: #fff;
}
.pt-hero-slide:nth-child(1) .pt-hero-slide__content {
    max-width: 50%;
}
.pt-hero-slide__content {
    color: #fff;
    position: relative;
    z-index: 2;
    top: auto;
    transform: none;
    padding: 0;
}
.pt-hero-slide__subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
/* nth-child(1) color overrides moved to .pt-hero-slide--light modifier */
.pt-hero-slide__title {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 15px;
    color: #fff;
    line-height: 1.1;
}
.pt-hero-slide .pt-btn--primary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 28px;
    font-size: 13px;
}
.pt-hero-slide .pt-btn--primary:hover {
    background: #fff;
    color: #333;
}
/* nth-child(1) button overrides moved to .pt-hero-slide--light modifier */
.pt-hero-slide__price {
    margin-bottom: 20px;
}
.pt-hero-slide__price-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.pt-hero-slide__price-value {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}
.pt-hero-slide__price-value sup {
    font-size: 16px;
}
.pt-hero-slide__deal {
    margin-bottom: 20px;
    line-height: 1.4;
}
.pt-hero-slide__deal span {
    font-size: 13px;
    text-transform: uppercase;
    display: block;
    color: rgba(255,255,255,0.7);
}
.pt-hero-slide__deal strong {
    font-size: 42px;
    display: block;
    color: #fff;
}
.pt-hero-slide__deal em {
    font-size: 18px;
    font-style: normal;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}
.pt-hero-slide__deal p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 5px 0 0;
}

/* --- Category Banners (Watches / Deals / Handbags) --- */
.pt-category-banners__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.pt-category-banner {
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 170px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
}
.pt-category-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
    z-index: 0;
}
.pt-category-banner__badge,
.pt-category-banner__content {
    position: relative;
    z-index: 1;
}
.pt-category-banner__content h3,
.pt-category-banner__content h4 {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.pt-category-banner__content .pt-btn--sm {
    background: #fff;
    color: #333;
    border: none;
}
.pt-category-banner__content .pt-btn--sm:hover {
    background: #0088cc;
    color: #fff;
}
.pt-category-banner__badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.pt-category-banner__badge span {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.pt-category-banner__badge em {
    font-style: normal;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}
.pt-category-banner__content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #fff;
}
.pt-category-banner__content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
    color: rgba(255,255,255,0.9);
}
.pt-category-banner__content h4 del {
    color: rgba(255,255,255,0.6);
    margin-right: 5px;
}
.pt-category-banner__content h4 sup {
    font-size: 11px;
}

/* --- Sidebar Sale Badge --- */
.pt-sidebar-sale {
    background: #f4f4f4;
    padding: 25px 20px;
    text-align: center;
    margin-bottom: 20px;
}
.pt-sidebar-sale-slider {
    overflow: hidden;
}
.pt-sidebar-sale-slider .swiper-slide {
    height: auto;
}
.pt-sidebar-sale-pagination {
    text-align: center;
    margin-top: 10px;
}
.pt-sidebar-sale-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 3px;
}
.pt-sidebar-sale-pagination .swiper-pagination-bullet-active {
    background: var(--pt-primary, #0088cc);
}
.pt-sidebar-sale__badge {
    margin-bottom: 15px;
}
.pt-sidebar-sale__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.pt-sidebar-sale__heading {
    margin: 0 0 10px;
    line-height: 1;
}
.pt-sidebar-sale__title {
    font-size: 18px;
    font-weight: 700;
    color: #222529;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.pt-sidebar-sale__deal {
    margin-bottom: 10px;
}
.pt-sidebar-sale__up {
    display: block;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 5px;
}
.pt-sidebar-sale__pct {
    font-size: 72px;
    font-weight: 800;
    color: var(--pt-primary, #0088cc);
    line-height: 1;
}
.pt-sidebar-sale__pct sup {
    font-size: 32px;
    vertical-align: super;
}
.pt-sidebar-sale__pct-lg {
    font-size: 48px;
    font-weight: 800;
    color: var(--pt-primary, #0088cc);
    line-height: 1;
    display: block;
}
.pt-sidebar-sale__off {
    font-size: 18px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}
.pt-sidebar-sale__desc {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

/* --- Sidebar Newsletter --- */
.pt-sidebar-newsletter {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 15px;
    margin-bottom: 15px;
}
.pt-sidebar-newsletter__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.pt-sidebar-newsletter p {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

/* --- Sidebar Testimonial --- */
.pt-sidebar-testimonials {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 15px;
    margin-bottom: 15px;
}
.pt-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.pt-testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #999;
    flex-shrink: 0;
    overflow: hidden;
}
.pt-testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pt-testimonial__author-info strong {
    display: block;
    font-size: 14px;
    color: #313131;
}
.pt-testimonial__author-info span {
    display: block;
    font-size: 12px;
    color: #999;
}
.pt-testimonial__mark {
    font-size: 48px;
    font-family: Georgia, serif;
    color: var(--pt-primary, #0088cc);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}
.pt-testimonial__quote {
    font-size: 13px;
    color: #555;
    margin: 0;
    border: none;
    padding: 0;
    font-style: italic;
}

/* --- Testimonial Carousel --- */
.pt-testimonial-slider {
    overflow: hidden;
}
.pt-testimonial-slider .swiper-slide {
    height: auto;
}
.pt-testimonial-slider .pt-testimonial {
    padding: 0;
}
.pt-testimonial-pagination {
    text-align: center;
    margin-top: 10px;
}
.pt-testimonial-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 3px;
}
.pt-testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--pt-primary, #0088cc);
}

/* --- Sidebar Blog Posts --- */
.pt-sidebar-blog {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 0;
}
.pt-sidebar-blog__post {
    border-bottom: 1px solid #f0f0f0;
}
.pt-sidebar-blog__post:last-child {
    border-bottom: none;
}
/* Blog carousel */
.pt-sidebar-blog-slider {
    overflow: hidden;
}
.pt-sidebar-blog-slider .swiper-slide {
    height: auto;
}
.pt-sidebar-blog-pagination {
    text-align: center;
    margin-top: 10px;
}
.pt-sidebar-blog-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 3px;
}
.pt-sidebar-blog-pagination .swiper-pagination-bullet-active {
    background: var(--pt-primary, #0088cc);
}
.pt-sidebar-blog__post {
    border-bottom: none;
}
.pt-sidebar-blog__image-link {
    display: block;
    overflow: hidden;
}
.pt-sidebar-blog__image-link img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.pt-sidebar-blog__info {
    padding: 15px;
    position: relative;
}
.pt-sidebar-blog__date {
    display: inline-block;
    background: var(--pt-primary, #0088cc);
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    line-height: 1.2;
    margin-bottom: 8px;
}
.pt-sidebar-blog__day {
    display: block;
    font-size: 16px;
    font-weight: 700;
}
.pt-sidebar-blog__month {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
}
.pt-sidebar-blog__info h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 8px 0 5px;
}
.pt-sidebar-blog__info h4 a {
    color: #313131;
    text-decoration: none;
}
.pt-sidebar-blog__info h4 a:hover {
    color: var(--pt-primary, #0088cc);
}
.pt-sidebar-blog__info p {
    font-size: 12px;
    color: #777;
    margin: 0 0 5px;
}
.pt-sidebar-blog__more {
    font-size: 12px;
    color: var(--pt-primary, #0088cc);
    text-decoration: none;
}

/* --- Three-Column Products (Top Rated / Best Selling / Latest) --- */
.pt-homepage-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.pt-three-col__title {
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    margin: 0 0 15px;
    text-transform: uppercase;
}

/* --- Small Product List --- */
.pt-list-small__item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.pt-list-small__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pt-list-small__image {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
}
.pt-list-small__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pt-list-small__name {
    font-size: 13px;
    font-weight: 600;
    color: #313131;
    display: block;
    margin-bottom: 4px;
    text-decoration: none;
}
.pt-list-small__name:hover {
    color: var(--pt-primary, #0088cc);
}
.pt-list-small__price {
    font-size: 14px;
    font-weight: 700;
    color: #313131;
}

/* --- Service Icons (Customer Support / Secured Payment / Returns) --- */
.pt-services {
    border-top: 1px solid var(--pt-border, #e1e1e1);
    padding: 30px 0;
    margin-top: 30px;
}
.pt-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pt-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.pt-service__icon {
    flex-shrink: 0;
    background: transparent;
    border: 2px solid #0188cc;
    border-radius: 500px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0188cc;
}
.pt-service__icon svg {
    stroke: #0188cc;
    width: 36px;
    height: 36px;
}
.pt-service__text h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-transform: none;
    color: #222529;
}
.pt-service__text p {
    font-size: 14px;
    color: #555;
    margin: 2px 0 0;
    font-style: normal;
}
.pt-service__desc {
    display: block;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-top: 4px;
}

/* --- Brand Logos --- */
.pt-brand-logos {
    border-top: 1px solid var(--pt-border, #e1e1e1);
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    padding: 32px 0;
    margin: 24px 0;
}
.pt-brand-logos__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.pt-brand-logos__item {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    border-right: 1px solid var(--pt-border, #e1e1e1);
}
.pt-brand-logos__item:last-child {
    border-right: none;
}
.pt-brand-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
    display: inline-block;
    font-size: 26px !important;
    letter-spacing: 2px;
}
.pt-brand-logos__item:hover .pt-brand-logo {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Footer improvements to match Porto original --- */
.pt-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pt-footer-contact-list li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #777;
}
.pt-footer-contact-list strong {
    color: #555;
    font-size: 12px;
}
.pt-footer-social {
    margin-top: 15px;
}
.pt-social-link {
    display: inline-block;
    margin-right: 8px;
    font-size: 13px;
    color: #777;
    text-decoration: none;
}
.pt-social-link:hover {
    color: var(--pt-primary, #0088cc);
}
.pt-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.pt-tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    border-radius: 2px;
}
.pt-tag:hover {
    border-color: var(--pt-primary, #0088cc);
    color: var(--pt-primary, #0088cc);
}
.pt-footer-readmore {
    font-size: 13px;
    color: var(--pt-primary, #0088cc);
    text-decoration: none;
}

/* --- Footer CMS Block Widget Styles (dark background context) --- */
.pt-footer-widget__title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: normal;
    margin: 0 0 15px;
    padding-bottom: 0;
    border-bottom: none;
}
.pt-footer-widget p {
    color: #999;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 12px;
}
.pt-footer-middle .pt-footer-readmore {
    color: var(--pt-primary-light, #39f);
}
.pt-footer-middle .pt-footer-readmore:hover {
    color: #fff;
}
.pt-footer-middle .pt-footer-contact-list li {
    color: #999;
}
.pt-footer-middle .pt-footer-contact-list strong {
    color: #ccc;
}
.pt-footer-middle .pt-footer-contact-list a {
    color: var(--pt-primary-light, #39f);
    text-decoration: none;
}
.pt-footer-middle .pt-footer-contact-list a:hover {
    color: #fff;
}
.pt-footer-middle .pt-social-link {
    color: #999;
}
.pt-footer-middle .pt-social-link:hover {
    color: var(--pt-primary-light, #39f);
}
.pt-footer-middle .pt-social-link i {
    margin-right: 4px;
}
.pt-footer-middle .pt-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pt-footer-middle .pt-footer-links li {
    margin-bottom: 8px;
}
.pt-footer-middle .pt-footer-links a {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
    transition: color var(--pt-transition);
}
.pt-footer-middle .pt-footer-links a:hover {
    color: var(--pt-primary-light, #39f);
}
.pt-footer-middle .pt-tag {
    border-color: rgba(255, 255, 255, 0.15);
    color: #999;
}
.pt-footer-middle .pt-tag:hover {
    border-color: var(--pt-primary, #0088cc);
    color: var(--pt-primary-light, #39f);
}

/* --- Promo Slider --- */
.pt-promo-slider {
    margin-bottom: 20px;
}
.pt-promo-slide {
    min-height: 250px;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 40px;
}
.pt-promo-slider .swiper-wrapper {
    display: flex;
}
.pt-promo-slide__content h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 5px;
}
.pt-promo-slide__content h3 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 15px;
    color: #fff;
}
.pt-promo-slide__content h2 {
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 5px;
}
.pt-promo-slide__price {
    margin-bottom: 20px;
}
.pt-promo-slide__price span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.pt-promo-slide__price strong {
    font-size: 36px;
    font-weight: 700;
}
.pt-promo-slide__price strong sup {
    font-size: 14px;
}

/* ===================================================================
   Category Page — Sidebar Blocks (Porto Demo 1)
   =================================================================== */

/* --- Sidebar Block Shared (section heading style) --- */
.pt-sidebar-block {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-sidebar-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pt-sidebar-block__title {
    font-family: var(--pt-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pt-heading);
    letter-spacing: 0.5px;
    margin: 0 0 15px;
    padding: 0 0 12px;
    border-bottom: 2px solid var(--pt-primary);
    line-height: 1.4;
}

/* --- Sidebar: Featured Products --- */
.pt-sidebar-featured__list {
    display: flex;
    flex-direction: column;
}

.pt-sidebar-featured__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--pt-border-light);
    transition: background-color var(--pt-transition);
}

.pt-sidebar-featured__item:last-child {
    border-bottom: none;
}

.pt-sidebar-featured__item:hover {
    text-decoration: none;
}

.pt-sidebar-featured__item:hover .pt-sidebar-featured__name {
    color: var(--pt-primary);
}

.pt-sidebar-featured__image {
    flex-shrink: 0;
    width: 75px;
}

.pt-sidebar-featured__image img {
    width: 100%;
    height: auto;
    display: block;
}

.pt-sidebar-featured__info {
    flex: 1;
    min-width: 0;
}

.pt-sidebar-featured__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-text-dark);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color var(--pt-transition);
    overflow: hidden;
    text-overflow: ellipsis;
}

@supports (-webkit-line-clamp: 2) {
    .pt-sidebar-featured__name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.pt-sidebar-featured__price {
    font-size: 13px;
}

.pt-sidebar-featured__price .price {
    font-weight: 700;
    color: var(--pt-primary);
}

.pt-sidebar-featured__price .old-price .price {
    font-weight: 400;
    color: var(--pt-text-light);
    text-decoration: line-through;
    font-size: 12px;
}

/* --- Sidebar: Custom HTML Block --- */
.pt-sidebar-custom-html__content {
    font-size: 13px;
    line-height: 1.7;
    color: var(--pt-text);
}

.pt-sidebar-custom-html__subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--pt-text-dark);
    margin: 0 0 8px;
}

.pt-sidebar-custom-html__text {
    margin: 0;
    color: var(--pt-text);
}

/* --- Category Page: Promo Banners (3-column) --- */
.pt-category-promo-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.pt-category-promo-banner {
    padding: 25px 20px;
    text-align: center;
    border-radius: var(--pt-radius);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    transition: opacity var(--pt-transition);
}

.pt-category-promo-banner:hover {
    opacity: 0.9;
}

.pt-category-promo-banner__content {
    width: 100%;
}

.pt-category-promo-banner__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 5px;
    font-weight: 400;
}

.pt-category-promo-banner__label strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-top: 3px;
    letter-spacing: 0;
}

.pt-category-promo-banner__price {
    margin: 10px 0;
}

.pt-category-promo-banner__price span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.pt-category-promo-banner__price strong {
    font-size: 28px;
    font-weight: 700;
}

.pt-category-promo-banner__cta {
    display: inline-block;
    padding: 8px 22px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--pt-radius-sm);
    transition: background-color var(--pt-transition), border-color var(--pt-transition);
    cursor: pointer;
}

.pt-category-promo-banner__cta:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* --- Category Page: Sidebar Category Navigation (enhanced) --- */
.pt-category-page .sidebar-main .block-category-navigation {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pt-border-light);
}

.pt-category-page .sidebar-main .block-category-navigation > .block-title {
    clip: auto;
    border: 0;
    height: auto;
    margin: 0 0 12px;
    overflow: visible;
    padding: 0 0 10px;
    position: static;
    white-space: normal;
    width: auto;
    font-family: var(--pt-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pt-heading);
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--pt-primary);
}

/* --- Category Page: Enhanced Layered Navigation Title --- */
.pt-category-page .sidebar-main .block.filter > .block-title {
    clip: auto;
    border: 0;
    height: auto;
    margin: 0 0 12px;
    overflow: visible;
    padding: 0 0 10px;
    position: static;
    white-space: normal;
    width: auto;
    font-family: var(--pt-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pt-heading);
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--pt-primary);
}

.pt-category-page .sidebar-main .block.filter > .block-title strong {
    font-weight: 700;
}

/* --- Category Page: Product Grid Column Count Default --- */
/* Porto Demo 1 category uses 3 columns when sidebar is present */
.pt-category-page .column.main .pt-product-grid:not([class*="pt-grid--cols-"]) {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Category Page: Toolbar Enhancements --- */
/* Hide duplicate toolbar-amount on the bottom toolbar */
.pt-category-page .toolbar-products:last-child .toolbar-amount {
    display: none;
}

/* --- Category Page: Magento Price Styling in Product Grid --- */
.pt-category-page .pt-product-card .price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.pt-category-page .pt-product-card .price-box .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--pt-text-dark);
}

.pt-category-page .pt-product-card .price-box .old-price .price {
    font-size: 13px;
    font-weight: 400;
    color: var(--pt-text-light);
    text-decoration: line-through;
}

.pt-category-page .pt-product-card .price-box .special-price .price {
    color: var(--pt-secondary);
}

/* ===================================================================
   Category Page — Responsive Overrides
   =================================================================== */

@media (max-width: 991px) {
    .pt-category-promo-banners {
        grid-template-columns: 1fr;
    }

    .pt-sidebar-featured,
    .pt-sidebar-custom-html {
        display: none;
    }

    .pt-category-page .sidebar-main .pt-sidebar-featured,
    .pt-category-page .sidebar-main .pt-sidebar-custom-html {
        display: block;
    }
}

@media (max-width: 767px) {
    .pt-category-promo-banners {
        gap: 10px;
    }

    .pt-category-promo-banner {
        min-height: 120px;
        padding: 15px;
    }

    .pt-category-promo-banner__label strong {
        font-size: 18px;
    }

    .pt-category-promo-banner__price strong {
        font-size: 22px;
    }

    .pt-category-page .breadcrumbs {
        margin: 0 0 15px;
        padding: 10px 15px;
    }
}

@media (max-width: 767px) {
    .pt-trustbar__grid {
        flex-direction: column;
        gap: 15px;
    }
    .pt-category-banners__grid {
        grid-template-columns: 1fr;
    }
    .pt-homepage-three-col {
        grid-template-columns: 1fr;
    }
    .pt-services__grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   PDP — Product Detail Page Porto Demo 1 Refinements
   12 fixes for pixel-perfect match to original Porto Demo 1
   =================================================================== */

/* --- PDP-01: Image gallery — thumbnail strip below main image --- */
/* Fotorama default is horizontal thumbs below, which matches Porto Demo 1.
 * These overrides ensure proper spacing and highlight the active thumb. */
.pt-product-page .fotorama__nav-wrap {
    margin-top: 12px;
}

.pt-product-page .fotorama__nav--thumbs .fotorama__nav__frame--thumb {
    width: 100px;
    height: 100px;
    margin: 0 4px;
    padding: 2px;
}

.pt-product-page .fotorama__nav--thumbs .fotorama__thumb {
    border: 0;
}

.pt-product-page .fotorama__nav--thumbs .fotorama__active .fotorama__nav__frame--thumb,
.pt-product-page .fotorama__nav--thumbs .fotorama__nav__frame--thumb.fotorama__active {
    opacity: 1;
    border-color: var(--pt-primary);
    border-width: 2px;
}

/* --- PDP-02: Previous/Next product navigation refinements --- */
.pt-product-prev-next {
    justify-content: flex-end;
}

.pt-product-prev-next__link--prev {
    margin-right: auto;
}

/* --- PDP-03: "Be the first to review" link styling --- */
.pt-product-page .product-reviews-summary .reviews-actions {
    display: flex;
    align-items: center;
}

.pt-product-page .product-reviews-summary .reviews-actions a {
    color: var(--pt-primary);
    font-size: 0.8125rem;
    text-decoration: none;
}

.pt-product-page .product-reviews-summary .reviews-actions a:hover {
    text-decoration: underline;
}

/* When no reviews yet, show "Be the first to review" with proper spacing */
.pt-product-page .product-reviews-summary:empty + .reviews-actions,
.pt-product-page .reviews-actions a.action.add {
    color: var(--pt-primary);
    font-size: 13px;
}

/* --- PDP-04: Price typography — match Porto Demo 1 --- */
.pt-product-page .product-info-price .price-box .price-label {
    font-size: 0.8125rem;
    color: var(--pt-text-light);
    font-weight: 400;
}

.pt-product-page .product-info-price .price-box .price-wrapper .price {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--pt-heading);
    letter-spacing: -0.5px;
}

.pt-product-page .product-info-price .special-price .price-wrapper .price {
    color: var(--pt-primary);
}

.pt-product-page .product-info-price .old-price .price-wrapper .price {
    font-size: 1rem;
    color: var(--pt-text-light);
    text-decoration: line-through;
    font-weight: 400;
}

/* --- PDP-05: Availability and SKU display — Porto layout --- */
.pt-product-page .product-info-stock-sku {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pt-border);
    font-size: 13px;
}

.pt-product-page .product.attribute.sku {
    font-size: 13px;
    color: var(--pt-text-light);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pt-product-page .product.attribute.sku .type {
    font-weight: 400;
    color: var(--pt-text-light);
}

.pt-product-page .product.attribute.sku .value {
    font-weight: 600;
    color: var(--pt-text-dark);
}

.pt-product-page .stock {
    font-size: 13px;
    font-weight: 600;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pt-product-page .stock.available::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pt-success);
}

/* --- PDP-06: Quantity counter style refinements --- */
.pt-addtocart__qty-control {
    border-radius: 0;
}

.pt-addtocart__qty-btn {
    width: 36px;
    height: 36px;
    background: var(--pt-bg);
    border: 1px solid var(--pt-border);
}

.pt-addtocart__qty-btn--minus {
    border-right: 0;
}

.pt-addtocart__qty-btn--plus {
    border-left: 0;
}

.pt-addtocart__qty-input {
    width: 44px;
    height: 36px;
    border: 1px solid var(--pt-border);
    font-size: 14px;
}

/* --- PDP-07: Add to Cart button — full-width black with cart icon --- */
/* (already handled by VQA-012, adding minor refinements) */
.pt-product-page .pt-addtocart__submit {
    border-radius: 0;
    height: 45px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- PDP-08: Social sharing icons — additional platform colors --- */
/* LinkedIn and WhatsApp hover colors added above (line ~7944) */

/* --- PDP-09: Tabs — Details / Reviews / Custom Tab styling --- */
.pt-product-page .product.data.items > .item.title > .switch {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    padding: 12px 24px;
    border-radius: 0;
}

/* --- PDP-10: Tab content — already covered in VQA-025 update above --- */

/* --- PDP-11: Related products — heading "WE FOUND OTHER PRODUCTS YOU MIGHT LIKE!" --- */
.pt-related-section .block-title h2 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pt-heading);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pt-border);
    margin-bottom: 25px;
}

/* --- PDP-12: Related product cards — "ADD TO CART" button --- */
.pt-product-card--related {
    text-align: center;
}

.pt-product-card--related .pt-product-card__info {
    padding: 10px 0 0;
}

.pt-product-card--related .pt-product-card__name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.pt-product-card--related .pt-product-card__name a {
    color: var(--pt-text-dark);
    text-decoration: none;
}

.pt-product-card--related .pt-product-card__name a:hover {
    color: var(--pt-primary);
}

.pt-product-card--related .pt-product-card__price {
    margin-bottom: 10px;
}

.pt-product-card--related .pt-product-card__atc-form {
    margin-top: 8px;
}

.pt-product-card__cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 16px;
    background: var(--pt-bg-dark);
    color: #fff;
    border: 2px solid var(--pt-bg-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--pt-transition), border-color var(--pt-transition);
}

.pt-product-card__cart-btn:hover {
    background: var(--pt-primary);
    border-color: var(--pt-primary);
    color: #fff;
}

.pt-product-card__cart-btn svg {
    flex-shrink: 0;
}

/* --- PDP responsive refinements --- */
@media (max-width: 767px) {
    .pt-product-page .product-info-stock-sku {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pt-product-social-share {
        flex-wrap: wrap;
    }

    .pt-product-prev-next {
        flex-wrap: wrap;
    }

    .pt-product-card__cart-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ===================================================================
   Blog Pages — Post Card, Sidebar, Single Post, Comments, Pagination
   Matches Porto Demo 1 blog layout
   =================================================================== */

/* ── Blog page base ────────────────────────────────────────── */
.pt-blog-page .page-title-wrapper .page-title {
    color: var(--pt-primary);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.pt-blog-page .columns {
    padding-top: 30px;
}

/* ── Blog listing ──────────────────────────────────────────── */
.pt-blog-list__items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-blog-list__item {
    margin-bottom: 40px;
}

.pt-blog-list__item:last-child {
    margin-bottom: 0;
}

/* ── Blog post card ────────────────────────────────────────── */
.pt-blog-post-card {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.pt-blog-post-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pt-blog-post-card__image {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.pt-blog-post-card__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.pt-blog-post-card:hover .pt-blog-post-card__image img {
    transform: scale(1.05);
}

.pt-blog-post-card__cats {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pt-blog-post-card__cat {
    display: inline-block;
    background: var(--pt-primary, #0088cc);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.pt-blog-post-card__cat:hover {
    background: var(--pt-bg-dark, #222);
    color: #fff;
}

.pt-blog-post-card__body {
    padding: 25px;
}

.pt-blog-post-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.pt-blog-post-card__meta svg {
    vertical-align: -2px;
    margin-right: 3px;
    color: #bbb;
}

.pt-blog-post-card__date,
.pt-blog-post-card__author,
.pt-blog-post-card__comments-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pt-blog-post-card__sep {
    color: #ccc;
    margin: 0 3px;
}

.pt-blog-post-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
}

.pt-blog-post-card__title a {
    color: var(--pt-heading, #313131);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-blog-post-card__title a:hover {
    color: var(--pt-primary, #0088cc);
}

.pt-blog-post-card__excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
    margin: 0 0 18px;
}

.pt-blog-post-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pt-primary, #0088cc);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-blog-post-card__readmore:hover {
    color: var(--pt-heading, #313131);
}

.pt-blog-post-card__readmore svg {
    transition: transform 0.2s ease;
}

.pt-blog-post-card__readmore:hover svg {
    transform: translateX(3px);
}

/* ── Blog sidebar ──────────────────────────────────────────── */
.pt-blog-sidebar {
    font-size: 14px;
}

.pt-blog-sidebar__section {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 20px;
    margin-bottom: 20px;
}

.pt-blog-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    text-transform: uppercase;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    position: relative;
}

.pt-blog-sidebar__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--pt-primary, #0088cc);
}

/* Sidebar search */
.pt-blog-sidebar__search {
    display: flex;
    border: 1px solid var(--pt-border, #e1e1e1);
}

.pt-blog-sidebar__search-input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
    background: #fff;
}

.pt-blog-sidebar__search-input:focus {
    box-shadow: none;
}

.pt-blog-sidebar__search-btn {
    background: var(--pt-primary, #0088cc);
    border: none;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
}

.pt-blog-sidebar__search-btn:hover {
    background: var(--pt-bg-dark, #222);
}

/* Sidebar categories */
.pt-blog-sidebar__cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-blog-sidebar__cat-list li {
    border-bottom: 1px solid #f0f0f0;
}

.pt-blog-sidebar__cat-list li:last-child {
    border-bottom: none;
}

.pt-blog-sidebar__cat-list a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pt-blog-sidebar__cat-list a:hover {
    color: var(--pt-primary, #0088cc);
}

.pt-blog-sidebar__cat-list a::before {
    content: '\25B8';
    margin-right: 8px;
    color: var(--pt-primary, #0088cc);
}

/* Sidebar recent posts */
.pt-blog-sidebar__recent {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-blog-sidebar__recent-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pt-blog-sidebar__recent-item:first-child {
    padding-top: 0;
}

.pt-blog-sidebar__recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pt-blog-sidebar__recent-img-link {
    flex-shrink: 0;
}

.pt-blog-sidebar__recent-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
}

.pt-blog-sidebar__recent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.pt-blog-sidebar__recent-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-heading, #313131);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.pt-blog-sidebar__recent-link:hover {
    color: var(--pt-primary, #0088cc);
}

.pt-blog-sidebar__recent-date {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* Sidebar tags */
.pt-blog-sidebar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pt-blog-sidebar__tag {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pt-blog-sidebar__tag:hover {
    border-color: var(--pt-primary, #0088cc);
    color: var(--pt-primary, #0088cc);
}

/* ── Blog single post detail ───────────────────────────────── */
.pt-blog-post-detail {
    background: #fff;
}

.pt-blog-post-detail__image {
    margin-bottom: 25px;
    line-height: 0;
}

.pt-blog-post-detail__image img {
    width: 100%;
    height: auto;
    display: block;
}

.pt-blog-post-detail__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    margin: 0 0 12px;
    line-height: 1.3;
}

.pt-blog-post-detail__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
}

.pt-blog-post-detail__meta svg {
    vertical-align: -2px;
    margin-right: 3px;
    color: #bbb;
}

.pt-blog-post-detail__date,
.pt-blog-post-detail__author {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pt-blog-post-detail__sep {
    color: #ccc;
    margin: 0 5px;
}

.pt-blog-post-detail__content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.pt-blog-post-detail__content p {
    margin-bottom: 1.2em;
}

.pt-blog-post-detail__content h2,
.pt-blog-post-detail__content h3,
.pt-blog-post-detail__content h4 {
    color: var(--pt-heading, #313131);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.pt-blog-post-detail__content img {
    max-width: 100%;
    height: auto;
}

.pt-blog-post-detail__content blockquote {
    border-left: 3px solid var(--pt-primary, #0088cc);
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Post tags */
.pt-blog-post-detail__tags {
    padding: 20px 0;
    border-top: 1px solid var(--pt-border, #e1e1e1);
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pt-blog-post-detail__tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    text-transform: uppercase;
}

.pt-blog-post-detail__tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pt-blog-post-detail__tag:hover {
    border-color: var(--pt-primary, #0088cc);
    color: var(--pt-primary, #0088cc);
}

/* Post share */
.pt-blog-post-detail__share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    margin-bottom: 30px;
}

.pt-blog-post-detail__share-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pt-heading, #313131);
}

.pt-blog-post-detail__share-links {
    display: flex;
    gap: 8px;
}

.pt-blog-post-detail__share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pt-bg-light, #f4f4f4);
    color: #555;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid var(--pt-border, #e1e1e1);
}

.pt-blog-post-detail__share-link:hover {
    color: #fff;
}

.pt-blog-post-detail__share-link--facebook:hover { background: #1877f2; border-color: #1877f2; }
.pt-blog-post-detail__share-link--twitter:hover  { background: #1da1f2; border-color: #1da1f2; }
.pt-blog-post-detail__share-link--linkedin:hover  { background: #0077b5; border-color: #0077b5; }
.pt-blog-post-detail__share-link--email:hover     { background: #555; border-color: #555; }

/* Post back link */
.pt-blog-post-detail__back {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--pt-border, #e1e1e1);
}

/* ── Blog comments section ─────────────────────────────────── */
.pt-blog-comments {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 30px;
    margin-top: 30px;
}

.pt-blog-comments__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.pt-blog-comments__note {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
}

.pt-blog-comments__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.pt-blog-comments__form-field {
    margin-bottom: 15px;
}

.pt-blog-comments__form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-heading, #313131);
    margin-bottom: 6px;
}

.pt-blog-comments__form-field input,
.pt-blog-comments__form-field textarea {
    width: 100%;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.pt-blog-comments__form-field input:focus,
.pt-blog-comments__form-field textarea:focus {
    border-color: var(--pt-primary, #0088cc);
}

.pt-blog-comments__form-field textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 767px) {
    .pt-blog-comments__form-row {
        grid-template-columns: 1fr;
    }
}

/* ── Blog pagination ───────────────────────────────────────── */
.pt-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--pt-border, #e1e1e1);
}

.pt-blog-pagination__link,
.pt-blog-pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--pt-border, #e1e1e1);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pt-blog-pagination__link {
    color: #555;
    background: #fff;
}

.pt-blog-pagination__link:hover {
    background: var(--pt-primary, #0088cc);
    color: #fff;
    border-color: var(--pt-primary, #0088cc);
}

.pt-blog-pagination__current {
    background: var(--pt-primary, #0088cc);
    color: #fff;
    border-color: var(--pt-primary, #0088cc);
}

.pt-blog-pagination__prev,
.pt-blog-pagination__next {
    border: 1px solid var(--pt-border, #e1e1e1);
}

.pt-blog-pagination__prev svg,
.pt-blog-pagination__next svg {
    display: block;
}

/* ── Blog empty state ──────────────────────────────────────── */
.pt-blog-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #777;
}

/* ===================================================================
   About Us Page — Porto Demo 1 CSS polish
   =================================================================== */

.pt-cms-page.cms-about-us .page-title-wrapper .page-title,
.pt-cms-page .page-title-wrapper .page-title {
    color: var(--pt-primary, #0088cc);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.pt-about-page .page-main {
    padding-top: 0;
}

.pt-about-hero {
    background: var(--pt-bg-light, #f4f4f4);
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 40px;
}

.pt-about-hero h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--pt-heading, #313131);
}

.pt-about-hero p {
    font-size: 15px;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.pt-cms-page .column.main p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2em;
}

.pt-cms-page .column.main h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    margin: 30px 0 15px;
    text-transform: uppercase;
}

.pt-cms-page .column.main h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    margin: 25px 0 10px;
}

.pt-cms-page .column.main img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.pt-cms-page .column.main ul,
.pt-cms-page .column.main ol {
    padding-left: 20px;
    margin-bottom: 1.2em;
}

.pt-cms-page .column.main li {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 5px;
}

/* ===================================================================
   Contact Page — Porto Demo 1 with map + contact details
   =================================================================== */

.pt-contact-page .page-title-wrapper .page-title {
    color: var(--pt-primary, #0088cc);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.pt-contact-page .pt-contact-map-placeholder {
    height: 300px;
    margin-bottom: 30px;
}

.pt-contact-info__card {
    border: 1px solid var(--pt-border, #e1e1e1);
}

.pt-contact-info__card h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.pt-contact-info__card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--pt-primary, #0088cc);
}

.pt-contact-info__list li strong {
    font-weight: 600;
    color: var(--pt-heading, #313131);
}

.pt-contact-page .field .control input,
.pt-contact-page .field .control textarea {
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 10px 14px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s ease;
}

.pt-contact-page .field .control input:focus,
.pt-contact-page .field .control textarea:focus {
    border-color: var(--pt-primary, #0088cc);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

/* ===================================================================
   Search Results Page — toolbar and no-results refinement
   =================================================================== */

.pt-search-results-page .search.found {
    padding: 15px 0;
}

.pt-search-results-page .search.results .product-items {
    margin-top: 20px;
}

.pt-search-results-page .toolbar-sorter,
.pt-search-results-page .modes {
    font-size: 13px;
}

.pt-search-results-page .toolbar-products {
    padding: 12px 0;
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    margin-bottom: 20px;
}

/* ===================================================================
   404 Page — centered with styled CMS content
   =================================================================== */

.pt-page-404 .page-main {
    text-align: center;
    padding: 60px 20px;
}

.pt-page-404 .page-title-wrapper {
    display: none;
}

.pt-page-404 .column.main {
    max-width: 600px;
    margin: 0 auto;
}

.pt-page-404 .column.main dl {
    text-align: left;
    margin-top: 20px;
}

.pt-page-404 .column.main dl dt {
    font-weight: 700;
    color: var(--pt-heading, #313131);
    margin-bottom: 5px;
}

.pt-page-404 .column.main dl dd {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
}

.pt-page-404 .column.main ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pt-page-404 .column.main ul li {
    padding: 5px 0;
    font-size: 14px;
    color: #555;
}

.pt-page-404 .column.main ul li::before {
    content: '\2192 ';
    color: var(--pt-primary, #0088cc);
}

/* ===================================================================
   Customer Login Page — Porto Demo 1 two-column with social login
   =================================================================== */

.pt-login-page .page-title-wrapper .page-title {
    color: var(--pt-primary, #0088cc);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.pt-login-page .login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
    margin: 30px auto 60px;
}

.pt-login-page .block-customer-login,
.pt-login-page .block-new-customer {
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 30px;
}

.pt-login-page .block-customer-login .block-title,
.pt-login-page .block-new-customer .block-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.pt-login-page .block-customer-login .block-title::after,
.pt-login-page .block-new-customer .block-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--pt-primary, #0088cc);
}

.pt-login-page .block-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pt-login-page .field .control input {
    width: 100%;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.pt-login-page .field .control input:focus {
    border-color: var(--pt-primary, #0088cc);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.pt-login-page .field .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-heading, #313131);
    margin-bottom: 6px;
}

.pt-login-page .actions-toolbar .action.login,
.pt-login-page .actions-toolbar .action.create {
    display: block;
    width: 100%;
    background: var(--pt-bg-dark, #222);
    color: #fff;
    border: 2px solid var(--pt-bg-dark, #222);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pt-login-page .actions-toolbar .action.login:hover,
.pt-login-page .actions-toolbar .action.create:hover {
    background: var(--pt-primary, #0088cc);
    border-color: var(--pt-primary, #0088cc);
}

.pt-login-page .actions-toolbar .secondary a {
    font-size: 13px;
    color: var(--pt-primary, #0088cc);
    text-decoration: none;
    margin-top: 12px;
    display: inline-block;
}

.pt-login-page .actions-toolbar .secondary a:hover {
    text-decoration: underline;
}

/* Social login placeholder (ready for plugins) */
.pt-login-social {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--pt-border, #e1e1e1);
}

.pt-login-social__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pt-heading, #313131);
    margin-bottom: 12px;
    text-align: center;
}

.pt-login-social__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pt-login-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--pt-border, #e1e1e1);
    color: #555;
    text-decoration: none;
    transition: background 0.2s ease;
    background: #fff;
    cursor: pointer;
}

.pt-login-social__btn:hover {
    background: var(--pt-bg-light, #f4f4f4);
}

.pt-login-social__btn--facebook { border-color: #1877f2; color: #1877f2; }
.pt-login-social__btn--google   { border-color: #db4437; color: #db4437; }
.pt-login-social__btn--facebook:hover { background: #1877f2; color: #fff; }
.pt-login-social__btn--google:hover   { background: #db4437; color: #fff; }

@media (max-width: 767px) {
    .pt-login-page .login-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================================================
   Customer Registration Page — Porto Demo 1
   =================================================================== */

.pt-register-page .page-title-wrapper .page-title {
    color: var(--pt-primary, #0088cc);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.pt-register-page .form.create.account {
    max-width: 800px;
    margin: 30px auto 60px;
    background: #fff;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 30px;
}

.pt-register-page .form.create.account .fieldset {
    margin-bottom: 25px;
}

.pt-register-page .form.create.account .legend {
    font-size: 16px;
    font-weight: 700;
    color: var(--pt-heading, #313131);
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.pt-register-page .form.create.account .legend::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--pt-primary, #0088cc);
}

.pt-register-page .field .control input {
    width: 100%;
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.pt-register-page .field .control input:focus {
    border-color: var(--pt-primary, #0088cc);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.pt-register-page .field .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pt-heading, #313131);
    margin-bottom: 6px;
}

.pt-register-page .actions-toolbar .action.submit {
    display: block;
    width: 100%;
    background: var(--pt-bg-dark, #222);
    color: #fff;
    border: 2px solid var(--pt-bg-dark, #222);
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pt-register-page .actions-toolbar .action.submit:hover {
    background: var(--pt-primary, #0088cc);
    border-color: var(--pt-primary, #0088cc);
}

/* ===================================================================
   Checkout Page — Porto Demo 1 payment and layout refinements
   =================================================================== */

.pt-checkout-page .page-title-wrapper .page-title {
    color: var(--pt-primary, #0088cc);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

.pt-checkout-page .authentication-wrapper {
    margin-bottom: 20px;
}

.pt-checkout-page .authentication-wrapper .action-auth-toggle {
    color: var(--pt-primary, #0088cc);
    font-size: 13px;
    font-weight: 600;
}

.pt-checkout-page .payment-method-title {
    padding: 12px 15px;
    background: var(--pt-bg-light, #f4f4f4);
    border: 1px solid var(--pt-border, #e1e1e1);
    margin-bottom: -1px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.pt-checkout-page .payment-method-content {
    padding: 20px 15px;
    border: 1px solid var(--pt-border, #e1e1e1);
    border-top: none;
}

.pt-checkout-page .payment-method .action.primary.checkout {
    background: var(--pt-primary, #0088cc);
    color: #fff;
    border: 2px solid var(--pt-primary, #0088cc);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pt-checkout-page .payment-method .action.primary.checkout:hover {
    background: var(--pt-bg-dark, #222);
    border-color: var(--pt-bg-dark, #222);
}

.pt-checkout-page .billing-address-form .field .label {
    font-size: 13px;
    font-weight: 600;
}

.pt-checkout-page .discount-code .payment-option-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--pt-primary, #0088cc);
    cursor: pointer;
}

.pt-checkout-page .opc-block-summary .items-in-cart > .title {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 0;
    border-bottom: 1px solid var(--pt-border, #e1e1e1);
}

.pt-checkout-page .opc-block-summary .table-totals th,
.pt-checkout-page .opc-block-summary .table-totals td {
    padding: 6px 0;
    font-size: 14px;
}

.pt-checkout-page .opc-block-summary .grand.totals th,
.pt-checkout-page .opc-block-summary .grand.totals td {
    font-size: 16px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--pt-border, #e1e1e1);
}

/* ===================================================================
   Shopping Cart Page — Porto Demo 1 update/discount refinements
   =================================================================== */

.pt-cart-page .action.update {
    background: var(--pt-bg-light, #f4f4f4);
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pt-heading, #313131);
    cursor: pointer;
    transition: background 0.2s ease;
}

.pt-cart-page .action.update:hover {
    background: var(--pt-border, #e1e1e1);
}

.pt-cart-page .action.continue {
    font-size: 13px;
    color: var(--pt-primary, #0088cc);
    text-decoration: none;
    font-weight: 600;
}

.pt-cart-page .action.continue:hover {
    text-decoration: underline;
}

.pt-cart-page .block.discount {
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 15px;
    margin-top: 15px;
}

.pt-cart-page .block.discount .title strong {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--pt-primary, #0088cc);
}

.pt-cart-page .block.discount .field .control input {
    border: 1px solid var(--pt-border, #e1e1e1);
    padding: 10px 12px;
    font-size: 14px;
    width: 100%;
}

.pt-cart-page .block.discount .action.apply {
    background: var(--pt-primary, #0088cc);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.pt-cart-page .checkout-methods-items .action.primary.checkout {
    background: var(--pt-primary, #0088cc);
    border-color: var(--pt-primary, #0088cc);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.pt-cart-page .checkout-methods-items .action.primary.checkout:hover {
    background: var(--pt-bg-dark, #222);
    border-color: var(--pt-bg-dark, #222);
}

/* ===================================================================
   Shared Button Styles (pt-btn--dark, pt-btn--outline)
   =================================================================== */

.pt-btn--dark {
    display: inline-block;
    background: var(--pt-bg-dark, #222);
    color: #fff;
    border: 2px solid var(--pt-bg-dark, #222);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pt-btn--dark:hover {
    background: var(--pt-primary, #0088cc);
    border-color: var(--pt-primary, #0088cc);
    color: #fff;
}

.pt-btn--outline {
    display: inline-block;
    background: #fff;
    color: var(--pt-heading, #313131);
    border: 2px solid var(--pt-border, #e1e1e1);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.pt-btn--outline:hover {
    border-color: var(--pt-primary, #0088cc);
    color: var(--pt-primary, #0088cc);
}

/* ===================================================================
   Blog / Inner Pages — Responsive
   =================================================================== */

@media (max-width: 767px) {
    .pt-blog-post-card__title {
        font-size: 17px;
    }

    .pt-blog-post-detail__title {
        font-size: 20px;
    }

    .pt-blog-comments {
        padding: 20px;
    }

    .pt-blog-post-detail__share {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===================================================================
   PIXEL-PERFECT OVERRIDES — Consolidated (single block, no duplicates)
   These MUST be at the end to override Magento defaults + earlier rules.
   =================================================================== */

/* --- Global font stack --- */
body,button,input,select,textarea,.action,.actions-toolbar .action,.field .label,.breadcrumbs,.page-title,.block-title,.toolbar,.product-item-link,.product-item-name,.price-box,.price,.product-info-main,.product-options-wrapper,.table-wrapper,th,td,.modal-popup,.modal-slide,.checkout-cart-index,.customer-account-login,.sidebar{font-family:'Poppins',sans-serif}

input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],input[type="number"],select,textarea{font-family:'Poppins',sans-serif;font-size:13px;border:1px solid #e1e1e1;border-radius:0;padding:10px 14px;color:#777;background:#fff;transition:border-color .2s ease;outline:none}
input[type="text"]:focus,input[type="email"]:focus,input[type="password"]:focus,input[type="tel"]:focus,input[type="url"]:focus,input[type="number"]:focus,select:focus,textarea:focus{border-color:#0088cc;box-shadow:none;outline:none}

.pt-header__search-input{border:none!important;border-radius:0!important;background:transparent!important}

button.action.primary,.action.primary{font-family:'Poppins',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.1px;border-radius:0}

.product-item-link{font-size:15px!important;font-weight:400!important;font-family:'Poppins',sans-serif!important;color:#222529!important;line-height:1.35!important;letter-spacing:-.15px!important;text-decoration:none!important}
.product-item-link:hover{color:#0088cc!important}

.product-item .price-box .price{font-size:18px!important;font-weight:600!important;font-family:'Poppins',sans-serif!important;color:#444!important;line-height:18px!important}
.product-item .price-box .old-price .price{font-size:13px!important;font-weight:400!important;color:#999!important;text-decoration:line-through!important}
.product-item .price-box .special-price .price{color:#ff5b5b!important}

.products-grid .product-item .action.tocart{height:36px;width:36px;padding:0;font-size:14px;font-weight:700;font-family:'Poppins',sans-serif;background:#fff;color:#333;border:1px solid #ddd;border-radius:30px;text-transform:uppercase;letter-spacing:.14px;line-height:34px;text-align:center;transition:background .2s ease,color .2s ease,border-color .2s ease}
.products-grid .product-item .action.tocart:hover{background:#0088cc;color:#fff;border-color:#0088cc}

.products-grid .product-item .actions-secondary .action{width:36px;height:36px;border-radius:30px;border:1px solid #ddd;background:#fff;color:#333;display:flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,border-color .2s ease}
.products-grid .product-item .actions-secondary .action:hover{background:#0088cc;color:#fff;border-color:#0088cc}

.breadcrumbs{font-size:12px;font-family:'Poppins',sans-serif;margin-bottom:0}
.breadcrumbs a{font-size:12px;color:#8e8e8e;font-family:'Poppins',sans-serif}
.breadcrumbs a:hover{color:#0088cc}

.page-title-wrapper .page-title{font-size:28px;font-weight:700;font-family:'Poppins',sans-serif;color:#222529;text-transform:none;letter-spacing:normal}

.toolbar-products{font-family:'Poppins',sans-serif;font-size:13px}
.toolbar-products select{font-family:'Poppins',sans-serif;font-size:13px;height:36px;border:1px solid #e1e1e1;border-radius:0;padding:6px 30px 6px 10px}

.sidebar-main .filter-options-title{font-size:14px;font-weight:600;font-family:'Poppins',sans-serif;color:#222529;text-transform:uppercase;padding:12px 0;border-bottom:1px solid #e7e7e7}
.sidebar-main .filter-options-item .item a{font-size:13px;font-family:'Poppins',sans-serif;color:#777;padding:6px 0;line-height:24px}
.sidebar-main .filter-options-item .item a:hover{color:#0088cc}

.product-info-main .page-title-wrapper .page-title{font-size:30px;font-weight:700;font-family:'Poppins',sans-serif;color:#222529;letter-spacing:-.3px;line-height:36px}
.product-info-main .price-box .price{font-size:24px;font-weight:600;font-family:'Poppins',sans-serif;color:#222529;line-height:24px}
.product-info-main .product.attribute.overview,.product-info-main .product.attribute.overview .value{font-size:16px;font-family:'Poppins',sans-serif;color:#777;line-height:27px}
.product-info-main .product.attribute.sku .value{font-size:12px;font-family:'Poppins',sans-serif;color:#222529}

.product-info-main .action.tocart.primary{height:48px;padding:0 28px;font-size:14px;font-weight:700;font-family:'Poppins',sans-serif;background:#222529;color:#fff;border:none;border-radius:0;text-transform:uppercase;letter-spacing:-.21px;line-height:48px;cursor:pointer;transition:background .2s ease}
.product-info-main .action.tocart.primary:hover{background:#0088cc}

.product-info-main .input-text.qty,.product-info-main input#qty{width:44px;height:48px;text-align:center;font-size:16px;font-family:'Poppins',sans-serif;border:1px solid #e1e1e1;border-radius:0;padding:0 5px}

.product.data.items>.item.title>.switch,.product.data.items .data.switch{font-size:13px;font-weight:700;font-family:'Poppins',sans-serif;color:#818692;text-transform:uppercase;letter-spacing:normal}
.product.data.items>.item.title.active>.switch{color:#222529}
.product.data.items>.item.content{font-size:14px;font-family:'Poppins',sans-serif;color:#777;line-height:24px}

.product-social-links a,.product-addto-links a{font-size:14px;font-family:'Poppins',sans-serif;color:#222529}

.checkout-cart-index .page-title{font-size:22px;font-weight:700;font-family:'Poppins',sans-serif;color:#222529;text-transform:uppercase}
.checkout-cart-index .cart.item .product-item-name a{font-size:15px;font-weight:400;font-family:'Poppins',sans-serif;color:#222529}
.checkout-cart-index .cart.item .product-item-name a:hover{color:#0088cc}
.checkout-cart-index .cart.item .price{font-size:16px;font-weight:600;font-family:'Poppins',sans-serif;color:#444}

.cart-summary .checkout-methods-items .action.primary.checkout{font-size:14px;font-weight:700;font-family:'Poppins',sans-serif;background:#0088cc;border:none;padding:14px 24px;text-transform:uppercase;border-radius:0}
.cart-summary .checkout-methods-items .action.primary.checkout:hover{background:#0073aa}

.customer-account-login .field .label{font-family:'Poppins',sans-serif;font-size:14px;font-weight:500;color:#777}
.customer-account-login .field .control input{font-family:'Poppins',sans-serif;font-size:13.6px;height:50px;padding:8px 12px;border:1px solid rgba(0,0,0,0.09);border-radius:0;background:#fff}

.pt-brand-slider-section,.pt-brands{border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7;padding:32px 0}
.sections.nav-sections{background-color:#f4f4f4;border-bottom:none}
.block-title strong{font-family:'Poppins',sans-serif;font-weight:700}
.block-minicart .product-item-name a{font-family:'Poppins',sans-serif;font-size:14px;color:#222529}
.block-minicart .price{font-family:'Poppins',sans-serif;font-weight:600}
.pages .items .item a,.pages .items .item strong{font-family:'Poppins',sans-serif;font-size:13px}
.abs-product-name a,.product-item-name a,.product.name a{font-family:'Poppins',sans-serif}
.products-grid .product-item{margin:0;padding:0}
.products-grid .product-items{margin:0;padding:0}
.product-item-info{max-width:none;padding:0}
.pt-product-page .columns .column.main::after,.pt-category-page .columns::after{content:'';display:table;clear:both}

/* --- CSS Variables override --- */
:root {
    --pt-topbar-height: 40px !important;
    --pt-header-height: 98px !important;
    --pt-nav-height: 48px !important;
    --pt-font: 'Poppins', sans-serif !important;
    --pt-font-heading: 'Poppins', sans-serif !important;
    --pt-line-height: 1.714 !important;
}

/* --- Body --- */
body {
    line-height: 1.714;
    font-family: 'Poppins', sans-serif;
}

/* --- Topbar: 40px, #0188cc bg --- */
.pt-topbar {
    height: 40px !important;
    line-height: 40px !important;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    color: #bde1f5;
    background-color: #0188cc !important;
}
.pt-topbar__inner { line-height: 40px !important; }
.pt-topbar__link-item,
.pt-topbar__link-item a,
.pt-topbar__switcher,
.pt-topbar__welcome { line-height: 40px !important; }
.pt-topbar__link-item a { color: #bde1f5; font-size: 11px; font-weight: 600; font-family: 'Poppins', sans-serif; }
.pt-topbar__switcher { color: #bde1f5; font-size: 11px; font-weight: 600; }
.pt-topbar__social-icon { color: #bde1f5; }
.pt-topbar__link-item--divider { border-left-color: rgba(189, 225, 245, 0.3); }

/* --- Header: padding, no border --- */
.pt-header { padding: 20px 0; border-bottom: none; min-height: 98px; }
.pt-header__logo img { height: 44px; width: 111px; max-width: 111px; max-height: 44px; }

/* --- Search --- */
.pt-header__search-input { height: 40px !important; font-size: 13px; font-family: 'Poppins', sans-serif; padding: 8px 12px 8px 20px; color: #8d8d8d; border: none !important; background: transparent !important; border-radius: 0 !important; }
.pt-header__search-cat { height: 40px; }
.pt-header__search-btn { height: 40px; }

/* --- Nav bar --- */
.pt-nav { background-color: #f4f4f4; border-bottom: none; height: 48px; }
.pt-nav__link { font-size: 12px !important; font-weight: 600 !important; font-family: 'Poppins', sans-serif !important; color: #6b7a83 !important; padding: 18px 0 !important; text-transform: uppercase !important; letter-spacing: -0.3px !important; line-height: 12px !important; }
.pt-nav__link:hover, .pt-nav__item.is-active > .pt-nav__link { color: #0088cc !important; }
.pt-nav__item { margin-right: 23px; }
.pt-nav__item:last-child { margin-right: 0; }

/* --- Magento nav-sections --- */
.sections.nav-sections { background-color: #f4f4f4 !important; border-bottom: none !important; display: block !important; height: auto !important; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1) !important; margin-bottom: 0 !important; }
.nav-sections .navigation { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; max-width: 1200px; margin: 0 auto; padding: 0 10px; }
.nav-sections .navigation .level0 > a { font-family: 'Poppins', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; color: #6b7a83 !important; padding: 18px 0 !important; text-transform: uppercase !important; letter-spacing: -0.3px !important; line-height: 12px !important; text-decoration: none !important; }
.nav-sections .navigation .level0 > a:hover { color: #0088cc !important; }
.nav-sections .navigation .level0 { margin-right: 23px; }
.nav-sections .navigation .level0:last-child { margin-right: 0; }
.nav-sections .nav-sections-items { display: block !important; }
.nav-sections .nav-sections-item-content { display: block !important; }

/* --- Page header --- */
.page-header { border-top: 0 !important; background-color: #fff !important; }

/* --- Section titles --- */
h2.pt-section-title { font-size: 16px !important; font-weight: 700 !important; font-family: 'Poppins', sans-serif !important; letter-spacing: -0.16px !important; line-height: 22px !important; margin-bottom: 24px !important; text-transform: uppercase !important; }
.pt-three-col__title { font-size: 16px !important; font-weight: 700 !important; font-family: 'Poppins', sans-serif !important; text-transform: uppercase !important; letter-spacing: -0.16px !important; }

/* --- Product card name/price --- */
.pt-product-card__name, .pt-cms-page .column.main .pt-product-card__name, .pt-cms-page .column.main h3.pt-product-card__name { font-size: 15px !important; font-weight: 400 !important; font-family: 'Poppins', sans-serif !important; line-height: 1.35 !important; letter-spacing: -0.15px !important; }
.pt-product-card__name a { color: #222529 !important; }
.pt-product-card__name a:hover { color: #0088cc !important; }
.pt-product-card__price-now { font-size: 18px !important; font-weight: 600 !important; font-family: 'Poppins', sans-serif !important; color: #444 !important; }
.pt-product-card { border: none !important; box-shadow: none !important; padding: 0 10px !important; }
.pt-product-card:hover { box-shadow: none !important; }
.pt-product-card .product-item-name a, .pt-product-card h3 a, .products-grid .product-item-name a { font-size: 15px !important; font-weight: 400 !important; color: #222529 !important; font-family: 'Poppins', sans-serif !important; letter-spacing: -0.15px !important; line-height: 1.35 !important; text-decoration: none !important; }
.pt-product-card .product-item-name a:hover, .pt-product-card h3 a:hover, .products-grid .product-item-name a:hover { color: #0088cc !important; }
.pt-product-card .price, .products-grid .product-item .price-box .price { font-size: 18px !important; font-weight: 600 !important; color: #444 !important; font-family: 'Poppins', sans-serif !important; line-height: 18px !important; }
.pt-product-card .old-price .price, .products-grid .product-item .price-box .old-price .price { font-size: 13px !important; font-weight: 400 !important; color: #999 !important; text-decoration: line-through !important; }
.pt-product-card .special-price .price, .products-grid .product-item .price-box .special-price .price { color: #ff5b5b !important; }

/* --- Add to cart (grid): circle 36x36 --- */
.products-grid .product-item .action.tocart { height: 36px !important; width: 36px !important; padding: 0 !important; font-size: 0 !important; background: #fff !important; color: #333 !important; border: 1px solid #ddd !important; border-radius: 30px !important; line-height: 34px !important; text-align: center !important; }
.products-grid .product-item .action.tocart:hover { background: #0088cc !important; color: #fff !important; border-color: #0088cc !important; }

/* --- Primary button --- */
button.action.primary, .action.primary, .actions-toolbar .action.primary { font-family: 'Poppins', sans-serif !important; font-size: 14px !important; font-weight: 700 !important; background-color: #0088cc !important; color: #fff !important; border: none !important; border-radius: 0 !important; text-transform: uppercase !important; letter-spacing: 0.14px !important; cursor: pointer; }
button.action.primary:hover, .action.primary:hover, .actions-toolbar .action.primary:hover { background-color: #0073aa !important; }

/* --- Login/Register buttons: dark --- */
.customer-account-login .action.login, .customer-account-login .action.create, .product-info-main .action.tocart.primary { background-color: #222529 !important; }
.customer-account-login .action.login:hover, .customer-account-login .action.create:hover, .product-info-main .action.tocart.primary:hover { background-color: #0088cc !important; }

/* --- Login page --- */
.customer-account-login .page-title-wrapper .page-title, .customer-account-login .page-title { font-size: 28px !important; font-weight: 700 !important; color: #212529 !important; text-transform: none !important; letter-spacing: normal !important; font-family: 'Poppins', sans-serif !important; }
.customer-account-login .block-title strong, .customer-account-login .login-container .block-title strong { font-size: 22px !important; font-weight: 700 !important; color: #222529 !important; text-transform: none !important; letter-spacing: -0.22px !important; line-height: 1.2 !important; font-family: 'Poppins', sans-serif !important; }
.customer-account-login .field .control input, .customer-account-login input[type="email"], .customer-account-login input[type="password"], .customer-account-login input[type="text"] { font-family: 'Poppins', sans-serif !important; font-size: 13.6px !important; height: 50px !important; padding: 8px 12px !important; border: 1px solid rgba(0,0,0,0.09) !important; border-radius: 0 !important; background: #fff !important; color: #777 !important; width: 100% !important; }
.customer-account-login .field .control input:focus { border-color: #0088cc !important; box-shadow: none !important; }
.customer-account-login .action.login, .customer-account-login .actions-toolbar .action.login { font-size: 16px !important; font-weight: 700 !important; font-family: 'Poppins', sans-serif !important; background: #222529 !important; color: #fff !important; border: none !important; border-radius: 0 !important; padding: 16px 32px !important; text-transform: uppercase !important; width: 100% !important; display: block !important; cursor: pointer; }
.customer-account-login .action.login:hover { background: #0088cc !important; }
.customer-account-login .action.create, .customer-account-login .block-new-customer .action.create { font-size: 16px !important; font-weight: 700 !important; font-family: 'Poppins', sans-serif !important; background: #222529 !important; color: #fff !important; border: none !important; border-radius: 0 !important; padding: 16px 32px !important; text-transform: uppercase !important; width: 100% !important; display: block !important; text-align: center !important; text-decoration: none !important; }
.customer-account-login .action.create:hover { background: #0088cc !important; color: #fff !important; }
.customer-account-login .login-container { display: flex !important; flex-wrap: wrap !important; max-width: 1200px !important; margin: 0 auto !important; }
.customer-account-login .login-container .block { flex: 1 !important; min-width: 0 !important; padding: 0 10px !important; }

/* --- Breadcrumbs --- */
.breadcrumbs { font-family: 'Poppins', sans-serif !important; font-size: 12px !important; margin-bottom: 0 !important; padding: 12px 0 !important; }
.breadcrumbs a { font-size: 12px !important; color: #8e8e8e !important; text-transform: uppercase !important; font-family: 'Poppins', sans-serif !important; }
.breadcrumbs a:hover { color: #0088cc !important; }

/* --- Category page sidebar --- */
.pt-category-page .sidebar-main .block-title strong, .sidebar-main .block-title strong { font-size: 15px !important; font-weight: 600 !important; color: #222529 !important; text-transform: uppercase !important; font-family: 'Poppins', sans-serif !important; }
.sidebar-main .block-content a, .pt-category-page .sidebar-main a { font-size: 14px !important; font-weight: 500 !important; color: #777 !important; font-family: 'Poppins', sans-serif !important; padding: 4px 0 !important; line-height: 22px !important; }
.sidebar-main .block-content a:hover, .pt-category-page .sidebar-main a:hover { color: #0088cc !important; }
.pt-category-page .page-title, .catalog-category-view .page-title { font-size: 20px !important; font-weight: 700 !important; color: #0088cc !important; font-family: 'Poppins', sans-serif !important; }

/* --- Browse categories sidebar --- */
.pt-sidebar-categories .pt-sidebar-categories__title, .browse-categories-title { font-size: 15px !important; font-weight: 600 !important; color: #222529 !important; text-transform: uppercase !important; font-family: 'Poppins', sans-serif !important; }
.pt-sidebar-categories a, .pt-sidebar-categories .pt-sidebar-categories__link { font-size: 14px !important; font-weight: 500 !important; color: #777 !important; font-family: 'Poppins', sans-serif !important; padding: 4px 0 !important; line-height: 22px !important; }
.pt-sidebar-categories a:hover { color: #0088cc !important; }

/* --- Form inputs --- */
.fieldset > .field > .control input[type="text"], .fieldset > .field > .control input[type="email"], .fieldset > .field > .control input[type="password"], .fieldset > .field > .control input[type="tel"], .fieldset > .field > .control select, .fieldset > .field > .control textarea { height: 50px !important; border: 1px solid rgba(0,0,0,0.09) !important; border-radius: 0 !important; background: #fff !important; padding: 8px 12px !important; font-family: 'Poppins', sans-serif !important; font-size: 13.6px !important; color: #777 !important; }
.fieldset > .field > .control input:focus, .fieldset > .field > .control select:focus, .fieldset > .field > .control textarea:focus { border-color: #0088cc !important; box-shadow: none !important; }
.customer-account-create .field .control input { height: 50px !important; border: 1px solid rgba(0,0,0,0.09) !important; border-radius: 0 !important; background: #fff !important; font-family: 'Poppins', sans-serif !important; font-size: 13.6px !important; }
.contact-index-index .fieldset > .field > .control textarea { height: 150px !important; }

/* --- Footer overrides --- */
.pt-footer-middle__title { font-size: 15px !important; font-weight: 600 !important; font-family: 'Poppins', sans-serif !important; text-transform: uppercase !important; }
.pt-footer-middle__contact p, .pt-footer-middle__about-text { font-size: 13px !important; color: #a8a8a8 !important; letter-spacing: 0.065px !important; line-height: 24px !important; }
.pt-footer-middle__links a { font-size: 13px !important; color: #a8a8a8 !important; letter-spacing: 0.065px !important; line-height: 22px !important; font-family: 'Poppins', sans-serif; }
.pt-footer-middle__links li { margin-bottom: 10px; }
.pt-footer-bottom { padding: 15px 0; font-size: 11.7px !important; letter-spacing: 0.065px !important; }
.pt-footer-bottom__copyright { font-size: 11.7px; font-family: 'Poppins', sans-serif; letter-spacing: 0.065px !important; }

/* --- Cart page --- */
.checkout-cart-index .page-title-wrapper .page-title { font-size: 22px !important; font-weight: 700 !important; color: #222529 !important; text-transform: uppercase !important; font-family: 'Poppins', sans-serif !important; }

/* --- Newsletter sidebar button --- */
.pt-sidebar-newsletter .pt-sidebar-newsletter__btn, .pt-sidebar-newsletter button { background: #0088cc !important; color: #fff !important; border: none !important; border-radius: 0 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; text-transform: uppercase !important; }
.pt-sidebar-newsletter .pt-sidebar-newsletter__btn:hover, .pt-sidebar-newsletter button:hover { background: #0073aa !important; }

/* --- PDP add to cart button dark --- */
.product-info-main .box-tocart .action.tocart { background: #222529 !important; color: #fff !important; border: none !important; border-radius: 0 !important; height: 48px !important; padding: 0 28px !important; font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: -0.21px !important; font-family: 'Poppins', sans-serif !important; }
.product-info-main .box-tocart .action.tocart:hover { background: #0088cc !important; }

/* --- PDP float-based layout (prevents Fotorama 9.5M pixel bug) --- */
.pt-product-page .columns .column.main { display: block !important; overflow: hidden; }
.pt-product-page .product.media { float: left !important; width: 55% !important; overflow: hidden; }
.pt-product-page .product-info-main { float: right !important; width: 42% !important; }

/* ===================================================================
   VQA-030: Pixel-perfect hero slide — Porto Demo 1 matching
   =================================================================== */

/* Hero slide italic title (e.g., "Summer Sale" in cursive) */
.pt-hero-slide__title em {
    font-style: italic;
    font-family: 'Georgia', 'Times New Roman', cursive;
    font-weight: 400;
    font-size: 48px;
    display: block;
    text-transform: none;
}

/* Hero slide primary button — Porto red style */
.pt-hero-slide .pt-btn--primary {
    background: var(--pt-secondary);
    border: 2px solid var(--pt-secondary);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 28px;
    font-size: 13px;
    border-radius: 3px;
}
.pt-hero-slide .pt-btn--primary:hover {
    background: var(--pt-secondary-dark);
    border-color: var(--pt-secondary-dark);
    color: #fff;
}

/* Hero content left alignment */
.pt-hero-slide__content--left {
    text-align: left;
}

/* Hero slide label (subtitle above title) */
.pt-hero-slide__label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Footer logo sizing — match original Porto */
.pt-footer-middle__logo img {
    max-height: 44px;
    width: auto;
}

/* ===================================================================
   VQA-031: Pixel-perfect v9 — 5 CSS fixes from section comparison
   =================================================================== */

/* Fix #1: Promo bar MEN/WOMEN — white boxed badges matching original */
.pt-promo-bar__cta {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    margin: 0 4px;
    display: inline-block;
    line-height: 1.4;
}
.pt-promo-bar__cta:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Fix #2: Topbar links — ALL CAPS matching original Porto */
.pt-topbar__link-item a {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Fix #3: Search bar — wider, category dropdown fully visible */
.pt-header__search {
    max-width: 620px;
}
.pt-header__search-cat {
    width: 130px;
    min-width: 130px;
}
.pt-header__search-inner {
    border: 1px solid #e1e1e1;
    background: #fff;
}

/* Fix #4: Header icons — outlined heart (not filled), cart with badge */
.pt-header__tool-item--wishlist svg {
    fill: none;
    stroke: currentColor;
}
.pt-header__tool-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--pt-primary);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.pt-header__tool-item {
    position: relative;
}

/* Fix #5: Trust bar — icons in colored circles matching original */
.pt-trustbar__icon {
    width: 46px;
    height: 46px;
    border: 2px solid var(--pt-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-primary);
    flex-shrink: 0;
}
.pt-trustbar__icon svg {
    stroke: var(--pt-primary);
    width: 22px;
    height: 22px;
}
.pt-trustbar__text h3 {
    font-size: 14px;
    font-weight: 700;
    color: #222529;
    text-transform: uppercase;
    letter-spacing: 0;
}
.pt-trustbar__text p {
    font-size: 13px;
    color: #777;
}
/* Trust bar separator — vertical line between items */
.pt-trustbar__item + .pt-trustbar__item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #e1e1e1;
}
