:root {
  --mobile-menu-bar: ;
  --current-advice-height: ;
  --current-product-height: ;
  --current-market-heigh: ;
  --current-buy-btn-heigh: ;
  --buy-now-sticky-offset: calc(var(--current-market-heigh) - var(--current-buy-btn-heigh));
  --m-sticky-sec-height: calc(var(--mobile-menu-bar) + 40px + 50px + var(--current-advice-height) + var(--current-product-height));
  --d-sticky-sec-height: calc(39px + 47px + 40px + var(--current-advice-height) + var(--current-product-height));
}

[data-product="PDR"] {
  --buy-now-offset: 3px;
  --main-background-color: #f7f7f7;
  --main-text-color: #079bcc;
  --grid-col-numb: auto repeat(5, 15%);
  --grid-mobile-col-numb: repeat(5, 1fr);
  --feature-col-bg-hover-clr: #0071bc;
  --first-col-bg-hover-clr: rgb(49 85 179);
  --second-col-bg-hover-clr: rgb(108 67 159);
  --third-col-bg-hover-clr: rgb(153 63 150);
  --license-tab-bg-clr: rgb(64 43 141);
  --advice-tab-empty-bg-clr: #3b409b;
  --product-name-first-col-bg: rgb(49 85 179);
  --product-name-sec-col-bg: rgb(108 67 159);
  --buy-now-btn-clr: #09F;
  --buy-now-btn-hover-clr: #3a5ef7 !important;
}

[data-product="PHD"] {
  --buy-now-offset: 6px;
  --main-background-color: #f7f7f7;
  --main-text-color: white;
  --grid-col-numb: auto repeat(4, 15%);
  --grid-mobile-col-numb: repeat(4, 1fr);
  --feature-col-bg-hover-clr: #d2d2d2;
  --first-col-bg-hover-clr: var(--feature-col-bg-hover-clr);
  --second-col-bg-hover-clr: var(--feature-col-bg-hover-clr);
  --third-col-bg-hover-clr: #d7cdbe;
  --license-tab-bg-clr: linear-gradient(266.44deg, #C2BDBD 1.1%, #686868 78.27%);
  --advice-tab-empty-bg-clr: white;
  --product-name-first-col-bg: white;
  --product-name-sec-col-bg: white;
  --buy-now-btn-clr: #ed5713;
  --buy-now-btn-hover-clr: black !important;
  --first-blank-sec-outline: 1px 0px 0px #C6C6C6, -1px 0px 0px #C6C6C6;
}

/*--------------------------------------------------
                 Reset RD code
--------------------------------------------------*/

.toptop_banner {
  height: 0px;
  margin-bottom: 0px;
}
.pd_purchase_left{
	display: none !important;
}
/*hide pdrm purchase*/
.bundle_pdrm{
	display: none !important;
}
.on_600,
.on_1200 {
  display: none;
}

a {
  text-decoration: none;
}

/*--------------------------------------------------
              Styling start here
--------------------------------------------------*/

body {
  background: var(--main-background-color);
  background: #f7f7f7;
}

.comparison {
  font-family: "Open Sans";
  box-sizing: border-box;
  margin: 75px auto;
  max-width: 1200px;
}

.page_title {
  text-align: center;
  margin-bottom: 70px;
  font-family: 'Poppins', sans-serif;
}

.comparison h2 {
  font-size: 2rem;
  font-weight: 800;
  padding: 25px 20px 10px 20px;
  line-height: 1;
}

[data-product="PDR"] .comparison h2 {
  color: var(--main-text-color);
}

[data-product="PHD"] .comparison h2 {
  color: black;
}

.des {
  font-size: 15px;
  text-align: center;
  line-height: 1.6em;
  width: 80%;
  margin: 20px auto;
}

main .grid {
  display: grid;
  grid-template-columns: var(--grid-col-numb);
  background: var(--main-background-color);
  border-right: 1px solid #E4E4E4;
  z-index: 3;
}

[data-product="PHD"] .grid {
  border: none !important;
}

[data-product="PDR"] .grid.features p + span + span + span + span + span {
  background: rgb(161 236 251);
  color: #126475;
  border-bottom: 1px solid #68cce075;
}

[data-product="PDR"] .grid.features p + span + span + span + span + span + span {
  background: #74b3ee;
  color: #0a159d;
  border-bottom: 1px solid #4995e461;
  border-left: none;
}

[data-product="PHD"] .grid.features p + span + span + span {
  background: #fdf3e4;
  color: #e76000;
  /* border-bottom: 1px solid #6e2f1f1c; */
}

[data-product="PHD"] .grid.features p:nth-of-type(2n) + span + span + span {
  background: #f0e6d7;
}

[data-product="PHD"] .grid.features p + span + span + span + span {
  background: #def0fa;
  color: #015df7;
  /* border-color: #1594b524; */
}

[data-product="PHD"] .grid.features p:nth-of-type(2n) + span + span + span + span {
  background: #d1e3ed;
}

.grid.kind {
  height: 40px;
  position: sticky;
  top: 39px;
  color: white;
}

.grid.kind div:nth-of-type(1),
.grid.kind div:nth-of-type(2),
.grid.kind div:nth-of-type(3) {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: larger;
}

.grid.kind div:nth-of-type(1) {
  grid-column: span 2;
  background: var(--license-tab-bg-clr);
}

.grid.kind div:nth-of-type(2) {
  background: rgb(130 54 127);
}

[data-product="PHD"] .grid.kind div:nth-of-type(2) {
  grid-column: span 2;
  background: linear-gradient(266.44deg, #FFC458 1.1%, #FF762E 78.27%);
}

.grid.kind div:nth-of-type(3) {
  grid-column: span 2;
  display: flex !important;
  background: #2e5974;
}

.grid.advice {
  position: sticky;
  top: 78px;
  color: white;
  top: calc(39px + 40px);
}

.grid.advice .name {
  padding: 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

[data-product="PHD"] .grid.advice .name {
  padding: 1rem 10px 5px;
}

.grid.advice span:nth-of-type(2) {
  background: var(--advice-tab-empty-bg-clr);
}

.grid.advice span:nth-of-type(3) {
  background: rgb(88 46 151);
}

.grid.advice span:nth-of-type(4) {
  background: rgb(139 60 136);
}

[data-product="PDR"] .grid.advice div:nth-of-type(1) {
  background: #1c8398;
  color: #4abcd3;
}

[data-product="PHD"] .grid.advice div {
  color: black;
}

[data-product="PHD"] .grid.advice div b {
  width: 100%;
  padding: 0.4rem 0 0.3rem;
  min-width: 80px;
  font-weight: 400;
}

[data-product="PHD"] .grid.advice div:nth-of-type(1) {
  background: white;
  color: black;
}

[data-product="PHD"] .grid.advice div:nth-of-type(1) b {
  background: #EAEAEA;
}

[data-product="PDR"] .grid.advice div:nth-of-type(2) {
  background: #246eb3;
  color: #5cacff;
}

[data-product="PHD"] .grid.advice div:nth-of-type(2) {
  background: #f6ecdd;
  color: black;
}

[data-product="PHD"] .grid.advice div:nth-of-type(2) b {
  background: #FFC458B2;
  color: black;
}

[data-product="PDR"] .grid.advice div:nth-of-type(3) {
  background: #1594b5;
  color: #3cc7e6;
}

[data-product="PHD"] .grid.advice div:nth-of-type(3) {
  background: #d7e9f3;
  color: white;
}

[data-product="PHD"] .grid.advice div:nth-of-type(3) b {
  background: #015EF7B2;
}

[data-product="PDR"].JPN .grid.advice div.name {
  color: white;
}

.grid.product {
  min-height: 60px;
  color: white;
  position: sticky;
  top: 106px;
  top: calc(39px + 40px + var(--current-advice-height));
}

.grid.product div {
  padding: 8px;
  font-family: 'Poppins';
}

[data-product="PHD"] .grid.product div {
  color: black;
  font-weight: 600;
  font-size: clamp(0.5rem, 2.1vw, 0.9rem);
}

.grid.product div.name:nth-of-type(1) {
  background: var(--product-name-first-col-bg);
}

.grid.product div.name:nth-of-type(2) {
  background: var(--product-name-sec-col-bg);
}

.grid.product div.name:nth-of-type(3),
.grid.product div.name:nth-of-type(4) {
  background: rgb(153 63 150);
}

[data-product="PHD"] .grid.product div.name:nth-of-type(3) {
  background: #f6ecdd;
}

[data-product="PHD"] .grid.product div.name:nth-of-type(4) {
  background: #d7e9f3;
}

.grid.product .name:nth-of-type(5) {
  background: #219fb8;
}

.grid.product .name:nth-of-type(6) {
  background: #2a80d1;
}

.grid.boxcover {
  height: 150px;
}

[data-product="PDR"] .grid.boxcover div {
  border-left: 1px solid #E4E4E4;
}

[data-product="PHD"] .grid.boxcover div:nth-of-type(1) {
  background: white;
}

[data-product="PHD"] .grid.boxcover div:nth-of-type(2) {
  background: white;
}

[data-product="PHD"] .grid.boxcover div:nth-of-type(3) {
  background: #f6ecdd;
}

[data-product="PHD"] .grid.boxcover div:nth-of-type(4) {
  background: #d7e9f3;
}

.grid.boxcover div:nth-of-type(5) {
  background: #4abcd3;
}

.grid.boxcover div:nth-of-type(6) {
  background: #4995e4;
  border-left: none;
}

.grid.market {
  position: sticky;
  top: calc(39px + 40px + var(--current-advice-height) + var(--current-product-height) - var(--buy-now-sticky-offset) - var(--buy-now-offset));
  z-index: 2;
}

.grid.market div:nth-of-type(5) {
  background: #68cce0;
}

.grid.market div:nth-of-type(6) {
  background: #5cacff;
  border-left: none;
}

main .grid div,
main .grid img,
main .grid span {
  text-align: center;
}

main .grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
}

main .grid img {
  place-self: center;
}

.boxcover img {
  max-width: 125px;
  width: 100%;
  border-radius: 6px;
}

/* [data-product="PHD"] .boxcover img {
  max-width: 97px;
} */

.product .name {
  line-height: 1.1;
  font-size: clamp(8px, 3vw, 16px);
}

.grid.market div {
  display: flex;
  flex-direction:column;
  border-left: 1px solid #E4E4E4;
  justify-content: end;
}

[data-product="PHD"] .grid.market div {
  border: none;
}

[data-product="PHD"] .grid.market div:nth-of-type(1) {
  background-color: white;
}

[data-product="PHD"] .grid.market div:nth-of-type(2) {
  background-color: white;
}

[data-product="PHD"] .grid.market div:nth-of-type(3) {
  background-color: #f6ecdd;
}

[data-product="PHD"] .grid.market div:nth-of-type(4) {
  background-color: #d7e9f3;
}

.old-price {
  text-decoration: line-through;
  color: #2e5974;
  margin-top: 4px;
}

.price {
  color: #C30;
  color: #FF0455;
  font-weight: 600;
  padding-top: 3px;
  font-size: clamp(1rem, 0.9vw, 1.2rem);
}

.old-price:empty ~ .price {
  color: black;
}

.JPN .old-price.sub {
  display: none;
}

.price br {
  display: none;
}

.grid.market a {
  width: 80%;
  text-decoration: none;
  background-color: var(--buy-now-btn-clr);
  color: #FFF;
  border-radius: 3px;
  font-size: 1em;
  padding: 6px 0;
  margin: 12px 0;
  font-family: 'Poppins', sans-serif;
}

[data-product="PHD"] .grid.market div a {
  background-color: white;
  color: black;
  border: solid black 1px;
}

/* [data-product="PHD"] .grid.market div:nth-of-type(1) a,
[data-product="PHD"] .grid.market div:nth-of-type(2) a {
  background-color: white;
  color: black;
} */

.grid.market a:hover {
    background-color: var(--buy-now-btn-hover-clr);
    transition: 0.25s all;
    cursor: pointer;
}

[data-product="PHD"] .grid.market div:is(:nth-of-type(3), :nth-of-type(4)) a {
  background-color: black;
  color: white;
  align-self: center;
}

[data-product="PHD"] .grid.market div a:hover {
  transform: scale(1.05);
  box-shadow: 1px 1px 1px #00000059, 2px 2px 6px #00000054;
}

/* [data-product="PHD"] .grid.market div:nth-of-type(4) a:hover {
  background-color: #117492;
} */
 
.grid.market div:nth-of-type(5) a { 
  background-color: #0e8cb4;
}

.grid.market div:nth-of-type(6) a {
  background-color: #2567cf;
}

[data-product="PHD"] .grid.advice span:nth-of-type(2),
[data-product="PHD"] .grid.product div.name:nth-of-type(1),
[data-product="PHD"] .grid.boxcover div:nth-of-type(1),
[data-product="PHD"] .grid.market div:nth-of-type(1) {
  box-shadow: var(--first-blank-sec-outline);
  z-index: 1;
}

.grid.section {
  position: sticky;
  top: 166px;
  top: var(--d-sticky-sec-height);
}

[data-product="PHD"] .grid.section {
  border: none;
  background: linear-gradient(90deg, rgba(74,74,74,1) 0%, rgba(0,0,0,1) 100%);
  box-shadow: inset 0px -1px 0px #00000030, inset 0px -1px 10px #00000024;
}

[data-product="PHD"] .grid.section:nth-of-type(4n + 1) {
  background: linear-gradient(90deg, rgb(50 50 50) 0%, rgb(62 62 62) 38%, rgb(24 24 24) 100%);
}

.accordion {
  grid-column: 1/-1;
  padding: 8px 18px;
  border-right: 1px solid #E4E4E4;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--main-text-color);
  background-repeat: no-repeat;
  background-position: center right 3%;
  cursor: pointer;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

[data-product="PDR"] .accordion {
  background: #E4E4E4;
  background-image: url(/stat/edms/product-version-images/2021/icons/less.png);
  background-repeat: no-repeat;
  background-position: center right 3%;
}

[data-product="PHD"] .accordion {
  background-size: 15px;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16%3B' xml:space='preserve'%3E%3Cpolyline fill='none' stroke='%23FFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' points='2.2 3.4 7.9 12.6 13.8 3.4 '/%3E%3C/svg%3E");
  border-right: none;
}

[data-product="PHD"] .accordion:hover {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16%3B' xml:space='preserve'%3E%3Cline fill='none' stroke='%23FFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' x1='12.6' y1='8' x2='3.4' y2='8'/%3E%3C/svg%3E");
  background-size: 17px;
}

/* [data-product="PHD"] .section:nth-of-type(4n - 1) .accordion {
  background: linear-gradient(90deg, rgba(74, 74, 74, 1) 0%, rgba(0, 0, 0, 1) 100%);
  border-right: none;
} */

/* [data-product="PHD"] .section:nth-of-type(4n + 1) .accordion {
  background: linear-gradient(90deg, rgb(50 50 50) 0%, rgb(62 62 62) 38%, rgb(24 24 24) 100%);
  border-right: none;
} */

.accordion.active {
  transition: all linear 0.15s;
}

[data-product="PDR"] .accordion.active {
  background: #f8f8f8;
  background-image: url(/stat/edms/product-version-images/2021/icons/more.png);
  background-repeat: no-repeat;
  background-position: center right 3%;
}

[data-product="PHD"] .accordion.active,
[data-product="PHD"] .accordion.active:hover {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 16 16' style='enable-background:new 0 0 16 16%3B' xml:space='preserve'%3E%3Cg fill='none' stroke='%23FFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10'%3E%3Cline class='st0' x1='8' y1='3.4' x2='8' y2='12.6'/%3E%3Cline class='st0' x1='12.6' y1='8' x2='3.4' y2='8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 17px;
  background-repeat: no-repeat;
  background-position: center right 3%;
}

.grid.features {
 background-color: white;
 /* border-left: 1px solid #E4E4E4;
 border-top: 1px solid #E4E4E4; */
 transition: height cubic-bezier(0, 0.25, 0.35, 0.99) 0.6s;
 overflow: hidden;
}

[data-product="PHD"] p,
[data-product="PHD"] span {
  border: none !important;
 }

.grid.features.active {
  height: 0 !important;
  overflow: hidden;
  transition: height cubic-bezier(0.53, 0, 0.23, 1) 0.5s;
  transition-delay: 0s;
}

.grid.features p {
  grid-column: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  padding: 8px 10px 8px 18px;
  border-bottom: 1px solid #E4E4E4;
  /* display: flex; */
  display: grid;
  align-items: center;
  font-family: system-ui;
  justify-content: space-between;
}

.grid.features p:has(.c_new) {
  font-weight: 800;
  justify-content: start;
  gap: 0.5rem;
}


.grid.features p.sub-section {
  grid-column: 1/-1;
  font-weight: 600;
  background-color: #9bcdf2;
  color: white;
  border: none;
}

.grid.features p.sub-section:hover {
  background-color: #9bcdf2;
}

.grid.features a {
  background-color: #3838c8;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 200;
  color: white;
  margin-top: 4px;
  transition: all 0.3s;
}

[data-product="PHD"] .grid.features a {
  /* background-color: #962e00; */
  background: linear-gradient(266.44deg, #FFC458 1.1%, #FF762E 78.27%);
  padding: 4px 6px 4px 10px;
  border-radius: 4px;
  font-weight: 400;
  border-radius: 15px;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%);
}

@keyframes swing {
  from {
    margin-left: 0px;
    border-radius: 5px;
    padding-left: 10px;
  }
  to {
    margin-left: 10px;
    border-radius: 15px;
    padding-left: 15px;
  }
}

[data-product="PHD"] .grid.features a:hover {
  clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%);
  border-radius: 5px;
  padding-right: 20px;
  /* margin-left: 4px; */
  background: #000;
  animation: 0.4s ease-out infinite alternate swing;
}

[data-product="PHD"] .features p:nth-of-type(2n),
[data-product="PHD"] .features p:nth-of-type(2n) + span,
[data-product="PHD"] .features p:nth-of-type(2n) + span + span {
  background: #80808014;
}

[data-product="PHD"] .features p:nth-of-type(2n) + span + span + span {
  background: #80808014;
}

.grid.features p:hover,
.grid.features p:hover + span,
.grid.features p:hover + span + span,
.grid.features p:hover + span + span + span,
.grid.features p:hover + span + span + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span + span + span + span {
  background: var(--feature-col-bg-hover-clr);
  border: none;
  cursor: default;
}

[data-product="PDR"] .grid.features p:hover,
[data-product="PDR"] .grid.features p:hover + span,
[data-product="PDR"] .grid.features p:hover + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span + span + span + span {
  color: white;
}

.grid.features p:hover + span {
  background: var(--first-col-bg-hover-clr);
}

.grid.features p:hover + span + span {
  background: var(--second-col-bg-hover-clr);
}

.grid.features p:hover + span + span + span,
[data-product="PDR"] .grid.features p:hover + span + span + span + span {
  background: var(--third-col-bg-hover-clr) !important;
}

[data-product="PHD"] .grid.features p:hover + span + span + span + span {
  background: #b8cad4;
}

[data-product="PDR"] .grid.features p:hover + span + span + span + span + span {
  background: #219fb8;
}

[data-product="PDR"] .grid.features p:hover + span + span + span + span + span + span {
  background: #2a80d1;
}

.features span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #09c;
  border-bottom: 1px solid #E4E4E4;
  border-left: 1px solid #E4E4E4;
  font-size: 12px;
  font-family: system-ui;
  line-height: 1.2;
  padding: 6px;
}

[data-product="PHD"] .features span {
  color: #00000080;
  font-size: 10px;
}

[data-product="PHD"] .features span i {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

span.c_new {
  grid-column: 2;
  background: #ea0000;
  color: white !important;
  width: auto;
  padding: 3px 7px;
  border-radius: 12px;
  white-space: nowrap;
  border: none;
  text-transform: uppercase;
}

[data-product="PDR"] p:hover span.c_new {
  background: #b20000;
}

/* .grid div:nth-of-type(1),
.grid.features > span:nth-of-type(6n + 1) {
  display: none;
} */

[data-product="PDR"] .grid div:nth-of-type(3),
[data-product="PDR"] .grid.features > span:nth-of-type(6n + 3) {
  display: none;
}

/*-----------------------
   Japan page variation
 -----------------------*/

.to-standard {
  padding: 10px 15px;
  width: fit-content;
  color: #402b8d;
  background-color: white;
}

.JPN .grid div:nth-of-type(3),
.JPN .grid.features > span:nth-of-type(6n + 3) {
  display: flex;
}

[data-product="PDR"].JPN .grid.kind div:nth-of-type(1) {
  grid-column: span 3;
}

.JPN .grid.advice span:nth-of-type(4) {
  background: rgb(124 43 148);
}

.JPN .grid.features p > b > sup {
  color: red;
}

[data-product="PDR"].JPN .grid.kind div:nth-of-type(2),
[data-product="PDR"].JPN .grid div:nth-of-type(4),
[data-product="PDR"].JPN .grid.features > span:nth-of-type(6n + 4) {
  display: none;
}

[data-product="PDR"].JPN .features span b {
    padding: 4px 7px;
    border-radius: 4px;
    margin-top: 3px;
    color: #b199d0;
    background: #402b8d;
}

[data-product="PHD"].JPN .features span:empty::before {
  content: '';
  height: 3px;
  width: 7px;
  background: #0303036e;
  border-radius: 2px;
  opacity: 0.3;
}

@media (max-width: 950px) {

  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 840px) {

  main .grid {
    grid-template-columns: var(--grid-mobile-col-numb);
  }

  .boxcover img {
    height: 100%;
    object-fit: contain;
  }

  .JPN .boxcover img {
    height: 84%;
  }

  .grid.features p {
    grid-column: 1/-1;
    padding: 8px 14px 8px 14px;
    grid-gap: 14px;
  }

  .grid.features p {
    grid-column: 1/-1;
    padding: 8px 14px 8px 14px;
    grid-gap: 14px;
  }

  [data-product="PHD"] .grid.features p {
    justify-content: flex-start;
    box-shadow: 0px -1px 0px #0000003b;
    z-index: 1;
  }

  .grid.features a {
    padding: 4px 10px;
    font-weight: 700;
    grid-column: 2;
  }

   .features span:not(.c_new) {
    padding: 8px 10px;
  }

    span.empty_space {
    display: none;
  }

  span.empty_space {
    display: none;
  }

  .grid.advice span:nth-of-type(2),
  .grid.advice span:nth-of-type(3),
  .grid.advice span:nth-of-type(4) {
    display: block;
  }

  [data-product="PHD"] .grid.features p + span + span + span,
  [data-product="PHD"] .grid.features p + span + span + span + span {
    background: transparent;
  }

  [data-product="PHD"] .grid.features p:nth-of-type(2n) + span + span + span,
  [data-product="PHD"] .grid.features p:nth-of-type(2n) + span + span + span + span {
    background: #80808014;
  }

  [data-product="PHD"] .features span:not(.c_new) {
    padding: 0 0 1rem;
  }

}

@media (min-width: 320px) and (max-width: 600px) {

  main .grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid.kind {
    top: var(--mobile-menu-bar);
  }

  [data-product="PDR"] .grid.kind div:nth-of-type(2) {
    display: none;
  }

  [data-product="PDR"] .grid div:nth-of-type(4),
  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 4) {
    display: none;
  }

  .grid.advice {
    top: calc(var(--mobile-menu-bar) + 40px);
  }

  .grid.advice span:nth-of-type(2),
  .grid.advice span:nth-of-type(3) {
    display: block;
    }

  .grid.advice .name {
    line-height: 1.2;
    padding: 5px 0 !important;
    font-size: clamp(0.8rem, 2.4vw, 2rem);
  }

  .grid.product div {
    padding: 0;
  }

  .grid.boxcover div,
  .grid.market div {
    border: none;
  }

  .grid.market {
    top: calc(var(--mobile-menu-bar) + 40px + var(--current-advice-height) + var(--current-product-height) - var(--buy-now-sticky-offset) - var(--buy-now-offset));
  }

  .grid.market div {
    display: grid;
    grid-template-columns: 1fr;
  }

  [data-product="PDR"] .grid.market div:nth-of-type(3),
  [data-product="PDR"] .grid.market div:nth-of-type(4) {
    display: none;
  }

  [data-product="PDR"] .grid.boxcover div,
  [data-product="PDR"] .grid.market div {
    border-left: none;
  }

  [data-product="PDR"] .grid.boxcover div:nth-of-type(1) {
    background: #365bbc;
  }

  [data-product="PDR"] .grid.market div:nth-of-type(1) {
    background: #3262db;
  }

  .price {
    font-family: 'Poppins';
    font-weight: bold;
    font-size: large;
    background: white;
    padding: 6px;
    border-radius: 4px;
    margin: 4px 0;
    width: fit-content;
    justify-self: center;
    font-size: clamp(0.8rem, 3vw, 2rem);
  }

  .CHT .price.per-month,
  .CHS .price.per-month {
    font-size: clamp(0.6rem, 2vw, 2rem);
  }

  .FRA .price.per-month {
    font-size: clamp(0.7rem, 2vw, 2rem);
  }

  .price br {
    display: block;
  }

  .JPN .price br:first-of-type,
  .DEU .price br:first-of-type,
  .ITA .price br:first-of-type {
    display: none;
  }

  .ENU .price br:last-of-type,
  .ESP .price br:last-of-type {
    display: none;
  }

  .KOR .price br,
  .FRA .price br,
  .CHT .price br,
  .CHS .price br {
    display: none;
  }

  .grid.market a{
    justify-self: center;
    align-self: end;
  }

  .grid.market div:nth-of-type(1)
  span:nth-of-type(2) {
    color: black;
  }

  [data-product="PDR"] .grid.market div:nth-of-type(1) a {
    background-color: #3b409b;
  }

  .grid.boxcover div:nth-of-type(2) {
    background: #764aad;
  }

  .grid.market div:nth-of-type(2) {
    background: #8150c0;
  }

  .grid.market div:nth-of-type(2)
  span:nth-of-type(2) {
    color: black;
  }

  [data-product="PDR"] .grid.market div:nth-of-type(2) a {
    background-color: #582e97;
  }

  .grid.section {
    border: none;
    top: var(--m-sticky-sec-height);
  }

  .grid.product {
    top: calc(var(--mobile-menu-bar) + 40px + var(--current-advice-height));
  }

  .accordion {
    font-family: 'Poppins';
    font-weight: 500;
  }

  [data-product="PDR"] .accordion {
    background: #000000;
  }

  .features span {
    padding: 5px 10px;
    border: none;
  }

  [data-product="PDR"] .features span {
    color: white !important;
  }

  [data-product="PHD"] .grid.features a:hover {
    animation: none;
  }

  /* [data-product="PHD"] .grid.features p + span {
    background: var(--advice-tab-empty-bg-clr);
  } */

  /* [data-product="PHD"] .grid.features p + span + span {
    background: white;
  } */

  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 1) {
    background: rgb(49 85 179);
  }

  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 2) {
    background: #6c439f;
  }

  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 3) {
    background: rgb(12,124,186);
  }

  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 4) {
    background: #98397b;
  }

  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 5) {
    background: #1e9fb8;
  }

  [data-product="PDR"] .grid.features > span:nth-of-type(6n + 6) {
    background: #2b80d1;
  }

  [data-product="PDR"] .grid.advice span:nth-of-type(4){
    display: none;
  }

  /*-----------------------
     Japan page variation
   -----------------------*/

   [data-product="PDR"].JPN .grid.kind div:nth-of-type(1) {
     grid-column: span 2;
   }

   [data-product="PDR"].JPN .grid div:nth-of-type(3),
   [data-product="PDR"].JPN .grid.features > span:nth-of-type(6n + 3) {
    display: none;
  }

  [data-product="PDR"].JPN .kind div:nth-of-type(3) {
    display: flex;
  }

}