/* A+Kstyle_v1 Base Product Sections */
.specifications,
.downloads {
    margin-top: 56px;
    padding: 42px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.1);
    box-shadow: 0 18px 45px rgba(17,24,39,.08);
    font-family: Arial,Helvetica,sans-serif;
    color: #111827;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    }
.specifications:before,
.downloads:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(17,24,39,.035) 1px,transparent 1px),linear-gradient(180deg,rgba(17,24,39,.035) 1px,transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(to bottom right,rgba(0,0,0,.45),transparent 70%);
    mask-image: linear-gradient(to bottom right,rgba(0,0,0,.45),transparent 70%);
    pointer-events: none;
    }
.specifications > *,
.downloads > * {
    position: relative;
    z-index: 1;
    }

/* Headings */
.specifications h2,
.downloads h2 {
    margin: 0 0 24px;
    font-size: clamp(30px,4vw,48px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.045em;
    color: #111827;
    }
.specifications h2:before,
.downloads h2:before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    margin-right: 10px;
    margin-bottom: .35em;
    background: #d71920;
    vertical-align: middle;
    }

/* Specification Table */
table.specifications {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(17,24,39,.1);
    padding: 0;
    box-shadow: none;
    }
table.specifications tr {
    border-bottom: 1px solid rgba(17,24,39,.08);
    }
table.specifications tr:last-child {
    border-bottom: none;
    }
table.specifications td {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.45;
    vertical-align: middle;
    border-bottom: 1px solid rgba(17,24,39,.08);
    }
table.specifications tr:last-child td {
    border-bottom: none;
    }
table.specifications td:first-child,
table.specifications td.title {
    width: 42%;
    color: #111827;
    font-weight: 800;
    background: #f4f6f8;
    }
table.specifications td:last-child,
table.specifications td.value {
    width: 58%;
    color: #5f6b7a;
    font-weight: 600;
    background: #fff;
    }

/* Downloads */
.downloads ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    }
.downloads li {
    margin: 0;
    padding: 0;
    }
.downloads a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 16px 18px 16px 20px;
    border-radius: 18px;
    background: #111827;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    border: 1px solid rgba(17,24,39,.12);
    box-shadow: 0 12px 28px rgba(17,24,39,.1);
    transition: transform .2s ease,background .2s ease,box-shadow .2s ease;
    }
.downloads a:after {
    content: "→";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 999px;
    background: #d71920;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    }
.downloads a:hover {
    background: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(17,24,39,.14);
    }

/* Responsive */
@media (max-width: 900px) {
.specifications,
.downloads {
    margin-top: 42px;
    padding: 34px 28px;
    }
}

@media (max-width: 600px) {
.specifications,
.downloads {
    padding: 30px 22px;
    border-radius: 22px;
    }
.specifications h2,
.downloads h2 {
    font-size: clamp(30px,9vw,42px);
    }
table.specifications td {
    display: block;
    width: 100% !important;
    padding: 14px 16px;
    }
table.specifications td:first-child,
table.specifications td.title {
    padding-bottom: 6px;
    }
table.specifications td:last-child,
table.specifications td.value {
    padding-top: 6px;
    }
.downloads a {
    min-height: 54px;
    padding: 15px 16px;
    font-size: 15px;
    }
.downloads a:after {
    width: 32px;
    height: 32px;
    min-width: 32px;
    }
}

/* --- Additions for variations --- */
/**
    @section Variations
 */
.product-variants {
    margin: -.5rem -.5rem 1.5rem -.5rem;
    }
.product-variant {
    padding: .5rem;
    }
.product-variant-options {
    display: flex;
    flex-wrap: wrap;
    margin: -.5rem;
    }
.product-variant-option {
    padding: .5rem;
    }
.product-variant-option label.variant-box {
    border: 2px solid #F8FAFB;
    background-color: #F8FAFB;
    border-radius: 4px;
    padding: .5em 1em;
    margin: 0;
    min-width: 62px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    }
.product-variant-option input[type="radio"] {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px,1px,1px,1px);
    white-space: nowrap;
    }
.product-variant-option input[type="radio"]:checked + label.variant-box {
    border: 2px solid #111827;
    background-color: #111827;
    color: #FFF;
    cursor: pointer;
    }
.product-variant-option input[type="radio"]:disabled + label.variant-box,
.product-variant-option input[type="radio"]:disabled + label.swatch {
    opacity: .4;
    cursor: not-allowed;
    }

/*
    @section Customisation
    
 */
.customisation {
    padding: .5rem 0;
    }
.customisation-header {
    margin-bottom: .5rem;
    }
.customisation-option label,
.customisation-header label {
    display: flex;
    padding: .5rem;
    margin: -1rem;
    }
.customisation-option label > *,
.customisation-header label > * {
    padding: .5rem;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    }
.customisation-option label > .customisation-option-label,
.customisation-option label > .customisation-header-label,
.customisation-header label > .customisation-option-label,
.customisation-header label > .customisation-header-label {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    }
.customisation-option.type-swatch label,
.customisation-option.type-string label,
.customisation-header.type-swatch label,
.customisation-header.type-string label {
    align-items: center;
    }
.customisation-option .swatch + .evButton,
.customisation-header .swatch + .evButton {
    margin: 0 .5rem;
    }
.customisation-description {
    font-size: .875rem;
    }

/*
    @section Price Options
    
    This is generally only applicable when more than
    one price option is available to choose from.
    For example, when selecting month or year payments.
 */
.price-option label {
    display: flex;
    padding: .5rem;
    margin: -1rem;
    align-items: center;
    }
.price-option label > * {
    padding: .5rem;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    }
.price-option label > .price-option-label {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    }
.quantity-field {
    border-radius: 999px;
    }
.quantity-field input {
    text-align: center !important;
    }
