/* Storefront corrections, October 2026. Loaded after all theme page styles. */
.page__catalog .main-catalog-title { margin-bottom: 20px; letter-spacing: normal; }
.category-promo { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 24px; margin: 0 0 24px; padding: 22px 28px; border: 1px solid #dce8fa; border-left: 4px solid #286ce8; border-radius: 16px; background: #f0f6ff; }
.category-promo__visual { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; }
.category-promo__visual img { max-width: 100%; max-height: 100%; object-fit: contain; }
.category-promo__eyebrow { display: block; color: #2861ac; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.category-promo__title { margin: 0; color: #24272b; font-size: 24px; font-weight: 600; line-height: 1.2; }
.category-promo__title a { color: inherit; text-decoration: none; }
.category-promo__title a:hover { color: #286ce8; }
.category-promo__description { margin: 7px 0 0; font-size: 14px; line-height: 1.4; color: #5c687a; }
.category-promo__price { color: #24272b; font-size: 22px; font-weight: 600; line-height: 1.3; }
.category-promo__price del { display: block; color: #768296; font-size: 13px; font-weight: 400; }
.category-promo__price ins { text-decoration: none; background: transparent; }
.category-promo__button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 48px; padding: 12px 24px; border-radius: 10px; background: #ff6600; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.category-promo__button:hover { background: #e85d00; color: #fff; }
.category-promo a:focus-visible { outline: 3px solid #286ce8; outline-offset: 4px; }
@media (max-width: 767px) {
  .category-promo { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; margin-bottom: 20px; }
  .category-promo__visual { width: 40px; height: 40px; }
  .category-promo__title { font-size: 19px; }
  .category-promo__eyebrow { font-size: 11px; }
  .category-promo__description { font-size: 12px; margin-top: 5px; }
  .category-promo__price { grid-column: 1 / -1; grid-row: 2; justify-self: start; font-size: 20px; max-width: 52%; }
  .category-promo__button { grid-column: 1 / -1; grid-row: 2; justify-self: end; padding: 10px 16px; gap: 16px; max-width: 46%; }
}
.page .products-catalog__add,
.page .products-catalog__card .products-catalog__add,
.page .products-catalog__add.is-in-cart,
.page .product__buybox .product__btn--primary,
.page .product__buybox .product__btn--primary.is-in-cart,
.page .product__sticky-btn,
.page .product__sticky-btn.is-in-cart,
.cart .cart-email__pay-btn,
.cart .checkout-button {
  background: var(--gs-buy);
  color: #fff;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
}
.page .products-catalog__add:hover,
.page .products-catalog__card .products-catalog__add:hover,
.page .products-catalog__add.is-in-cart:hover,
.page .product__buybox .product__btn--primary:hover,
.page .product__buybox .product__btn--primary.is-in-cart:hover,
.page .product__sticky-btn:hover,
.page .product__sticky-btn.is-in-cart:hover,
.cart .cart-email__pay-btn:hover,
.cart .checkout-button:hover {
  background: var(--gs-buy-hover);
  color: #fff;
}
.home__title {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--primary-black);
  text-transform: none;
}
.page__home .hero__body { display: block; }
.page__home .hero__slider { width: 100%; min-width: 0; }
.page__catalog .main-catalog-title {
  display: block;
  color: #272a2d;
  font-size: 28px;
  line-height: 1.3;
  text-transform: none;
}
.products-catalog__duration {
  margin: 4px 0;
  color: var(--primary-gray);
  font-size: 14px;
  line-height: 1.4;
}
.product__back,
.product__mobile-video,
.product__gallery-dots { display: none; }

@media (max-width: 767px) {
  .page__product > .breadcrumbs,
  .page__product > .breadcrumbs__container:not(.product__back) { display: none; }
  .page__product .product__back { display: block; padding-block: 8px; font-size: 14px; }
  .page__product .product__back a { color: var(--primary-blue); }
  .page__product .product { padding-top: 8px; }
  .page__product .product__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .page__product .product__main { display: contents; }
  .page__product .product__main > * { grid-column: 1; order: 7; }
  .page__product .product__title { order: 0; margin: 0; font-size: 24px; line-height: 1.2; }
  .page__product .product__header { order: 1; margin: 0; }
  .page__product .product__media { order: 2; position: static; width: 100%; }
  .page__product .product__versions { order: 3; margin: 0; }
  .page__product .product__buybox { order: 4; margin: 0; padding: 0; }
  .page__product .product__usp { order: 5; margin: 0; }
  .page__product .product__main > .products-catalog__recommendation { order: 6; }
  .page__product .product__aside { order: 8; }
  .page__product .product__thumbnail { height: 200px; max-height: 240px; padding: 0 0 24px; }
  .page__product .product__thumbnail-image { width: 100%; height: 100%; max-height: 176px; object-fit: contain; }
  .page__product .product__gallery { display: none; }
  .page__product .product__gallery-dots { display: flex; position: absolute; bottom: 0; justify-content: center; align-items: center; }
  .page__product .product__gallery-dots.swiper-pagination-lock { display: none; }
  .page__product .product__gallery-dots .swiper-pagination-bullet { width: 24px; height: 24px; margin: 0 2px; background: transparent; opacity: 1; display: grid; place-items: center; }
  .page__product .product__gallery-dots .swiper-pagination-bullet::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gs-neutral-300); }
  .page__product .product__gallery-dots .swiper-pagination-bullet-active::after { background: var(--primary-blue); }
  .page__product .product__mobile-video { display: block; padding: 8px; margin: 0 auto; color: var(--primary-blue); background: none; font-size: 14px; }
  .page__product .product__pricing { margin: 0; padding: 0; }
  .page__product .product__buybox-divider { margin: 8px 0; }
  .page__product .product__controls { margin: 0 0 8px; }
  .page__product .product__buttons { gap: 8px; margin: 0; }
  .page__product .product__sticky-bar { transform: none; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .page__product { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }

  /* Compact home: products before categories, horizontal rows for long lists. */
  .page__home { display: flex; flex-direction: column; }
  .page__home > .hero { order: 0; }
  .page__home > .trustbar { order: 1; }
  .page__home > .product-discount { order: 2; }
  .page__home > .product-categories { order: 3; }
  .page__home > .reviews { order: 4; }
  .page__home > .finalcta { order: 5; }
  .page__home > .articles { order: 6; }
  .page__home > .about,
  .page__home > .step { display: none; }
  .page__home .product-discount__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 12px; }
  .page__home .product-discount__list .products-catalog__card { flex: 0 0 min(340px, 88vw); scroll-snap-align: start; }
  .page__home .product-categories__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .page__home .cat-card__text,
  .page__home .cat-card__tag { display: none; }
  .page__home .cat-card { padding: 16px 12px; min-width: 0; }
  .page__home .cat-card__title { font-size: 16px; }
  .page__home .trustbar__list { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; }
  .page__home .trustbar__item { flex: 0 0 auto; white-space: nowrap; }
  .page__home .reviews__item:nth-child(n+4) { display: none; }
  .page__home .reviews__aside { display: none; }
  .page__home .articles__body { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; }
  .page__home .articles__item { flex: 0 0 85%; }
}
/* Linked Autodesk years use normal links so each edition keeps its own cart product. */
.page__product .product__autodesk-versions { width: 100%; max-width: none; margin: 0 0 20px; }
.page__product .product__edition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.page__product .product__edition { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-width: 0; min-height: 66px; padding: 10px 12px; border: 2px solid #e7e7ea; border-radius: 12px; color: #2d2d32; background: #fff; text-decoration: none; }
.page__product .product__edition:hover { border-color: #a6a6ad; }
.page__product .product__edition--active { border-color: #2d2d32; background: #fafafa; }
.page__product .product__edition:focus-visible { outline: 3px solid #ff6600; outline-offset: 3px; }
.page__product .product__edition-year { font-size: 16px; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.page__product .product__edition-price { color: #636371; font-size: 14px; line-height: 1.3; }
.page__product .product__edition-price del { display: none; }
.page__product .product__edition-price ins { text-decoration: none; background: none; }
.page__product .product__edition-selected { font-size: 12px; line-height: 1.2; color: #636371; }
@media (max-width: 380px) {
  .page__product .product__edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
