/*
Theme Name: AppleStudio
Theme URI: https://example.com/applestudio
Author: AppleStudio
Author URI: https://example.com
Description: Base AppleStudio theme.
Version: 1.0.0
Text Domain: applestudio
*/

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Ultralight.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Ultralight.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-UltralightItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-UltralightItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Thin.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Thin.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-ThinItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-ThinItalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Light.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-LightItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Regular.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-RegularItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-RegularItalic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Medium.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-MediumItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Semibold.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-SemiboldItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-SemiboldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Bold.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-BoldItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Heavy.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Heavy.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-HeavyItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-HeavyItalic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-Black.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF Pro Display/SF-Pro-Display-BlackItalic.woff2") format("woff2"),
       url("SF Pro Display/SF-Pro-Display-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.cart-modal-open {
  overflow: hidden;
}

body.site-search-open {
  overflow: hidden;
}

a {
  text-decoration: none;
}

main {
  flex: 1 0 auto;
}

footer {
  margin-top: auto;
}

:root {
  --container-inner: 1200px;
  --container-outer: 1240px;
  --container-pad: 20px;
}

header,
footer {
  width: min(100%, var(--container-outer));
  margin: 0 auto;
  padding: 10px var(--container-pad);
  background: #fff;
  box-sizing: border-box;
}

.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
}

.mobile-social-bar {
  display: none;
  background: #000;
  height: 40px;
}

.mobile-social-bar__inner {
  width: min(100%, var(--container-outer));
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
}

.mobile-social-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.mobile-social-bar__link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.mobile-header__menu,
.mobile-header__search,
.mobile-menu__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mobile-header__menu img,
.mobile-menu__close img {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-header__search {
  color: #111;
  align-items: center;
  justify-content: center;
}

.mobile-header__search span,
.site-search-toggle__icon,
.site-search-modal__field-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 17px;
  position: relative;
  width: 17px;
}

.mobile-header__search span::after,
.site-search-toggle__icon::after,
.site-search-modal__field-icon::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  position: absolute;
  right: -7px;
  top: 12px;
  transform: rotate(45deg);
  width: 8px;
}

.mobile-header__logo img {
  height: 24px;
  width: auto;
}

.mobile-header__cart .cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.mobile-menu.is-open .mobile-menu__overlay {
  pointer-events: auto;
}

.mobile-menu__panel {
  position: relative;
  width: min(320px, 100%);
  height: auto;
  min-height: 100%;
  max-height: none;
  background: #fff;
  padding: 24px 20px calc(64px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.mobile-menu__section {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.mobile-menu__title {
  font-size: 14px;
  font-weight: 600;
  color: #9a9a9a;
}

.mobile-menu__links {
  display: grid;
  gap: 10px;
}

.mobile-menu__links a {
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.mobile-menu__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mobile-menu__menu li {
  margin: 0;
  padding: 0;
}

.mobile-menu__menu a {
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
}

.container {
  width: min(100%, var(--container-outer));
  margin: 0 auto;
  padding: 0 var(--container-pad);
  box-sizing: border-box;
}

.page-title {
  text-align: center;
  margin: 0 0 24px;
  font-weight: 500;
}

.page-content p {
  font-size: 16px;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-weight: 400;
}

.site-header {
  border-bottom: none;
  display: flex;
  align-items: center;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  width: 100%;
}

.top-nav__group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.top-nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.top-nav__menu li {
  margin: 0;
  padding: 0;
}

.top-nav__menu a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-nav__menu a:hover,
.top-nav__menu a:focus {
  color: #ff480b;
}

.top-nav__menu li.current-menu-item > a,
.top-nav__menu li.current-menu-ancestor > a,
.top-nav__menu li.current_page_item > a,
.top-nav__menu li.current_page_ancestor > a {
  color: #ff480b;
}

.top-nav a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-nav a:hover,
.top-nav a:focus {
  color: #ff480b;
}

.sub-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(100%, var(--container-outer));
  margin: 0 auto;
  padding: 10px var(--container-pad);
  height: 60px;
  background: #fff;
  position: relative;
  box-sizing: border-box;
}

.sub-header::before {
  content: "";
  position: absolute;
  top: 0;
  width: min(calc(100% - (var(--container-pad) * 2)), var(--container-inner));
  left: 50%;
  border-top: 1px solid #efefef;
  transform: translateX(-50%);
}

.sub-header__logo img {
  display: block;
  height: 24px;
  width: auto;
}

.sub-header__menu {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 16px;
  font-weight: 500;
}

.sub-header__menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub-header__menu-list li {
  position: relative;
  margin: 0;
  padding: 0 0 0px;
}

.sub-header__menu-list a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sub-header__menu-list a:hover,
.sub-header__menu-list a:focus {
  color: #ff480b;
}

.sub-header__menu-list li.current-menu-item > a,
.sub-header__menu-list li.current-menu-ancestor > a,
.sub-header__menu-list li.current_page_item > a,
.sub-header__menu-list li.current_page_ancestor > a {
  color: #ff480b;
}

.sub-header__menu-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  max-width: 250px;
  background: #fff;
  border-radius: 18px;
  padding: 10px 8px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
  list-style: none;
  margin: 0;
}

.sub-header__menu-list li.menu-item-has-children:hover > .sub-menu,
.sub-header__menu-list li.menu-item-has-children:focus-within > .sub-menu {
  display: flex;
}

.sub-header__menu-list .sub-menu a {
  font-size: 16px;
  font-weight: 400;
  padding: 10px 18px;
  border-radius: 14px;
  color: #111;
  transition: background 0.2s ease, color 0.2s ease;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.sub-header__menu-list .sub-menu a:hover,
.sub-header__menu-list .sub-menu a:focus {
  background: #efefef;
  color: #111;
}

.sub-header__menu-list .sub-menu li.current-menu-item > a,
.sub-header__menu-list .sub-menu li.current_page_item > a {
  background: #efefef;
  color: #111;
}

.sub-header__menu a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sub-header__menu a:hover,
.sub-header__menu a:focus {
  color: #ff480b;
}

.menu-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 6px;
}

.menu-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  max-width: 250px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 120;
}

.menu-dropdown:hover .menu-dropdown__panel,
.menu-dropdown:focus-within .menu-dropdown__panel {
  display: flex;
}

.menu-dropdown__panel a {
  color: #111;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-dropdown__panel a:hover,
.menu-dropdown__panel a:focus {
  background: #efefef;
  color: #111;
}

.sub-header__cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.site-search-toggle {
  align-items: center;
  background: #f5f5f7;
  border: 1px solid #ececec;
  border-radius: 999px;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-search-toggle:hover,
.site-search-toggle:focus {
  background: #fff;
  border-color: #ff480b;
  color: #ff480b;
  outline: none;
}

.site-search-toggle__icon {
  height: 15px;
  width: 15px;
}

.sub-header__cart .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
  font: inherit;
  cursor: pointer;
}

.sub-header__cart .cart-link:hover,
.sub-header__cart .cart-link:focus {
  color: #ff480b;
}

.sub-header__cart:hover .cart-link,
.sub-header__cart:focus-within .cart-link {
  color: #ff480b;
}

.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.cart-icon img {
  width: 24px;
  height: 24px;
  display: block;
  transition: filter 0.2s ease;
}

.sub-header__cart:hover .cart-icon img,
.sub-header__cart:focus-within .cart-icon img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(95%) saturate(2412%) hue-rotate(356deg) brightness(99%) contrast(104%);
}

.cart-count {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff480b;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  text-align: center;
}

.hero-slider {
  width: min(100%, var(--container-outer));
  margin: 0 auto;
  padding: 20px var(--container-pad) 30px;
  overflow-x: clip;
  overflow-y: visible;
  box-sizing: border-box;
}


.hero-slider .swiper {
  width: min(100%, var(--container-inner));
  margin: 0 auto;
  height: 600px;
  overflow: visible;
  position: relative;
  box-sizing: border-box;
}

.hero-slider .swiper-slide {
  height: 100%;
  width: 100%;
}

.hero-slide {
  height: 100%;
  border-radius: 35px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px;
  width: 100%;
  box-sizing: border-box;
}

.hero-slide__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hero-slide__content h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
}

.hero-slide__content p {
  margin: 0;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 400;
}

.hero-slide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 35px;
  background: #0370e3;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease;
  flex: 0 0 auto;
}

.hero-slide__button:hover,
.hero-slide__button:focus {
  background: #035fcc;
  color: #fff;
}

.hero-slider .swiper-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  left: 50% !important;
  right: auto !important;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: #f5f5f5;
  width: auto !important;
  max-width: calc(100vw - 40px);
  min-width: 115px;
  padding: 0 16px;
  height: 40px;
  border-radius: 999px;
}

.hero-slider .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 999px;
  background: #6b6b6b;
  opacity: 1;
  position: relative;
  transition: width 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  width: 35px;
}

.hero-slider .swiper-pagination-bullet-active::after {
  width: 32px;
}

@media (max-width: 1024px) {
  .hero-slider .swiper {
    height: 480px;
  }

  .hero-slide__content {
    padding: 40px;
  }

  .hero-slide__content h2 {
    font-size: 36px;
  }

  .hero-slide__content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero-slider .swiper {
    height: 360px;
  }

  .hero-slide__content {
    padding: 28px;
  }

  .hero-slide__content h2 {
    font-size: 28px;
  }

  .hero-slide__content p {
    font-size: 16px;
  }
}

.promo-cards {
  width: 100%;
  margin: 10px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  box-sizing: border-box;
  padding: 0;
}

.promo-card {
  border-radius: 35px;
  background-size: min(300px, calc(100% - 40px)) auto;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.promo-card--light {
  background-color: #f3f3f3;
  color: #111;
}

.promo-card--dark {
  background-color: #000;
  color: #fff;
}

.promo-card__content {
  padding: 36px;
  width: 100%;
  box-sizing: border-box;
}

.promo-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.promo-card__head h3 {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 600;
}

.promo-card__content p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}

.promo-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 95px;
  height: 30px;
  background: #0370e3;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease;
  flex: 0 0 auto;
}

.promo-card__button:hover,
.promo-card__button:focus {
  background: #035fcc;
  color: #fff;
}

.category-slider {
  width: 100%;
  margin: 20px 0 40px;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}

.category-slider__head {
  text-align: center;
  margin-bottom: 30px;
}

.category-slider__head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.category-slider__wrap {
  position: relative;
}

.category-slider .swiper {
  overflow: hidden;
}

.category-card {
  background: #f5f5f5;
  border-radius: 35px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #111;
  transition: color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.category-card img {
  max-height: 115px;
  width: auto;
  display: block;
  transition: transform 1.5s ease;
}

.category-card:hover {
  color: #ff480b;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-slider__controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.category-pagination {
  box-sizing: border-box;
  min-width: 0;
  max-width: calc(100% - 52px);
  flex-wrap: nowrap;
  position: static !important;
  transform: none !important;
  background: #f5f5f5;
  width: auto !important;

  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}

.category-pagination .swiper-pagination-bullet {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin: 0 !important;
  border-radius: 999px;
  background: #6b6b6b;
  opacity: 1;
  transition: width 0.3s ease;
}

.category-pagination .swiper-pagination-bullet-active {
  width: 35px;
}

.category-next {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f5f5f5;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.category-next img {
  width: 20px;
  height: 20px;
  display: block;
}

.social-cards {
  width: 100%;
  margin: 20px 0 40px;
  padding: 0;
  box-sizing: border-box;
}

.social-cards__head {
  text-align: center;
  margin-bottom: 20px;
}

.social-cards__head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.social-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.social-card {
  background: #f5f5f5;
  border-radius: 35px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.social-card img {
  width: 40px;
  height: 40px;
  display: block;
}

.social-card__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0370e3;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-card__button:hover,
.social-card__button:focus {
  background: #035fcc;
  color: #fff;
}

.social-card__button img {
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  filter: brightness(0) saturate(100%) invert(100%);
}

.contact-section {
  background: #f5f5f5;
  padding: 40px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.contact-section__inner {
  width: min(100%, var(--container-outer));
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  box-sizing: border-box;
  align-items: stretch;
}

.contact-card {
  background: #fff;
  border-radius: 35px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.contact-card h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
}

.contact-item img {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.contact-phone {
  font-size: 15px;
  font-weight: 500;
  color: #111;
}

.contact-phone a {
  color: #111;
  transition: color 0.2s ease;
}

.contact-phone a:hover,
.contact-phone a:focus {
  color: #ff480b;
}

.contact-social {
  display: flex;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
}

.contact-social a {
  color: #111;
  transition: color 0.2s ease;
}

.contact-social a:hover,
.contact-social a:focus {
  color: #ff480b;
}

.contact-map {
  border-radius: 35px;
  overflow: hidden;
  height: 350px;
}

.category-hero {
  text-align: center;
  margin: 20px 0 30px;
}

.category-hero .woocommerce-breadcrumb {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  color: #9a9a9a;
}

.category-hero .woocommerce-breadcrumb a {
  color: #111;
}

.category-hero .woocommerce-breadcrumb a:hover,
.category-hero .woocommerce-breadcrumb a:focus {
  color: #111;
}

.category-title {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  color: #111;
}

.applestudio-category-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 0 32px;
  padding: 0 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  position: sticky;
  top: 10px;
  z-index: 40;
}

.applestudio-category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 100px;
  padding: 0 10px;
  border-radius: 10px;
  background: #d4d4d6;
  color: #3b3b3b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.applestudio-category-nav__link.is-active,
.applestudio-category-nav__link:hover,
.applestudio-category-nav__link:focus {
  background: #000;
  color: #fff;
}

.applestudio-category-section {
  margin: 0 0 46px;
}

.applestudio-category-section__title {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 600;
  color: #111;
}

.woocommerce ul.products {
  display: grid;
  min-width: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 40px;
}

.no-products-found {
  text-align: center;
  padding: 40px 0;
}

.no-products-found .woocommerce-info {
  display: inline-block;
  margin: 0;
  padding: 18px 24px;
  border-radius: 16px;
  background: #f5f5f5;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.woocommerce ul.products li.product.product-card {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: 90px;
}

.woocommerce ul.products li.product.product-card:target {
  box-shadow: 0 18px 45px rgba(3, 112, 227, 0.16);
  outline: 2px solid rgba(3, 112, 227, 0.35);
}

.woocommerce ul.products li.product a {
  color: inherit;
}

.product-card__media img {
  margin: 0 0 14px;
  border-radius: 18px;
  width: 100%;
  height: 250px;
  max-width: 240px;
  object-fit: contain;
}

.product-card__media {
  min-width: 0;
  position: relative;
  width: 100%;
  padding: 0 28px;
  box-sizing: border-box;
}

.product-card__media .swiper {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-card__media .swiper-slide {
  display: flex;
  justify-content: center;
}

.product-gallery-prev,
.product-gallery-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  cursor: pointer;
  pointer-events: auto;
}


.product-gallery-prev {
  left: 0;
}

.product-gallery-next {
  right: 0;
}

.product-gallery-prev img,
.product-gallery-next img {
  width: 15px;
  height: 28px;
}

.product-gallery-prev img {
  transform: rotate(180deg);
}

.product-gallery-pagination {
  position: static !important;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.product-gallery-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #bbb;
  opacity: 1;
}

.product-gallery-pagination .swiper-pagination-bullet-active {
  width: 6px;
  height: 6px;
  background: #111;
}

.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin: 36px 0 8px;
  width: 100%;
}

.woocommerce-pagination ul.page-numbers,
.woocommerce-pagination .page-numbers {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span,
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
  align-items: center;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  box-shadow: inset 0 2.95px 2.95px 0 rgba(0, 0, 0, 0.12);
  color: #111;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  justify-content: center;
  min-width: 36px;
  padding: 0 13px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers a:focus,
.woocommerce-pagination a.page-numbers:hover,
.woocommerce-pagination a.page-numbers:focus {
  background: #f5f7fb;
  border-color: #0370e3;
  color: #0370e3;
  outline: none;
}

.woocommerce-pagination .page-numbers .current,
.woocommerce-pagination span.page-numbers.current {
  background: #0370e3;
  border-color: #0370e3;
  box-shadow: none;
  color: #fff;
}

.woocommerce-pagination .page-numbers .dots,
.woocommerce-pagination span.page-numbers.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #777;
  min-width: 24px;
  padding: 0 4px;
}

.woocommerce-pagination .next,
.woocommerce-pagination .prev {
  min-width: 42px;
}

.product-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 6px 0 6px;
  color: #111;
}

.product-card__subtitle {
  font-size: 13px;
  font-weight: 400;
  color: #777;
  margin: 0 0 12px;
}

.product-card__attrs {
  width: 100%;
  display: grid;
  gap: 12px;
  margin: 8px 0 14px;
}

.product-attr__label {
  font-size: 12px;
  font-weight: 500;
  color: #777;
  margin-bottom: 6px;
}

.product-attr__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.product-attr__option {
  border: 1px solid #d6d6d6;
  background: #fff;
  color: #111;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: inset 0 2.95px 2.95px 0 rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.product-attr__option[style*="background-color"] {
  color: transparent;
  border-color: #d6d6d6;
  min-width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 5px;
}

.product-attr__option[style*="background-color"].is-active {
  border-color: #0370e3;
}

.product-attr__option.is-active {
  border-color: #585858;
  color: #111;
}

.product-attr__option[style*="background-color"].is-active {
  border-color: #585858;
}

.product-card__footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.product-card__price {
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.product-card__add {
  background: #0370e3;
  color: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-card__add:hover,
.product-card__add:focus {
  background: #035fcc;
  color: #fff;
}

.product-card__add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-card__accordions {
  width: 100%;
  margin: 12px 0 4px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.product-accordion {
  border-top: 1px solid #e5e5e5;
}

.product-accordion:first-child {
  border-top: none;
}

.product-accordion__toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}

.product-accordion__toggle img {
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.product-accordion.is-open .product-accordion__toggle img {
  transform: rotate(-90deg);
}

.product-accordion__content {
  display: none;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-align: left;
  padding-bottom: 10px;
}

.product-accordion__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 400;
  color: #000;
}

.toast-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.toast-notice--show {
  opacity: 1;
  transform: translateY(0);
}

.cart-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  overflow: auto;
}

.cart-modal.is-open {
  display: block;
}

.cart-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.cart-modal__panel {
  box-sizing: border-box;
  position: relative;
  width: 60%;
  max-width: 1200px;
  min-width: 0;
  min-height: 260px;
  left: 0;
  right: 0;
  margin: 60px auto 40px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  overflow: visible;
}

.cart-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-header__search:hover,
.mobile-header__search:focus,
.mobile-header__search:active {
  background: transparent !important;
  box-shadow: none;
}

.site-search-toggle,
.site-search-toggle:hover,
.site-search-toggle:focus,
.site-search-toggle:active {
  box-shadow: none;
}

.site-search-toggle:focus-visible,
.mobile-header__search:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.site-search-modal {
  display: none;
  inset: 0;
  overflow: auto;
  position: fixed;
  z-index: 10001;
}

.site-search-modal.is-open {
  display: block;
}

.site-search-modal__overlay {
  background: rgba(0, 0, 0, 0.38);
  inset: 0;
  position: fixed;
}

.site-search-modal__panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  margin: 72px auto 40px;
  max-width: 760px;
  min-height: 220px;
  padding: 26px;
  position: relative;
  width: min(calc(100% - 32px), 760px);
}

.site-search-modal__close {
  background: transparent;
  border: 0;
  color: #777;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 4px;
  position: absolute;
  right: 18px;
  top: 16px;
}

.site-search-modal__close:hover,
.site-search-modal__close:focus {
  color: #111;
  outline: none;
}

.site-search-modal__head {
  display: grid;
  gap: 18px;
  padding-right: 34px;
}

.site-search-modal__title {
  color: #111;
  font-size: 28px;
  font-weight: 700;
}

.site-search-modal__field {
  align-items: center;
  background: #f5f5f7;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  display: flex;
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
}

.site-search-modal__field:focus-within {
  background: #fff;
  border-color: #0370e3;
}

.site-search-modal__field-icon {
  color: #777;
  flex: 0 0 auto;
}

.site-search-modal__input {
  background: transparent;
  border: 0;
  color: #111;
  flex: 1;
  font: inherit;
  font-size: 18px;
  min-width: 0;
  outline: none;
}

.site-search-modal__status {
  color: #777;
  font-size: 14px;
  margin: 16px 0 0;
}

.site-search-modal__results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.site-search-modal__result {
  align-items: center;
  border: 1px solid #efefef;
  border-radius: 16px;
  color: #111;
  display: grid;
  gap: 14px;
  grid-template-columns: 64px 1fr auto;
  padding: 10px 12px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-search-modal__result:hover,
.site-search-modal__result:focus {
  background: #f7f8fa;
  border-color: #d8e7fb;
  outline: none;
  transform: translateY(-1px);
}

.site-search-modal__thumb {
  align-items: center;
  background: #f5f5f7;
  border-radius: 12px;
  display: flex;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 64px;
}

.site-search-modal__thumb img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-search-modal__thumb-placeholder {
  background: #ddd;
  border-radius: 50%;
  display: block;
  height: 28px;
  width: 28px;
}

.site-search-modal__result-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-search-modal__result-title {
  font-size: 16px;
  font-weight: 600;
}

.site-search-modal__result-meta {
  color: #777;
  font-size: 13px;
}

.site-search-modal__result-price {
  color: #111;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.cart-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cart-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  z-index: 2;
}

.cart-modal__loader[hidden] {
  display: none;
}

.custom-loader {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(farthest-side, #000000 94%, #0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%, #000000);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
  animation: s3 1s infinite linear;
}

@keyframes s3 {
  100% {
    transform: rotate(1turn);
  }
}

.cart-modal__empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 80px;
}

.cart-modal__empty-state[hidden] {
  display: none;
}

.cart-modal__empty-state h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.cart-modal__empty {
  font-size: 16px;
  color: #111;
  margin: 0;
}
.cart-modal__form h3,
.cart-modal__cart h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
}

.cart-modal__form form {
  display: grid;
  gap: 16px;
}

.cart-modal__form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.cart-modal__field {
  position: relative;
  display: block;
  gap: 0;
}

.cart-modal__field-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #8a8a8a;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease, top 0.2s ease;
  pointer-events: none;
}

.cart-modal__form input {
  height: 48px;
  padding: 8px 16px 4px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  font-size: 14px;
}

.cart-modal__form select {
  height: 48px;
  padding: 0 16px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
  padding-right: 40px;
  appearance: none;
  width: 100%;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  background: url("assets/arrow_slider.svg") no-repeat center;
  background-size: 20px 20px;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.cart-modal__note {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.cart-modal__shipping {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.cart-modal__shipping-head {
  font-size: 16px;
  font-weight: 600;
}

.cart-modal__shipping-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cart-modal__tab {
  height: 44px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cart-modal__tab.is-active {
  background: #e5e5e5;
  border-color: #cfcfcf;
}

.cart-modal__shipping-info {
  border: 2px solid #111;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  color: #666;
  display: none;
}

.cart-modal__shipping-info.is-active {
  display: block;
}

.cart-modal__shipping-title {
  display: flex;
  justify-content: space-between;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-modal__shipping-meta {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.cart-modal__shipping-address {
  display: none;
  gap: 12px;
}

.cart-modal__shipping-address.is-active {
  display: grid;
}

.cart-modal__payment {
  border: 1px solid #d6d6d6;
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.cart-modal__payment-title {
  font-size: 14px;
  color: #666;
}

.cart-modal__payment-options {
  display: grid;
  gap: 10px;
}

.cart-modal__payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.cart-modal__payment-option input {
  width: 16px;
  height: 16px;
}

.cart-modal__comment {
  display: grid;
  gap: 10px;
  border: 1px solid #d6d6d6;
  border-radius: 16px;
  padding: 14px 16px;
}

.cart-modal__comment textarea {
  width: 100%;
  border: 0;
  resize: none;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  padding: 8px 0 4px;
}

.cart-modal__field input:focus + .cart-modal__field-label,
.cart-modal__field input:not(:placeholder-shown) + .cart-modal__field-label,
.cart-modal__field textarea:focus + .cart-modal__field-label,
.cart-modal__field textarea:not(:placeholder-shown) + .cart-modal__field-label {
  top: 8px;
  transform: translateY(0);
  font-size: 11px;
  color: #666;
}

.cart-modal__field.is-error input,
.cart-modal__field.is-error textarea {
  border-color: #e23a3a;
}

.cart-modal__field.is-error .cart-modal__field-label {
  color: #e23a3a;
}

.cart-modal__submit {
  margin-top: 12px;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 16px;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.cart-modal__submit span {
  font-size: 22px;
  line-height: 1;
}

.cart-modal__submit-loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: cart-submit-spin 0.8s linear infinite;
}

.cart-modal__submit.is-loading .cart-modal__submit-loader {
  display: inline-block;
}

.cart-modal__submit.is-loading {
  opacity: 0.85;
  cursor: default;
}

@keyframes cart-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.cart-modal__agreement {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #7a7a7a;
}

.cart-modal__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px 20px;
}

.cart-modal__success[hidden] {
  display: none;
}

.cart-modal__success-icon img {
  width: 80px;
  height: auto;
}

.cart-modal__success-title {
  font-size: 22px;
  font-weight: 600;
  color: #111;
}

.cart-modal__success-order {
  font-size: 16px;
  color: #111;
}

.cart-modal__success-note {
  font-size: 14px;
  color: #666;
}

.cart-modal__items {
  display: grid;
  gap: 16px;
}

.cart-modal__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-modal__thumb img {
  width: 64px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  border-radius: 12px;
}

.cart-modal__name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-modal__attrs {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.cart-modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  padding: 4px 8px;
}

.cart-modal__qty button {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.cart-modal__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.cart-modal__remove {
  position: relative;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cart-modal__remove-icon {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) saturate(100%);
  transition: filter 0.2s ease;
}

.cart-modal__remove:hover .cart-modal__remove-icon {
  filter: invert(36%) sepia(92%) saturate(3129%) hue-rotate(202deg) brightness(92%) contrast(104%);
}

.cart-modal__summary {
  margin-top: 50px;
  display: grid;
  gap: 10px;
}

.cart-modal__row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.cart-modal__divider {
  height: 1px;
  background: #e5e5e5;
  margin: 10px 0;
}

.cart-modal__total {
  font-weight: 700;
  margin-top: 8px;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .cart-modal__panel {
    inset: 20px 0;
  }

  .cart-modal__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .cart-modal__cart {
    order: 1;
  }

  .cart-modal__form {
    order: 2;
  }
}

@media (max-width: 1024px) {
  .applestudio-category-nav__link {
    min-height: 40px;
    min-width: 100px;
    font-size: 15px;
    border-radius: 10px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-search-modal__panel {
    border-radius: 20px;
    margin: 56px auto 24px;
    padding: 20px;
  }

  .site-search-modal__title {
    font-size: 24px;
  }

  .site-search-modal__field {
    min-height: 52px;
  }

  .site-search-modal__input {
    font-size: 16px;
  }

  .site-search-modal__result {
    grid-template-columns: 56px 1fr;
  }

  .site-search-modal__thumb {
    height: 56px;
    width: 56px;
  }

  .site-search-modal__result-price {
    grid-column: 2;
    justify-self: start;
  }

  .applestudio-category-nav {
    justify-content: flex-start;
    gap: 12px;
    padding: 0 10px 8px;
    margin-bottom: 20px;
  }

  .applestudio-category-nav__link {
    min-height: 40px;
    min-width: 100px;
    padding: 0 8px;
    font-size: 13px;
    border-radius: 10px;
  }

  .applestudio-category-section {
    margin-bottom: 34px;
  }

  .applestudio-category-section__title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .woocommerce ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .social-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .social-cards__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .promo-cards {
    grid-template-columns: 1fr;
  }
}

footer {
  border-top: none;
  font-size: 16px;
  color: #fff;
  background: #000;
}

.site-footer {
  width: 100%;
  padding: 40px 0;
  box-sizing: border-box;
}

.footer-inner {
  width: min(100%, var(--container-outer));
  margin: 0 auto;
  padding: 0 var(--container-pad);
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.footer-block h4 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  color: #9a9a9a;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links .footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}

.footer-links .footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-links .footer-menu a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  white-space: normal;
  transition: color 0.2s ease;
}

.footer-links .footer-menu a:hover,
.footer-links .footer-menu a:focus {
  color: #ff480b;
}

.footer-links--inline {
  gap: 16px 24px;
}

.footer-links--grid {
  max-width: 400px;
}

.footer-block__sub {
  margin-top: 24px;
}

.footer-copyright {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 400;
  color: #bdbdbd;
  line-height: 1.4;
}

.footer-credit {
  margin-top: 40px;
  font-size: 14px;
  font-weight: 400;
  color: #bdbdbd;
}

.footer-credit a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:visited {
  color: #fff;
}

.footer-credit a:hover,
.footer-credit a:focus {
  color: #ff480b;
}

.footer-links a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  white-space: normal;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ff480b;
}

.footer-block--right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: right;
  align-items: flex-end;
  justify-self: end;
}

.footer-phone {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.footer-text {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.footer-social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  width: 22px;
  height: 22px;
  display: block;
}

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

  .footer-links--grid {
    max-width: 100%;
  }

  .footer-block--right {
    align-items: flex-start;
    text-align: left;
    justify-self: stretch;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    gap: 24px;
  }

  .footer-links {
    gap: 10px 16px;
  }
}
.products.columns-4 {
  padding-left: 0;
}

@media (max-width: 980px) {
  .site-header,
  .sub-header {
    display: none;
  }

  .mobile-social-bar {
    display: block;
  }

  .mobile-header {
    display: flex;
  }
}

@media (max-width: 800px) {
  .promo-card {
    height: 550px;
  }

  .hero-slide__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 40px 24px 90px;
    position: relative;
  }

  .hero-slide__head {
    display: contents;
  }

  .hero-slide__head h2 {
    margin: 0;
  }

  .hero-slide__button {
    order: 3;
    margin-top: 16px;
  }

  .hero-slide__content p {
    order: 2;
    margin-top: 12px;
  }

  .hero-slide__head h2 {
    order: 1;
  }

  .promo-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .promo-card__head {
    display: contents;
  }

  .promo-card__head h3 {
    order: 1;
  }

  .promo-card__content p {
    order: 2;
  }

  .promo-card__button {
    order: 3;
    margin-top: 16px;
  }
}

/* Search overlay */
.site-search-toggle {
  appearance: none;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50%;
  color: #111 !important;
  cursor: pointer;
  display: inline-flex;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  height: 32px;
  line-height: 1;
  justify-content: center;
  padding: 0;
  width: 32px;
  transition: background .18s ease, color .18s ease;
}

.site-search-toggle:hover,
.site-search-toggle:focus,
.site-search-toggle:active {
  background: transparent !important;
  color: #ff480b !important;
  outline: none;
}

.site-search-toggle__icon,
.mobile-header__search span,
.site-search-modal__field-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 16px;
  position: relative;
  width: 16px;
}

.sub-header__menu-list .menu-item-search {
  align-items: center;
  display: inline-flex;
  padding-bottom: 0;
}

.sub-header__menu-list .menu-item-search .site-search-toggle {
  margin-left: -4px;
}

.site-search-toggle__icon::after,
.mobile-header__search span::after,
.site-search-modal__field-icon::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  position: absolute;
  right: -7px;
  top: 11px;
  transform: rotate(45deg);
  width: 8px;
}

.mobile-header__search {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50%;
  color: #111;
  display: inline-flex;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  line-height: 0;
  justify-content: center;
  width: 36px;
}

.mobile-header__search-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
}

.site-search-modal {
  display: none;
  inset: 0;
  overflow: auto;
  position: fixed;
  z-index: 10050;
}

.site-search-modal.is-open {
  display: block;
}

.site-search-modal__overlay {
  background: rgba(17, 17, 17, .46);
  backdrop-filter: blur(8px);
  inset: 0;
  position: fixed;
}

.site-search-modal__panel {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
  box-sizing: border-box;
  margin: 74px auto 40px;
  max-width: 780px;
  min-height: 260px;
  padding: 28px;
  position: relative;
  width: min(calc(100% - 32px), 780px);
}

.site-search-modal__close {
  align-items: center;
  background: #f5f5f7;
  border: 0;
  border-radius: 50%;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
}

.site-search-modal__close:hover,
.site-search-modal__close:focus {
  background: #111;
  color: #fff;
  outline: none;
}

.site-search-modal__head {
  display: grid;
  gap: 18px;
  padding-right: 0;
}

.site-search-modal__title {
  color: #111;
  font-size: 30px;
  font-weight: 750;
  line-height: 1.1;
}

.site-search-modal__field {
  align-items: center;
  background: #f5f5f7;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  box-sizing: border-box;
  display: flex;
  gap: 14px;
  min-height: 62px;
  padding: 0 20px;
  width: 100%;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.site-search-modal__field:focus-within {
  background: #fff;
  border-color: #0370e3;
  box-shadow: 0 0 0 4px rgba(3, 112, 227, .12);
}

.site-search-modal__field-icon {
  color: #777;
  flex: 0 0 auto;
}

.site-search-modal__input {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #111;
  flex: 1;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  min-width: 0;
  outline: none;
  width: 100%;
}

.site-search-modal__input:focus,
.site-search-modal__input:focus-visible {
  border: 0;
  box-shadow: none;
  outline: none;
}

.site-search-modal__input::-webkit-search-decoration,
.site-search-modal__input::-webkit-search-cancel-button,
.site-search-modal__input::-webkit-search-results-button,
.site-search-modal__input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.site-search-modal__input::placeholder {
  color: #9b9b9b;
}

.site-search-modal__status {
  color: #777;
  font-size: 14px;
  font-weight: 500;
  margin: 16px 2px 0;
}

.site-search-modal__results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.site-search-modal__result {
  align-items: center;
  background: #fff;
  border: 1px solid #eeeeef;
  border-radius: 18px;
  color: #111;
  display: grid;
  gap: 14px;
  grid-template-columns: 40px 1fr auto;
  padding: 7px 10px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-search-modal__result:hover,
.site-search-modal__result:focus {
  background: #fbfbfc;
  border-color: rgba(3, 112, 227, .28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  outline: none;
  transform: translateY(-1px);
}

.site-search-modal__thumb {
  align-items: center;
  background: #f5f5f7;
  border-radius: 10px;
  display: flex;
  height: 40px;
  justify-content: center;
  overflow: hidden;
  width: 40px;
}

.site-search-modal__thumb img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-search-modal__result-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.site-search-modal__result-title {
  color: #111;
  font-size: 15px;
  font-weight: 700;
}

.site-search-modal__result-meta {
  color: #777;
  font-size: 12px;
  font-weight: 500;
}

.site-search-modal__result-price {
  color: #111;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-search-modal__panel {
    border-radius: 22px;
    margin: 54px auto 24px;
    padding: 20px;
  }

  .site-search-modal__head {
    padding-right: 0;
  }

  .site-search-modal__title {
    font-size: 25px;
  }

  .site-search-modal__field {
    min-height: 54px;
    padding: 0 16px;
  }

  .site-search-modal__input {
    font-size: 16px;
  }

  .site-search-modal__result {
    grid-template-columns: 38px 1fr;
  }

  .site-search-modal__thumb {
    height: 38px;
    width: 38px;
  }

  .site-search-modal__result-price {
    grid-column: 2;
    justify-self: start;
  }
}

/* Confirmation after a successful add-to-cart response. */
body.added-modal-open { overflow: hidden; }
.added-modal[hidden] { display: none; }
.added-modal { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 20px; }
.added-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.added-modal__panel { position: relative; width: min(100%, 460px); box-sizing: border-box; padding: 36px 28px 28px; border-radius: 24px; background: #fff; color: #1d1d1f; text-align: center; box-shadow: 0 20px 80px rgba(0,0,0,.2); max-height: calc(100dvh - 40px); overflow-y: auto; }
.added-modal__close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; color: #6e6e73; }
.added-modal__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #e7f6ed; color: #24834b; font-size: 30px; }
.added-modal__panel h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; }
.added-modal__panel p { margin: 0 0 24px; color: #6e6e73; line-height: 1.5; overflow-wrap: anywhere; }
.added-modal__actions { display: grid; gap: 10px; }
.added-modal__actions button { min-height: 48px; padding: 12px 18px; border: 0; border-radius: 12px; font: inherit; cursor: pointer; }
.added-modal__checkout { background: #0071e3; color: #fff; }
.added-modal__continue { background: #f5f5f7; color: #1d1d1f; }
.added-modal button:focus-visible { outline: 3px solid #0071e3; outline-offset: 3px; }
.cart-modal__error { color: #b42318; padding: 12px; background: #fff0ee; border-radius: 10px; }

/* Keep mobile header controls and the logo on the same vertical axis. */
.mobile-header > .mobile-header__menu,
.mobile-header > .mobile-header__cart,
.mobile-header > .mobile-header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  line-height: 0;
  vertical-align: middle;
}
.mobile-header__logo,
.mobile-header__logo > a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  min-width: 0;
}
.mobile-header__logo img,
.mobile-header__menu img,
.mobile-header__cart .cart-icon img,
.mobile-header__search-icon {
  display: block;
  margin: 0;
}
.mobile-header__logo img { max-width: 100%; object-fit: contain; }
.mobile-header__cart .cart-icon { display: flex; align-items: center; justify-content: center; }

/* Cart and checkout fit narrow phones without clipping their content. */
.cart-modal__panel *,
.cart-modal__panel *::before,
.cart-modal__panel *::after { box-sizing: border-box; }
.cart-modal__grid > *,
.cart-modal__cart-content,
.cart-modal__info,
.cart-modal__form form,
.cart-modal__form label,
.cart-modal__form .select-wrap { min-width: 0; }
.cart-modal__name,
.cart-modal__attrs,
.cart-modal__note,
.cart-modal__agreement,
.cart-modal__shipping-info { overflow-wrap: anywhere; }
.cart-modal__form input:not([type="radio"]):not([type="checkbox"]),
.cart-modal__form textarea,
.cart-modal__form select { min-width: 0; max-width: 100%; width: 100%; }

@media (max-width: 1024px) {
  .cart-modal__panel {
    inset: auto;
    width: min(720px, calc(100% - 32px));
    margin: 20px auto;
    padding: 52px 24px 24px;
  }
}

@media (max-width: 480px) {
  .cart-modal__panel {
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 52px 16px 24px;
    border-radius: 18px;
  }
  .cart-modal__close { top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; }
  .cart-modal__item {
    position: relative;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
  }
  .cart-modal__thumb { grid-row: 1 / span 2; }
  .cart-modal__thumb img { width: 52px; max-width: 100%; max-height: 64px; }
  .cart-modal__info { padding-right: 28px; }
  .cart-modal__price {
    grid-column: 2;
    height: auto;
    align-items: flex-start;
    overflow-wrap: anywhere;
  }
  .cart-modal__remove { position: absolute; top: 0; right: 0; width: 28px; height: 28px; display: grid; place-items: center; }
  .cart-modal__qty { gap: 4px; padding: 2px; max-width: 100%; }
  .cart-modal__qty button { min-width: 32px; min-height: 32px; padding: 0; }
  .cart-modal__qty span { min-width: 18px; text-align: center; }
  .cart-modal__summary { margin-top: 24px; }
  .cart-modal__row { gap: 12px; flex-wrap: wrap; font-size: 16px; }
  .cart-modal__row > :last-child { margin-left: auto; text-align: right; }
  .cart-modal__shipping-title { gap: 8px; flex-wrap: wrap; }
  .cart-modal__tab { height: auto; min-height: 44px; padding: 10px 6px; overflow-wrap: anywhere; }
  .cart-modal__payment { padding: 12px; }
  .cart-modal__payment-option { font-size: 15px; min-width: 0; }
  .cart-modal__payment-option input { flex: 0 0 16px; }
  .cart-modal__form input:not([type="radio"]):not([type="checkbox"]),
  .cart-modal__form select,
  .cart-modal__form textarea { font-size: 16px; }
  .cart-modal__submit { font-size: 16px; padding: 10px; height: auto; min-height: 50px; }
  .cart-modal__empty-state { padding: 36px 0; }
  .cart-modal__success { padding: 36px 16px; overflow-wrap: anywhere; }
  .added-modal { padding: 12px; }
  .added-modal__panel { padding: 40px 20px 24px; }
  .added-modal__panel h2 { font-size: 22px; }
}

@media (max-width: 768px) {
  .hero-slider {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-slider .swiper {
    height: 400px;
  }
  .hero-slide__content {
    min-width: 0;
    padding: 32px 16px 80px;
  }
  .hero-slide__content h2,
  .hero-slide__content p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}

@media (max-width: 768px) {
  .category-pagination { gap: 5px; padding: 0 12px; }
  .category-pagination .swiper-pagination-bullet { width: 4px; height: 4px; }
  .category-pagination .swiper-pagination-bullet-active { width: 14px; }
}

/* Swiper moves a small window of equally sized bullets as categories change. */
.category-pagination.swiper-pagination-bullets-dynamic {
  position: relative !important;
  display: block;
  flex: 0 0 98px;
  width: 98px !important;
  min-width: 0;
  height: 40px;
  padding: 0;
  left: auto !important;
  white-space: nowrap;
  overflow: hidden;
  line-height: 40px;
  text-align: center;
}
.category-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 4px !important;
  vertical-align: middle;
}
