@media screen and (max-width: 1200px) {
  .tableOrders td {
    font-size: 0.9rem;
  }

  /* header */

  .headerTop {
    padding: 0 15px;
  }

  .headerTopIconUnit {
    margin-left: 30px;
  }

  .headerTopIconUnit + .headerTopIconUnit {
    margin-left: 15px;
  }

  .headerTop > div > .headerTopIcon:first-child {
    margin-right: 0;
  }

  .headerTopIconUnit > div > * {
    margin-left: 15px;
  }

  /* menu */

  .headerMenu {
    display: none;
  }

  .headerMenuMobile {
    display: block;
    height: 60px;
    background-color: #FF427C;
  }

  .headerMenuMobile > ul {
    display: flex;
    height: 60px;
    padding: 0 calc(20px + (100vw - 800px) / 2);
    justify-content: space-between;
    align-items: center;
  }

  .headerMenuMobile img {
    display: block;
    width: 20px;
    height: 20px;
  }

  .headerMenuMobile a {
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
  }

  .headerMenuMobile span {
    color: #F7FA1E;
  }

  .headerMenuMobilePill {
    border: 1px solid #FFFFFF;
    padding: 2px 5px;
    border-radius: 10px;
  }

  /* main */

  .breadCrumbs {
    width: 100%;
    margin: 0 0 15px 0;
    padding: 0 15px;
  }

  .breadCrumbs > * {
    white-space: nowrap;
  }

  .breadCrumbs > *:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pageSection {
    width: 100%;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .pageSectionBorderless {
    padding-left: 0;
    padding-right: 0;
  }

  .pageSectionSoft {
    padding: 15px;
    margin-bottom: 30px;
  }

  .pageSectionEM {
    padding: 15px;
  }

  .pageSectionTabs {
    padding: 0 15px;
  }

  .pageSection .pageSectionTabs > li {
    width: 110px;
    margin: 10px 0 0 0;
  }

  .pageSectionTabs > li:first-child {
    margin-left: 0;
  }

  .pageSectionTabs > li:last-child {
    margin-right: 0;
  }

  .pageSectionTabsText {
    position: static;
    top: auto;
    right: auto;
    margin-bottom: 15px;
    text-align: center;
    line-height: normal;
  }

  h1.pageSectionLongTitle::before, h1.pageSectionLongTitle::after {
    content: none;
  }

  h1.pageSectionLongTitle > span {
    display: block;
  }

  /* info */

  .info3Columns {
    display: block;
    margin: 0;
  }

  .info3Columns > div {
    width: 100%;
    margin-top: 15px;
  }

  .infoSizes {
    display: block;
  }

  .infoSizes table {
    margin: 0 auto;
  }

  .infoSizes img {
    display: block;
    height: 162px;
    margin: 15px auto 0 auto;
  }

  /* categories */

  .categories {
    width: 100%;
    height: auto;
  }

  .categoriesList {
    position: static;
    display: grid;
    grid-row-gap: 15px;
    grid-template-columns: repeat(auto-fit, 105px);
    justify-content: space-between;
  }

  .categories a > * {
    margin-left: auto;
    margin-right: auto;
  }

  a.categoriesLeft, a.categoriesRight {
    display: none;
  }

  .pageList {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
    grid-template-columns: repeat(auto-fill, calc(25vw - 18.75px));
    grid-column-gap: 0;
    grid-row-gap: 15px;
    justify-content: space-between;
    align-items: stretch;
  }

  .pageList > a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .listImage {
    flex-grow: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .listImage > img {
    width: 100%;
  }

  .listTitle {
    flex-grow: 1;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .listPrice {
    flex-grow: 0;
    position: static;
    display: block;
    width: 100%;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    color: #333333;
    text-align: left;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path style="fill:%23ef467d" d="M0 0h20v20H0z"/><path d="M11.667 14.833 15.583 10l-3.875-4.875c-.083-.083-.208-.167-.333-.167H8.542c-.292 0-.459.25-.334.459l2.375 2.875H4.792c-.209 0-.375.166-.375.333v2.5c0 .208.166.333.375.333h5.875l-2.5 3.084c-.125.208.083.458.333.458h2.833c.167 0 .292-.042.334-.167Z" style="fill:%23fff"/></svg>');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 100% 50%;
  }

  .listPrice > span:nth-child(1n+1) {
    font-size: 1rem;
    margin-right: 0.15rem;
    line-height: normal;
  }

  /* footer */

  footer {
    justify-content: center;
    padding: 15px;
  }

  footer > div:nth-child(-n+3) {
    width: calc((100% - 60px) / 3);
  }

  footer > div:nth-child(-n+2) {
    margin-right: 30px;
  }

  .footerForm {
    max-width: 100%;
  }

  .footerForm input[type="text"] {
    max-width: 100%;
  }

  .footerANPC {
    margin-top: 30px;
    flex-direction: row;
    align-items: center;
    align-self: auto;
  }

  .footerANPC img {
    margin: 0 15px 0 0;
  }

  img.footerCard {
    margin: 0;
  }

  /* cart bar */

  .cartBar {
    padding: 15px 15px 0 15px;
  }

  .cartBar > :last-child {
    width: 180px;
  }

  /* home */

  .listMore {
    display: none;
  }

  .homeHighlights {
    padding-bottom: 15px;
  }

  .homeHighlights > a {
    padding: 0 15px;
  }

  /* category */

  .pageFilter {
    flex-direction: column;
    align-items: flex-start;
  }

  .pageFilter > *:first-child {
    width: 100%;
    margin: 0 10px 10px 0;
  }

  ul.pageFilterTags:nth-child(2) {
    flex-wrap: wrap;
  }

  .pageFilter ul.pageFilterTags > li {
    margin-top: 5px;
  }

  /* product */

  .product {
    width: 100%;
    padding: 0 15px;
  }

  .productSpecs {
    grid-template-columns: 400px auto;
    grid-template-rows: 400px 155px;
  }

  .productImage {
    width: 400px;
    height: 400px;
  }

  .productImages {
    grid-row: 2 / 3;
    align-items: flex-start;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
  }

  .productImages > a {
    width: calc((100% - 15px) / 2);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .productConfig {
    grid-row: 1 / 2;
  }

  .productInfo {
    grid-column: 2 / 3;
    display: flex;
  }

  .productConfigType {
    width: 100%;
    padding: 5px 5px 0 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .productHelp {
    height: auto;
    margin-bottom: 15px;
    padding: 15px;
    line-height: normal;
  }

  /* price & cart bar */

  .customOrder.cartBarActive, .productPriceOrder.cartBarActive {
    bottom: 60px;
  }

  .footerCartBarActive.footerProductBarActive {
    padding-bottom: 135px;
  }

  /* custom */

  .custom {
    width: 100%;
    padding: 0;
  }

  .customHeader {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px;
  }

  .customHeader > * {
    width: 100%;
  }

  .customNotice {
    background-color: #AEDDF8;
    padding: 15px;
    margin: 15px 0;
  }

  .customNotice > :first-child {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #46A2EA;
  }

  .customNotice a {
    color: #000000;
  }

  .custom .productTitle {
    margin: 0 0 15px 0;
  }

  .custom h1 {
    margin-left: 15px;
    margin-right: 15px;
  }

  .custom > p {
    margin-bottom: 30px;
  }

  .custom .pageSection {
    padding: 0;
  }

  .custom .productConfigType {
    padding: 0 15px;
  }

  .custom .productConfigType > div {
    width: 130px;
    scroll-snap-align: center;
  }

  .custom .productConfigType > * > label > div:first-child {
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .custom .productConfigType > * > input:checked + label > div:first-child {
    box-shadow: inset 0px 0px 0px 3px rgba(0, 0, 0, 1), inset 0px 0px 0px 5px rgba(255, 255, 255, 1);
  }

  .custom .productConfigType img {
    width: 97px;
    height: 79px;
  }

  .custom .productConfigColor, .custom .productConfigSize, .custom .productConfigItem > .productConfigTitle {
    margin-left: 15px;
    margin-right: 15px;
  }

  .customSide {
    display: flex;
    flex-direction: column;
    grid-gap: unset;
  }

  .customSidePreview {
    order: 2;
    margin: 30px auto 0 auto;
    width: 500px;
    height: 550px;
    max-width: calc(100vw - 30px);
    max-height: calc((100vw - 30px) * 11 / 10);
    overflow: hidden;
  }

  .customSidePrint {
    width: 33%;
    max-width: none;
  }

  .customSidePrintText1, .customSidePrintText3 {
    font-size: min(calc(10.8px + (100vw - 360px) / 170 * 5.2), 1rem);
  }

  .customSidePrintText2 {
    font-size: min(calc(16.2px + (100vw - 360px) / 170 * 7.8), 1.5rem);
  }

  .customCheckboxLabel {
    margin: 0 15px 15px 15px;
  }

  .customSideTemplates {
    display: flex;
    gap: 15px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .customSideTemplates > label {
    width: 140px;
    flex-shrink: 0;
    scroll-snap-stop: normal;
    scroll-snap-align: center;
  }

  .customSideTemplates > label:first-of-type {
    margin-left: 15px;
  }

  .customSideTemplates > label:last-of-type {
    margin-right: 15px;
  }

  .customSideExtra {
    align-self: center;
    width: calc(100vw - 30px);
    max-width: 370px;
    margin: 0 15px;
  }

  .customSideExtra:has(> :not(.invisible)) {
    margin-top: 30px;
  }

  .customSideLabel {
    display: none;
  }

  .customSideText {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    border: 1px solid #BBBBBB;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
  }

  .customSideText > input[type="text"] {
    width: 100%;
    margin-bottom: 15px;
    padding: 5px 5px 10px 5px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #BBBBBB;
  }

  .customSideText > input[type="text"]:focus {
    outline: unset;
  }

  .customSideFile {
    width: 100%;
  }

  .productConfigTitle {
    color: #46A2EA;
    font-weight: bold;
    font-size: 1.1rem;
  }

  .customSideText > input[type="radio"]:checked + label {
    box-shadow: inset 0px 0px 0px 3px rgba(0, 0, 0, 1), inset 0px 0px 0px 5px rgba(255, 255, 255, 1);
  }

  .customSideFile, .customSideFile > label {
    width: 100%;
  }

  /* cart */

  .cartInfo {
    padding: 0;
  }

  .cartInfoVoucher .cartText {
    margin: 0;
  }

  .cartInfoVoucher .cartOptions {
    margin-left: 15px;
  }

  .cartVoucher {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 15px 0;
  }

  .cartVoucherIcon {
    width: 100px;
  }

  .cartVoucherForm {
    margin: 0 0 0 20px;
  }

  .cartVoucherInput {
    width: calc(100vw - 200px);
    max-width: 200px;
  }

  .cartVoucherInfo {
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
  }

  /* form */

  .form label, .form > div {
    display: block;
  }

  .form > label > span:first-child, .form > div > span:first-child {
    display: block;
    width: 100%;
    margin: 0 0 5px 0;
  }

  .form input[type="text"], .form input[type="email"], .form select, .form textarea {
    width: 100%;
    max-width: 400px;
  }

  .form > div label + label {
    margin: 15px 0 0 0;
  }

  .form > div label:has(+ label) {
    margin-top: 15px;
  }

  .form input + span {
    vertical-align: middle;
  }

  .form > div:has(.formTotal) {
    display: flex;
  }

  .formTotal > span {
    display: block;
  }

  .formError::after {
    left: 0;
  }

  .button {
    padding: 0 30px;
  }

  /* modal */

  .modal {
    max-width: 100%;
    padding: 20px;
  }

  a.modalButton {
    padding: 0 35px;
    white-space: nowrap;
  }

  .modalControls > * + * {
    margin-left: 15px;
  }
}


@media screen and (max-width: 1000px) {
  .pageList {
    grid-template-columns: repeat(auto-fill, calc(33vw - 20px));
  }
}

@media screen and (max-width: 800px) {
  .headerMenuMobile > ul {
    padding: 0 20px;
  }

  .headerTopIconUnit:nth-child(2) > div > * {
    display: none;
  }

  .homeHighlights {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -15px;
  }

  .homeHighlights > a {
    width: calc((100vw - 30px) / 2);
    min-width: 320px;
    padding: 0 15px;
    margin-top: 15px;
  }

  .homeHighlights > a > div:nth-child(3) {
    margin-bottom: 10px;
  }

  /* footer */

  footer {
    padding: 15px;
    justify-content: center;
  }

  footer > div:first-child {
    width: 100%;
    margin: 0 auto 15px auto;
    text-align: center;
  }

  .footerForm {
    margin: 20px auto;
  }

  .footerForm input[type="text"] {
    width: calc(100% - 12px);
  }

  .footerSocial {
    justify-content: center;
  }

  .footerSocial img {
    margin: 0 5px;
  }

  footer > div:nth-child(2), footer > div:nth-child(3) {
    width: calc(50% - 7.5px);
    max-width: 200px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  footer > div:nth-child(2) {
    margin-right: 7.5px;
  }

  footer > div:nth-child(3) {
    margin-left: 7.5px;
  }

  div:not(:first-child) > .footerTitle {
    border-bottom: 3px solid #FFF;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .footerANPC {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footerANPC a {
    width: calc(50% - 7.5px);
  }

  .footerANPC a > img {
    width: 100%;
  }

  img.footerCard {
    margin: 15px auto 0 auto;
  }

  /* product */

  .product {
    width: 100%;
    padding: 0 15px;
  }

  .productSpecs {
    display: block;
    margin-bottom: 30px;
  }

  .productImage {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 15px auto;
  }

  .productImage > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .productImages {
    justify-content: center;
    margin-bottom: 15px;
  }

  .productImages > a {
    position: relative;
  }

  .productImages > a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><g transform="translate(-322 -468.323)"><path style="fill:%23ff427c" d="M307 453h24v23.677h-24z" transform="matrix(1 0 0 1.01364 15 9.142)"/><g transform="matrix(0 -.16667 .16667 0 326 488.323)"><path d="M54 0C30.97.028 12.028 18.97 12 42a41.611 41.611 0 0 0 8.48 25.036L-2.485 90 6 98.485 28.964 75.52A41.611 41.611 0 0 0 54 84c23.041 0 42-18.959 42-42S77.041 0 54 0Zm0 72c-16.458 0-30-13.542-30-30s13.542-30 30-30 30 13.542 30 30c-.017 16.451-13.549 29.983-30 30Z" style="fill:%23fff;fill-rule:nonzero" transform="matrix(.97477 0 0 .97477 2.422 0)"/><path d="M10 11.313H8V9.98h2V8.646h2V9.98h2v1.333h-2v1.333h-2v-1.333Z" style="fill:%23ebebeb" transform="matrix(0 6 -9 0 151.939 -24)"/></g></g></svg>');
    background-repeat: no-repeat;
    background-size: 24px 24px;
  }

  .productConfigType > div {
    width: 120px;
    scroll-snap-stop: always;
    scroll-snap-align: center;
  }

  .productConfigType > * > label > div:first-child {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .productConfigType > * > input:checked + label > div:first-child, .productConfigColor > input:checked + label, .productConfigSize > input:checked + label {
    box-shadow: inset 0px 0px 0px 3px rgba(0, 0, 0, 1), inset 0px 0px 0px 5px rgba(255, 255, 255, 1);
  }

  .productConfigType img {
    width: 91px;
    height: 74px;
  }

  .productPriceOrder, .customOrder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 1;
    left: 0;
    bottom: 0;
    padding: 15px 15px 0 15px;
    border-bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0, rgba(255,255,255,1) 15px,#E2E2E2 15px, #E2E2E2 100%);
    color: #FFFFFF;
  }

  .productPrice > :first-child, .customPrice > :first-child {
    color: #333333;
    font-size: 2.2rem;
  }

  .productPrice > :last-child, .customPrice > :last-child {
    color: #333333;
    font-size: 1.2rem;
  }

  .productOrder, .customOrder > button {
    width: 180px;
    height: 40px;
    padding: 0;
    background-color: #FF427C;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
  }

  .footerProductBarActive {
    padding-bottom: 75px;
  }

  .productInfo {
    margin-top: 30px;
  }

  .productHelp > span {
    display: block;
  }

  .productHelp > span + span {
    margin-top: 10px;
  }

  .productSizeError {
    position: fixed;
    bottom: 75px;
    z-index: 2;
    width: 210px;
  }

  .productSizeErrorCartBarActive {
    bottom: 135px;
  }
}

@media screen and (max-width: 700px) {
  .headerMenuMobile > ul > :last-child {
    display: none;
  }

  .headerMenuMobilePill {
    font-size: 0.8em;
  }

  .headerTopIconUnit:not(:last-child) > div > * {
    display: none;
  }

  .pageList {
    grid-template-columns: repeat(auto-fill, calc(50vw - 22.5px));
  }

  /* cart */

  .cartProduct {
    display: grid;
    grid-template-columns: min(36vw, 155px) calc(100vw - 115px - min(36vw, 155px)) 55px;
    grid-template-rows: auto min-content;
    grid-auto-rows: 1fr;
    gap: 15px 15px;
    grid-auto-flow: row;
    grid-template-areas:
      "cartImage cartText cartOptions"
      "cartImage cartQuantity cartPrice";
  }

  .cartImage {
    width: 36vw;
    max-width: 155px;
    margin: 0;
    align-self: start;
    grid-area: cartImage;
  }

  .cartImage iframe {
    width: 36vw;
    max-width: 155px;
  }

  .cartText {
    margin: 0;
    justify-self: start;
    align-self: start;
    grid-area: cartText;
  }

  .cartQuantity {
    margin: 0;
    justify-self: start;
    align-self: center;
    grid-area: cartQuantity;
  }

  .cartPrice {
    margin: 0;
    white-space: nowrap;
    justify-self: end;
    align-self: center;
    grid-area: cartPrice;
  }

  .cartOptions {
    justify-self: end;
    align-self: start;
    grid-area: cartOptions;
  }
}

@media screen and (max-width: 600px) {
  .headerMenuMobile > ul {
    padding: 0 calc(20px + (100vw - 440px) / 2);
  }

  .headerMenuMobile > ul > :nth-last-child(2) {
    display: none;
  }

  .headerMenuMobilePill {
    font-size: 1em;
  }

  .headerTopIconUnit > div > * {
    display: none;
  }

  /* cart */

  .cartVoucherIcon {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

  .cartVoucherForm {
    margin: 0;
  }

  .cartVoucherInput {
    width: 200px;
  }

  .cartVoucherInfo {
    margin-top: 10px;
  }
}

@media screen and (min-width: 400px) and (max-width: 440px) { /* mobile portrait wide */
  .headerMenuMobile > ul {
    padding: 0 calc(20px + (100vw - 400px) / 2);
  }

  .headerMenuMobilePill {
    font-size: 0.8em;
  }
}

@media screen and (max-width: 399px) { /* mobile portrait narrow */
  .headerTop > :last-child {
    display: none;
  }

  .headerMenuMobile > ul {
    padding: 0 20px;
  }

  .headerMenuMobilePill > span {
    display: none;
  }
}
