/* ==========================================================================
   1. Base & Global Styles
   ========================================================================== */

body, input, select, textarea{font-family: "Noto Sans TC", "SF Pro TC", system-ui, -apple-system, sans-serif;}
body {
font-weight: 400;
font-size: 16px;
line-height: 1.8;
color: #222;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #003473;
}

a { font-weight: bold; color: #009DD6; text-decoration: none; }
a:hover { color: #009DD6; text-decoration: underline; }


button * {
    pointer-events: none;
}

textarea {
    min-height: 175px;
}

select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC46NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 100% 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    appearance: none;
    outline-width: 0;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 10em;
    border: none;
    font-size: 1rem;
    border-bottom: 1px solid #757575;
}

/* ==========================================================================
   2. Utility Classes
   ========================================================================== */
.container { width: 100%; }
.row { margin-left: 0; margin-right: 0; }
.bold { font-weight: 700; }
.center { text-align: center; }
.small { font-size: 13px; line-height: 1.6; }


/* Color utilities */
.white { color: #fff; }
.white-bg, .white-bg:disabled, .white-bg[readonly] { background: white; }
.hotpink-bg { background-color: #FF3CAC; }
.dark-blue, .dark-midnight-blue { color: #003473; }
.cyan, .rich-electric-blue { color: #009DD6; }
.lightblue { color: #01A6DE; }
.maya-blue { color: #66CCFF; }
.lightblue-on-white { color: #0075B5; }
.green { color: #02A75A !important; }
.checked { color: orange; }
.fa-check-circle.green{color: #02A75A; font-size: 120%; margin-right: 5px;}



/* Component Helpers */
.img-fluid { border-radius: 15px; }

/* Opacity utilities */
.opacity-0 { opacity: 0 !important; }
.opacity-1 { opacity: 0.2 !important; }
.opacity-2 { opacity: 0.4 !important; }
.opacity-3 { opacity: 0.6 !important; }
.opacity-4 { opacity: .8 !important; }
.opacity-5 { opacity: 1 !important; }

/* ==========================================================================
   3. Buttons & Alerts
   ========================================================================== */
.btn:focus, .btn-check:focus + .btn {
    outline: 0;
    box-shadow: 0 0 0 .0rem rgba(13,110,253,.0);
}

.btn-primary {
    background-color: #02A75A;
    border: solid 2px #02A75A;
}
.btn-primary:hover {
    background-color: #fff;
    border: solid 2px #02A75A;
    color: #02A75A;
}

.button-success-solid, .button-success-hollow {
    cursor: pointer;
    font-weight: bold;
    border: solid 2px #02A75A;
    -webkit-appearance: button;
    font-size: 1.1rem;
    border-radius: .35rem;
    transition: .15s ease-in-out;
    padding: .65rem 2.1rem;
}
.button-success-solid{color: #fff; background: #02A75A;}
.button-success-solid:hover{color: #02A75A; background: rgba(255, 255, 255, 0.7); text-decoration: none;}

.button-success-hollow{ color: #02A75A; background: transparent; }
.button-success-hollow:hover{ color: #fff; background: #02A75A; text-decoration: none;}

.button-white-hollow{ color: #fff; background: transparent; }
.button-white-hollow:hover{ color: rgba(255, 255, 255, 0.0); background: #fff; text-decoration: none;}

.button-grey-hollow {
    color: #848181;
    cursor: pointer;
    font-weight: bold;
    border: solid 2px #848181;
    -webkit-appearance: button;
    font-size: 1.1rem;
    border-radius: .35rem;
    transition: .15s ease-in-out;
    background: transparent;
    padding: .65rem 2.1rem;
}
.button-grey-hollow:hover{ color: rgba(255, 255, 255, 1.0); background: #848181; text-decoration: none;}

.full-width-button { width: 100%; }
.action { color: #01a6de; }

/* Alerts */
.alert { border: 2px solid; }
.alert.alert-success.alert-package-added { font-size: 1em; }
.alert-success {
    color: #02A75A;
    background-color: #fff;
    border-color: #02A75A;
    font-weight: bold;
    text-align: center;
    font-size: 1.5em;
}
.error-message { font-size: .875em; color: #dc3545; }
.error-message.large { font-size: 1em; }

/* ==========================================================================
   4. Layout Components (Header, Navbar, Cards)
   ========================================================================== */
#site-header {
    position: fixed;
    background: #fff;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all .3s ease;
}
#site-header.hide { top: -152px; }

.navbar {
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}
.navbar-light .navbar-nav .nav-link { color: #003473; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { text-decoration: none; }

.navbar-light .navbar-toggler { color: rgba(0,0,0,.0); border-color: #003473; }
.navbar-toggler { border: 2px solid transparent; top: 40px; position: absolute; right: 20px;}

.nav-item { font-weight: bold; list-style: none; }
.nav-item:hover { color: rgba(0,0,0,.55); text-decoration: none; }
.dropdown-menu { border: none; }
.align-self-lg-end .nav-item {font-size:0.85em;}
.align-self-lg-end .nav-item a{font-weight: normal;}

.modal-header { border-bottom: 0 solid #dee2e6; }
.card { border: none; background: #f5f5f5; }
.card-header { border-bottom: 0; background: #f5f5f5; }
hr:not([size]) { height: 3px; }

/* Table Components */
.table .thead-dark th { background-color: #003473; border-color: #32383e; }
.table td, .table th { vertical-align: middle; }

/* ==========================================================================
   5. Shopping Cart & Specific Elements
   ========================================================================== */
#product_page .paging { display: block; }

/* Accordions */
.accordion-body p { margin-bottom: 0; }
.accordion-body.accordion-wrap .bodytext { margin-bottom: 0; padding: 0 10px; }
.accordion-wrap { border: solid 2px #848181; border-radius: 5px; margin-top: 5px; }
.accordion-item { background-color: #fff; border: 0 solid rgba(0,0,0,.125); }
.accordion-item:last-of-type .accordion-button.collapsed { border: solid 2px #848181; }

.accordion-button { display: block; color: inherit; border: solid 2px #848181; border-radius: 5px !important;}
.accordion-button:focus { z-index: 3; border: solid 2px #848181; outline: 0; box-shadow: 0 0 0 .0rem rgba(13,110,253,.25); }
.accordion-button:not(.collapsed) { background-image: none; background-color: #fff; box-shadow: inset 0 0px 0 rgba(0,0,0,.125); color: inherit; }

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23848181'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23848181'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
    position: absolute;
    top: 40%;
    right: 2%;
}
.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-button-override::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23222222'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z' stroke='%23222222' stroke-width='1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    top: 20%;
}

/* ID Uploader Green Variant */
.id-info-accordion { border: solid 2px #02A75A; border-radius: 5px; overflow: hidden; }
.id-info-accordion .accordion-item,
.id-info-accordion .accordion-button,
.id-info-accordion .accordion-button:focus,
.id-info-accordion .accordion-button:not(.collapsed) { border: 0; }
.id-info-accordion .accordion-button { background-color: #fff; color: #0f5132; font-weight: 600; }
.id-info-accordion .accordion-button:not(.collapsed) { background-color: #d1e7dd; box-shadow: none; }
.id-info-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25); }
.id-info-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f5132'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Delivery & Basket Info */
.delivery-id-select { width: 100%; border: solid 2px #848181; border-radius: 5px; color: #848181; padding: 15px 5px; font-size: 1em; font-weight: bold; }
.delivery-id-info { border: solid 2px #848181; border-radius: 5px; margin-top: 10px; }
.dropdown-item { display: flex; }
.dropdown-item:focus, .dropdown-item:hover { background-color: white; text-decoration: none; }


.refer{font-size:0.85em;color:white;font-weight:bold;text-align:center;padding:7px 3px 7px 3px; background-color:#02A75A;
margin-bottom:10px;top:0;position:relative;}



.basket-popper {
    background: white;
    color: #212529;
    border: 2px solid rgba(0,0,0,.7);
    border-radius: .3rem;
    z-index: 1070;
    display: none;
  position: fixed !important;
  top: -50px;
  z-index:9999;
   max-width: 290px; margin-top: 41px !important; margin-left: -12px !important; box-shadow: 0 0 35px 10px rgba(0,0,0,0.8); 
}
@media screen and (min-width: 768px) {
.basket-popper {
  top: -30px;
}
}
@media only screen and (min-width: 992px) {
    .basket-popper { max-width: 315px; margin-top: 23px !important;}
}
.basket-popper[data-show] { display: block; }
.basket-popper-arrow { display: none; }
.basket-popper-arrow::before { display: none;}
.basket-package { border: solid 2px #848181; border-radius: 5px; min-height: 100px; }


.cross-popper {
    cursor: pointer; text-align: right; font-weight: 700; margin: -5px 0px -15px 0px !important;;
    background-image: url("../img/grey-cross.png"); height: 36px; background-repeat: no-repeat; background-position: center right; background-size: 21px;
}


.quantity-dropdown { padding: 3px 5px; width: 100%; border-radius: 5px; border: solid 2px #848181; font-size: 16px; line-height: 1.8; color: #848181; font-weight: bold; margin: .75em 0 .5em 0; }
.form-control { border: solid 2px #848181; }

.quote-mark::before {
    background-image: url(/img/common/quote-grey.svg);
    background-size: 50px 50px;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    margin-left: -18px;
    margin-top: -16px;
    content: "";
    position: absolute;
    opacity: .2;
}

.collect-box { border: solid 2px #009DD6; border-radius: 5px; padding: 10px; margin-bottom: 25px; background-color: #f1fbff; }
.expander-heading { cursor: auto; }
.card-type-icon { max-height: 24px; }
.award-logo { max-width: 190px; margin-bottom: 0; }
.ribbon { height: 150px; position: absolute; }
.ribbon span { position: relative; display: block; width: 175px; padding: 5px 0; background-color: #efbf04; color: #fff; font-weight: bold; text-align: center; top: -15px; margin: 0 auto; border-radius: 10px 0 10px 0; }
.card-award .card-body.secondary { background-color: #d1e8ff; }
.card-award .card-body.primary { background-color: #f5c4ca; }

/* ==========================================================================
   7. Responsive Media Queries
   ========================================================================== */

    .mobile-left-desktop-right, .responsive-payments { text-align: left; }
    .bullet-p { font-size: 0.8em; }

    
    h1 { font-size: 30px; }
    h2 { font-size: 25px; }
    h3 { font-size: 23px; }
    h4 { font-size: 21px; }
    h5 { font-size: 19px; }
    h6 { font-size: 17px; }
    
    .slider { font-size: 15px; max-width: 220px; }
    .swiper-slide { background-position: center; background-size: cover; width: 210px; height: 375px; }
    .slide { width: 220px; }
    #items { left: -220px; }
    .badge { font-size: .6em; line-height: 1.4; width: 21px; height: 21px; padding: 2px; }
    
    #basket-btn { float: right; position: absolute; right: 80px; top: 38px; font-size: 20px; }
    
    .mobile-center-desktop-right { text-align: center; }
    .navbar { padding-top: 1.65rem; padding-bottom: 2rem; }
    .nav-link { padding: .4rem 1rem; text-align: right; }
    .desktop-yes { display: none; }
    .nav-item { font-weight: bold; font-size: 20px; }
    .nav-item-smaller { font-size: 17px; }
    

    .table td, .table th { padding: .15rem; }
    
    .sim-banner { background-image: url("/img/common/japan-back-esim.jpg"); background-repeat: no-repeat; background-position: 0 100%; margin-top: 0; background-size: 100%; }
    
    
    .info-section-top { margin-top: -35px; }
    .info-section { margin-top: -200px; }
    .info-section-heavy { margin-top: -275px; }
    .info-section-bottom { margin-top: -320px; }
    .card-award .card-body.text-center { padding-top: 2.5rem; }
    .card-banner-strip { text-align: center; color: #fff; padding: 10px 5px; font-weight: 700; font-family: 'Montserrat', sans-serif; }
    .card-award .ribbon { left: 50%; transform: translateX(-50%); top: 0; width: 100%; }
    .upgrade-plan { font-size: 12px; border: solid #003473 2px; border-radius: 4px; width: 115px; margin: 0 auto; padding: 2px 0; text-decoration: none; text-align: center; font-weight: 700; }


/* --- Small Screen / iPhone Portrait (350px - 360px+) --- */
@media only screen and (min-width: 360px) {
    .upgrade-plan { font-size: 13px; width: 130px; }
}


/* --- Tablet Screen (576px+) --- */
@media only screen and (min-width: 576px) {
    .container { max-width: 540px; }
    .bullet-p { font-size: 1em; }
    #basket-btn { position: absolute; right:90px; }
    .sim-banner { background-image: url("../../img/common/esim.png"); background-position: 99% 62px; background-size: 278px; }
    .upgrade-plan { font-size: 15px; width: 150px; letter-spacing: -0.065em; }
}


/* --- Medium Desktop / iPad Landscape (768px+) --- */
@media only screen and (min-width: 768px) {
    .container { max-width: 720px; }
    h1 { font-size: 43px; }
    h2 { font-size: 36px; }
    h3 { font-size: 31px; }
    h4 { font-size: 25px; }
    h5 { font-size: 20px; }
    h6 { font-size: 18px; }
    
    
    .mobile-yes-desktop-no { display: none; }
    .mobile-no-desktop-yes { display: block; }
    
    
    .product-card-main {
        margin-top: 2rem; float: left; background: #f8f8f8; position: relative; z-index: 1; padding: 20px 30px 50px 30px;
        box-shadow: 0 0 32px -7px rgba(0,0,0,0.75);
    }
    .product-card-left, .product-card-right { margin-top: 3rem; padding: 20px 30px; background: #f8f8f8; float: left; }
    .product-wrapper { width: 705px; margin: 0 auto; }
    
    .button-success-solid.table-button { font-size: 13px; padding: 2px 13px; }
    .table td, .table th { padding: .75rem; }
    
    .sim-banner { background-position: 99% 158px; background-size: 298px; }
    
}

/* --- Large Desktop / Menu Switch Point (992px+) --- */
@media only screen and (min-width: 992px) {
    .container { max-width: 960px; }
    .mobile-left-desktop-right { text-align: right; }
    .responsive-payments { text-align: center; }
    .auto-margin-desktop { margin-left: auto; margin-right: auto; }
    .right-margin-desktop { float: right; }
    .center-tablet-right-desktop { text-align: right; }
    
    .top-neg-banner { margin-top: -37px; background-size: 650px; background-position: 322px 124px; }
    .jet-neg-banner { background-size: 555px; background-position: 322px 116px; }
    .button-success-solid.table-button { font-size: 17px; padding: 7px 15px; }
    
    .desktop-yes { display: flex; }
    .desktop-no { display: none; }
    .nav-link { text-align: center; }
    .nav-item { font-weight: normal; font-size: 16px; }
    .navbar { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .desktop-dropdown { width: 775px; }
    .nav-border{width:1px;height:35px;background:#393939;float:left; margin: 5px 25px 0px 25px;}
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute; border-top: 0 solid white; margin-top: 0;
        border-bottom: solid 6px #09A4D9; border-right: solid 6px #09A4D9; border-left: solid 6px #09A4D9; left: 19%;
    }
    
    .badge { font-size: .7em; line-height: 1.4; border-radius: .25rem; width: 25px; height: 25px; padding: 0; }
    #basket-btn { position: absolute; right: 10px; top: 68px;  float: right; }
    .sim-banner { background-position: 94% 42px; background-size: 325px; }
}

/* --- Extra Large Desktop (1200px+) --- */
@media only screen and (min-width: 1200px) {
    .container { max-width: 1200px; }
    .button-success-solid.table-button { font-size: 18px; padding: 12px 30px; }
    .navbar-expand-lg .navbar-nav .dropdown-menu { left: 33%; }
    .sim-banner { background-position: 94% 24px; background-size: 357px; }
}