/* PhotoSales Studio 6.5.5.0 — Light frontend theme. Dark remains the base stylesheet. */
:root{color-scheme:light;--bg:#f6f8fb;--bg2:#ffffff;--panel:#ffffff;--panel2:#f1f5f9;--text:#172033;--muted:#64748b;--line:rgba(15,23,42,.12);--shadow:0 20px 60px rgba(15,23,42,.12)}
html[data-theme="light"] body{background:radial-gradient(circle at top left,rgba(249,115,22,.10),transparent 35%),linear-gradient(180deg,#fff,#f8fafc 44%,#eef2f7);color:var(--text)}
html[data-theme="light"] .site-header{background:rgba(255,255,255,.90);border-bottom-color:rgba(15,23,42,.10);box-shadow:0 8px 30px rgba(15,23,42,.05)}
html[data-theme="light"] .brand img{filter:drop-shadow(0 7px 16px rgba(15,23,42,.10))}
html[data-theme="light"] .main-nav>a,html[data-theme="light"] .dropbtn{color:#334155}
html[data-theme="light"] .main-nav>a:hover,html[data-theme="light"] .dropbtn:hover,html[data-theme="light"] .dropdown.open .dropbtn{background:#eef2f7;color:#0f172a}
html[data-theme="light"] .dropdown-menu{background:#fff;border-color:rgba(15,23,42,.12);box-shadow:0 24px 60px rgba(15,23,42,.14)}
html[data-theme="light"] .dropdown-menu a{color:#334155} html[data-theme="light"] .dropdown-menu a:hover{background:#f1f5f9;color:#0f172a}
html[data-theme="light"] .mobile-menu-button{background:#f1f5f9;border-color:rgba(15,23,42,.12);color:#0f172a}
html[data-theme="light"] .nav-search{background:#f8fafc;border-color:rgba(15,23,42,.12);box-shadow:inset 0 0 0 1px rgba(15,23,42,.02)}
html[data-theme="light"] .nav-search input{color:#0f172a} html[data-theme="light"] .nav-search input::placeholder{color:#94a3b8}
html[data-theme="light"] .hero-content{background:rgba(255,255,255,.88);color:#172033;border-color:rgba(255,255,255,.66);box-shadow:0 24px 70px rgba(15,23,42,.18)}
html[data-theme="light"] .hero-content p{color:#475569} html[data-theme="light"] .hero-content .album-category{color:#9a3412;background:#fff7ed;border-color:#fed7aa}
html[data-theme="light"] .slider-arrow{background:rgba(255,255,255,.84);color:#172033;border-color:rgba(15,23,42,.16)}
html[data-theme="light"] .slider-dots button{background:rgba(15,23,42,.28)} html[data-theme="light"] .slider-dots button.active{background:var(--accent2)}
html[data-theme="light"] .notice{color:#7c2d12;background:linear-gradient(90deg,#fff7ed,#fff1f2);border-color:#fed7aa;box-shadow:0 12px 34px rgba(15,23,42,.06)} html[data-theme="light"] .notice strong{color:#9a3412}
html[data-theme="light"] .category-card,html[data-theme="light"] .gallery-hero,html[data-theme="light"] .quick-stats div,html[data-theme="light"] .panel,html[data-theme="light"] .order-card,html[data-theme="light"] .smart-cart,html[data-theme="light"] .cart-summary,html[data-theme="light"] .checkout-card,html[data-theme="light"] .filter-panel,html[data-theme="light"] .search-panel,html[data-theme="light"] .accordion-item,html[data-theme="light"] .acc-item{background:#fff;border-color:rgba(15,23,42,.11);box-shadow:0 14px 38px rgba(15,23,42,.07)}
html[data-theme="light"] .category-card{background:linear-gradient(145deg,#fff,#f8fafc)} html[data-theme="light"] .category-card:hover{box-shadow:0 18px 48px rgba(15,23,42,.12)}
html[data-theme="light"] .quick-stats strong{color:#0f172a} html[data-theme="light"] .album-cover,html[data-theme="light"] .photo img,html[data-theme="light"] .gallery-hero img{border-color:rgba(15,23,42,.12)} html[data-theme="light"] .photo-title{color:#475569}
html[data-theme="light"] .btn.light{background:#fff;border-color:rgba(15,23,42,.13);color:#172033;box-shadow:0 8px 22px rgba(15,23,42,.07)} html[data-theme="light"] .btn.light:hover{background:#f8fafc}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]),html[data-theme="light"] textarea,html[data-theme="light"] select{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important;box-shadow:none}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#94a3b8!important} html[data-theme="light"] label,html[data-theme="light"] .form-label{color:#334155}
html[data-theme="light"] hr{border-color:rgba(15,23,42,.12)} html[data-theme="light"] .muted,html[data-theme="light"] small,html[data-theme="light"] .mod-muted{color:#64748b}
html[data-theme="light"] table{color:#172033} html[data-theme="light"] th{color:#475569} html[data-theme="light"] td,html[data-theme="light"] th{border-color:rgba(15,23,42,.10)}
html[data-theme="light"] .cookie-consent{background:rgba(255,255,255,.97);color:#172033;border-color:rgba(15,23,42,.14);box-shadow:0 20px 70px rgba(15,23,42,.16)} html[data-theme="light"] .cookie-consent p{color:#475569} html[data-theme="light"] .cookie-close{background:#eef2f7;color:#172033}
html[data-theme="light"] .mobile-menu,html[data-theme="light"] .mobile-nav,html[data-theme="light"] .pss-native-mobile-menu,html[data-theme="light"] .pss-mobile-filter-drawer{background:#fff!important;color:#172033!important}
html[data-theme="light"] .pss-native-mobile-item,html[data-theme="light"] .pss-native-mobile-group summary,html[data-theme="light"] .pss-native-mobile-direct{color:#172033!important;border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] .global-cart-panel,html[data-theme="light"] .cart-customer-box,html[data-theme="light"] .cart-order-channel-section,html[data-theme="light"] .checkout-payment-choice,html[data-theme="light"] .pss-checkout-final-review{color:#172033}
html[data-theme="light"] .smart-price-summary,html[data-theme="light"] .global-cart-total{background:#f8fafc!important;border-color:rgba(15,23,42,.12)!important;color:#172033!important}
html[data-theme="light"] .site-footer{background:#e9eef5!important;color:#334155!important;border-top-color:rgba(15,23,42,.10)!important} html[data-theme="light"] .site-footer a{color:#334155} html[data-theme="light"] .site-footer .muted{color:#64748b}
html[data-theme="light"] .pss-language-switcher summary{background:#f8fafc;border-color:#cbd5e1;color:#172033}
html[data-theme="light"] .album-overlay,html[data-theme="light"] .album-overlay p,html[data-theme="light"] .album-overlay h3,html[data-theme="light"] .album-badge,html[data-theme="light"] .album-date,html[data-theme="light"] .photo-select,html[data-theme="light"] .btn:not(.light){color:#fff}
@media(max-width:900px){html[data-theme="light"] .site-header{background:rgba(255,255,255,.96)}}


/* PhotoSales Studio 6.5.5.3 — Light theme contrast reconciliation */

/* 2 — hierarchical category/subcategory navigation */
html[data-theme="light"] .category-tree-link,
html[data-theme="light"] .dropdown-menu .category-tree-link{color:#334155!important}
html[data-theme="light"] .category-tree-item.category-type-subcategory>.category-tree-link{color:#475569!important}
html[data-theme="light"] .category-tree-label{color:#475569!important;background:rgba(15,23,42,.055)!important}
html[data-theme="light"] .category-tree-caret{color:#64748b!important}
html[data-theme="light"] .category-tree-link:hover{background:#eef2f7!important;color:#0f172a!important}

/* 3 — hero/slider titles stay on the dark photographic overlay, only lighter text */
html[data-theme="light"] .hero-overlay{
  background:rgba(5,8,13,.68)!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#d6dfeb!important
}
html[data-theme="light"] .hero-overlay h1{color:#b8c8dc!important}
html[data-theme="light"] .hero-overlay p{color:#d7e0ea!important}
html[data-theme="light"] .hero-overlay .hero-category{color:#fff!important}

/* 4 + 6 — widget titles and frontend category names */
html[data-theme="light"] .section-title h1,
html[data-theme="light"] .section-title h2,
html[data-theme="light"] .section-title h3,
html[data-theme="light"] .pss-featured-widget h1,
html[data-theme="light"] .pss-featured-widget h2,
html[data-theme="light"] .pss-featured-widget h3,
html[data-theme="light"] .home-category-title h2,
html[data-theme="light"] .category-card strong,
html[data-theme="light"] .category-card .category-name,
html[data-theme="light"] .category-card a{color:#263244!important}
html[data-theme="light"] .category-card small{color:#64748b!important}

/* 5 — social icons in footer */
html[data-theme="light"] .footer-social a{
  background:rgba(15,23,42,.055)!important;
  border-color:rgba(15,23,42,.12)!important;
  color:#475569!important
}
html[data-theme="light"] .footer-social a:hover{
  background:rgba(15,23,42,.10)!important;
  color:#1f2937!important
}
html[data-theme="light"] .footer-social svg,
html[data-theme="light"] .footer-social svg *{
  color:#475569!important;
  fill:currentColor
}

/* 7 — gallery selection toolbar */
html[data-theme="light"] .selection-toolbar,
html[data-theme="light"] #selectionToolbar{
  color:#475569!important
}
html[data-theme="light"] .selection-toolbar strong,
html[data-theme="light"] .selection-toolbar-info strong,
html[data-theme="light"] #selectionToolbarCount{
  color:#475569!important
}
html[data-theme="light"] .selection-toolbar-actions span,
html[data-theme="light"] .selection-session-status{color:#64748b!important}

/* 8 — cart totals */
html[data-theme="light"] .smart-price-summary,
html[data-theme="light"] .smart-price-summary span,
html[data-theme="light"] .smart-price-summary strong,
html[data-theme="light"] .global-cart-total,
html[data-theme="light"] .global-cart-total span,
html[data-theme="light"] .global-cart-total strong{
  color:#475569!important
}
html[data-theme="light"] .smart-price-summary .smart-discount-row,
html[data-theme="light"] .smart-price-summary .smart-discount-row span,
html[data-theme="light"] .smart-price-summary .smart-discount-row strong{
  color:#2f6f45!important
}
html[data-theme="light"] .smart-price-summary .smart-final-row,
html[data-theme="light"] .smart-price-summary .smart-final-row span,
html[data-theme="light"] .smart-price-summary .smart-final-row strong{
  color:#1f2937!important
}

/* 9 — channel button helper copy */
html[data-theme="light"] .pss-order-channel-btn small{
  color:#fff!important;
  opacity:.96!important
}
html[data-theme="light"] .pss-order-channel-btn strong{color:#fff!important}

/* 10 — payment panel intentionally stays dark gray; copy becomes much lighter */
html[data-theme="light"] .checkout-payment-choice{
  background:#475569!important;
  border-color:#64748b!important;
  color:#f8fafc!important
}
html[data-theme="light"] .checkout-payment-choice .eyebrow,
html[data-theme="light"] .checkout-payment-choice h3,
html[data-theme="light"] .checkout-payment-choice p,
html[data-theme="light"] .checkout-payment-explanation{
  color:#e2e8f0!important
}
html[data-theme="light"] .checkout-payment-choice h3{color:#fff!important}


/* PhotoSales Studio 6.5.5.4 — final Light cart contrast fix */
html[data-theme="light"] .global-cart-panel > p.muted,
html[data-theme="light"] .global-cart-panel .global-cart-head + p,
html[data-theme="light"] .cart-summary > p.muted{
  color:#475569!important;
  opacity:1!important;
}
